]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix NPTL build for !__ASSUME_SET_ROBUST_LIST case.
[glibc.git] / ChangeLog
CommitLineData
439c43f6
RM
12014-12-12 Roland McGrath <roland@hack.frob.com>
2
3 * nptl/pthread_create.c (START_THREAD_DEFN)
4 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
5
48e435cd
SL
62014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8
9 * resolv/res_send.c (send_vc): Disable warning resplen may
10 be used uninitialized.
11
9d9c0019
SL
122014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13
14 * nptl/tst-mutex6.c
15 (ATTR_NULL): New define checks ATTR against NULL.
16 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
17 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
18
9173840b
JL
192014-12-11 James Lemke <jwlemke@codesourcery.com>
20
21 [BZ #17581]
22 * malloc/hooks.c
23 (mem2mem_check): Revert my previous change.
24 (malloc_check_get_size): Revert my previous change.
25 (mem2chunk_check): Revert my previous change.
26
78e21c5d
RM
272014-12-11 Roland McGrath <roland@hack.frob.com>
28
29 * sysdeps/posix/shm-directory.c: New file.
30 * sysdeps/posix/shm-directory.h: New file.
31 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
32 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
33 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
34 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
35 Transmute EPERM to EACCES.
36 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
37 from ...
38 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
39 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
40
f82c43af
KK
412014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42
43 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
44 pointer and cast to uintptr_t.
45 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
46 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
47 Add cast to avoid warning.
48 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
49
fc00cf7b
JM
502014-12-11 Joseph Myers <joseph@codesourcery.com>
51
52 * nptl/semaphore.h: Move to ...
53 * sysdeps/pthread/semaphore.h: ... here.
54 * Makefile (installed-headers): Change nptl/semaphore.h to
55 sysdeps/pthread/semaphore.h.
56
1c4053db
RM
572014-12-11 Roland McGrath <roland@hack.frob.com>
58
73b0c1a1
RM
59 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
60 generated error format strings.
61
1c4053db
RM
62 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
63 -Wformat-extra-args warnings for scanf formats.
64 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
65 test of zero-length format (duh).
66 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
67 corner-case scanf format test.
68 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
69 generated fprintf format string.
70 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
71 corner-case sprintf format tests.
72 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
73 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
74 -Wformat-extra-args warnings throughout.
75 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
76 (CFLAGS-scanf4.c): Likewise.
77 (CFLAGS-scanf7.c): Likewise.
78 (CFLAGS-tst-sprintf.c): Likewise.
79 (CFLAGS-tst-printf.c): Likewise.
80 (CFLAGS-tst-printfsz.c): Likewise.
81
47d51f4f
JM
822014-12-11 Joseph Myers <joseph@codesourcery.com>
83
a1edbf3c
JM
84 * include/cpio.h: New file.
85 * include/fmtmsg.h: Likewise.
86
47d51f4f
JM
87 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
88 corresponding format argument to size_t.
89 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
90 arguments.
91 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
92 corresponding format argument to size_t.
93 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
94 arguments.
95 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
96 corresponding format argument to size_t.
97 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
98 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
99 (CFLAGS-tst-mbswcs2.c): Likewise.
100 (CFLAGS-tst-mbswcs3.c): Likewise.
101 (CFLAGS-tst-mbswcs4.c): Likewise.
102 (CFLAGS-tst-mbswcs5.c): Likewise.
103 (CFLAGS-tst-trans.c): Likewise
104
e9813cfb
RM
1052014-12-11 Roland McGrath <roland@hack.frob.com>
106
107 * posix/regexbug1.c (main): Use "%s" format with regerror results,
108 rather than assuming they won't contain any '%'s.
109
f627ca82
CM
1102014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
111
112 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
113 inhibit_loop_to_libcall to avoid recursive calls.
114 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
115 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
116
7f296942
AZ
1172014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
118
119 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
120 prototype.
121
d0276e18
SE
1222014-12-11 Steve Ellcey <sellcey@imgtec.com>
123
124 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
125 integer value instead of boolean.
126
fc56e970
SE
1272014-12-11 Steve Ellcey <sellcey@imgtec.com>
128
129 * malloc/malloc.c: Fix powerof2 check.
130
40e53917
SL
1312014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
132
133 * locale/programs/locfile.h (maybe_swap_uint32):
134 Remove inline and add unused attribute.
135
1ea166df
SL
1362014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
137
9d9c0019 138 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
139 Truncating assembler expression to a .long expression.
140
acf869f4
AS
1412014-12-11 Andreas Schwab <schwab@suse.de>
142
143 * elf/rtld.c (struct map_args): Constify str member.
144 (do_preload): Constify fname argument.
145
9d969099
AZ
1462014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
147
148 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
149 constants definition.
150
da5bcaa4
AS
1512014-12-11 Andreas Schwab <schwab@suse.de>
152
b0a3c164
AS
153 [BZ #16657]
154 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
155 FORCE_ELISION instead of DO_ELISION.
156 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
157 Remove.
158 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
159 Likewise.
160
da5bcaa4
AS
161 * iconvdata/gconv-modules: Remove duplicate entry.
162
6d248857
WN
1632014-12-11 Will Newton <will.newton@linaro.org>
164
165 Merge gettext 0.19.3 into intl/.
166
167 This involves a number of cosmetic changes to comments
168 and ANSI function definitions and prototypes throughout
169 all the files. The gettext copyright header is used but
170 with the date ranges taken from the glibc copy.
171
172 * NEWS: Add gettext merge to 2.21.
173 * intl/bindtextdom.c: Switch to gettext copyright.
174 Use ANSI definitions and prototypes.
175 Use gl_* locking primitives rather than __libc_* ones.
176 Use __builtin_expect rather than __glibc_likely/unlikely.
177 * intl/dcgettext.c: Switch to gettext copyright.
178 Use ANSI definitions and prototypes.
179 * intl/dcigettext.c: Switch to gettext copyright.
180 Use ANSI definitions and prototypes.
181 (INTDIV0_RAISES_SIGFPE): New define.
182 Use gl_* locking primitives rather than __libc_* ones.
183 Include eval-plural.h instead of plural-eval.c.
184 Use __builtin_expect rather than __glibc_likely/unlikely.
185 * intl/dcngettext.c: Switch to gettext copyright.
186 Use ANSI definitions and prototypes.
187 * intl/dgettext.c: Likewise.
188 * intl/dngettext.c: Likewise.
189 * intl/plural-eval.c: Renamed to...
190 * intl/eval-plural.h: ...this.
191 * intl/explodename.c: Switch to gettext copyright.
192 Use ANSI definitions and prototypes.
193 (_nl_explode_name): Use strchr instead of __rawmemchr.
194 * intl/finddomain.c: Switch to gettext copyright.
195 Use ANSI definitions and prototypes.
196 Use gl_* locking primitives rather than __libc_* ones.
197 (_nl_find_domain): Use malloc rather than alloca for
198 allocation of temporary locale name.
199 * intl/gettext.c: Switch to gettext copyright.
200 Use ANSI definitions and prototypes.
201 * intl/gettextP.h: Switch to gettext copyright.
202 Use ANSI definitions and prototypes.
203 Use gl_* locking primitives rather than __libc_* ones.
204 * intl/gmo.h: Switch to gettext copyright.
205 (struct sysdep_string): Move struct segment_pair outside of
206 struct definition.
207 * intl/hash-string.c: Use ANSI definitions and prototypes.
208 * intl/hash-string.h: Switch to gettext copyright.
209 Use ANSI definitions and prototypes.
210 * intl/l10nflist.c: Switch to gettext copyright.
211 Use ANSI definitions and prototypes.
212 (_nl_normalize_codeset): Avoid integer overflow.
213 * intl/loadinfo.h: Switch to gettext copyright.
214 Use ANSI definitions and prototypes.
215 (LIBINTL_DLL_EXPORTED): New define.
216 (PATH_SEPARATOR): New define.
217 * intl/loadmsgcat.c: Switch to gettext copyright.
218 * intl/localealias.c: Switch to gettext copyright.
219 Use ANSI definitions and prototypes.
220 (_nl_expand_alias): Use PATH_SEPARATOR.
221 * intl/ngettext.c: Switch to gettext copyright.
222 Use ANSI definitions and prototypes.
223 * intl/plural-exp.c: Likewise.
224 * intl/plural-exp.h: Switch to gettext copyright.
225 Use ANSI definitions and prototypes.
226 (struct expression): Move definition of enum operator outside
227 of struct definition.
228 * intl/plural.c: Regenerate.
229 * intl/plural.y: Switch to gettext copyright.
230 Use ANSI definitions and prototypes.
231 Port to bison 3.0.
232 * intl/textdomain.c: Switch to gettext copyright.
233 Use ANSI definitions and prototypes.
234 Use gl_* locking primitives rather than __libc_* ones.
235
48c43298
SE
2362014-12-10 Steve Ellcey <sellcey@imgtec.com>
237
238 * debug/warning-nop.c: Add used atrribute.
239
2b89bce9
JM
2402014-12-10 Joseph Myers <joseph@codesourcery.com>
241
c153ac9f
JM
242 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
243
2b89bce9
JM
244 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
245 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
246 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
247
2cfbdb9a
JM
2482014-12-10 Joseph Myers <joseph@codesourcery.com>
249 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
250
251 [BZ #17634]
252 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
253 Undefine after defining function. Define as weak alias of
254 __wcschr. Use libc_hidden_weak.
255 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
256 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
257 (libc_hidden_def): Also define __GI___wcschr alias.
258 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
259 __wcschr and define as weak alias of __wcschr.
260 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
261 __wcschr.
262 [!WCSCHR] (DEFAULT_WCSCHR): Define.
263 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
264 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
265 libc_hidden_weak. Do not use libc_hidden_def.
266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
267 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
268 __GI___wcschr alias.
269 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
270 [IS_IN (libc)] (wcschr): Define as macro expanding to
271 __redirect_wcschr.
272 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
273 [IS_IN (libc)] (__wcschr_power6): Likewise.
274 [IS_IN (libc)] (__wcschr_power7): Likewise.
275 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
276 instead of wcschr.
277 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
278 __libc_wcschr.
279 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
280 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
281 __wcschr and define as weak alias of __wcschr. Use
282 libc_hidden_builtin_def.
283 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
284 as weak alias of __wcschr. Use libc_hidden_weak.
285 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
286 wcschr.
287 * time/era.c (_nl_init_era_entries): Likewise.
288 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
289 variable.
290 (test-xfail-XPG3/time.h/linknamespace): Likewise.
291 (test-xfail-XPG4/time.h/linknamespace): Likewise.
292
1b8bf351
JM
2932014-12-10 Joseph Myers <joseph@codesourcery.com>
294
295 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
296 format for long int variable.
297
f5f46d51
AK
2982014-12-10 Anders Kaseorg <andersk@MIT.EDU>
299
300 [BZ #10672]
07008f7d 301 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
302 qsort stable.
303
217a74a8
AS
3042014-12-10 Andreas Schwab <schwab@suse.de>
305
306 [BZ #12847]
307 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
308 user-controlled locks.
309
aa76a5c7
RE
3102014-12-10 Richard Earnshaw <rearnsha@arm.com>
311
312 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
313 register.
314
2084e7ca
JM
3152014-12-10 Joseph Myers <joseph@codesourcery.com>
316
a4ecc9eb
JM
317 * configure.ac (--disable-werror): New configure option.
318 (enable_werror): New AC_SUBST.
319 * configure: Regenerated.
320 * config.make.in (enable-werror): New variable.
321 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
322 -Wno-error=undef.
323 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
324 * manual/install.texi (Configuring and compiling): Document
325 --disable-werror.
326 * INSTALL: Regenerated.
327 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
328 (CFLAGS-tst-chk2.c): Likewise.
329 (CFLAGS-tst-chk3.c): Likewise.
330 (CFLAGS-tst-chk4.cc): Likewise.
331 (CFLAGS-tst-chk5.cc): Likewise.
332 (CFLAGS-tst-chk6.cc): Likewise.
333 (CFLAGS-tst-lfschk1.c): Likewise.
334 (CFLAGS-tst-lfschk2.c): Likewise.
335 (CFLAGS-tst-lfschk3.c): Likewise.
336 (CFLAGS-tst-lfschk4.cc): Likewise.
337 (CFLAGS-tst-lfschk5.cc): Likewise.
338 (CFLAGS-tst-lfschk6.cc): Likewise.
339
0f88636c
JM
340 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
341 (main): Disable -Wdeprecated-declarations around calls to
342 register_printf_function.
343
c81e9deb
JM
344 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
345 (do_test): Disable -Wdiv-by-zero around some calls to
346 fwrite_unlocked and fread_unlocked.
347
2084e7ca
JM
348 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
349 (DIAG_POP_NEEDS_COMMENT): Likewise.
350 (_DIAG_STR1): Likewise.
351 (_DIAG_STR): Likewise.
352 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
353 * stdio-common/bug21.c: Include <libc-internal.h>.
354 (do_test): Disable -Wformat around call to sscanf.
355 * stdio-common/scanf14.c: Include <libc-internal.h>.
356 (main): Disable -Wformat around some calls to scanf functions.
357
df7ecc6b
TR
3582014-12-09 Torvald Riegel <triegel@redhat.com>
359
360 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
361
2aa3862e
AZ
3622014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
363
364 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
365 stack variable alignment.
366
c5c2b7c3
JM
3672014-12-06 Joseph Myers <joseph@codesourcery.com>
368
369 [BZ #17682]
370 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
371 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
372 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
373 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
374 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
375 __getrlimit instead of getrlimit.
376 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
377 __gettimeofday instead of gettimeofday.
378 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
379 Likewise.
380 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
381 Likewise.
382 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
383 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
384 Remove variable.
385 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
386 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
387
9752c3cd
AZ
3882014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
389
390 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
391 for wide-character tests.
392
4bee4cd9
RM
3932014-12-04 Roland McGrath <roland@hack.frob.com>
394
395 * io/openat64.c: #include <libc-internal.h>
396 (__openat64): Prototypify. Use ignore_value on MODE.
397 * io/openat.c: Likewise.
398 * misc/reboot.c: #include <libc-internal.h>
399 (reboot): Prototypify. Use ignore_value on HOWTO.
400 * misc/ptrace.c: #include <libc-internal.h>
401 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
402
84dbedb6
JM
4032014-12-04 Joseph Myers <joseph@codesourcery.com>
404
405 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
406 XPG4, UNIX98 and XOPEN2K.
407 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
408 Remove variable.
409 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
410
b7a3e1c4 4112014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 412
af50dfc1 413 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
414 * libio/iofopen.c: Likewise.
415 * libio/wfileops.c: Likewise.
416
fe8b4d98
SP
417 [BZ #17653]
418 * libio/fileops.c (_IO_new_file_underflow): Unset cached
419 offset on EOF.
420 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
421 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
422 (fgets_func): Function pointer to fgets and fgetws.
423 (do_ftell_test): Add test to verify ftell value after read
424 EOF.
425 (do_test): Set fgets_func.
426
61b4f792
SP
427 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
428 O_TRUNC flag for w and w+ modes.
429 (do_rewind_test): Likewise.
430 (do_ftell_test): Likewise.
431 (do_write_test): Likewise.
432
be349d70
SP
433 [BZ #17647]
434 * libio/fileops.c (do_ftell): Seek only when there are
435 unflushed writes.
436 * libio/wfileops.c (do_ftell_wide): Likewise.
437 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
438 test case.
439 (do_one_test): Call it.
440
e3d6dba5
JM
4412014-12-03 Joseph Myers <joseph@codesourcery.com>
442
443 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
444 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
445 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
446 Remove variable.
447 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
448 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
449 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
450
7f994279
JM
4512014-12-02 Joseph Myers <joseph@codesourcery.com>
452
28a91e8f
JM
453 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
454 Remove variable.
455 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
456
7f994279
JM
457 [BZ #17668]
458 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
459 as weak alias of __getifaddrs. Use libc_hidden_weak.
460 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
461 __freeifaddrs. Use libc_hidden_weak.
462 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
463 define as weak alias of __getifaddrs. Use libc_hidden_weak.
464 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
465 __freeifaddrs. Use libc_hidden_weak.
466 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
467 __getifaddrs and define as weak alias of __getifaddrs. Use
468 libc_hidden_weak.
469 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
470 __freeifaddrs. Use libc_hidden_weak.
471 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
472 Remove variable.
473 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
474 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
475
bbe4c142
PJ
4762014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
477
478 [BZ #17601]
479 * sysdeps/mips/start.S (__start): Use indirect jump to call
480 __libc_start_main.
481
66cadc05
JM
4822014-12-02 Joseph Myers <joseph@codesourcery.com>
483
909e16d9
JM
484 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
485
4e0b9016
JM
486 * nptl/tst-mutex1.c: Include <stdbool.h>.
487 [!ATTR] (ATTR_NULL): New macro.
488 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
489 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
490 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
491
b1aff6a4
JM
492 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
493 to char *.
494
266865c0
JM
495 [BZ #17665]
496 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
497 Change conditional to [__USE_MISC].
498
84e5e756
JM
499 [BZ #17664]
500 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
501 fgets_unlocked.
502 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
503 __fgets_unlocked.
504 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
505 fgets_unlocked.
506 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
507 Remove variable.
508 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
509 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
510 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
511 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
512 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
513 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
514 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
515 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
516 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
517
66cadc05
JM
518 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
519
2e8a2de2 5202014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
521
522 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
523 Remove strpbrk objects.
524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
525 (__libc_ifunc_impl_list): Remove strpbrk implementation.
526 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
527 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
528 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
529 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
530
bb2542e0
AZ
531 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
532 Remove strcspn objects.
533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
534 (__libc_ifunc_impl_list): Remove strcspn implementation.
535 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
536 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
537 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
538 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
539
540 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
541 Remove strspn objetcs.
542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
543 (__libc_ifunc_impl_list): Remove strspn implementation.
544 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
545 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
546 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
547 * sysdeps/powerpc/powerpc64/strspn.S: New file.
548
08f1e1d2
JL
5492014-12-01 James Lemke <jwlemke@codesourcery.com>
550
551 [BZ #17581]
552 * malloc/hooks.c
553 (mem2mem_check): Add a terminator to the chain of checking blocks.
554 (malloc_check_get_size): Use it here.
555 (mem2chunk_check): Ditto.
556
a8a7d7d2
RS
5572014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
558
559 * sysdeps/powerpc/powerpc64/strtok.S: New file.
560 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
561
97114a38
CD
5622014-11-29 Carlos O'Donell <carlos@redhat.com>
563
c8dc1727
CD
564 * bits/ioctl-types.h: Indent preprocessor directives correctly.
565
6d03458e
CD
566 * nptl/nptl-init.c: Include libc-internal.h.
567 (__pthread_initialize_minimal_internal): Use ROUND_UP.
568
97114a38
CD
569 * elf/ldconfig.c (search_dir): Expand comment.
570
0e7e69ba
JM
5712014-11-29 Joseph Myers <joseph@codesourcery.com>
572
573 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
574 variable.
575 (linknamespace-symlist-stdlibs-tests): Likewise.
576 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
577 instead of $(objpfx)symlist-stdlibs.
578 (linknamespace-libs-isoc): New variable.
579 (linknamespace-libs): Use $(linknamespace-libs-isoc).
580 (linknamespace-libs-ISO): New variable.
581 (linknamespace-libs-ISO99): Likewise.
582 (linknamespace-libs-ISO11): Likewise.
583 (linknamespace-libs-XPG3): Likewise.
584 (linknamespace-libs-XPG4): Likewise.
585 (linknamespace-libs-POSIX): Likewise.
586 (linknamespace-libs-UNIX98): Likewise.
587 (linknamespace-libs-XOPEN2K): Likewise.
588 (linknamespace-libs-POSIX2008): Likewise.
589 (linknamespace-libs-XOPEN2K8): Likewise.
590 ($(objpfx)symlist-stdlibs): Replace by
591 $(linknamespace-symlist-stdlibs-tests). Use
592 $(linknamespace-libs-$*) as set of libraries.
593 ($(linknamespace-header-tests)): Update dependencies. Use
594 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
595 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
596 * conform/linknamespace.pl: Remove comment about considering
597 definitions of symbols from irrelevant libraries.
598
d8dd0080
L
5992014-11-28 H.J. Lu <hongjiu.lu@intel.com>
600
601 [BZ #13862]
602 * elf/dl-tls.c: Include <atomic.h>.
603 (oom): Remove #ifdef SHARED/#endif.
604 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
605 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
606 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
607 big enough.
608 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
609 * nptl/Makefile (tests): Add tst-stack4.
610 (modules-names): Add tst-stack4mod.
611 ($(objpfx)tst-stack4): New.
612 (tst-stack4mod.sos): Likewise.
613 ($(objpfx)tst-stack4.out): Likewise.
614 ($(tst-stack4mod.sos)): Likewise.
615 (clean): Likewise.
616 * nptl/tst-stack4.c: New file.
617 * nptl/tst-stack4mod.c: Likewise.
618
167da422
B
6192014-11-27 J. Brown <jb999@gmx.de>
620
621 * sysdeps/x86/bits/string.h: Add recent CPUs.
622
9114625b
JM
6232014-11-27 Joseph Myers <joseph@codesourcery.com>
624
6b5189eb
JM
625 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
626 sigblock.
627
49051f8e
JM
628 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
629 feof.
630
9114625b
JM
631 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
632 variable.
633
e7300fef
SL
6342014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
635
636 * nscd/connections.c: Include libc-internal.h because of macro
637 usage ignore_value.
638
1721f0a4
SP
6392014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
640
641 * string/bits/string3.h (__warn_memset_zero_len): Don't
642 declare for gcc newer than 5.0.
643 (memset): Don't test for zero-length __LEN for gcc newer than
644 5.0.
645
be970916
JM
6462014-11-27 Joseph Myers <joseph@codesourcery.com>
647
d88548f4
JM
648 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
649 size_t for %zu format.
650
be970916
JM
651 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
652 difference, not %ju.
653
3b20fd5c
JM
6542014-11-26 Joseph Myers <joseph@codesourcery.com>
655
8915eace
JM
656 * include/libc-internal.h (ignore_value): New macro.
657 * nscd/connections.c (restart): Wrap calls to setuid and setgid
658 with ignore_value.
659
f1a5a0e3
JM
660 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
661 definition.
662
59ef1715
JM
663 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
664 pthread_cleanup_push to void *.
665
a6f3079b
JM
666 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
667 Undefine.
668
706688aa
JM
669 [BZ #16619]
670 [BZ #16740]
671 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
672 instead of 1L << 52.
673
12da14a5
JM
674 * libio/bug-rewind.c (do_test): Check fwscanf return values.
675 * libio/bug-rewind2.c (do_test): Likewise.
676
bd5dadac
JM
677 * debug/test-stpcpy_chk-ifunc.c: Remove file.
678 * debug/test-strcpy_chk-ifunc.c: Likewise.
679 * wcsmbs/test-wcschr-ifunc.c: Likewise.
680 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
681 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
682 * wcsmbs/test-wcslen-ifunc.c: Likewise.
683 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
684 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
685 * Rules [$(multi-arch) = no] (tests): Do not filter out
686 $(tests-ifunc).
687 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
688 * debug/Makefile (tests-ifunc): Remove variable.
689 (tests): Do not add $(tests-ifunc).
690 * wcsmbs/Makefile (tests-ifunc): Remove variable.
691 (tests): Do not add $(tests-ifunc).
692 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
693 [TEST_IFUNC]: Remove conditionals.
694 * string/test-string.h (TEST_IFUNC): Remove macro.
695 [TEST_IFUNC]: Remove conditionals.
696
3b20fd5c
JM
697 * string/test-strchr.c [!WIDE] (L): New macro.
698 [WIDE] (L): Likewise.
699 (check1): Use CHAR instead of char. Use L on string and character
700 constants.
701
704f7947
AZ
7022014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
703
704 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
705 tests.
706 * sysdeps/powerpc/bits/atomic.h
707 (__arch_atomic_exchange_and_add_32_acq): Add definition.
708 (__arch_atomic_exchange_and_add_32_rel): Likewise.
709 (atomic_exchange_and_add_acq): Likewise.
710 (atomic_exchange_and_add_rel): Likewise.
711 * sysdeps/powerpc/powerpc32/bits/atomic.h
712 (__arch_atomic_exchange_and_add_64_acq): Add definition.
713 (__arch_atomic_exchange_and_add_64_rel): Likewise.
714 * sysdeps/powerpc/powerpc64/bits/atomic.h
715 (__arch_atomic_exchange_and_add_64_acq): Add definition.
716 (__arch_atomic_exchange_and_add_64_rel): Likewise.
717
cdcb42d7
TR
7182014-11-26 Torvald Riegel <triegel@redhat.com>
719
720 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
721 Change synchronization of __sched_fifo_min_prio and
722 __sched_fifo_max_prio.
723 * nptl/pthread_mutexattr_getprioceiling.c
724 (pthread_mutexattr_getprioceiling): Likewise.
725 * nptl/pthread_mutexattr_setprioceiling.c
726 (pthread_mutexattr_setprioceiling): Likewise.
727 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
728 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
729 Likewise.
730
c82f5c0c
JM
7312014-11-26 Joseph Myers <joseph@codesourcery.com>
732
733 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
734 void.
735
439e1ad6
JM
7362014-11-25 Joseph Myers <joseph@codesourcery.com>
737
738 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
739 third argument const.
740
b1eda10e
PE
7412014-11-25 Paul Eggert <eggert@cs.ucla.edu>
742
743 fnmatch: work around GCC compiler warning bug with uninit var
744 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
745 This works around a bug with x86-64 GCC 4.9.2 and earlier
746 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
747 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
748 used uninitialized in this function [-Wmaybe-uninitialized]".
749
bde2667a
JM
7502014-11-25 Joseph Myers <joseph@codesourcery.com>
751
752 * posix/bug-regex31.c (main): Return RES not 0.
753
5fbb5691
AB
7542014-11-25 Anton Blanchard <anton@samba.org>
755
756 * sysdeps/powerpc/bits/atomic.h
757 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
758
467fec0b
BM
7592014-11-24 Sterling Augustine <saugustine@google.com>
760
761 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
762
e9ff8efb
RC
7632014-11-24 Ryan Cumming <etaoins@gmail.com>
764
765 [BZ #17608]
766 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
767
9744496f
JM
7682014-11-24 Joseph Myers <joseph@codesourcery.com>
769
770 [BZ #17633]
771 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
772 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
773 variable.
774 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
775 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
776
6423d475
WD
7772014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
778
779 * string/strncpy.c (strncpy): Improve performance by using memset.
780
7812014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
782
783 * string/strcpy.c (strcpy):
784 Improve performance by using strlen and memcpy.
785
5d178c37
LH
7862014-11-24 Leonhard Holz <leonhard.holz@web.de>
787
788 * string/strcoll_l.c (get_next_seq): __always_inline.
789 * string/strcoll_l.c (do_compare): __always_inline.
790
279bc5b3
SP
7912014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
792
7a9ebfa1
SP
793 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
794 defined.
795 * include/mqueue.h: Likewise.
796 * include/stdlib.h: Likewise.
797
4f41c682
SP
798 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
799 (get_null_defines): Adjust.
800 * sunrpc/Makefile: Adjust comment.
801 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
802 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
803 (CFLAGS-interp.c): Likewise.
804 (CFLAGS-ldconfig.c): Likewise.
805 (CPPFLAGS-.os): Likewise.
806 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
807 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
808 * extra-modules.mk (extra-modules.mk): Likewise.
809 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
810 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
811 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
812 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
813 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
814 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
815 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
816 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
817 * iconvdata/Makefile (CPPFLAGS): Likewise.
818 (cpp-srcs-left): Add libof for all iconvdata routines.
819 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
820 * include/assert.h: Likewise.
821 * include/ctype.h: Likewise.
822 * include/errno.h: Likewise.
823 * include/libc-symbols.h: Likewise.
824 * include/math.h: Likewise.
825 * include/netdb.h: Likewise.
826 * include/resolv.h: Likewise.
827 * include/stdio.h: Likewise.
828 * include/stdlib.h: Likewise.
829 * include/string.h: Likewise.
830 * include/sys/stat.h: Likewise.
831 * include/wctype.h: Likewise.
832 * intl/l10nflist.c: Likewise.
833 * libidn/idn-stub.c: Likewise.
834 * libio/libioP.h: Likewise.
835 * nptl/libc_multiple_threads.c: Likewise.
836 * nptl/pthreadP.h: Likewise.
837 * posix/regex_internal.h: Likewise.
838 * resolv/res_hconf.c: Likewise.
839 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
840 * sysdeps/arm/memmove.S: Likewise.
841 * sysdeps/arm/sysdep.h: Likewise.
842 * sysdeps/generic/_itoa.h: Likewise.
843 * sysdeps/generic/symbol-hacks.h: Likewise.
844 * sysdeps/gnu/errlist.awk: Likewise.
845 * sysdeps/gnu/errlist.c: Likewise.
846 * sysdeps/i386/i586/memcpy.S: Likewise.
847 * sysdeps/i386/i586/memset.S: Likewise.
848 * sysdeps/i386/i686/memcpy.S: Likewise.
849 * sysdeps/i386/i686/memmove.S: Likewise.
850 * sysdeps/i386/i686/mempcpy.S: Likewise.
851 * sysdeps/i386/i686/memset.S: Likewise.
852 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
853 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
854 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
855 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
856 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
857 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
858 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
859 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
860 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
861 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
862 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
863 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
864 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
865 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
866 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
867 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
868 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
869 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
870 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
871 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
872 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
873 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
874 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
875 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
876 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
877 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
878 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
879 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
880 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
881 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
882 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
883 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
884 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
885 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
886 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
887 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
888 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
889 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
890 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
891 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
892 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
893 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
894 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
895 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
896 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
897 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
898 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
899 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
900 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
901 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
902 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
903 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
904 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
905 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
906 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
907 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
908 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
909 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
910 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
911 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
912 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
913 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
914 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
915 * sysdeps/nptl/bits/libc-lock.h: Likewise.
916 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
917 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
918 * sysdeps/posix/closedir.c: Likewise.
919 * sysdeps/posix/opendir.c: Likewise.
920 * sysdeps/posix/readdir.c: Likewise.
921 * sysdeps/posix/rewinddir.c: Likewise.
922 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
923 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
924 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
925 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
926 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
927 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
928 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
929 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
930 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
931 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
932 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
933 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
934 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
935 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
936 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
937 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
938 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
939 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
940 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
941 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
942 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
943 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
944 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
945 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
946 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
947 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
948 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
949 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
950 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
951 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
952 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
953 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
954 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
955 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
956 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
957 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
958 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
959 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
960 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
961 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
962 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
963 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
964 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
965 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
966 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
967 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
968 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
969 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
970 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
971 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
972 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
973 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
974 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
975 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
976 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
977 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
978 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
979 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
980 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
981 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
982 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
983 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
984 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
985 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
986 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
987 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
988 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
989 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
990 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
991 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
992 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
993 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
994 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
995 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
996 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
997 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
998 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
999 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1000 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1001 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1002 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1003 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1004 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1005 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1006 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1007 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1008 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1009 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1010 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1011 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1012 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1013 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1014 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1015 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1016 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1017 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1018 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1019 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1020 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1021 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1022 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1023 * sysdeps/unix/alpha/sysdep.S: Likewise.
1024 * sysdeps/unix/alpha/sysdep.h: Likewise.
1025 * sysdeps/unix/make-syscalls.sh: Likewise.
1026 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1027 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1028 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1029 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1030 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1031 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1032 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1033 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1034 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1035 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1036 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1037 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1038 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1039 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1040 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1041 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1042 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1043 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1044 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1045 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1046 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1047 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1048 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1049 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1050 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1051 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1052 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1055 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1056 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1057 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1058 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1059 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1060 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1061 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1062 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1063 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1064 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1065 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1066 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1067 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1068 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1069 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1070 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1071 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1072 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1073 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1074 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1075 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1076 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1077 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1078 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1079 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1080 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1081 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1082 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1083 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1084 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1085 * sysdeps/x86_64/memcpy.S: Likewise.
1086 * sysdeps/x86_64/memmove.c: Likewise.
1087 * sysdeps/x86_64/memset.S: Likewise.
1088 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1089 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1090 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1091 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1092 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1093 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1094 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1095 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1096 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1097 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1098 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1099 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1100 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1101 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1102 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1103 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1104 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1105 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1106 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1107 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1108 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1109 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1110 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1111 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1112 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1113 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1114 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1115 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1116 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1117 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1118 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1119 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1120 * sysdeps/x86_64/strcmp.S: Likewise.
1121
76ca86a5
SP
1122 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1123
a3848485
SP
1124 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1125 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1126 * elf/rtld-Rules: Likewise.
1127 * elf/setup-vdso.h: Likewise.
1128 * include/assert.h: Likewise.
1129 * include/bits/stdlib-float.h: Likewise.
1130 * include/errno.h: Likewise.
1131 * include/sys/stat.h: Likewise.
1132 * include/unistd.h: Likewise.
1133 * sysdeps/aarch64/setjmp.S: Likewise.
1134 * sysdeps/alpha/setjmp.S: Likewise.
1135 * sysdeps/arm/__longjmp.S: Likewise.
1136 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1137 * sysdeps/arm/setjmp.S: Likewise.
1138 * sysdeps/arm/sysdep.h: Likewise.
1139 * sysdeps/generic/_itoa.h: Likewise.
1140 * sysdeps/generic/dl-sysdep.h: Likewise.
1141 * sysdeps/generic/ldsodefs.h: Likewise.
1142 * sysdeps/i386/dl-tls.h: Likewise.
1143 * sysdeps/i386/setjmp.S: Likewise.
1144 * sysdeps/m68k/setjmp.c: Likewise.
1145 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1146 * sysdeps/mach/hurd/opendir.c: Likewise.
1147 * sysdeps/posix/getcwd.c: Likewise.
1148 * sysdeps/posix/opendir.c: Likewise.
1149 * sysdeps/posix/profil.c: Likewise.
1150 * sysdeps/powerpc/dl-procinfo.h: Likewise.
1151 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1152 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1153 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1154 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1155 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1156 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1157 * sysdeps/s390/dl-tls.h: Likewise.
1158 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1159 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1160 * sysdeps/sh/sh3/setjmp.S: Likewise.
1161 * sysdeps/sh/sh4/setjmp.S: Likewise.
1162 * sysdeps/unix/alpha/sysdep.h: Likewise.
1163 * sysdeps/unix/arm/sysdep.S: Likewise.
1164 * sysdeps/unix/i386/sysdep.S: Likewise.
1165 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1166 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1167 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1168 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1169 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1170 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1171 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1172 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1173 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1174 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1175 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1176 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1177 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1180 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1181 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1182 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1183 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1184 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1185 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1187 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1188 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1189 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1190 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1191 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1192 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1193 * sysdeps/x86_64/setjmp.S: Likewise.
1194
a109996e
SP
1195 * include/math.h: Use IS_IN instead of IS_IN_libm.
1196 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1197 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1198 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1199 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1200 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1201 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1202 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1203 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1204 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1205 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1206 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1207 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1208 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1209 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1210 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1211 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1212 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1213 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1214 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1215 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1216 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1217 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1218 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1219 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1220 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1221 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1222 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1223 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1224 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1225 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1226 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1227 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1228 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1230 Likewise.
1231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1232 Likewise.
1233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1234 Likewise.
1235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1236 Likewise.
1237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1238 Likewise.
1239 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1240 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1241 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1242 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1243 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1244 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1250 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1251 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1252 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1253 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1254 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1255 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1256 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1257 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1258 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1259 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1260 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1261 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1262 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1263 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1265 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1266
ce9f10f7
SP
1267 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1268 * nptl/pthreadP.h: Likewise.
1269 * nptl_db/structs.def: Likewise.
1270 * sysdeps/arm/sysdep.h: Likewise.
1271 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1272 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1273 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1274 * sysdeps/unix/alpha/sysdep.h: Likewise.
1275 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1276 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1277 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1278 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1279 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1280 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1281 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1282 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1283 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1284 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1285 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1286 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1287 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1288 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1291 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1292 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1293 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1295 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1296 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1297 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1298 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1299 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1300 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1301
016afc75
SP
1302 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1303 * nptl/pthreadP.h: Likewise.
1304 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1305 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1306 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1307 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1308 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1309 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1310 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1311 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1312 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1313 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1314 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1315 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1317 Likewise.
1318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1319 Likewise.
1320 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1321 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1322 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1324 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1325 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1326 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1327 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1328
9b42a0b3
SP
1329 * dlfcn/dladdr.c: Use IS_IN.
1330 * dlfcn/dladdr1.c: Likewise.
1331 * dlfcn/dlclose.c: Likewise.
1332 * dlfcn/dlerror.c: Likewise.
1333 * dlfcn/dlinfo.c: Likewise.
1334 * dlfcn/dlmopen.c: Likewise.
1335 * dlfcn/dlopen.c: Likewise.
1336 * dlfcn/dlsym.c: Likewise.
1337 * dlfcn/dlvsym.c: Likewise.
1338
85f36372
SP
1339 * include/ifaddrs.h: Use IS_IN.
1340 * inet/check_pf.c: Likewise.
1341 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1342 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1343
fb6784e3
SP
1344 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1345 IS_IN_ldconfig.
1346 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1347 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1348
2886d2d1
SP
1349 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1350 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1351 IS_IN (libc).
1352
9a484857
SP
1353 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1354
a10178bd
SP
1355 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1356 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1357 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1358 * include/libc-symbols.h (IS_IN_LIB): New macro.
1359 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1360 * include/netdb.h: Likewise.
1361 * include/stap-probe.h: Remove all uses of IN_LIB.
1362
279bc5b3
SP
1363 * Makeconfig (module-cppflags-real): Define MODULE_NAME
1364 instead of IN_MODULE.
1365 * include/libc-symbols.h (IN_MODULE): Define using
1366 MODULE_NAME.
1367 (PASTE_NAME, PASTE_NAME1): New macros.
1368 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1369 of IN_LIB.
1370 (STAP_PROBE_ASM): Likewise.
1371
e0cfa510
ST
13722014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
1373
1374 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1375 __mach_init in dlopened libc.
1376
34d97d87
MF
13772014-11-22 Mike Frysinger <vapier@gentoo.org>
1378
1379 * sysdeps/arm/preconfigure.ac: Delete EABI check.
1380 * sysdeps/arm/preconfigure: Regenerate.
1381
33cd1f74
RM
13822014-11-21 Roland McGrath <roland@hack.frob.com>
1383
1384 * nptl/pthread_create.c (__pthread_create_2_1): Set
1385 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1386 when copying values from IATTR into PD.
1387
8c230039
WN
13882014-11-21 Will Newton <will.newton@linaro.org>
1389 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1390
6d3db89b
AP
1391 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1392 Refactor inline-asm. Also add comment.
1393
01194ba1
WN
1394 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1395 ElfW macro instead of hardcoded Elf64 types.
1396 (la_aarch64_gnu_pltenter): Likewise.
1397 * sysdeps/aarch64/dl-machine.h
1398 (elf_machine_runtime_setup): Use ElfW(Addr).
1399
8c230039
WN
1400 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1401 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1402 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1403 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1404 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1405 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1406 (R_AARCH64_TLS_DTPMOD): This.
1407 (R_AARCH64_TLS_DTPREL64): Rename to ...
1408 (R_AARCH64_TLS_DTPREL): This.
1409 (R_AARCH64_TLS_TPREL64): Rename to ...
1410 (R_AARCH64_TLS_TPREL): This.
1411 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1412 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1413 R_AARCH64_TLS_TPREL64.
1414 (elf_machine_rela): Likewise.
1415
0d79fa53
TR
14162014-11-21 Torvald Riegel <triegel@redhat.com>
1417
1418 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1419 by setting it to 0. 64b atomics are not supported currently.
1420
b59d114b
AO
14212014-11-21 Alexandre Oliva <aoliva@redhat.com>
1422
1423 [BZ #16469]
1424 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1425 search domain names.
1426
f3d945d5
AO
14272014-11-21 Alexandre Oliva <aoliva@redhat.com>
1428
1429 [BZ #16469]
1430 * NEWS: Update.
1431 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1432 trailing dot.
1433 * posix/tst-getaddrinfo5.c: New.
1434 * posix/Makefile (tests): Add it.
1435
49698902
AO
14362014-11-21 Alexandre Oliva <aoliva@redhat.com>
1437
1438 [BZ #14498]
1439 * NEWS: Fixed.
1440 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1441 after parsing line but before break_if_match.
1442 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1443 if there is a protocol mismatch.
1444
81959214
MS
14452014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1446
1447 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1448 because the potential race is on the user-supplied stream.
1449
7729e0e9
AO
14502014-11-21 Alexandre Oliva <aoliva@redhat.com>
1451
1452 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1453 string literal if not passed a buffer.
1454 * manual/job.texi (ctermid): Update reasoning, note deviation
1455 from posix, suggest mtasurace when not passed a buffer, for
1456 future non-preliminary safety notes.
1457
a4ea5e28
AO
14582014-11-21 Alexandre Oliva <aoliva@redhat.com>
1459
1460 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1461 of not passing it a buffer.
1462 Reported by Peng Haitao.
1463
a2b581cb
AO
14642014-11-21 Alexandre Oliva <aoliva@redhat.com>
1465
1466 * manual/Makefile ($(objpfx)stamp-summary): Require
1467 check-safety.sh to pass.
1468 * manual/check-safety.sh: Wish for verification that every
1469 @deftypefn and @deftypefun is followed by a @safety remark.
1470
f214ff74
RM
14712014-11-20 Roland McGrath <roland@hack.frob.com>
1472
7f0dfae0
RM
1473 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1474
2f531bbb
RM
1475 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1476 PTHREAD_CANCEL_ASYNCHRONOUS.
1477 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1478 send SIGCANCEL.
1479
f214ff74
RM
1480 * nptl/default-sched.h: New file.
1481 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1482 * nptl/pthread_create.c: Include it.
1483 (__pthread_create_2_1): Use collect_default_sched instead of making
1484 Linux syscalls here directly.
1485
e37c91d4
TR
14862014-11-20 Torvald Riegel <triegel@redhat.com>
1487
1488 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1489 __pthread_once): Use C11 atomics.
1490
1eccfecd
TR
14912014-11-20 Torvald Riegel <triegel@redhat.com>
1492
1493 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1494
ff871426
TR
14952014-11-20 Torvald Riegel <triegel@redhat.com>
1496
1497 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1498 atomic_thread_fence_acquire, atomic_thread_fence_release,
1499 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1500 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1501 atomic_compare_exchange_weak_relaxed,
1502 atomic_compare_exchange_weak_acquire,
1503 atomic_compare_exchange_weak_release,
1504 atomic_exchange_acquire, atomic_exchange_release,
1505 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1506 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1507 atomic_fetch_and_acquire,
1508 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1509
1ea339b6
TR
15102014-11-20 Torvald Riegel <triegel@redhat.com>
1511
1512 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1513 USE_ATOMIC_COMPILER_BUILTINS): Define.
1514 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1515 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1516 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1517 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1518 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1519 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1520 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1521 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1522 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1523 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1524 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1525 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1526 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1527 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1528 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1529 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1530 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1531 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1532 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1533 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1534 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1535 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1536 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1537 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1538 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1539 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1540 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1541 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1542 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1543 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1544 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1545 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1546 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1547 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1548 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1549 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1550 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1551 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1552 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1553 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1554
cbd463e2
RM
15552014-11-19 Roland McGrath <roland@hack.frob.com>
1556
d960211f
RM
1557 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1558 the sched_priority value here. It was already checked when the user
1559 called pthread_attr_setschedparam.
1560
cbd463e2
RM
1561 * nptl/tst-bad-schedattr.c: New file.
1562 * nptl/Makefile (tests): Add it.
1563
a39208bd
CD
15642014-11-19 Carlos O'Donell <carlos@redhat.com>
1565 Florian Weimer <fweimer@redhat.com>
1566 Joseph Myers <joseph@codesourcery.com>
1567 Adam Conrad <adconrad@0c3.net>
1568 Andreas Schwab <schwab@suse.de>
1569 Brooks <bmoses@google.com>
1570
1571 [BZ #17625]
1572 * wordexp-test.c (__dso_handle): Add prototype.
1573 (__register_atfork): Likewise.
1574 (__app_register_atfork): New function.
1575 (registered_forks): New global.
1576 (register_fork): New function.
1577 (test_case): Add 3 new tests for WRDE_CMDSUB.
1578 (main): Call __app_register_atfork.
1579 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1580 fork count is non-zero fail the test.
1581 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1582 is set.
1583 (parse_dollars): Remove check for WRDE_NOCMD.
1584 (parse_dquote): Likewise.
1585
9cd47470
SP
15862014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1587
130ac68c
SP
1588 * Makeconfig (built-modules): List non-library modules to be
1589 built.
1590 (module-cppflags): Include libc-modules.h for
1591 everything except shlib-versions.v.i.
1592 (CPPFLAGS): Use it.
1593 (before-compile): Add libc-modules.h.
1594 ($(common-objpfx)libc-modules.h,
1595 $(common-objpfx)libc-modules.stmp): New targets.
1596 (common-generated): Add libc-modules.h and libc-modules.stmp.
1597 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1598 * include/libc-symbols.h: Don't include libc-modules.h.
1599 * include/libc-modules.h: Remove file.
1600 * scripts/gen-libc-modules.awk: New script to generate
1601 libc-modules.h.
1602 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1603 Depend on libc-modules.stmp.
1604
286663c3
SP
1605 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1606
9cd47470
SP
1607 * Makeconfig (in-module): Get value of libof set for the
1608 translation unit.
1609 (CPPFLAGS): Use $(in-module).
1610 * Makerules: Don't suffix routine names for nonlib.
1611 * include/libc-modules.h: New file.
1612 * include/libc-symbols.h: Include libc-modules.h
1613 (IS_IN): New macro to replace IS_IN_* macros.
1614 * elf/Makefile: Set libof-* for each routine.
1615 * elf/rtld-Rules: Likewise.
1616 * extra-modules.mk: Likewise.
1617 * iconv/Makefile: Likewise.
1618 * iconvdata/Makefile: Likewise.
1619 * locale/Makefile: Likewise.
1620 * malloc/Makefile: Likewise.
1621 * nss/Makefile: Likewise.
1622 * sysdeps/gnu/Makefile: Likewise.
1623 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1624 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1625 * sysdeps/s390/s390-64/Makefile: Likewise.
1626 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1627 CPPFLAGS for nscd instead of nonlib.
1628
32fed10f
RM
16292014-11-18 Roland McGrath <roland@hack.frob.com>
1630
d71035bd
RM
1631 * nptl/createthread.c: New file.
1632
6540b991
RM
1633 * nptl/createthread.c: Moved ...
1634 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1635
32fed10f
RM
1636 * nptl/createthread.c: Add proper top-line comment.
1637 (do_clone): Folded into ...
1638 (create_thread): ... here. Take new arguments STOPPED_START and
1639 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1640 increment __nptl_threads, do event-reporting logic, do
1641 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1642 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1643 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1644 just send SIGCANCEL.
1645 * nptl/pthread_create.c: Forward-declare create_thread before
1646 including createthread.c.
1647 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1648 declaration, and new macro START_THREAD_SELF to replace argument.
1649 Remove return statement.
1650 (report_thread_creation): New function.
1651 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1652 synchronization logic, and __nptl_nthreads increment here, around
1653 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1654 PD->parent_cancelhandling here, before create_thread. When
1655 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1656 __deallocate_stack, and ENOMEM translation here.
1657
107a5bf0
JM
16582014-11-18 Joseph Myers <joseph@codesourcery.com>
1659
1660 [BZ #17616]
1661 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1662 (mptwo): Rename to __mptwo.
1663 (__inv): Use __mptwo instead of mptwo.
1664 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1665 (mptwo): Rename to __mptwo.
1666 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1667 of mpone and __mptwo instead of mptwo.
1668 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1669 instead of mpone.
1670 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1671 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1672 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1673 of mpone and __mptwo instead of mptwo.
1674 (__mpranred): Use __mpone instead of mpone.
1675 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1676 variable.
1677 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1678 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1679 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1680 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1681 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1682 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1683 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1684 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1685 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1686 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1687 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1688 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1689 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1690 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1691 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1692 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1693 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1694 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1695 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1696
3b679ab3
TV
16972014-11-18 Tom de Vries <tom@codesoucery.com>
1698
1699 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1700 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
1701
17022014-11-17 Richard Henderson <rth@redhat.com>
1703
1704 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1705 (_FP_PACK_RAW_2): Remove.
1706 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1707 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1708 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1709 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1710 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1711 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1712 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1713 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1714 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1715 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1716 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1717 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1718 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1719 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1720 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1721 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1722
0781a777
RM
17232014-11-14 Roland McGrath <roland@hack.frob.com>
1724
1725 * signal/signal.h [__USE_MISC]
1726 (struct sigvec): Remove type.
1727 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1728 (sigvec): Remove declaration.
1729 * sysdeps/posix/sigvec.c: Moved ...
1730 * signal/sigvec.c: ... here, replacing old file.
1731 (struct sigvec): New type, copied from old signal.h definition.
1732 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1733 (__sigvec): Convert definition to prototype.
1734 (sigvec): Replace weak_alias with compat_symbol.
1735 * signal/Versions (libc: GLIBC_2.21): New version set.
1736 * include/signal.h: Remove __sigvec declaration.
1737 * sysdeps/unix/bsd/sigvec.c: Remove file.
1738 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1739 * manual/signal.texi (BSD Handler): Remove subsection.
1740 Move siginterrupt up to ...
1741 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1742 (Blocking in BSD): Fold subsection into its parent.
1743 * NEWS: Mention sigvec removal.
1744
a4733812
JM
17452014-11-14 Joseph Myers <joseph@codesourcery.com>
1746
5ae4fe60
JM
1747 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1748 (DLA_FMS): Make definition conditional only on [__FMA4__].
1749 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1750 definition.
1751
6a0dd472
JM
1752 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1753 Make definition conditional only on [PROF].
1754 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1755 definition.
1756 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1757 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1758
a4733812
JM
1759 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1760 !__GNUC__].
1761 * include/signal.h (__sigpause): Move declaration above call to
1762 libc_hidden_proto.
1763 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1764 variable.
1765 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1766 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1767
cf7246dd
DM
17682014-11-14 David S. Miller <davem@davemloft.net>
1769
1770 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1771 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1772
c1b0aadc
JM
17732014-11-14 Joseph Myers <joseph@codesourcery.com>
1774
4863355a
JM
1775 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1776 * configure: Regenerated.
1777 * manual/install.texi (Tools for Compilation): Document a
1778 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1779 compiler verified to work.
1780 * INSTALL: Regenerated.
1781
c1b0aadc
JM
1782 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1783 redeclare with asm name.
1784 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1785 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1786 including <string.h>.
1787 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1788 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1789 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1790 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1791 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1792 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1793 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1794
2a1cfd94
JM
17952014-11-13 Joseph Myers <joseph@codesourcery.com>
1796
bf438382
JM
1797 * stdlib/strtol.c (__strtol): Use prototype definition.
1798
2a1cfd94
JM
1799 [BZ #17594]
1800 * stdlib/strtol.c (SYM__): New macro.
1801 (SYM__1): Likewise.
1802 (__strtol): Likewise.
1803 (strtol): Rename to __strtol and define as weak alias of
1804 __strtol. Use libc_hidden_weak.
1805
20ed0d26
SL
18062014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1807
1808 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1809 Use numbered labels in inline assembly.
1810
53244a4e
SL
18112014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1812
1813 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1814 Add setjmp LIBC_PROBE.
1815 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1816 Likewise.
1817 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1818 Add longjmp, longjmp_target LIBC_PROBE.
1819 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1820 Likewise.
1821
47df8251
SL
18222014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1823
1824 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1825 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1826 to get rid of unused variable warning.
1827
618cebef
SL
18282014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1829
1830 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1831 Check for unwind_backtrace == NULL only in SHARED case.
1832 (__backchain_backtrace): Compile only in SHARED case.
1833 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1834 Likewise.
1835 (__backchain_backtrace): Declare as static.
1836
c6aab2cb
RM
18372014-11-12 Roland McGrath <roland@hack.frob.com>
1838
1839 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1840 (__libc_multiple_threads_ptr): Variable moved ...
1841 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1842
5a6fa4d7
JM
18432014-11-12 Joseph Myers <joseph@codesourcery.com>
1844
24f4f825
JM
1845 * conform/GlibcConform.pm: New file.
1846 * conform/conformtest.pl: Use GlibcConform module.
1847 * conform/linknamespace.pl: New file.
1848 * conform/list-header-symbols.pl: Likewise.
1849 * conform/Makefile (linknamespace-symlists-base): New variable.
1850 (linknamespace-symlists-tests): Likewise.
1851 (linknamespace-header-base): Likewise.
1852 (linknamespace-header-tests): Likewise.
1853 (tests-special): Add new tests.
1854 ($(linknamespace-symlists-tests)): New rule.
1855 (linknamespace-libs): New variable.
1856 ($(objpfx)symlist-stdlibs): New rule.
1857 ($(linknamespace-header-tests)): Likewise.
1858 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1859 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1860 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1861 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1862 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1863 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1864 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1865 (test-xfail-ISO/math.h/linknamespace): Likewise.
1866 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1867 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1868 (test-xfail-ISO/time.h/linknamespace): Likewise.
1869 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1870 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1871 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1872 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1873 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1874 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1875 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1876 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1877 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1878 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1879 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1880 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1881 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1882 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1883 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1884 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1885 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1886 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1887 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1888 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1889 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1890 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1891 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1892 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1893 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1894 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1895 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1896 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1897 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1898 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1899 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1900 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1901 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1902 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1903 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1904 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1905 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1906 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1907 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1908 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1909 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1910 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1911 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1912 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1913 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1914 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1915 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1916 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1917 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1918 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1919 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1920 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1921 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1922 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1923 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1924 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1925 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1926 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1927 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1928 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1929 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1930 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1931 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1932 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1933 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1934 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1935 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1936 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1937 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1938 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1939 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1940 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1941 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1942 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1943 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1944 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1945 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1946 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1947 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1948 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1949 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1950 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1951 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1952 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1953 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1954 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1955 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1956 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1957 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1958 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1959 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1960 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1961 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1962 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1963 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1964 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1965 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1966 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1967 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1968 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1969 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1970 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1971 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1972 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1973 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1974 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1975 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1976 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1977 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1978 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1979 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1980 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1981 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1982 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1983 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1984 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1985 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1986 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1987 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1988 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1989 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1990 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1991 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1992 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1993 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1994 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1995 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1996 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1997 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1998 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1999 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2000 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2001 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2002 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2003 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2004 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2005 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2006 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2007 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2008 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2009 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2010 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2011 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2012 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2013 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2014 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2015 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2016 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2017 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2018 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2019
cc67478e
JM
2020 [BZ #17589]
2021 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2022 of fgets_unlocked.
2023
9975e3d3
JM
2024 [BZ #17585]
2025 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2026 (memmem): Rename to __memmem and define as weak alias of
2027 __memmem. Use libc_hidden_weak.
2028 (__memmem): Use libc_hidden_def.
2029 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
2030 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2031 memmem.
2032
c4eae752
JM
2033 [BZ #17582]
2034 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2035 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
2036 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2037 and define as weak alias of __fgets_unlocked. Use
2038 libc_hidden_weak.
2039 (__fgets_unlocked): Use libc_hidden_def.
2040 * include/stdio.h (__fgets_unlocked): Declare. Use
2041 libc_hidden_proto.
2042 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2043 __fgets_unlocked instead of fgets_unlocked.
2044 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2045 (GET_NPROCS_CONF_PARSER): Likewise.
2046 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2047 (GET_NPROCS_CONF_PARSER): Likewise.
2048
01cad84e
JM
2049 [BZ #17574]
2050 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2051 weak alias of __wmemset. Use libc_hidden_weak.
2052 (__wmemset): Use libc_hidden_def.
2053 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
2054 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2055 of wmemset.
2056
939da411
JM
2057 [BZ #17573]
2058 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2059 with asm name __mempcpy.
2060 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2061
293d9a41
JM
2062 [BZ #17572]
2063 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2064 and define as weak alias of __rawmemchr.
2065 (__rawmemchr): Do not define as strong alias of rawmemchr.
2066
bef8fd60
JM
2067 [BZ #17571]
2068 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2069 alias of __qsort_r.
2070 (qsort): Call __qsort_r instead of qsort_r.
2071 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2072 (__qsort_r): Declare. Call libc_hidden_proto.
2073 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2074 instead of qsort_r.
2075 * nscd/gai.c (__qsort_r): Define to qsort_r.
2076 * posix/tst-rfc3484.c (__qsort_r): Likewise.
2077 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2078 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2079
c52ff39e
JM
2080 [BZ #17570]
2081 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2082 define as weak alias of __malloc_info.
2083
2f5c1b00
JM
2084 [BZ #17584]
2085 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2086 as weak alias of __rewinddir. Don't use libc_hidden_def.
2087 (__rewinddir): Use libc_hidden_def.
2088 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2089 as weak alias of __rewinddir. Don't use libc_hidden_def.
2090 (__rewinddir): Use libc_hidden_def.
2091 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2092 weak alias of __rewinddir. Don't use libc_hidden_def.
2093 (__rewinddir): Use libc_hidden_def.
2094 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2095 (__rewinddir): Use libc_hidden_proto.
2096 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2097 rewinddir.
2098 (__getcwd): Use __rewinddir instead of rewinddir.
2099
5a6fa4d7
JM
2100 [BZ #17583]
2101 * libio/fileno.c (fileno): Rename to __fileno and define as weak
2102 alias of __fileno. Use libc_hidden_weak.
2103 (__fileno): Use libc_hidden_def.
2104 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2105 * libio/ftello.c (ftello): Rename to __ftello and define as weak
2106 alias of __ftello.
2107 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2108 __ftello.
2109 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2110 (__fread_unlocked): Define as strong alias of _IO_fread. Use
2111 libc_hidden_def.
2112 (fread_unlocked): Don't use libc_hidden_ver.
2113 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2114 and define as weak alias of __fread_unlocked. Don't use
2115 libc_hidden_def.
2116 (__fread_unlocked): Use libc_hidden_def.
2117 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
2118 (ftello): Don't use libc_hidden_proto.
2119 (__ftello): Declare. Use libc_hidden_proto.
2120 (fread_unlocked): Don't use libc_hidden_proto.
2121 (__fread_unlocked): Declare. Use libc_hidden_proto.
2122 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2123 and __ftello instead of fileno, fread_unlocked and ftello.
2124
2581b98e
SP
21252012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2126
2127 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2128 GOT12.
2129 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2130 Likewise.
2131 (_dl_start_user): Likewise.
2132 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2133
533bb7c2
SP
21342014-11-12 Carlos O'Donell <carlos@redhat.com>
2135 Siddhesh Poyarekar <siddhesh@redhat.com>
2136
2137 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2138 Move argv and envp down instead of moving argc up.
2139 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2140
fffa1cf8
LH
21412014-11-12 Leonhard Holz <leonhard.holz@web.de>
2142
2143 [BZ #17506]
2144 * test-skeleton.c (main): Return successful if one of
2145 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2146 * string/tst-strcoll-overflow.c: Define expected status.
2147
fb89b46d
TU
21482014-11-12 Tatiana Udalova <t.udalova@samsung.com>
2149
2150 [BZ #17475]
2151 * locale/iso-639.def: Define Bhili and Tulu language codes.
2152
5c40c3ba
AH
21532014-11-11 Alan Hayward <alan.hayward@arm.com>
2154
2155 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2156
b17fe01b 21572014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
2158
2159 [BZ #17555]
2160 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2161
bd805071
AS
21622014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2163
2164 * configure.ac: Updated check of minimal required version to
2165 2.22.
2166 * manual/install.texi (Tools for Compilation): Updated version
2167 number.
2168 * configure: Regenerated.
2169 * INSTALL: Likewise.
2170
1400983e
AS
21712014-11-07 Andreas Schwab <schwab@linux-m68k.org>
2172
2173 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2174 __tls_get_addr.
2175
2c46a66a
JM
21762014-11-07 Joseph Myers <joseph@codesourcery.com>
2177
2178 * include/sys/wait.h (__libc_waitpid): Remove declaration.
2179 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2180 (__waitpid): Don't define as alias. Use libc_hidden_def not
2181 libc_hidden_weak.
2182 (waitpid): Define as alias of __waitpid.
2183 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2184 __waitpid.
2185 (__waitpid): Don't define as alias. Use libc_hidden_def not
2186 libc_hidden_weak.
2187 (waitpid): Define as alias of __waitpid.
2188 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2189 __libc_waitpid alias.
2190 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2191 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2192 Likewise.
2193 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2194 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2195 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2196 alias.
2197 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2198 __waitpid.
2199 (__waitpid): Don't define as alias. Use libc_hidden_def not
2200 libc_hidden_weak.
2201 (waitpid): Define as alias of __waitpid.
2202
da53d6db
CD
22032014-11-06 Carlos O'Donell <carlos@redhat.com>
2204
a2887bdb
CD
2205 * manual/llio.texi: Add comment that write safety has been
2206 fixed in Linux.
2207
da53d6db
CD
2208 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2209 (localplt-build-dso): Add elf/ld.so.
2210 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2211 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2212 and free for ld.so.
2213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2214 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2216 Likewise.
2217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2218 Likewise.
2219 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2220 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2221 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2222 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2223 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2224 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2225 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2226 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2227 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2228 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2229 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2230
9cf27b8d
JM
22312014-11-05 Joseph Myers <joseph@codesourcery.com>
2232
2233 [BZ #14132]
2234 * include/libc-symbols.h (INTUSE): Remove macro.
2235 (INTDEF): Likewise.
2236 (INTVARDEF): Likewise.
2237 (_INTVARDEF): Likewise.
2238 (INTDEF2): Likewise.
2239 (INTVARDEF2): Likewise.
2240 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2241 rtld_hidden_def instead of INTVARDEF.
2242 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2243 (_dl_starting_up_internal): Remove declaration.
2244 (_dl_starting_up): Use rtld_hidden_proto.
2245 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2246 declaration.
2247 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2248 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2249 _dl_starting_up.
2250 * elf/dl-writev.h (_dl_writev): Likewise.
2251 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2252 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2253 _dl_starting_up_internal.
2254
af83568d
AZ
22552014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2256
2257 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2258 test-skeleton.c.
2259
b01ee67c
WN
22602014-11-05 Will Newton <will.newton@linaro.org>
2261
2262 * benchtests/Makefile: (bench-malloc): Add malloc thread
2263 scalability benchmark.
2264 * benchtests/bench-malloc-threads.c: New file.
2265
be9d4ccc
RE
22662014-11-05 Richard Earnshaw <rearnsha@arm.com>
2267
2268 * sysdeps/aarch64/strchrnul.S: New file.
2269
7110166d
AZ
22702014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2271
2272 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2273 definition.
2274 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2275 Likwise.
2276 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2277 Likewise.
2278 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2279 Likewise.
2280 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2281 Likewise.
2282 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2283 Likewise.
2284
22852014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
2286
2287 * catgets/test-gencat.c: Use test-skeleton.c.
2288 * catgets/tst-catgets.c: Likewise.
2289 * csu/tst-empty.c: Likewise.
2290 * elf/tst-audit2.c: Likewise.
2291 * elf/tst-global1.c: Likewise.
2292 * elf/tst-pathopt.c: Likewise.
2293 * elf/tst-piemod1.c: Likewise.
2294 * elf/tst-tls10.c: Likewise.
2295 * elf/tst-tls11.c: Likewise.
2296 * elf/tst-tls12.c: Likewise.
2297 * gnulib/tst-gcc.c: Likewise.
2298 * iconvdata/tst-e2big.c: Likewise.
2299 * iconvdata/tst-loading.c: Likewise.
2300 * iconv/tst-iconv1.c: Likewise.
2301 * iconv/tst-iconv2.c: Likewise.
2302 * inet/test-inet6_opt.c: Likewise.
2303 * inet/tst-gethnm.c: Likewise.
2304 * inet/tst-network.c: Likewise.
2305 * inet/tst-ntoa.c: Likewise.
2306 * intl/tst-codeset.c: Likewise.
2307 * intl/tst-gettext2.c: Likewise.
2308 * intl/tst-gettext3.c: Likewise.
2309 * intl/tst-ngettext.c: Likewise.
2310 * intl/tst-translit.c: Likewise.
2311 * io/test-stat.c: Likewise.
2312 * libio/test-fmemopen.c: Likewise.
2313 * libio/tst-freopen.c: Likewise.
2314 * libio/tst-sscanf.c: Likewise.
2315 * libio/tst-ungetwc1.c: Likewise.
2316 * libio/tst-ungetwc2.c: Likewise.
2317 * libio/tst-widetext.c: Likewise.
2318 * localedata/tst-ctype.c: Likewise.
2319 * localedata/tst-digits.c: Likewise.
2320 * localedata/tst-leaks.c: Likewise.
2321 * localedata/tst-mbswcs1.c: Likewise.
2322 * localedata/tst-mbswcs2.c: Likewise.
2323 * localedata/tst-mbswcs3.c: Likewise.
2324 * localedata/tst-mbswcs4.c: Likewise.
2325 * localedata/tst-mbswcs5.c: Likewise.
2326 * localedata/tst-setlocale.c: Likewise.
2327 * localedata/tst-trans.c: Likewise.
2328 * localedata/tst-wctype.c: Likewise.
2329 * localedata/tst-xlocale1.c: Likewise.
2330 * login/tst-grantpt.c: Likewise.
2331 * malloc/tst-calloc.c: Likewise.
2332 * malloc/tst-malloc.c: Likewise.
2333 * malloc/tst-mallocstate.c: Likewise.
2334 * malloc/tst-mcheck.c: Likewise.
2335 * malloc/tst-mtrace.c: Likewise.
2336 * malloc/tst-obstack.c: Likewise.
2337 * math/atest-exp2.c: Likewise.
2338 * math/atest-exp.c: Likewise.
2339 * math/atest-sincos.c: Likewise.
2340 * math/test-matherr.c: Likewise.
2341 * math/test-misc.c: Likewise.
2342 * math/test-powl.c: Likewise.
2343 * math/tst-definitions.c: Likewise.
2344 * misc/tst-dirname.c: Likewise.
2345 * misc/tst-efgcvt.c: Likewise.
2346 * misc/tst-fdset.c: Likewise.
2347 * misc/tst-hsearch.c: Likewise.
2348 * misc/tst-mntent2.c: Likewise.
2349 * nptl/tst-sem7.c: Likewise.
2350 * nptl/tst-sem8.c: Likewise.
2351 * nptl/tst-sem9.c: Likewise.
2352 * nss/test-netdb.c: Likewise.
2353 * posix/tst-fnmatch.c: Likewise.
2354 * posix/tst-getlogin.c: Likewise.
2355 * posix/tst-gnuglob.c: Likewise.
2356 * posix/tst-mmap.c: Likewise.
2357 * pwd/tst-getpw.c: Likewise.
2358 * resolv/tst-inet_ntop.c: Likewise.
2359 * rt/tst-timer.c: Likewise.
2360 * stdio-common/test-fseek.c: Likewise.
2361 * stdio-common/test-popen.c: Likewise.
2362 * stdio-common/test-vfprintf.c: Likewise.
2363 * stdio-common/tst-cookie.c: Likewise.
2364 * stdio-common/tst-fileno.c: Likewise.
2365 * stdio-common/tst-gets.c: Likewise.
2366 * stdio-common/tst-obprintf.c: Likewise.
2367 * stdio-common/tst-perror.c: Likewise.
2368 * stdio-common/tst-sprintf2.c: Likewise.
2369 * stdio-common/tst-sprintf3.c: Likewise.
2370 * stdio-common/tst-sprintf.c: Likewise.
2371 * stdio-common/tst-swprintf.c: Likewise.
2372 * stdio-common/tst-tmpnam.c: Likewise.
2373 * stdio-common/tst-unbputc.c: Likewise.
2374 * stdio-common/tst-wc-printf.c: Likewise.
2375 * stdlib/tst-environ.c: Likewise.
2376 * stdlib/tst-fmtmsg.c: Likewise.
2377 * stdlib/tst-limits.c: Likewise.
2378 * stdlib/tst-rand48-2.c: Likewise.
2379 * stdlib/tst-rand48.c: Likewise.
2380 * stdlib/tst-random2.c: Likewise.
2381 * stdlib/tst-random.c: Likewise.
2382 * stdlib/tst-strtol.c: Likewise.
2383 * stdlib/tst-strtoll.c: Likewise.
2384 * stdlib/tst-tls-atexit.c: Likewise.
2385 * stdlib/tst-xpg-basename.c: Likewise.
2386 * string/test-ffs.c: Likewise.
2387 * string/tst-bswap.c: Likewise.
2388 * string/tst-inlcall.c: Likewise.
2389 * string/tst-strtok.c: Likewise.
2390 * string/tst-strxfrm.c: Likewise.
2391 * sysdeps/x86_64/tst-audit10.c: Likewise.
2392 * sysdeps/x86_64/tst-audit3.c: Likewise.
2393 * sysdeps/x86_64/tst-audit4.c: Likewise.
2394 * sysdeps/x86_64/tst-audit5.c: Likewise.
2395 * time/tst-ftime_l.c: Likewise.
2396 * time/tst-getdate.c: Likewise.
2397 * time/tst-mktime3.c: Likewise.
2398 * time/tst-mktime.c: Likewise.
2399 * time/tst-posixtz.c: Likewise.
2400 * time/tst-strptime2.c: Likewise.
2401 * time/tst-strptime3.c: Likewise.
2402 * wcsmbs/tst-btowc.c: Likewise.
2403 * wcsmbs/tst-mbrtowc.c: Likewise.
2404 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2405 * wcsmbs/tst-wchar-h.c: Likewise.
2406 * wcsmbs/tst-wcpncpy.c: Likewise.
2407 * wcsmbs/tst-wcrtomb.c: Likewise.
2408 * wcsmbs/tst-wcsnlen.c: Likewise.
2409 * wcsmbs/tst-wcstof.c: Likewise.
2410
2004e7fb
JM
24112014-11-04 Joseph Myers <joseph@codesourcery.com>
2412
ab97ee8f
JM
2413 [BZ #14132]
2414 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2415 INTDEF.
2416 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2417 declaration.
2418 (_dl_mcount): Use rtld_hidden_proto.
2419 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2420 _dl_mcount.
2421 * elf/rtld.c (_rtld_global_ro): Likewise.
2422
c5684fdb
JM
2423 [BZ #14132]
2424 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2425 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2426 of _dl_init_internal.
2427 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2428 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2429 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2430 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2431 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2432 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2433 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2434 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2435 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2436 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2437 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2438 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2439 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2440 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2441 * sysdeps/tile/dl-start.S (_start): Likewise.
2442 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2443 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2444
4243cbea
JM
2445 [BZ #14132]
2446 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2447 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2448 (rtld_progname): Make macro definition unconditional.
2449 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2450 INTDEF.
2451 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2452 (dl_main): Likewise.
2453 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2454 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2455 instead of _dl_argv_internal.
2456 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2457 __GI__dl_argv instead of INTUSE(_dl_argv).
2458 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2459 __GI__dl_argv instead of _dl_argv_internal.
2460
2004e7fb
JM
2461 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2462 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2463 macro.
2464 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2465 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2466 New macro.
2467 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2468 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2469 macro.
2470 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2471 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2472
97827bfc
AS
24732014-11-04 Andreas Schwab <schwab@suse.de>
2474
2475 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2476
5e4df284
AZ
24772014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2478
2479 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2480 mtvsrd instruction in binary form.
2481
04b76b5a
AS
24822014-11-03 Andreas Schwab <schwab@suse.de>
2483
2484 [BZ #17522]
2485 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2486 for less than MB_LEN_MAX use a local buffer of that size.
2487 * libio/tst-fputws.c: New file.
2488 * libio/Makefile (tests): Add tst-fputws.
2489
4c6da7da
JM
24902014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2491
2492 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2493 the size of the fpu_fr.fpu_dregs[] array.
2494
1679ba8e
JM
24952014-11-01 Joseph Myers <joseph@codesourcery.com>
2496
2497 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2498 (__nanosleep): Do not define as alias.
2499 (nanosleep): Define as alias of __nanosleep.
2500 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2501 __libc_nanosleep name.
2502
2626c183
JM
25032014-10-31 Joseph Myers <joseph@codesourcery.com>
2504
2505 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2506 install.texi in comment.
2507
7f981fc2
TR
25082014-10-31 Torvald Riegel <triegel@redhat.com>
2509
2510 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2511 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2512 ... add here and use lwsync or sync ...
2513 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2514 ... and add here using lwsync.
2515
d6f373d2
MF
25162014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2517
2518 * elf/dl-machine-reject-phdr.h: New file.
2519 * elf/dl-load.c: #include that.
2520 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2521 if that returned true.
2522
67c37987
RM
25232014-10-31 Roland McGrath <roland@hack.frob.com>
2524
2525 [BZ #17496]
2526 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2527 gen-as-const-headers chunk. Add a big scare comment after the last
2528 safe place to touch before-compile.
2529
94a42455 25302014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 2531
f3f5d895
JM
2532 * manual/install.texi (Tools for Compilation): Update autoconf
2533 version requirements.
2534 * INSTALL: Regenerated.
2535
f62ff286
JM
2536 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2537 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2538 (__libc_pselect): Likewise.
94a42455
JM
2539
2540 [BZ #14138]
2541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2545
ff9dbdc0
TR
25462014-10-31 Torvald Riegel <triegel@redhat.com>
2547
2548 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2549 correct barrier instruction.
2550 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2551 Likewise.
2552 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2553 Likewise.
2554
b4f66884
RM
25552014-10-30 Roland McGrath <roland@hack.frob.com>
2556
2557 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2558 after defining inlines. Instead, just use parens to defeat macro
2559 expansion of __isctype in its declaration.
2560
e19c95fd
JM
25612014-10-30 Joseph Myers <joseph@codesourcery.com>
2562
2563 * include/sys/uio.h (__libc_readv): Remove declaration.
2564 (__libc_writev): Likewise.
2565 * misc/readv.c (__libc_readv): Rename to __readv.
2566 (__readv): Do not define as alias.
2567 (readv): Define as alias of __readv.
2568 * misc/writev.c (__libc_writev): Rename to __writev.
2569 (__writev): Do not define as alias.
2570 (writev): Define as alias of __writev.
2571 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2572 (__readv): Do not define as alias.
2573 (readv): Define unconditionally as alias of __readv.
2574 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2575 (__writev): Do not define as alias.
2576 (writev): Define unconditionally as alias of __writev.
2577 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2578 name.
2579 (writev): Do not define __libc_writev name.
2580
65b00b6c
RM
25812014-10-30 Roland McGrath <roland@hack.frob.com>
2582
2583 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2584 (convert_charseq): New function, broken out of ...
2585 (use_from_charmap): ... here. Call it.
2586 (use_to_charmap): Use convert_charseq and free instead of duplicating
2587 its code with a variable-length stack struct.
2588
d4e157aa
JM
25892014-10-30 Joseph Myers <joseph@codesourcery.com>
2590
2591 * include/fcntl.h (__libc_creat): Remove declaration.
2592 * io/creat.c (__libc_creat): Rename to creat.
2593 (creat): Do not define as alias.
2594 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2595 of creat instead of __libc_creat.
2596 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2597 to creat.
2598 (creat): Do not define as alias.
2599 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2600 __libc_creat.
2601 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2602 __libc_creat name.
2603 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2604 Likewise.
2605
0c6891a0
CD
26062014-10-29 Carlos O'Donell <carlos@redhat.com>
2607
2608 * manual/llio.texi: Add comments discussing why write() may be
2609 considered MT-unsafe on Linux.
2610
cc00cece
CD
26112014-10-28 Carlos O'Donell <carlos@redhat.com>
2612
2613 * dl-load.c (local_strdup): Remove.
2614 (expand_dynamic_string_token): Use __strdup.
2615 (decompose_rpath): Likewise.
2616 (_dl_map_object): Likewise.
2617
51e623f2
JM
26182014-10-28 Joseph Myers <joseph@codesourcery.com>
2619
2620 [BZ #14132]
2621 * sysdeps/generic/unwind-dw2-fde.c
2622 (__register_frame_info_bases_internal): Do not declare.
2623 (__register_frame_info_table_bases_internal): Likewise.
2624 (__deregister_frame_info_bases_internal): Likewise.
2625 (__register_frame_info_bases): Declare and use hidden_proto before
2626 definition. Use hidden_def instead of INTDEF.
2627 (__register_frame_info_table_bases): Likewise.
2628 (__deregister_frame_info_bases): Likewise.
2629 (__register_frame_info): Do not use INTUSE.
2630 (__register_frame): Likewise.
2631 (__register_frame_info_table): Likewise.
2632 (__register_frame_table): Likewise.
2633 (__deregister_frame_info): Likewise.
2634 (__deregister_frame): Likewise.
2635
03d41216
GC
26362014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2637
2638 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2639 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2640 not undefine.
2641 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2642 Likewise.
2643 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2644 Likewise.
2645
a4b3624d
JM
26462014-10-27 Joseph Myers <joseph@codesourcery.com>
2647
2648 [BZ #14138]
2649 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2650 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2651 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2652 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2653 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2654 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2655 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2656 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2657 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2658 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2659 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2660 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2661 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2662 syscall.
2663 (setfsuid): Likewise.
2664 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2665 (setfsuid): Likewise.
2666 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2667 (setfsuid): Likewise.
2668 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2669 Likewise.
2670 (setfsuid): Likewise.
2671 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2672 (setfsuid): Likewise.
2673 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2674 Likewise.
2675 (setfsuid): Likewise.
2676
3574f2fd
AS
26772014-10-27 Andreas Schwab <schwab@suse.de>
2678
2679 [BZ #17501]
2680 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2681 check for Slow_SSE4_2 feature bit.
2682 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2683 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2684 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2685 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2686
70996a37
RM
26872014-10-24 Roland McGrath <roland@hack.frob.com>
2688
461a7b1e
RM
2689 * configure.ac: Validate compiler version with a empirical test of
2690 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2691 $CC -v output.
2692 * configure: Regenerated.
2693
70996a37
RM
2694 * inet/htons.c (htons): Prototypify.
2695 * inet/htonl.c (htonl): Likewise.
2696
e80514b5
WD
26972014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2698
2699 * string/strncat.c (strncat): Improve performance by using strlen.
2700
6e46de42
WD
27012014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2702
2703 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2704
6a9ad2fa
WD
27052014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2706
2707 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2708 Call libc_fetestexcept_aarch64.
2709
1c8810ed
WD
27102014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2711
2712 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2713 Call libc_feholdexcept_aarch64.
2714
8b1af712
WD
27152014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2716
2717 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2718 Call get_rounding_mode.
2719
a7b00c11
WD
27202014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2721
2722 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2723 Simplify logic.
2724
3a84f1a6
WD
27252014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2726
2727 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2728 Simplify logic.
2729
48eb7a94
JM
27302014-10-24 Joseph Myers <joseph@codesourcery.com>
2731
c8bc4038
JM
2732 [BZ #14138]
2733 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2734 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2735 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2736 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2737 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2738 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2739 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2740 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2741 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2742 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2743 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2744 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2745 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2746 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2747 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2748 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2749 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2750 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2751 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2752 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2753 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2754 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2755 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2756 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2757 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2758 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2759 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2760 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2761 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2762 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2763 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2764 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2765 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2766 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2767 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2768 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2769 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2770 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2771 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2772 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2773 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2774 syscall.
2775 (geteuid): Likewise.
2776 (getgid): Likewise.
2777 (getuid): Likewise.
2778 (getresgid): Likewise.
2779 (getresuid): Likewise.
2780 (getgroups): Likewise.
2781 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2782 (geteuid): Likewise.
2783 (getgid): Likewise.
2784 (getuid): Likewise.
2785 (getresgid): Likewise.
2786 (getresuid): Likewise.
2787 (getgroups): Likewise.
2788 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2789 (geteuid): Likewise.
2790 (getgid): Likewise.
2791 (getuid): Likewise.
2792 (getresgid): Likewise.
2793 (getresuid): Likewise.
2794 (getgroups): Likewise.
2795 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2796 Likewise.
2797 (geteuid): Likewise.
2798 (getgid): Likewise.
2799 (getuid): Likewise.
2800 (getresgid): Likewise.
2801 (getresuid): Likewise.
2802 (getgroups): Likewise.
2803 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2804 (geteuid): Likewise.
2805 (getgid): Likewise.
2806 (getuid): Likewise.
2807 (getresgid): Likewise.
2808 (getresuid): Likewise.
2809 (getgroups): Likewise.
2810 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2811 Likewise.
2812 (geteuid): Likewise.
2813 (getgid): Likewise.
2814 (getuid): Likewise.
2815 (getgroups): Likewise.
2816
48eb7a94
JM
2817 [BZ #14138]
2818 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2819 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2820 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2821 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2822 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2823 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2824 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2825 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2826 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2827 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2828 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2829 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2830 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2831 __chown.
2832 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2833 (lchown): Likewise.
2834 (fchown): Likewise.
2835 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2836 Likewise.
2837 (lchown): Likewise.
2838 (fchown): Likewise.
2839 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2840 (lchown): Likewise.
2841 (fchown): Likewise.
2842 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2843 Likewise.
2844 (lchown): Likewise.
2845 (fchown): Likewise.
2846
ea9a7c8b
WD
28472014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2848
2849 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2850 Simplify logic.
2851
e226de33
WD
28522014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2853
2854 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2855 Cleanup logic.
2856
6e3d8ed3
WD
28572014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2858
2859 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2860 Remove unused include.
2861
eb04247d
WD
28622014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2863
2864 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2865 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2866 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2867 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2868
13d84554
CD
28692014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2870 Helge Deller <deller@gmx.de>
2871
2872 [BZ #17508]
2873 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2874 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2875 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2876
15f9c5df
JM
28772014-10-23 Joseph Myers <joseph@codesourcery.com>
2878
2879 [BZ #14132]
2880 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2881 Remove macro definition.
2882 (__ashrdi3_v_glibc20): Likewise.
2883 (__lshrdi3_v_glibc20): Likewise.
2884 (__cmpdi2_v_glibc20): Likewise.
2885 (__ucmpdi2_v_glibc20): Likewise.
2886 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2887 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2888 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2889 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2890 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2891 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2892
c6dfed24
RM
28932014-10-22 Roland McGrath <roland@hack.frob.com>
2894
2895 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2896 old GNU extension [0] syntax.
2897 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2898 alloca rather than an array member with variable length.
2899 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2900 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2901 (parse_opt): ... here. Likewise use alloca there.
2902 Validate the -i argument before checking for rootness.
2903 (send_shutdown): New function, broken out of ...
2904 (parse_opt): ... here.
2905
8c2b1ed8
RM
29062014-10-22 Roland McGrath <roland@hack.frob.com>
2907
2908 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2909 macro to get at the _rt_local_ro field.
2910 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2911 ([PIC] case) or _dl_hwcap ([!PIC] case).
2912 * sysdeps/arm/setjmp.S: Likewise.
2913
2914 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2915 * sysdeps/arm/configure.ac: New check to define it.
2916 * sysdeps/arm/configure: Regenerated.
2917 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2918 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2919 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2920 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2921 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2922 Use move/movt pair instead of a load.
2923 (LDST_GLOBAL): Macro removed.
2924 (LDR_GLOBAL): New macro replaces it.
2925 (LDR_HIDDEN): New macro.
2926 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2927 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2928
2929 * setjmp/tst-setjmp-static.c: New file.
2930 * setjmp/Makefile (tests): Add it.
2931 (tests-static): New variable.
2932
b5af9297
MR
29332014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2934
2935 [BZ #17485]
2936 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2937
a13d0d74
JM
29382014-10-21 Joseph Myers <joseph@codesourcery.com>
2939
2940 [BZ #14132]
2941 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2942
f05e73f6
RM
29432014-10-21 Roland McGrath <roland@hack.frob.com>
2944
2945 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2946
6ab1d1ea
RM
29472014-10-20 Roland McGrath <roland@hack.frob.com>
2948
2949 * io/fts.c (dirent_not_directory): New function.
2950 (fts_build): Call it.
2951
ab49e763
RM
29522014-10-20 Roland McGrath <roland@hack.frob.com>
2953
e436eb79
RM
2954 * nptl/version.c (__nptl_main): Use normal __write rather than
2955 INTERNAL_SYSCALL.
2956 (banner): Update copyright years.
2957
6af246cf
RM
2958 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2959 gettimeofday.
2960 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2961 * nptl/pthread_cond_timedwait.c: Likewise.
2962 * nptl/pthread_mutex_timedlock.c: Likewise.
2963 * nptl/sem_timedwait.c: Likewise.
2964
ab49e763
RM
2965 * sysdeps/nptl/bits/libc-lock.h
2966 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2967 (__libc_lock_init_recursive): Return void, not 0.
2968 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2969 (__libc_rwlock_init): Likewise.
2970 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2971
f50277c1
TR
29722014-10-20 Torvald Riegel <triegel@redhat.com>
2973
2974 [BZ #15215]
2975 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2976 (__pthread_once_slow): ... here.
2977 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2978 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2979
63668b70
TR
29802014-10-20 Torvald Riegel <triegel@redhat.com>
2981
2982 [BZ #15215]
2983 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2984 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2985 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2986 * nptl/pthread_once.c (__pthread_once): Likewise.
2987 Update comments.
2988
42b7f5d4
JM
29892014-10-20 Joseph Myers <joseph@codesourcery.com>
2990
2991 [BZ #14138]
2992 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2993 name.
2994 (writev): Use __libc_writev as strong name.
2995 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2996 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2997
b0643088
RM
29982014-10-17 Roland McGrath <roland@hack.frob.com>
2999
114c4e09
RM
3000 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3001
674b8978
RM
3002 * sysdeps/i386/nptl/tls.h
3003 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3004 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3005 New macros.
3006 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3007 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3008 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3009 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3010 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3011 Call CHECK_THREAD_SYSINFO instead of doing an assert.
3012
184ee940
RM
3013 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3014 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3015 on [__NR_futex].
3016 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3017 broken out of ...
3018 (__pthread_mutex_init): ... here. Call it.
3019 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3020 Conditionalize PI cases on [__NR_futex].
3021 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3022 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3023 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3024
327ae257
RM
3025 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3026 conditional on [SIGSETXID].
3027 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3028 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3029 is defined. Likewise for SIGSETXID.
3030 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3031 Conditionalize definitions on [SIGSETXID].
3032 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3033 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3034 unblocking on [SIGCANCEL].
3035
b0643088
RM
3036 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3037 [__NR_set_robust_list].
3038
33cc770b
SP
30392014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3040
3041 * string/strcoll_l.c (get_next_seq): Fix up formatting.
3042 (do_compare): Likewise.
3043
0742aef6
LH
30442014-10-17 Leonhard Holz <leonhard.holz@web.de>
3045
3046 [BZ #15884]
3047 * string/strcoll_l.c: Don't include stdio.h.
3048 (coll_seq): Remove members idxarr and rulearr.
3049 (get_next_seq_cached): Remove function.
3050 (get_next_seq): Likewise.
3051 (get_next_seq_nocache): Rename to get_next_seq.
3052 (do_compare): Remove function.
3053 (do_compare_nocache): Rename to do_compare.
3054 (STRCOLL): Remove weight and rules cache.
3055
ee54ce44
RM
30562014-10-16 Roland McGrath <roland@hack.frob.com>
3057
3058 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3059 * sysdeps/arm/sfp-machine.h: ... to here.
3060 * sysdeps/arm/Implies: Remove arm/soft-fp.
3061
a75d3b02
JM
30622014-10-14 Joseph Myers <joseph@codesourcery.com>
3063
3064 * conform/data/sys/utsname.h-data (*_t): Allow.
3065 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3066 [POSIX] (WEXITED): Do not expect constant.
3067 [POSIX] (WSTOPPED): Likewise.
3068 [POSIX] (WNOHANG): Likewise.
3069 [POSIX] (WNOWAIT): Likewise.
3070 [POSIX] (siginfo_t): Do not expect type or elements.
3071 [POSIX] (pid_t): Do not expect type.
3072 [POSIX] (signal.h): Do not allow header.
3073 [POSIX] (sys/resource.h): Likewise.
3074 [POSIX] (si_*): Do not allow pattern.
3075 [POSIX] (W*): Likewise.
3076 [POSIX] (P_*): Likewise.
3077 [POSIX] (BUS_*): Likewise.
3078 [POSIX] (CLD_*): Likewise.
3079 [POSIX] (FPE_*): Likewise.
3080 [POSIX] (ILL_*): Likewise.
3081 [POSIX] (POLL_*): Likewise.
3082 [POSIX] (SEGV_*): Likewise.
3083 [POSIX] (SI_*): Likewise.
3084 [POSIX] (TRAP_*): Likewise.
3085 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3086 variable.
3087
fda389c8
SP
30882014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3089
3090 [BZ #12926]
3091 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3092 infinite loop when __recvmsg returns 0.
3093
6bc6bd3b
JM
30942014-10-10 Joseph Myers <joseph@codesourcery.com>
3095
fcb32af1
JM
3096 * CANCEL-FCT-WAIVE: Remove file.
3097 * CANCEL-FILE-WAIVE: Likewise.
3098
6bc6bd3b
JM
3099 [BZ #14132]
3100 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3101 instead of INTVARDEF.
3102 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3103 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3104 rtld_hidden_data_def instead of INTVARDEF.
3105 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3106 * elf/dl-deps.c (expand_dst): Likewise.
3107 * elf/dl-load.c (_dl_dst_count): Likewise.
3108 (_dl_dst_substitute): Likewise.
3109 (decompose_rpath): Likewise.
3110 (_dl_init_paths): Likewise.
3111 (open_path): Likewise.
3112 (_dl_map_object): Likewise.
3113 * elf/rtld.c (dl_main): Likewise.
3114 (process_dl_audit): Likewise.
3115 (process_envvars): Likewise.
3116 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3117 Remove declaration.
3118 (__libc_enable_secure): Use rtld_hidden_proto.
3119
b8c80a7e
KS
31202014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3121
3122 * elf/dl-load.c
3123 (add_path): New function broken out of _dl_rtld_di_serinfo.
3124 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
3125
ff12c11f
JM
31262014-10-09 Joseph Myers <joseph@codesourcery.com>
3127
5c0508a3
JM
3128 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3129 parentheses around macro arguments.
3130 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3131 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3132 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3133 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3134 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3135 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3136 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3137 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3138 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3139 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3140 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3141 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3142 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3143 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3144 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3145 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3146 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3147 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3148 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3149 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3150 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3151 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3152 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3153 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3154 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3155 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3156 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3157 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3158 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3159 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3160 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3161 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3162 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3163 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3164 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3165 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3166 Likewise.
3167 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3168 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3169 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3170 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3171 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3172 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3173 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3174 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3175 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3176 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3177 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3178 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3179 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3180 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3181 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3182 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3183 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3184 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3185 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3186 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3187 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3188 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3189 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3190 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3191 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3192 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3193 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3194 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3195 (_FP_FRAC_SRS_1): Likewise.
3196 (_FP_FRAC_CLZ_1): Likewise.
3197 (_FP_MUL_MEAT_1_imm): Likewise.
3198 (_FP_MUL_MEAT_1_wide): Likewise.
3199 (_FP_MUL_MEAT_1_hard): Likewise.
3200 (_FP_SQRT_MEAT_1): Likewise.
3201 (_FP_FRAC_ASSEMBLE_1): Likewise.
3202 (_FP_FRAC_DISASSEMBLE_1): Likewise.
3203 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3204 (__FP_CLZ_2): Likewise.
3205 (_FP_MUL_MEAT_2_wide): Likewise.
3206 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3207 (_FP_MUL_MEAT_2_gmp): Likewise.
3208 (_FP_MUL_MEAT_2_120_240_double): Likewise.
3209 (_FP_SQRT_MEAT_2): Likewise.
3210 (_FP_FRAC_ASSEMBLE_2): Likewise.
3211 (_FP_FRAC_DISASSEMBLE_2): Likewise.
3212 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3213 (_FP_FRAC_CLZ_4): Likewise.
3214 (_FP_MUL_MEAT_4_wide): Likewise.
3215 (_FP_MUL_MEAT_4_gmp): Likewise.
3216 (_FP_SQRT_MEAT_4): Likewise.
3217 (_FP_FRAC_ASSEMBLE_4): Likewise.
3218 (_FP_FRAC_DISASSEMBLE_4): Likewise.
3219 * soft-fp/op-common.h (_FP_CMP): Likewise.
3220 (_FP_CMP_EQ): Likewise.
3221 (_FP_CMP_UNORD): Likewise.
3222 (_FP_TO_INT): Likewise.
3223 (_FP_FROM_INT): Likewise.
3224 [!__FP_CLZ] (__FP_CLZ): Likewise.
3225 (_FP_DIV_HELP_imm): Likewise.
3226 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3227 Likewise.
3228 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3229 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3230 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3231 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3232 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3233 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3234 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3235 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3236 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3237 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3238 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3239 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3240 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3241 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3242 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3243 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3244 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3245 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3246 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3247 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3248 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3249 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3250 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3251 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3252 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3253 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3254 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3255 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3256 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3257 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3258 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3259 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3260 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3261 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3262 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3263 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3264 (FP_UNPACK_RAW_SP): Likewise.
3265 (FP_PACK_RAW_S): Likewise.
3266 (FP_PACK_RAW_SP): Likewise.
3267 (FP_UNPACK_S): Likewise.
3268 (FP_UNPACK_SP): Likewise.
3269 (FP_UNPACK_SEMIRAW_S): Likewise.
3270 (FP_UNPACK_SEMIRAW_SP): Likewise.
3271 (FP_PACK_S): Likewise.
3272 (FP_PACK_SP): Likewise.
3273 (FP_PACK_SEMIRAW_S): Likewise.
3274 (FP_PACK_SEMIRAW_SP): Likewise.
3275 (_FP_SQRT_MEAT_S): Likewise.
3276 (FP_CMP_S): Likewise.
3277 (FP_CMP_EQ_S): Likewise.
3278 (FP_CMP_UNORD_S): Likewise.
3279 (FP_TO_INT_S): Likewise.
3280 (FP_FROM_INT_S): Likewise.
3281
a736ec37
JM
3282 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3283
ff12c11f
JM
3284 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3285 (FP_EX_INVALID_IMZ): Likewise.
3286 (FP_EX_INVALID_IMZ_FMA): Likewise.
3287 (FP_EX_INVALID_ISI): Likewise.
3288 (FP_EX_INVALID_ZDZ): Likewise.
3289 (FP_EX_INVALID_IDI): Likewise.
3290 (FP_EX_INVALID_SQRT): Likewise.
3291 (FP_EX_INVALID_CVI): Likewise.
3292 (FP_EX_INVALID_VC): Likewise.
3293 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3294 "invalid" exceptions.
3295 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3296 (_FP_ADD_INTERNAL): Likewise.
3297 (_FP_MUL): Likewise.
3298 (_FP_FMA): Likewise.
3299 (_FP_DIV): Likewise.
3300 (_FP_CMP_CHECK_NAN): Likewise.
3301 (_FP_SQRT): Likewise.
3302 (_FP_TO_INT): Likewise.
3303 (FP_EXTEND): Likewise.
3304
b6dcfe8c
AM
33052014-10-09 Allan McRae <allan@archlinux.org>
3306
3307 * po/fr.po: Update French translation from translation project.
3308
2d6a47ba
JM
33092014-10-09 Joseph Myers <joseph@codesourcery.com>
3310
cb831245
JM
3311 [BZ #14132]
3312 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3313 of INTDEF.
3314 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3315 (__cxa_atexit): Use libc_hidden_proto.
3316 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3317
5deeb190
JM
3318 [BZ #14132]
3319 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3320 declaration.
3321 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3322 [!_ISOMAC] (__iswspace_l_internal): Likewise.
3323 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3324 [!_ISOMAC] (__iswctype_internal): Likewise.
3325 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3326 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3327 alias.
3328 (fcntl): Remove __fcntl_internal alias.
3329 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3330 __connect_internal alias.
3331 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3332 Likewise.
3333
454ac701
JM
3334 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3335 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3336 FP_DENORM_ZERO.
3337 (_FP_CHECK_FLUSH_ZERO): New macro.
3338 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3339 (_FP_CMP): Likewise.
3340 (_FP_CMP_EQ): Likewise.
3341 (_FP_TO_INT): Do not set inexact for subnormal arguments if
3342 FP_DENORM_ZERO.
3343 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3344 (FP_TRUNC): Likewise.
3345
0022e688
JM
3346 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3347 treated as invalid conversion, not as normal exponent.
3348
73e28d9c
JM
3349 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3350 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
3351 (_FP_CMP_EQ): Likewise.
3352 (_FP_CMP_UNORD): Likewise.
3353 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3354 (FP_CMP_EQ_D): Likewise.
3355 (FP_CMP_UNORD_D): Likewise.
3356 * soft-fp/extended.h (FP_CMP_E): Likewise.
3357 (FP_CMP_EQ_E): Likewise.
3358 (FP_CMP_UNORD_E): Likewise.
3359 * soft-fp/quad.h (FP_CMP_Q): Likewise.
3360 (FP_CMP_EQ_Q): Likewise.
3361 (FP_CMP_UNORD_Q): Likewise.
3362 * soft-fp/single.h (FP_CMP_S): Likewise.
3363 (FP_CMP_EQ_S): Likewise.
3364 (FP_CMP_UNORD_S): Likewise.
3365 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3366 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3367 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3368 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3369 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3370 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3371 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3372 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3373 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3374 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3375 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3376 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3377 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3378 to FP_CMP_Q.
3379 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3380 FP_CMP_Q.
3381 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3382 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3383 FP_CMP_EQ_Q.
3384 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3385 FP_CMP_Q.
3386 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3387 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3388 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3389 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3390 FP_CMP_EQ_Q.
3391 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3392 FP_CMP_Q.
3393 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3394 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3395 FP_CMP_EQ_Q.
3396 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3397 FP_CMP_Q.
3398 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3399 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3400 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3401 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3402 FP_CMP_EQ_Q.
3403
43059f42
JM
3404 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3405 a subnormal result, set the underflow exception if trapping on
3406 underflow is enabled.
3407 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3408 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3409 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3410 redefine to 0.
3411 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3412 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3413 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3414 * soft-fp/extendxftf2.c (__extendxftf2): Use
3415 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3416
2d6a47ba
JM
3417 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3418 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3419 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3420 FP_HANDLE_EXCEPTIONS.
3421 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3422 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3423 FP_HANDLE_EXCEPTIONS.
3424 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3425 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3426 FP_HANDLE_EXCEPTIONS.
3427 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3428 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3429 FP_HANDLE_EXCEPTIONS.
3430
620f462e
JM
34312014-10-08 Joseph Myers <joseph@codesourcery.com>
3432
3433 [BZ #14132]
3434 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3435 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3436 use INTUSE.
3437 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3438 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3439 Remove alias.
3440 (__adjtimex): Define using libc_hidden_ver.
3441 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3442 Remove declaration.
3443 (ntp_gettime): Call __adjtimex directly.
3444 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3445 Remove declaration.
3446 (ntp_gettimex): Call __adjtimex directly.
3447 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3448 __adjtimex_internal alias.
3449
c763c5d2
RM
34502014-10-08 Roland McGrath <roland@hack.frob.com>
3451
3452 [BZ #17460]
3453 * nscd/nscd.c (more_help): Rewrite list of tables collection
3454 using xstrdup and asprintf.
3455
3456 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3457
7b8fb2b8
RM
34582014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3459 Roland McGrath <roland@hack.frob.com>
3460
3461 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3462 (do_lookup_unique): ... local function 'enter' here; update callers.
3463
abb280f7
JM
34642014-10-06 Joseph Myers <joseph@codesourcery.com>
3465
f7b42517
JM
3466 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3467 compat_symbol calls on [SHARED].
3468 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3469 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3470 Remove.
3471 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3472 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3473 (oldsetrlimit): Remove.
3474 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3476 (lchown): New syscall entry.
3477 (oldsetrlimit): Remove.
3478 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3479 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3480 (oldsetrlimit): Remove.
3481 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3482
abb280f7
JM
3483 [BZ #14138]
3484 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3485 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3486 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3487 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3488 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3489 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3490 (fchown): Likewise.
3491 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3492 (fchown): Likewise.
3493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3494 Likewise.
3495
47d46237
AZ
34962014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3497
3498 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3499 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3500 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3501 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3502 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3503 Likewise.
3504 (__old_sem_post): Likewise.
3505
35062014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 3507
845a7343
CM
3508 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3509 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3510 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3511 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3512 Use INLINE_VSYSCALL macro.
3513 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3514 __vdso_clock_gettime.
3515 * sysdeps/unix/sysv/linux/tile/init-first.c
3516 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3517 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3518 __vdso_clock_gettime.
3519
83d641ef
CM
3520 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3521 to set up frame more cleanly.
3522
d9cd52e6
CM
3523 * sysdeps/tile/memcmp.c: New file.
3524
4b68ea11
CM
3525 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3526
c86f7b80
CM
3527 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3528 * sysdeps/tile/tilegx/strcasestr.c: New file.
3529 * sysdeps/tile/tilegx/strnlen.c: New file.
3530 * sysdeps/tile/tilegx/strstr.c: New file.
3531
1c4c1a6f
CM
3532 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3533
99d86ea3
AS
35342014-10-06 Arjun Shankar <arjun.is@lostca.se>
3535
3536 * nptl/tst-setuid3.c: Write errors to stdout.
3537
06210a44
KS
35382014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3539
3540 * elf/dl-deps.c
3541 (preload): New functions broken out of _dl_map_object_deps.
3542 (_dl_map_object_deps): Remove a nested function. Update call sites.
3543
6268f532
JM
35442014-10-01 Joseph Myers <joseph@codesourcery.com>
3545
3546 [BZ #14138]
3547 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3548 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3549
b925285f
SE
35502014-10-01 Steve Ellcey <sellcey@mips.com>
3551
3552 * sysdeps/mips/strcmp.S: New.
3553
754a15c6
JM
35542014-09-30 Joseph Myers <joseph@codesourcery.com>
3555
3556 [BZ #14138]
3557 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3558 (linkat): Likewise.
3559 (mkdirat): Likewise.
3560 (readlinkat): Likewise.
3561 (renameat): Likewise.
3562 (symlinkat): Likewise.
3563 (unlinkat): Likewise.
3564 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3565 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3566 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3567 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3568 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3569 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3570 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3571
85bb81c9
WN
35722014-09-30 Will Newton <will.newton@linaro.org>
3573
dc6fe23b
WN
3574 * math/math.h: Define long double math functions if
3575 _LIBC_TEST is defined.
3576 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3577
85bb81c9
WN
3578 * localedata/Makefile: Move assignment to tests-special
3579 into an ifdef testing run-built-tests.
3580 * timezone/Makefile: Likewise.
3581
b7e02da4
JM
35822014-09-29 Joseph Myers <joseph@codesourcery.com>
3583
3584 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3585 with $(BASH) not $(SHELL).
3586
62058ce6
CD
35872014-09-29 Carlos O'Donell <carlos@redhat.com>
3588 Matthew LeGendre <legendre1@llnl.gov>
3589
3590 [BZ #17411]
3591 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3592 l_reloc_result.
3593
8e257a29
KS
35942014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3595
3596 * stdio-common/printf_fp.c
3597 (hack_digit): New function, broken out of ...
3598 (__printf_fp): ... local function here. Update call sites.
3599 hack_digit now takes an additional parameter that is a pointer
3600 to a struct of the referenced locals. Those locals moved inside
3601 the struct and references updated.
3602
f4a58f0d
L
36032014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3604
3605 * aclocal.m4: Require autoconf 2.69.
3606 * configure: Regenerated.
3607 * sysdeps/aarch64/configure: Likewise.
3608 * sysdeps/alpha/configure: Likewise.
3609 * sysdeps/arm/armv7/configure: Likewise.
3610 * sysdeps/arm/configure: Likewise.
3611 * sysdeps/ia64/configure: Likewise.
3612 * sysdeps/mach/configure: Likewise.
3613 * sysdeps/mips/configure: Likewise.
3614 * sysdeps/s390/configure: Likewise.
3615 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3617
3618 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3619 file.
3620 * sysdeps/ia64/configure.ac: Likewise.
3621
93ae1eba
JM
36222014-09-26 Joseph Myers <joseph@codesourcery.com>
3623
1810d3ab
JM
3624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3625 specify symbol version for ld.so. Do not include entry for
3626 libpthread.
3627 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3628 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3629 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3630
93ae1eba
JM
3631 [BZ #14171]
3632 * Makeconfig [$(build-shared) = yes]
3633 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3634 makefiles.
3635 [$(build-shared) = yes && $(soversions.mk-done) = t]
3636 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3637 [$(build-shared) = yes && $(soversions.mk-done) = t]
3638 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3639 to Makerules.
3640 [$(build-shared) = yes && $(soversions.mk-done) = t]
3641 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3642 here.
3643 [$(build-shared) = yes && $(soversions.mk-done) = t]
3644 (common-generated): Don't append gnu/lib-names.h and
3645 gnu/lib-names.stmp here.
3646 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3647 (lib-names-h-abi): New variable.
3648 [$(build-shared) = yes && $(soversions.mk-done) = t]
3649 (lib-names-stmp-abi): Likewise.
3650 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3651 abi-variants] (before-compile): Append
3652 $(common-objpfx)$(lib-names-h-abi).
3653 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3654 abi-variants] (common-generated): Append gnu/lib-names.h.
3655 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3656 abi-variants] (install-others-nosubdir): Depend on
3657 $(inst_includedir)/$(lib-names-h-abi).
3658 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3659 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3660 [$(build-shared) = yes && $(soversions.mk-done) = t]
3661 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3662 [$(build-shared) = yes && $(soversions.mk-done) = t]
3663 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3664 [$(build-shared) = yes && $(soversions.mk-done) = t]
3665 (common-generated): Append $(lib-names-h-abi) and
3666 $(lib-names-stmp-abi).
3667 * scripts/lib-names.awk: Do not handle multi being set.
3668 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3669 Remove variable.
3670 (abi-lp64_be-ld-soname): Likewise.
3671 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3672 Likewise.
3673 (abi-hard-ld-soname): Likewise.
3674 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3675 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3676 Remove variable.
3677 (abi-o32_hard-ld-soname): Likewise.
3678 (abi-o32_soft_2008-ld-soname): Likewise.
3679 (abi-o32_hard_2008-ld-soname): Likewise.
3680 (abi-n32_soft-ld-soname): Likewise.
3681 (abi-n32_hard-ld-soname): Likewise.
3682 (abi-n32_soft_2008-ld-soname): Likewise.
3683 (abi-n32_hard_2008-ld-soname): Likewise.
3684 (abi-n64_soft-ld-soname): Likewise.
3685 (abi-n64_hard-ld-soname): Likewise.
3686 (abi-n64_soft_2008-ld-soname): Likewise.
3687 (abi-n64_hard_2008-ld-soname): Likewise.
3688 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3689 Likewise.
3690 (abi-64-v2-ld-soname): Likewise.
3691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3692 ld.so entries.
3693 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3694 variable.
3695 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3696 entry.
3697 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3698 variable.
3699 (abi-64-ld-soname): Likewise.
3700 (abi-x32-ld-soname): Likewise.
3701 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3702 entry.
3703 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3704
68870f12
JM
37052014-09-23 Joseph Myers <joseph@codesourcery.com>
3706
3707 [BZ #14138]
3708 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3709 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3710 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3711 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3712 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3713 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3714 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3715 syscall entry for GLIBC_2.2 symbol version.
3716 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3717 Likewise.
3718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3719 (setrlimit): Likewise.
3720 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3721 Likewise.
3722
ea58f202
WN
37232014-09-23 Will Newton <will.newton@linaro.org>
3724
3725 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3726 _LINUX_ARM_SYSDEP_H include guard too.
3727 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3728 define.
3729
69eb9a18
RV
37302014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3731
3732 * sysdeps/unix/sysv/linux/eventfd.c:
3733 Make first argument unsigned.
3734 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3735 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3736
20e5a5f7
OB
37372014-09-20 Ondřej Bílka <neleai@seznam.cz>
3738
3739 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3740 * socket/sys/socket.h: Likewise
3741 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3742
d3c827e7
AK
37432014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3744
3745 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3746
fe1cc35a
AS
37472014-09-17 Arjun Shankar <arjun.is@lostca.se>
3748
3749 * time/tst-ftime.c: New test.
3750 * time/Makefile (tests): Add tst-ftime.
3751
4e8afe69
JM
37522014-09-17 Joseph Myers <joseph@codesourcery.com>
3753
c4fe3ea7
JM
3754 * soft-fp/extended.h: Fix comment formatting.
3755 * soft-fp/op-1.h: Likewise.
3756 * soft-fp/op-2.h: Likewise.
3757 * soft-fp/op-4.h: Likewise.
3758 * soft-fp/op-8.h: Likewise.
3759 * soft-fp/op-common.h: Likewise.
3760 * soft-fp/soft-fp.h: Likewise.
3761
4e8afe69
JM
3762 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3763
af296fcd
JM
37642014-09-16 Joseph Myers <joseph@codesourcery.com>
3765
3766 [BZ #6652]
3767 * Makeconfig (soversions-default-setname): Remove variable.
3768 ($(common-objpfx)soversions.i): Don't pass default_setname to
3769 soversions.awk.
3770 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3771 oldest_abi to abi-versions.awk.
3772 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3773 * config.make.in (oldest-abi): Remove variable.
3774 * configure.ac (--enable-oldest-abi): Remove configure option.
3775 * configure: Regenerated.
3776 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3777 text.
3778 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3779 * scripts/soversions.awk: Do not handle default_setname variable.
3780 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3781 variable.
3782 * sysdeps/mach/hurd/configure: Regenerated.
3783 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3784 variable.
3785 * sysdeps/unix/sysv/linux/configure: Regenerated.
3786
545583d6
SP
37872014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3788
d330b980
SP
3789 * elf/Makefile (CFLAGS-interp.c): Remove.
3790 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3791 path string.
3792 * elf/interp.c: Include generated runtime-linker.h
3793
02657da2
SP
3794 * Makerules (lib%.so): Don't include $(+interp) in
3795 prerequisites.
3796 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3797 * dlfcn/eval.c: Remove file.
3798
653b1080
SP
3799 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3800 macros.
3801
602f80ec
SP
3802 [BZ #17266]
3803 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3804 4.2 and newer.
3805
545583d6
SP
3806 [BZ #17370]
3807 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3808
884ddc50
SP
38092014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3810 Jakub Jelinek <jakub@redhat.com>
3811
3812 [BZ #17266]
3813 * libio/stdio.h: Check definition of __fortify_function
3814 instead of __extern_always_inline to include bits/stdio2.h.
3815 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3816 check if __extern_always_inline is defined.
3817 [__USE_MISC || __USE_XOPEN]: Likewise.
3818 [__USE_ISOC99] Likewise.
3819 * misc/sys/cdefs.h (__fortify_function): Define only if
3820 __extern_always_inline is defined.
3821 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3822 __extern_always_inline and __extern_inline only for g++-4.3
3823 and newer or a compatible gcc.
3824
a7b87268
AS
38252014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3826
3827 [BZ #17371]
3828 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3829 last change to handle zero prefix length.
3830
3f41521d
SP
38312014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3832
61fe374a
SP
3833 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3834 _SC_REGEX_VERSION.
3835
3f41521d
SP
3836 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3837 _POSIX_RAW_SOCKETS.
3838
d8f879ee
AM
38392014-09-13 Allan McRae <allan@archlinux.org>
3840
3841 * po/ru.po: Update Russian translation from translation project.
3842
c079afb7
RM
38432014-09-12 Roland McGrath <roland@hack.frob.com>
3844
a62b3c15
RM
3845 * locale/programs/locale.c (show_locale_vars): Inline local function
3846 into its sole call site. Clean up some style nits.
3847 (print_item): New function, broken out of ...
3848 (show_info): ... local function here. Clean up style nits.
3849
d7e49b19
RM
3850 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3851 out of ...
3852 (set_class_defaults): ... local function set_default here.
3853 Define set_default as a macro locally to pass constant parameters.
3854 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3855 rather than a shared local.
3856
c079afb7
RM
3857 * stdlib/rpmatch.c (try): New function, broken out of ...
3858 (rpmatch): ... local function here. Also, prototypify definition.
3859
0bd72468
JM
38602014-09-12 Joseph Myers <joseph@codesourcery.com>
3861
ba90e050
JM
3862 * scripts/soversions.awk: Do not handle configuration names.
3863 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3864 vendor and os variables to soversions.awk.
3865 * configure.ac: Do not modify gnu-* host_os.
3866 * configure: Regenerated
3867 * shlib-versions: Remove first column with configuration names.
3868 * nptl/shlib-versions: Likewise.
3869 * nptl_db/shlib-versions: Likewise.
3870 * sysdeps/hppa/shlib-versions: Likewise.
3871 * sysdeps/m68k/shlib-versions: Likewise.
3872 * sysdeps/mach/hurd/shlib-versions: Likewise.
3873 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3874 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3875 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3876 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3877 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3878 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3879 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3880 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3882 Likewise.
3883 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3884 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3885 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3886 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3887 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3888 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3889 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3890 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3891
73a39112
JM
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3893 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3895 Regenerated.
3896 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3898 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3899
c729e7c1
JM
3900 * shlib-versions: Remove OS-specific entries. Moved to files in
3901 sysdeps.
3902 * sysdeps/mach/hurd/shlib-versions: New file.
3903 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3904
dc932a24
JM
3905 * nptl/shlib-versions: Remove architecture-specific entries.
3906 Moved to files in sysdeps.
3907 * shlib-versions: Likewise.
3908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3909 file.
3910 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3911 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3912 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3913 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3914
0bd72468
JM
3915 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3916 (UDP_NO_CHECK6_RX): Likewise.
3917
920238e0
SP
39182014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3919
3920 * sysdeps/posix/sysconf.c (__sysconf): Spell
3921 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3922
ba7b4d29
FW
39232014-08-12 Florian Weimer <fweimer@redhat.com>
3924
3925 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3926 loading.
3927 * iconv/Versions (__gconv_transliterate): Export for use from
3928 gconv modules.
3929 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3930 (struct __gconv_trans_data, __gconv_trans_fct,
3931 __gconv_trans_context_fct, __gconv_trans_query_fct,
3932 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3933 definitions.
3934 (struct __gconv_step_data): Remove __trans member.
3935 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3936 longer hidden. Remove unused trans_data argument.
3937 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3938 (__gconv_translit_find): Remove declaration.
3939 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3940 prototype.
3941 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3942 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3943 trans_data argument. Add hidden definition.
3944 (__gconv_translit_find): Remove.
3945 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3946 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3947 * iconv/skeleton.c: Remove transliteration initialization.
3948 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3949 __gconv_step_data initialization.
3950 * libio/iofwide.c (__libio_translit_): Remove.
3951 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3952 * wcsmbs/btowc.c (__btowc): Likewise.
3953 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3954 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3955 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3956 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3957 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3958 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3959 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3960 * wcsmbs/wctob.c (wctob): Likewise.
3961
5379aebd
SP
39622014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3963
3964 [BZ #16194]
3965 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3966 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3967 register usage.
3968 * sysdeps/x86/Makefile: Adjust.
3969
8c0ab919
RM
39702014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3971 Roland McGrath <roland@hack.frob.com>
3972
3973 * locale/weight.h: Add include guard.
3974 (findidx): Make static rather than auto; take new parameters
3975 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3976 * locale/weightwc.h: Likewise.
3977 * posix/fnmatch_loop.c
3978 (FCT): Change type of EXTRA from int32_t to wint_t.
3979 Don't include either header inside the function.
3980 Call FINDIDX rather than findidx, and pass new arguments.
3981 #undef FINDIDX at the end of the file.
3982 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3983 FINDIDX before including fnmatch_loop.c for the non-wide version.
3984 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3985 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3986 for the wide version.
3987 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3988 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3989 Pass new arguments to findidx.
3990 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3991 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3992 Don't #include it inside the function. Pass new arguments to findidx.
3993 * posix/regex_internal.h
3994 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3995 (re_string_elem_size_at): Don't #include it inside the function.
3996 Pass new arguments to findidx.
3997 * string/strcoll_l.c: #include WEIGHT_H at top level.
3998 (get_next_seq): Don't #include it inside the function.
3999 Pass new arguments to findidx.
4000 (get_next_seq_nocache): Likewise.
4001 * string/strxfrm_l.c: #include WEIGHT_H at top level.
4002 (STRXFRM): Don't #include it inside the function.
4003 Pass new arguments to findidx.
4004
52ffbdf2
FW
40052014-09-11 Florian Weimer <fweimer@redhat.com>
4006
4007 [BZ #17344]
4008 * malloc/malloc.c (unlink): Turn asserts into a call to
4009 malloc_printerr.
4010
984c0ea9
TL
40112014-09-11 Tim Lammens <tim.lammens@gmail.com>
4012
4013 [BZ #17370]
4014 * libio/wfileops (do_ftell_wide): Free OUT.
4015
3daee107
CM
40162014-09-10 Chris Metcalf <cmetcalf@tilera.com>
4017
4018 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4019
58b930ae
SP
40202014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4021
4022 [BZ #17363]
4023 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4024 group if the current group is empty.
4025
3b473fec
AZ
40262014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4027
71ae8647
AZ
4028 * benchtests/bench-memset.c (test_main): Add more test from size
4029 from 32 to 512 bytes.
4030 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4031 Add POWER8 memset object.
4032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4033 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4034 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4035 implementation.
4036 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4037 Likewise.
4038 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4039 multiarch POWER8 memset optimization.
4040 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4041 POWER8 memset optimization.
4042
3b473fec
AZ
4043 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4044 Remove bzero multiarch objects.
4045 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4046 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4047 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4048 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4049 Remove define.
4050 [__bzero]: Redefine to specific name.
4051 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4052 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4053 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4054 define.
4055 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4056 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4057
e6fb9587
FW
40582014-09-10 Florian Weimer <fweimer@redhat.com>
4059
4060 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4061 warnings into errors.
4062
4063 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4064 __cxa_thread_atexit_impl prototype.
4065
9d3a350b
SE
40662014-09-09 Steve Ellcey <sellcey@mips.com>
4067
4068 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4069 Fix capitalization of error message.
4070
0febba23
SE
40712014-09-09 Steve Ellcey <sellcey@mips.com>
4072
4073 * sysdeps/mips/preconfigure: Modify ABI tests.
4074
645a0e9c
CD
40752014-09-07 Carlos O'Donell <carlos@systemhalted.org>
4076
4077 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4078
d83f0734
CD
40792014-09-07 Roland McGrath <roland@hack.frob.com>
4080 Carlos O'Donell <carlos@systemhalted.org>
4081
4082 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4083 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4084 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4085 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4086 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4087 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4088 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4089 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4090 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4091 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4092 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4093 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4094 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4095 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4096 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4097 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4098 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4099 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4100 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4101 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4102 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4103 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4104 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4105 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4106 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4107 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4108 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4109 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4110 Deconditionalize the code that was previously under [RESET_PID].
4111 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4112 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4113 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4114 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4115 include sysdep.h.
4116
21c83793
AM
41172014-09-08 Allan McRae <allan@archlinux.org>
4118
4119 * version.h (RELEASE): Set to "development".
4120 (VERSION): Set to "2.20.90"
4121
1cd9b65c
AM
41222014-09-07 Allan McRae <allan@archlinux.org
4123
b8079dd0
AM
4124 * version.h (RELEASE): Set to "stable".
4125 (VERSION): Set to "2.20"
4126 * include/features.h (__GLIBC_MINOR__): Set to 20.
4127
c46303ef
AM
4128 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4129 Liebler.
4130
1cd9b65c
AM
4131 * po/ko.po: Update Korean translation from translation project.
4132
8622092d
CM
41332014-09-06 Chris Metcalf <cmetcalf@tilera.com>
4134
4135 [BZ #17354]
4136 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4137 macro for handling signed relocations.
4138
41488498
FW
41392014-09-03 Florian Weimer <fweimer@redhat.com>
4140
4141 [BZ #17325]
4142 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4143 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4144 assert.
4145 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4146 * iconvdata/ibm935.c (BODY): Likewise.
4147 * iconvdata/ibm937.c (BODY): Likewise.
4148 * iconvdata/ibm939.c (BODY): Likewise.
4149 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4150 assert.
4151 * iconvdata/Makefile (iconv-test.out): Pass module list to test
4152 script.
4153 * iconvdata/run-iconv-test.sh: New test loop for checking for
4154 decoder crashers.
4155
a78b712d
KR
41562014-09-02 Khem Raj <raj.khem@gmail.com>
4157
4158 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4159 libm_hidden_ver.
4160
cb08abc6
AM
41612014-09-01 Allan McRae <allan@archlinux.org>
4162
2c31e102
AM
4163 * po/eo.po: Update Esperanto translation from translation project.
4164
cb08abc6
AM
4165 * po/ca.po: Update Catalan translation from translation project.
4166
17a62de1
ST
41672014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4168
4169 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4170 __proc_dostop call.
4171
9570bc53
MW
41722014-08-27 Mark Wielaard <mjw@redhat.com>
4173
4174 [BZ #17319]
4175 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4176 to call set_thread_area instead of hand written asm.
4177 (__NR_set_thread_area): Removed define.
4178 (TLS_FLAG_WRITABLE): Likewise.
4179 (__ASSUME_SET_THREAD_AREA): Remove check.
4180 (TLS_EBX_ARG): Remove define.
4181 (TLS_LOAD_EBX): Likewise.
4182
b0f955c9
ST
41832014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4184
4185 Simplify atomicity of socket creation in bind.
4186
4187 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4188 looking up the name after linking the file.
4189
529bf515
AM
41902014-08-27 Allan McRae <allan@archlinux.org>
4191
4192 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4193
a1a6a401
FW
41942014-08-26 Florian Weimer <fweimer@redhat.com>
4195
4196 [BZ #17187]
4197 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4198 trans_compare, open_translit, __gconv_translit_find):
4199 Remove module loading code.
4200
686ab290
AM
42012014-08-26 Allan McRae <allan@archlinux.org>
4202
e4e7cfd2
AM
4203 * po/vi.po: Update Vietnamese translation from translation project.
4204
6aa09f71
AM
4205 * po/uk.po: Update Ukrainian translation from translation project.
4206
edc0660e
AM
4207 * po/fr.po: Update French translation from translation project.
4208
7eea72ac
AM
4209 * po/ru.po: Update Russian translation from translation project.
4210
93c49eff
AM
4211 * po/pl.po: Update Polish translation from translation project.
4212
46acaf63
AM
4213 * po/cs.po: Update Czech translation from translation project.
4214
a9f5ce98
AM
4215 * po/de.po: Update German translation from translation project.
4216
373f2b78
AM
4217 * po/bg.po: Update Bulgarian translation from translation project.
4218
e7548bd8
AM
4219 * po/sv.po: Update Sweedish translation from translation project.
4220
c526bf4d
AM
4221 * po/nl.po: Update Dutch translation from translation project.
4222
686ab290
AM
4223 * po/es.po: Update Spanish translation from translation project.
4224
eb72478a
SP
42252014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4226
dd763fdb
SP
4227 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4228
318c7a58
SP
4229 * catgets/Makefile (CPPFLAGS-gencat): Remove.
4230 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4231 (CPPFLAGS-iconvconfig): Likewise.
4232 * timezone/Makefile (CPPFLAGS-zic): Likewise.
4233
eb72478a
SP
4234 * include/libc-symbols.h: Remove unnecessary check for
4235 NOT_IN_libc.
4236 * nptl/pthreadP.h: Likewise.
4237 * sysdeps/aarch64/setjmp.S: Likewise.
4238 * sysdeps/alpha/setjmp.S: Likewise.
4239 * sysdeps/arm/sysdep.h: Likewise.
4240 * sysdeps/i386/setjmp.S: Likewise.
4241 * sysdeps/m68k/setjmp.c: Likewise.
4242 * sysdeps/posix/getcwd.c: Likewise.
4243 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4244 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4245 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4246 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4247 * sysdeps/sh/sh3/setjmp.S: Likewise.
4248 * sysdeps/sh/sh4/setjmp.S: Likewise.
4249 * sysdeps/unix/alpha/sysdep.h: Likewise.
4250 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4251 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4252 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4253 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4256 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4257 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4258 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4259 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4261 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4262 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4263 * sysdeps/x86_64/setjmp.S: Likewise.
4264
d44a052c
JM
42652014-08-13 Joseph Myers <joseph@codesourcery.com>
4266
4267 [BZ #17263]
4268 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4269 <stdint.h>.
4270 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4271 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4272
508ce3ac
SP
42732014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4274
e44c8b0e
SP
4275 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4276
508ce3ac
SP
4277 [BZ #17262]
4278 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4279 and __x86_64__ when disabling x87 inline functions.
4280
b4acef1f
L
42812014-08-12 H.J. Lu <hongjiu.lu@intel.com>
4282
4283 [BZ #17259]
4284 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4285 asm statement with __cpuid_count.
4286
61b1ef6e
MF
42872014-08-12 Mike Frysinger <vapier@gentoo.org>
4288
4289 * configure.ac: Change __ehdr_start code to dereference the struct.
4290 Run readelf on the output to look for relocations.
4291 * configure: Regenerated.
4292
898c62f4
JM
42932014-08-12 Joseph Myers <joseph@codesourcery.com>
4294
4295 [BZ #17261]
4296 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4297 value to 0.
4298 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4299
9a8a5720
RM
43002014-08-12 Roland McGrath <roland@hack.frob.com>
4301
4302 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4303
4e75751c
BO
43042014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
4305
4306 [BZ #16892]
4307 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4308 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4309
bb2ce416
SA
43102014-08-12 Sean Anderson <seanga2@gmail.com>
4311
4312 * malloc/malloc.c: Fix typo in comment.
4313
7950a4ee
AM
43142014-08-09 Allan McRae <allan@archlinux.org>
4315
4316 * Regenerate libc.po.
4317
f469c49f
MF
43182014-08-08 Mike Frysinger <vapier@gentoo.org>
4319
4320 * intl/tst-gettext2.sh: Check every lang file for creation.
4321
656b84c2
WD
43222014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4323
4324 * sysdeps/aarch64/fpu/math_private.h
4325 (libc_feholdsetround_noex_aarch64_ctx): New function.
4326
538e9e45
W
43272014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4328
4329 * sysdeps/arm/armv6/strcpy.S (strcpy):
4330 Fix performance issue in misaligned cases.
4331
d4795e4a
AZ
43322014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4333
4334 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4335 Move definition from termios.h.
4336 (struct termio): Likewise.
4337 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4338 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4339 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4340 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4341 Likewise.
4342 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4343 Move definition to ioctl-types.h
4344 (struct termio): Likewise.
4345 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4346 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4347 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4348 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4349 Likewise.
4350
64accb62
RH
43512014-08-05 Richard Henderson <rth@redhat.com>
4352
27bb6dc0
RH
4353 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4354 exceptions.
4355 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4356 Add fraiseexcpt.
4357 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4358 Use __feraiseexcept.
4359 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4360 Protect libm symbols with IS_IN_libm.
4361
64accb62
RH
4362 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4363
e5292691
BO
43642014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
4365
4366 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4367
5b4bd2d4
WN
43682014-08-04 Will Newton <will.newton@linaro.org>
4369
4370 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4371 file.
4372
fcadaeef
MF
43732014-08-04 Mike Frysinger <vapier@gentoo.org>
4374
4375 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4376 variants for each function.
4377
43a94c64
RM
43782014-08-04 Roland McGrath <roland@hack.frob.com>
4379
4380 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4381 appended ...
4382 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4383 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4384 appended ...
4385 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4386 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4387 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4388 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4389 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4390 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4391 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4392 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4393 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4394 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4395 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4396 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4397 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4398 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4399 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4400 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4401 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4402 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4403 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4404 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4405 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4406 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4407 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4408 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4409 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4410 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4411 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4412 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4413 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4414 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4415 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4416 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4417 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4418 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4419 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4420 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4421 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4422 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4423 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4424 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4425 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4426 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4427 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4428 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4429 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4430 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4431 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4432 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4433 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4434 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4435 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4436 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4437 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4438 Update #include.
4439 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4440 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4441
8f3c1fa4
RM
44422014-08-04 Roland McGrath <roland@hack.frob.com>
4443
4444 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4445 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4446 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4447 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4448 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4449 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4450
ca08746f
RM
44512014-08-04 Roland McGrath <roland@hack.frob.com>
4452
4453 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4454 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4455 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4456 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4457
9c925ff9
RM
44582014-08-04 Roland McGrath <roland@hack.frob.com>
4459
4460 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4461 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4462 (__libc_vfork): Define function under this name.
4463 (__vfork): Define as an alias.
4464 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4465 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4466
e641054c
RM
44672014-08-04 Roland McGrath <roland@hack.frob.com>
4468
4469 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4470 that was previously under [RESET_PID].
4471 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4472
dacdc867
AS
44732014-08-04 Andreas Schwab <schwab@suse.de>
4474
4475 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4476
41f725ff
MF
44772014-08-03 Mike Frysinger <vapier@gentoo.org>
4478
4479 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4480 (main): Likewise.
4481
277cfb31
RM
44822014-08-01 Roland McGrath <roland@hack.frob.com>
4483
4484 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4485
4896f049
RH
44862014-08-01 Richard Henderon <rth@redhat.com>
4487
4488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4489 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4490 typo in exact zero test.
4491 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4492 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4493 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4494
6f64e7d7
RM
44952014-08-01 Roland McGrath <roland@hack.frob.com>
4496
4497 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4498 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4499 * sysdeps/arm/sysdep.h: ... here.
4500 [!__ASSEMBLER__]: Include <stdint.h>.
4501
3f3dd810
SP
45022014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4503
a476ac4b
SP
4504 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4505 (HAVE_WCTYPE_H): Likewise.
4506 (HAVE_ISWCTYPE): Likewise.
4507 (ENABLE_NLS): Likewise.
4508 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4509 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4510
78dd658a
SP
4511 * posix/regex_internal.c: Check if DEBUG is defined and is
4512 set.
4513
3f3dd810
SP
4514 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4515 (HAVE_MBSRTOWCS): Likewise.
4516 * posix/fnmatch.c: Include string.h unconditionally.
4517
95ee7fb1
SL
45182014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4519
4520 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4521 reversal.
4522
23fe486b
RM
45232014-07-31 Roland McGrath <roland@hack.frob.com>
4524
f61a113f
RM
4525 * sysdeps/generic/safe-fatal.h: New file.
4526 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4527 * nptl/forward.c: Include it.
4528 (__pthread_unwind): Use __safe_fatal as default action, rather
4529 than a bogus use of INTERNAL_SYSCALL that could never work.
4530
9fe7e787
RM
4531 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4532 * configure.ac (libc_cv_builtin_trap): New test.
4533 * configure: Regenerated.
4534 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4535 (ABORT_INSTRUCTION): Define using __builtin_trap.
4536
23fe486b
RM
4537 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4538 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4539 * sysdeps/nptl/nptl-signals.h: New file.
4540 * nptl/pthreadP.h: Include <nptl-signals.h>.
4541
f349489e
SL
45422014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4543
4544 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4545 (ONE_DIRECTION): Define.
4546 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4547 (ONE_DIRECTION): Define.
4548 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4549 (ONE_DIRECTION): Define.
4550
2f438e20
SL
45512014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4552
4553 * sysdeps/s390/Makefile: Delete file.
4554 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4555 * sysdeps/s390/__longjmp.c: Delete file.
4556 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4557 Remove fields __flags and __reserved.
4558 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4559 and add versioning.
4560 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4561 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4562 * sysdeps/s390/rtld-setjmp.S: Likewise.
4563 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4564 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4565 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4566 * sysdeps/s390/s390-32/setjmp.S: ... here.
4567 Add versioning.
4568 (__sigsetjmp): Remove setting __flags field.
4569 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4570 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4571 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4572 * sysdeps/s390/s390-64/setjmp.S: ... here.
4573 Add versioning.
4574 (__sigsetjmp): Remove setting __flags field.
4575 * sysdeps/s390/setjmp.S: Delete file.
4576 * sysdeps/s390/sigjmp.c: Likewise.
4577 * sysdeps/s390/v1-longjmp.c: Likewise.
4578 * sysdeps/s390/v1-setjmp.h: Likewise.
4579 * sysdeps/s390/v1-sigjmp.c: Likewise.
4580 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4581 Remove v1-longjmp_chk.
4582 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4583 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4584 Include debug/longjmp_chk.c and add versioning.
4585 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4586 Include nptl/pt-longjmp.c and add versioning.
4587 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4588 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4589 Include __longjmp.c.
4590 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4591 Move to ...
4592 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4593 (__getcontext): Remove setting __flags field.
4594 Add versioning.
4595 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4596 Don't restore upper high grps.
4597 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4598 Likewise.
4599 (__swapcontext): Remove setting uc_flags field.
4600 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4601 Delete file.
4602 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4603 Include __longjmp.c.
4604 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4605 Move to ...
4606 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4607 (__getcontext): Remove setting __flags field.
4608 Add versioning.
4609 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4610 (__swapcontext): Remove setting uc_flags field.
4611 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4612 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4613 Remove fields uc_high_gprs and __reserved.
4614 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4615 New file with reverted content.
4616 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4617 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4618 Regenerated.
4619 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4620 Regenerated.
4621
6c9578a2
AS
46222014-07-31 Andreas Schwab <schwab@suse.de>
4623
4624 * config.h.in (HAVE_IFUNC): Define to 0.
4625 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4626 definedness.
4627
05f3633d
LM
46282014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4629
4630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4631 memmove-avx-unaligned, memcpy-avx-unaligned and
4632 mempcpy-avx-unaligned.
4633 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4634 Add tests for AVX memcpy functions.
4635 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4636 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4637 memcpy_chk.
4638 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4639 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4640 memmove_chk.
4641 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4642 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4643 mempcpy_chk.
4644 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4645 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4646 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4647
a53fbd8e
AZ
46482013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4649
4650 [BZ #17213]
4651 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4652 powerpc64le.
4653
0961f7e1
JL
46542014-07-29 Jeff Layton <jlayton@poochiereds.net>
4655
4656 [BZ #16839]
4657 * manual/llio.texi: Add section about open file description locks.
4658 * manual/examples/ofdlocks.c: Example of open file description
4659 lock usage.
4660 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4661 F_OFD_SETLK, and F_OFD_SETLKW.
4662
cc5fb300
AM
46632014-07-23 Allan McRae <allan@archlinux.org>
4664
4665 * po/es.po: Update Spanish translation from translation project.
4666
23329dca
AS
46672014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4668
4669 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4670
9c82da17
MR
46712014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4672
4673 [BZ #17078]
4674 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4675 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4676 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4677
29c4f53e
JM
46782014-07-17 Joseph Myers <joseph@codesourcery.com>
4679
831b9896
JM
4680 [BZ #17088]
4681 * math/fesetenv.c (__fesetenv)
4682 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4683 * math/feupdateenv.c (__feupdateenv)
4684 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4685
b21c2d50
JM
4686 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4687 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4688 (__ASSUME_SOCKETCALL): Do not define.
4689
067764ef
JM
4690 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4691 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4692 (__ASSUME_SOCKETCALL): Do not define.
4693 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4694 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4695 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4696 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4697 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4698 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4699 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4700 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4701
642530c1
JM
4702 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4703 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4704 (__ASSUME_SOCKETCALL): Do not define.
4705 (__ASSUME_IPC64): Define unconditionally.
4706 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4707 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4708 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4709 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4710 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4711 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4712 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4713 Likewise.
4714
03f77315
JM
4715 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4716 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4717 (__ASSUME_SOCKETCALL): Do not define.
4718 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4719 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4720 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4721 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4722 (__ASSUME_REQUEUE_PI): Define unconditionally.
4723 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4724 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4725 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4726 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4727 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4728 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4729
083b1f7c
JM
4730 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4731 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4732 (__ASSUME_SOCKETCALL): Do not define.
4733 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4734 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4735 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4736 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4737 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4738 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4739
5be44ea6
JM
4740 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4741 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4742 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4743 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4744 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4745 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4746 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4747 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4748 (__ASSUME_GETCPU_SYSCALL): Likewise.
4749
d95ffd4c
JM
4750 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4751 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4752 cases for individual architectures.
4753 * sysdeps/gnu/configure: Regenerated.
4754 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4755 LIBC_SLIBDIR_RTLDDIR.
4756 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4757 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4758 LIBC_SLIBDIR_RTLDDIR.
4759 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4761 LIBC_SLIBDIR_RTLDDIR.
4762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4763 Regenerated.
4764 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4765 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4766 file.
4767 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4768 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4769 file.
4770 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4771 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4772 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4773 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4774
29c4f53e
JM
4775 * sysdeps/aarch64/shlib-versions: Move to ...
4776 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4777 * sysdeps/alpha/shlib-versions: Move to ...
4778 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4779 * sysdeps/arm/shlib-versions: Move to ...
4780 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4781 * sysdeps/hppa/shlib-versions: Move all contents except for
4782 libgcc_s entry to ...
4783 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4784 entry from ...
4785 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4786 * sysdeps/ia64/shlib-versions: Move to ...
4787 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4788 entry from ...
4789 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4790 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4791 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4792 * sysdeps/microblaze/shlib-versions: Move to ...
4793 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4794 * sysdeps/mips/shlib-versions: Move to ...
4795 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4796 entry from ...
4797 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4798 * sysdeps/tile/shlib-versions: Move to ...
4799 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4800 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4801 from ...
4802 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4803 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4804 entry from ...
4805 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4806
32bead5b
WN
48072014-07-17 Will Newton <will.newton@linaro.org>
4808
57977c4b
WN
4809 * sysdeps/arm/bits/atomic.h
4810 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4811 (__arch_compare_and_exchange_bool_16_int): Likewise.
4812 (__arch_compare_and_exchange_bool_64_int): Likewise.
4813
32bead5b
WN
4814 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4815 into an #else block.
4816
37fccd41
RM
48172014-07-16 Roland McGrath <roland@hack.frob.com>
4818
4819 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4820 just Linux configurations. Test empirically that the compiler sets
4821 __ARM_EABI__, rather than using the tuple to decide.
4822 * sysdeps/arm/preconfigure: Regenerated.
4823 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4824 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4825 contents appended ...
4826 * sysdeps/arm/configure.ac: ... here.
4827 * sysdeps/arm/configure: Regenerated.
4828
b365f3ec
RM
48292014-07-15 Roland McGrath <roland@hack.frob.com>
4830
8badf496
RM
4831 * nptl/pthread_kill.c: New file.
4832 * nptl/pthread_sigmask.c: New file.
4833 * nptl/pthread_sigqueue.c: New file.
4834
3df6f22e
RM
4835 * sysdeps/nptl/lowlevellock.h: New file.
4836 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4837 * sysdeps/nptl/lowlevellock-futex.h: New file.
4838
b365f3ec
RM
4839 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4840 Remove dead declarations.
4841
f2fef657
L
48422014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4843
4844 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4845 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4846 config-cflags-avx2.
4847 * sysdeps/x86_64/configure.ac: Likewise.
4848 * sysdeps/i386/configure: Regenerated.
4849 * sysdeps/x86_64/configure: Likewise.
4850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4851 memset-avx2 only if config-cflags-avx2 is yes.
4852 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4853 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4854 defined.
4855 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4856 only if HAVE_AVX2_SUPPORT is defined.
4857 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4858
f6c44d47
AM
48592014-07-14 Alan Modra <amodra@gmail.com>
4860
4861 [BZ #17153]
4862 * elf/elf.h (DT_PPC64_NUM): Correct value.
4863 * NEWS: Add to fixed bug list.
4864
7ee03f00
JM
48652014-07-13 Jim Meyering <meyering@fb.com>
4866
4867 [BZ 17150]
4868 regex: don't deref NULL upon heap allocation failure
4869 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4870 failure in one more place.
4871 To trigger the segfault, configure grep -with-included-regex,
4872 build it, and run these commands:
4873 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4874
9d39d517
AS
48752014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4876
4877 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4878
a75b89b7
RH
48792014-07-11 Richard Henderson <rth@redhat.com>
4880
4881 * sysdeps/aarch64/libm-test-ulps: Update.
4882
771eb141
FW
48832014-07-10 Florian Weimer <fweimer@redhat.com>
4884
4885 [BZ #17135]
4886 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4887 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4888 (__nptl_setxid): Initialize error member. Call
4889 __nptl_setxid_error.
4890 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4891 * nptl/descr.h (struct xid_command): Add error member.
4892 * nptl/tst-setuid3.c: New file.
4893 * nptl/Makefile (tests): Add it.
4894
bc1da176
AZ
48952014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4896
4897 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4898 New define.
4899 (__lll_trylock): Use __lll_base_trylock.
4900 (__lll_cond_trylock): Likewise.
4901
887865fc
RM
49022014-07-10 Roland McGrath <roland@hack.frob.com>
4903
c0c6bac9
RM
4904 * nptl/pthread_create.c (start_thread): Use atomic_or and
4905 lll_futex_wake directly rather than lll_robust_dead.
4906 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4907 (lll_robust_dead): Macro removed.
6a42be57 4908 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
4909 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4910 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4911 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4912 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4913 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4914 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4915 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4916 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4917 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4918 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4919 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4920 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4921 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4922 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4923
887865fc
RM
4924 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4925 Use atomic_compare_and_exchange_val_acq directly rather than
4926 lll_robust_trylock.
4927 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4928 (__lll_robust_trylock, lll_robust_trylock): Removed.
4929 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4930 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4931 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4932 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4933 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4934 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4935 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4936 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4937 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4938 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4939 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4940 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4941 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4942 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4943
58536726
FW
49442014-07-02 Florian Weimer <fweimer@redhat.com>
4945
4946 * manual/locale.texi (Locale Names): New section documenting
4947 locale name syntax. Adjust menu and node chaining accordingly.
4948 (Choosing Locale): Reference Locale Names, Locale Categories.
4949 Mention setting LC_ALL=C. Reflect that name syntax is now
4950 documented.
4951 (Locale Categories): New section title. Reference Locale Names.
4952 LC_ALL is an environment variable, but not a category.
4953 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4954 description, now in Locale Name. Reference that section. Locale
4955 name syntax is now documented.
4956
4e8f95a0
FW
49572014-07-02 Florian Weimer <fweimer@redhat.com>
4958
4959 [BZ #17137]
4960 * locale/findlocale.c (name_present, valid_locale_name): New
4961 functions.
4962 (_nl_find_locale): Use the loc_name variable to store name
4963 candidates. Call name_present and valid_locale_name to check and
4964 validate locale names. Return an error if the locale is invalid.
4965
d1836456
FW
49662014-07-02 Florian Weimer <fweimer@redhat.com>
4967
4968 * locale/setlocale.c (setlocale): Use strdup for allocating
4969 composite name copy.
4970
d69b7f5a
SP
49712014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4972
888c679b
SP
4973 Sync up with gnulib.
4974 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4975 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4976 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4977 and _GL_ARG_NONNULL.
4978 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4979 [!_LIBC]: Include code for Windows and Cygwin.
4980 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4981 Include prototype for int strerror_r.
4982 [!_LIBC] (is_open): New function.
4983 (flush_stdout): New function.
4984 (print_errno_message): Use it.
4985 (error): Likewise.
4986 (error_at_line): Likewise.
4987 (error_tail) Add function attribute macros. Use
4988 __builtin_expect.
4989
180e0e4b
SP
4990 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4991
d22f1fe2
SP
4992 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4993
12f2254b
SP
4994 * io/ftw.c: Include sys/param.h unconditionally.
4995
c3c7c360
SP
4996 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4997
d62aa75a
SP
4998 [BZ #17125]
4999 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5000 libc_freeres_ptr.
5001 (freecache): New function to free CACHE on exit.
5002
d69b7f5a
SP
5003 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5004 initialization.
5005
5efe06a1
DM
50062014-07-09 David S. Miller <davem@davemloft.net>
5007
5008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5009
7000d82e
DM
5010 * sysdeps/sparc/nptl/internaltypes.h: Delete.
5011 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5012 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5013 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5014 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5015 * sysdeps/sparc/nptl/sem_init.c: Likewise.
5016 * sysdeps/sparc/nptl/sem_post.c: Likewise.
5017 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5018 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5019 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5020 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5021 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5022 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5023
c213442d
AS
50242014-07-09 Andreas Schwab <schwab@suse.de>
5025
4a2552c3
AS
5026 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5027 output.
5028 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5029 (do_test): Likewise.
5030
c213442d
AS
5031 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5032
82374e65
WN
50332014-07-09 Will Newton <will.newton@linaro.org>
5034
5035 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5036 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5037 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5038 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5039 * sysdeps/hppa/start.S (_start): Likewise.
5040
6680738a
SP
50412014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5042
6ee3eab4
SP
5043 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5044
6680738a
SP
5045 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5046 defined.
5047
80b5c505
SP
50482014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5049
e35c53e3
SP
5050 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5051 after checking that it is non-NULL.
5052
80b5c505
SP
5053 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5054
91f4b564
AZ
50552014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5056
27b75f56
AZ
5057 * sysdeps/powerpc/memmove.c: Remove file.
5058 * sysdeps/powerpc/powerpc32/power4/memcopy.h
5059 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5060 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5061 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5062 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5063 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5064 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5065 string memmove instead of removed powerpc one.
5066
e7f95bb5
AZ
5067 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5068 [weak_alias]: Fix compiler warning due trailing data.
5069 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5070 [weak_alias]: Likewise.
5071 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5072 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5073
91f4b564
AZ
5074 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5075 (__libc_ifunc_impl_list): Add memmove functions.
5076
7c33f1e5
SP
50772014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5078
5079 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5080 Remove code.
5081 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5082 Likewise
5083 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5084 Likewise
5085 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5086 Likewise
5087 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5088 Likewise
5089 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5090 Likewise
5091 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5092 Likewise
5093 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5094 Likewise
5095 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5096 Likewise
5097 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5098 Likewise
5099 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5100 Likewise
5101 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5102 Likewise
5103 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5104 Likewise
5105 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5106 Likewise
5107 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5108 Likewise
5109 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5110 Likewise
5111 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5112 Likewise
5113
3f17b03b
AZ
51142014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5115
87868c24
AZ
5116 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5117 to avoid alignment traps in non-cacheable memory.
5118 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5119
07aedd78
AZ
5120 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5121 multiarch objects.
5122 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5123 file: multiarch power7 memmove.
5124 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5125 multiarch default memmove.
5126 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5127 multiarch memove for powerpc32/power4.
5128
17762f66
AZ
5129 * string/bcopy.c: Use full path to include memmove.c.
5130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5131 multiarch objects.
5132 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5133 bcopy for powerpc64.
5134 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5135 bcopy for powerpc64.
5136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5137 and memmove implementations.
5138 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5139 optimized multiarch memmove for POWER7/powerpc64.
5140 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5141 default multiarch memmove for powerpc64.
5142 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5143 multiarch for powerpc64.
5144 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5145 for POWER7/powerpc64.
5146 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5147 memmove for POWER7/powerpc64.
5148
d6f68bbe
AZ
5149 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5150 glibc default one.
5151
3f17b03b
AZ
5152 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5153 __ELF_NATIVE_CLASS equal to 64.
5154
08192659
RM
51552014-07-07 Roland McGrath <roland@hack.frob.com>
5156
f4c4021b
RM
5157 * sysdeps/nptl/lowlevellock.h: File removed.
5158
f083450f
RM
5159 * NEWS: NPTL is no longer an add-on!
5160 * nptl/internaltypes.h: Moved ...
5161 * sysdeps/nptl/internaltypes.h: ... here.
5162 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5163 * sysdeps/nptl/fork.c: Likewise.
5164 * sysdeps/nptl/gai_misc.h: Likewise.
5165 * sysdeps/nptl/librt-cancellation.c: Likewise.
5166 * sysdeps/nptl/jmp-unwind.c: Likewise.
5167 * sysdeps/nptl/setxid.h: Likewise.
5168 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5169 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5170 * sysdeps/unix/sysv/linux/arm/Implies: New file.
5171 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5172 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5173 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5174 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5175 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5176 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5177 * sysdeps/unix/sysv/linux/mips/Implies: New file.
5178 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5179 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5180 * sysdeps/unix/sysv/linux/sh/Implies: New file.
5181 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5182 * sysdeps/unix/sysv/linux/tile/Implies: New file.
5183 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5184 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5185 * nptl/Makeconfig: Moved ...
5186 * sysdeps/nptl/Makeconfig: ... here.
5187 * nptl/configure: File removed.
5188 * nptl/ANNOUNCE: File removed.
5189 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5190 * sysdeps/unix/sysv/linux/configure: Regenerated.
5191
08192659
RM
5192 * nptl/Makefile (routines): Add libc_pthread_init,
5193 libc_multiple_threads, register-atfork and unregister-atfork.
5194 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5195 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5196 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5197 pthread-pi-defines.sym, structsem.sym.
5198 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5199 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5200 [$(subdir) = nptl] (tests): Add tst-setgetname.
5201 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5202 * sysdeps/unix/sysv/linux/sigaction.c: Just include
5203 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5204 [!LIBC_SIGACTION]: Remove aliases.
5205 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5206 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5207 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5208 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5209 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5210 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5211 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5212 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5213 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5214 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5215 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5216 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5217 __libc_allocate_rtsig_private.
5218 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5219 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5220 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5221 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5222 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5223 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5224 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5225 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5226 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5227 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5228 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5229 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5230 * nptl/internaltypes.h: ... here.
5231 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5232 * sysdeps/nptl/jmp-unwind.c: ... here.
5233 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5234 * nptl/libc-lowlevellock.c: ... here.
5235 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5236 * nptl/libc_multiple_threads.c: ... here.
5237 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5238 * nptl/libc_pthread_init.c: ... here.
5239 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5240 * nptl/lowlevelbarrier.sym: ... here.
5241 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5242 * nptl/lowlevelcond.sym: ... here.
5243 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5244 * nptl/lowlevellock.c: ... here.
5245 * nptl/lowlevellock.h: Moved ...
5246 * sysdeps/nptl/lowlevellock.h: ... here.
5247 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5248 * nptl/lowlevelrobustlock.c: ... here.
5249 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5250 * nptl/lowlevelrobustlock.sym: ... here.
5251 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5252 * nptl/lowlevelrwlock.sym: ... here.
5253 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5254 * nptl/pt-fork.c: ... here.
5255 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5256 * nptl/pthread-pi-defines.sym: ... here.
5257 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5258 * nptl/pthread_attr_getaffinity.c: ... here.
5259 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5260 * nptl/pthread_attr_setaffinity.c: ... here.
5261 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5262 * nptl/pthread_mutex_cond_lock.c: ... here.
5263 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5264 Update #include.
5265 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5266 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5267 * nptl/pthread_once.c: ... here, replacing old file.
5268 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5269 * nptl/pthread_yield.c: ... here.
5270 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5271 * nptl/register-atfork.c: ... here.
5272 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5273 * nptl/sem_post.c: ... here.
5274 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5275 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5276 * nptl/sem_timedwait.c: ... here.
5277 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5278 * nptl/sem_trywait.c: ... here.
5279 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5280 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5281 * nptl/sem_wait.c: ... here.
5282 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5283 * nptl/structsem.sym: ... here.
5284 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5285 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5286 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5287 * nptl/unregister-atfork.c: ... here.
5288 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5289 * nptl/unwindbuf.sym: ... here.
5290 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5291 * sysdeps/nptl/fork.c: ... here.
5292 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5293 * sysdeps/nptl/fork.h: ... here.
5294 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5295 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5296 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5297 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5298 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5299 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5300 * sysdeps/unix/sysv/linux/getpid.c: ... here.
5301 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5302 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5303 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5304 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5305 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5306 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5307 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5308 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5309 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5310 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5311 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5312 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5313 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5314 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5315 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5316 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5317 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5318 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5319 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5320 * sysdeps/unix/sysv/linux/raise.c: ... here.
5321 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5322 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5323 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5324 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5325 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5326 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5327 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5328 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5329 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5330 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5331 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5332 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5333 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5334 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5335 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5336
96baf6ff
SP
53372014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5338
5339 * sysdeps/generic/memcopy.h: Add comment for
5340 MEMCPY_OK_FOR_FWD_MEMMOVE.
5341
6b7b14b2
WN
53422014-07-04 Will Newton <will.newton@linaro.org>
5343
1570a72b
WN
5344 * string/memchr.c: Merge from gnulib.
5345 [_LIBC]: Remove conditionals.
5346 (__ptr_t): Remove define.
5347 (LONG_MAX_32_BITS): Likewise.
5348 (LONG_MAX): Likewise.
5349 (MEMCHR): Use ANSI prototype and optimize algorithm.
5350
6b7b14b2
WN
5351 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5352
38851324
SP
53532014-07-03 Roland McGrath <roland@hack.frob.com>
5354
3d9eb57c
RM
5355 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5356 (lll_futex_timed_wait_bitset): Fix syscall argument count.
5357
78b984ae
RM
5358 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5359 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5360 in a bare environment with no <stdlib.h> installed.
5361 * sysdeps/nptl/configure: Regenerated.
5362
2d5976a5
RM
5363 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5364
c1f5acd4
RM
5365 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5366 AC_EGREP_CPP for kernel header checks, so they only succeed if
5367 including <linux/version.h> actually works right.
5368 * sysdeps/unix/sysv/linux/configure: Regenerated.
5369
4d614fe5
RM
5370 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5371 value so it's not diagnosed as unused.
5372
38851324
SP
5373 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5374 thing) with "ifeq ($(subdir),rt)".
5375
b3ec00e5
RH
53762014-07-03 Richard Henderson <rth@redhat.com>
5377
69862e25
RH
5378 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5379 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5380 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5381
d5e16ade
RH
5382 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5383 (math_force_eval): New.
5384
ca7b945c
RH
5385 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5386 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5387
cd1175a3
RH
5388 * sysdeps/alpha/fpu/s_round.c: Remove file.
5389 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5390
b3ec00e5
RH
5391 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5392 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5393 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5394 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5395 (_dl_start, print_statistics): Likewise.
5396 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5397 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5398
5399 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5400 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5401 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5402 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5403 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5404 (HP_SMALL_TIMING_AVAIL): Define.
5405 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5406 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5407 (HP_SMALL_TIMING_AVAIL): Define.
5408 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5409 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5410
5411 * sysdeps/aarch64/hp-timing.h: New file.
5412
5413 * sysdeps/generic/hp-timing.h: Remove dead comment.
5414 * sysdeps/generic/hp-timing-common.h: New file.
5415 * sysdeps/alpha/hp-timing.h: Include it.
5416 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5417 * sysdeps/i386/i686/hp-timing.h: Likewise.
5418 * sysdeps/ia64/hp-timing.h: Likewise.
5419 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5420 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5421 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5422 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5423 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5424 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5425 (hp_timing_t): New.
5426
5427 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5428 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5429 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5430 * elf/rtld.c (_dl_start_final): Likewise.
5431 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5432 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5433 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5434 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5435 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5436 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5437 (HP_TIMING_DIFF_INIT): Remove.
5438 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5439 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5440 (HP_TIMING_DIFF_INIT): Remove.
5441 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5442 * sysdeps/i386/i686/hp-timing.c: Remove file.
5443 * sysdeps/x86_64/hp-timing.c: Remove file.
5444 * sysdeps/ia64/hp-timing.c: Remove file.
5445 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5446 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5447 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5448 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5449
5450 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5451 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5452 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5453 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5454 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5455 (HP_TIMING_ACCUM): Remove.
5456 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5457 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5458 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5459
5460 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5461 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5462 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5463 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5464 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5465 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5466 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5467 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5468
5469 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5470
225f410f
MR
54712014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5472
5473 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5474
3247f285
SP
54752014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5476
5477 Sync up with gettext.
5478 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5479 [_MSC_VER]: Include malloc.h
5480 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5481 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5482 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5483 TEMP_FAILURE_RETRY. Cast return of alloca.
5484 [!_LIBC] Call gl_rwlock_init.
5485 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5486
d12704c7
SP
54872014-07-02 Roland McGrath <roland@hack.frob.com>
5488
5489 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5490 before checking its value.
5491
99f8dc92
SP
54922014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5493
05fdac77
SP
5494 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5495
99f8dc92
SP
5496 * debug/memcpy_chk.c: Don't include pagecopy.h.
5497 * debug/mempcpy_chk.c: Likewise.
5498 * string/memcpy.c: Likewise.
5499 * string/memmove.c: Likewise.
5500 * sysdeps/powerpc/memmove.c: Likewise.
5501 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5502 definition of PAGE_COPY_FWD_MAYBE here...
5503 * sysdeps/generic/pagecopy.h: ... from here.
5504 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5505
bc8ea385
VR
55062014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5507 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5508
5509 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5510 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5511 optimizations.
5512 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5513 (__libc_ifunc_impl_list): Likewise.
5514 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5515 multiarch strcat for PPC64.
5516 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5517 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5518
fe5f34e4
RM
55192014-07-02 Roland McGrath <roland@hack.frob.com>
5520
5521 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5522
256aa665
SP
55232014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5524
d4eb8195
SP
5525 * intl/loadmsgcat.c: Remove declaration of
5526 get_sysdep_segment_value.
5527 (get_sysdep_segment_value): Use ISO C style.
5528 (_nl_load_domain): Use ISO C style. Get rid of redundant
5529 semicolon. Fix typo and formatting in comment.
5530 (_nl_unload_domain): Use ISO C style.
5531
256aa665
SP
5532 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5533
b100f9aa
WN
55342014-07-02 Will Newton <will.newton@linaro.org>
5535
5536 * malloc/obstack.c: Merge from gnulib master.
5537 [HAVE_CONFIG_H]: Remove conditional code.
5538 [!_LIBC]: Include config.h.
5539 [!ELIDE_CODE]: Don't include inttypes.h, include
5540 stdint.h unconditionally.
5541 (print_and_abort): Mark as _Noreturn.
5542 (_obstack_allocated_p): Mark as __attribute_pure__.
5543 (obstack_free): Rename to __obstack_free.
5544 [!__attribute__]: Remove conditional code.
5545 * malloc/obstack.h: Merge from gnulib master.
5546 [__cplusplus]: Move conditional down.
5547 [!__attribute_pure__]: Define __attribute_pure__ here
5548 if it is not already defined.
5549 (_obstack_memory_used): Mark as __attribute_pure__.
5550 [!__obstack_free]: Define as obstack_free.
5551 [__GNUC__]: Remove check for ancient NeXT gcc.
5552
c4c41244
PE
55532014-07-02 Will Newton <will.newton@linaro.org>
5554 Paul Eggert <eggert@cs.ucla.edu>
5555
5556 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5557
e1e041c4
SP
55582014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5559
5560 * resolv/gethnamaddr.c: Add comment warning that the file is
5561 not maintained.
5562
ccf431ff
CD
55632014-07-01 Carlos O'Donell <carlos@redhat.com>
5564
d34570a6
CD
5565 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5566 entries.
5567
ccf431ff
CD
5568 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5569 entry for aio_cancel and aio_cancel64.
5570 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5571 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5572 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5573 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5574 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5575 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5576 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5577 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5578 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5579 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5580 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5581 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5582 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5583
ca06321d
RM
55842014-07-01 Roland McGrath <roland@hack.frob.com>
5585
5586 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5587 * nptl/pthread_mutex_lock.c: Likewise.
5588 * nptl/pthread_mutex_timedlock.c: Likewise.
5589 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5590
a1ac3184
RH
55912014-07-01 Richard henderson <rth@redhat.com>
5592
631021e0
RH
5593 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5594 (__isnan, __isnanl): Remove.
5595 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5596
a1ac3184
RH
5597 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5598
0c1d731f
SL
55992014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5600
5601 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5602
76985d3e
SP
56032014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5604
5605 * resolv/nss_dns/dns-host.c (getanswer_r)
5606 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5607
b0cb3096
JM
56082014-07-01 Joseph Myers <joseph@codesourcery.com>
5609
5610 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5611 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5612 undefine.
5613 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5614 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5615
4d76cb39
RM
56162014-07-01 Roland McGrath <roland@hack.frob.com>
5617
5618 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5619 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5620
5621 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5622 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5623
5624 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5625 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5626 ... here.
5627 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5628 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5629
5630 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5631 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5632 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5633 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5634
5635 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5636 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5637 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5638 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5639 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5640 Moved ...
5641 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5642 ... here.
5643 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5644 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5645 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5646 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5647 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5648 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5649 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5650 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5651 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5652 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5653 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5654 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5655 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5656 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5657 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5658 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5659 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5660 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5661 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5662 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5663 ... here.
5664 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5665 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5666 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5667 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5668 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5669 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5670 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5671 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5672
0cdcad17
DH
56732014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5674
5675 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5676 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5677 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5678 Add sysdep.
5679
9b71d0e3
AZ
56802014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5681
5682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5683
665390c2
JM
56842014-06-30 Joseph Myers <joseph@codesourcery.com>
5685
ae05a9d7
JM
5686 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5687 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5688
a7672a2f
JM
5689 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5690
665390c2
JM
5691 * sysdeps/arm/libm-test-ulps: Regenerated.
5692
d7a05d07
MR
56932014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5694 Roland McGrath <roland@hack.frob.com>
5695
5696 * test-skeleton.c (signal_handler): Kill the whole process group
5697 before killing the child individually.
5698 (main): Report any failure on `setpgid'.
5699
46f1d8a6
RM
57002014-06-30 Roland McGrath <roland@hack.frob.com>
5701
5702 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5703 from _TLS_H to _ARM_NPTL_TLS_H.
5704 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5705 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5706
9c37ec0b
JM
57072014-06-30 Joseph Myers <joseph@codesourcery.com>
5708
ce9c5b3e
JM
5709 [BZ #16539]
5710 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5711 (__expm1l): Return argument unchanged when small but not
5712 subnormal.
5713
3a6e9887
JM
5714 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5715 include macro name.
5716 (_FP_UNPACK_RAW_1_P): Likewise.
5717 (_FP_PACK_RAW_1): Likewise.
5718 (_FP_PACK_RAW_1_P): Likewise.
5719 (_FP_MUL_MEAT_1_wide): Likewise.
5720 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5721 (_FP_MUL_MEAT_1_hard): Likewise.
5722 (_FP_DIV_MEAT_1_imm): Likewise.
5723 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5724 (_FP_DIV_MEAT_1_udiv): Likewise.
5725 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5726 (_FP_UNPACK_RAW_2): Likewise.
5727 (_FP_UNPACK_RAW_2_P): Likewise.
5728 (_FP_PACK_RAW_2): Likewise.
5729 (_FP_PACK_RAW_2_P): Likewise.
5730 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5731 (_FP_MUL_MEAT_2_wide): Likewise.
5732 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5733 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5734 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5735 (_FP_MUL_MEAT_2_gmp): Likewise.
5736 (_FP_DIV_MEAT_2_udiv): Likewise.
5737 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5738 (_FP_FRAC_SRL_4): Likewise.
5739 (_FP_FRAC_SRST_4): Likewise.
5740 (_FP_FRAC_SRS_4): Likewise.
5741 (_FP_UNPACK_RAW_4): Likewise.
5742 (_FP_UNPACK_RAW_4_P): Likewise.
5743 (_FP_PACK_RAW_4): Likewise.
5744 (_FP_PACK_RAW_4_P): Likewise.
5745 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5746 (_FP_MUL_MEAT_4_wide): Likewise.
5747 (_FP_MUL_MEAT_4_gmp): Likewise.
5748 (umul_ppppmnnn): Likewise.
5749 (_FP_DIV_MEAT_4_udiv): Likewise.
5750 (__FP_FRAC_ADD_4): Likewise.
5751 (__FP_FRAC_SUB_3): Likewise.
5752 (__FP_FRAC_SUB_4): Likewise.
5753 (__FP_FRAC_DEC_3): Likewise.
5754 (__FP_FRAC_DEC_4): Likewise.
5755 (__FP_FRAC_ADDI_4): Likewise.
5756 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5757 (_FP_FRAC_SRL_8): Likewise.
5758 (_FP_FRAC_SRS_8): Likewise.
5759
9c37ec0b
JM
5760 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5761 include macro name.
5762 (FP_UNPACK_RAW_EP): Likewise.
5763 (FP_PACK_RAW_E): Likewise.
5764 (FP_PACK_RAW_EP): Likewise.
5765 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5766 (_FP_ISSIGNAN): Likewise.
5767 (_FP_ADD_INTERNAL): Likewise.
5768 (_FP_FMA): Likewise.
5769 (_FP_CMP): Likewise.
5770 (_FP_SQRT): Likewise.
5771 (_FP_TO_INT): Likewise.
5772 (_FP_FROM_INT): Likewise.
5773 (FP_EXTEND): Likewise.
5774 (_FP_DIV_MEAT_N_loop): Likewise.
5775
2125f674
MR
57762014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5777
5778 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5779 throughout.
5780
edea4028
JM
57812014-06-29 Joseph Myers <joseph@codesourcery.com>
5782
5783 [BZ #17097]
5784 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5785 result with correct sign in case of exponents that produce
5786 overflow except for X very close to 1.
5787
dd0ba018
PE
57882014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5789
5790 mktime: merge #if/#ifdef usage from glibc
5791 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5792 as that works with both Glibc's and Gnulib's style.
5793 See thread starting at Siddhesh Poyarekar's bug report at:
5794 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5795
64df73c2
SP
57962014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5797
5798 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5799 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5800 * sysdeps/tile/tilegx/memmove.c: Remove file.
5801
f1eafb41
JM
58022014-06-27 Joseph Myers <joseph@codesourcery.com>
5803
5804 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5805 abi-name definition.
5806 * scripts/soversions.awk: Do not handle or generate ABI lines.
5807 * shlib-versions: Remove ABI entries.
5808 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5809 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5810
58eb0862
RM
58112014-06-27 Roland McGrath <roland@hack.frob.com>
5812
37caf178
RM
5813 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5814 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5815 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5816 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5817 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5818 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5819 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5820 Moved ...
5821 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5822 ... here.
5823 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5824 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5825 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5826 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5827 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5828 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5829 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5830 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5831 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5832 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5833 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5834 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5835 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5836 Moved ...
5837 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5838 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5839 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5840 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5841 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5842 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5843 Moved ...
5844 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5845 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5846 Moved ...
5847 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5848 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5849 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5850 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5851 Moved ...
5852 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5853 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5854 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5855 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5856 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5857 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5858 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5859 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5860 Moved ...
5861 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5862 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5863 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5864 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5865 Moved ...
5866 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5867 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5868 Moved ...
5869 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5870 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5871 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5872 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5873 Moved ...
5874 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5875 ... here.
5876 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5877 Identical file removed.
5878 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5879 Moved ...
5880 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5881 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5882 Identical file removed.
5883 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5884 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5885 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5886 Moved ...
5887 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5888 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5889 Identical file removed.
5890 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5891 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5892 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5893 Identical file removed.
5894 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5895 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5896 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5897 Identical file removed.
5898 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5899 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5900 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5901 Identical file removed.
5902 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5903 Moved ...
5904 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5905 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5906 Identical file removed.
5907 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5908 Moved ...
5909 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5910 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5911 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5912 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5913 Identical file removed.
5914 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5915 Moved ...
5916 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5917 ... here.
5918 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5919 Identical file removed.
5920 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5921 Moved ...
5922 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5923 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5924 Identical file removed.
5925 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5926 Moved ...
5927 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5928 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5929 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5930 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5931 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5932 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5933 Moved ...
5934 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5935 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5936 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5937
58eb0862
RM
5938 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5939 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5940 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5941 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5942 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5943
6f12d062
AS
59442014-06-27 Arjun Shankar <arjun.is@lostca.se>
5945
5946 [BZ #17092]
5947 * nscd/nscd.c (monitor_child): Return exit status of child
5948 instead of return value from wait syscall.
5949
be254932
JM
59502014-06-27 Joseph Myers <joseph@codesourcery.com>
5951
cb403c34
JM
5952 * configure.ac (libc_commonpagesize): Remove variable.
5953 (libc_relro_required): Likewise.
5954 (libc_cv_z_relro): Remove configure test.
5955 * configure: Regenerated.
5956 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5957 variable.
5958 (libc_relro_required): Likewise.
5959 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5960 (libc_relro_required): Likewise.
5961 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5962 (libc_relro_required): Likewise.
5963 * sysdeps/arm/preconfigure: Regenerated.
5964 * sysdeps/ia64/preconfigure: Remove file.
5965 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5966 variable.
5967 (libc_relro_required): Likewise.
5968
be254932
JM
5969 [BZ #16561]
5970 [BZ #16562]
5971 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5972 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5973 recompute overflowing results in original rounding mode.
5974 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5975 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5976 recompute overflowing results in original rounding mode.
5977 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5978 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5979 recompute overflowing results in original rounding mode.
5980 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5981 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5982 recompute overflowing results in original rounding mode.
5983 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5984 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5985 recompute overflowing results in original rounding mode.
5986 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5987 (libc_feholdsetround_ctx): New macro.
5988 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5989 * sysdeps/i386/fpu/libm-test-ulps: Update.
5990 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5991
b351d85a
JM
59922014-06-26 Joseph Myers <joseph@codesourcery.com>
5993
5994 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5995 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5996 corresponding .cpsetup call.
5997
3cb4de47
RM
59982014-06-26 Roland McGrath <roland@hack.frob.com>
5999
6000 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6001 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6002 * sysdeps/arm/Makefile [$(subdir) = csu]
6003 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6004 (static-only-routines): Add aeabi_read_tp here.
6005 (shared-only-routines): Add libc-aeabi_read_tp here.
6006 (CFLAGS-libc-start.c): Add -fexceptions here.
6007 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6008 (sysdep_routines, static-only-routines, shared-only-routines):
6009 Don't add to these here.
6010 (CFLAGS-libc-start.c): Likewise.
6011
6012 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6013 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6014 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6015 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6016 * sysdeps/arm/Makefile [$(subdir) = rt]
6017 (librt-sysdep_routines, librt-shared-only-routines):
6018 Append rt-aeabi_unwind_cpp_pr1 here.
6019 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6020 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6021 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6022 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6023 Append nptl-aeabi_unwind_cpp_pr1 here.
6024 (tests): Filter out tst-cleanupx4 here.
6025 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6026 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6027 Don't do those here.
6028
354426bb
JM
60292014-06-26 Joseph Myers <joseph@codesourcery.com>
6030
6031 * scripts/list-sources.sh: Do not handle ports specially.
6032
28b0a8c9
RM
60332014-06-26 Roland McGrath <roland@hack.frob.com>
6034
a3dd035d
RM
6035 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6036 * sysdeps/arm/feupdateenv.c: Likewise.
6037
28b0a8c9
RM
6038 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6039
e66a8203
JM
60402014-06-26 Joseph Myers <joseph@codesourcery.com>
6041
6042 * manual/texinfo.tex: Update to version 2014-05-05.10 with
6043 trailing whitespace removed.
6044 * scripts/config.guess: Update to version 2014-03-23.
6045 * scripts/config.sub: Update to version 2014-05-01
6046 * scripts/install-sh: Update to version 2013-12-25.23.
6047 * scripts/move-if-change: Update from gnulib.
6048
74171115
SP
60492014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6050
b97c9ce5
SP
6051 * debug/memmove_chk.c: Remove pagecopy.h include.
6052
4000f892
SP
60532014-06-26 Paul Eggert <eggert@cs.ucla.edu>
6054
74171115
SP
6055 * time/mktime.c (leapyear): Remove inline keyword. The code is now
6056 identical to gnulib mktime.
6057
a8779c28
JM
60582014-06-26 Joseph Myers <joseph@codesourcery.com>
6059
e64708de
JM
6060 * configure.ac: Do not test for machine being rs6000. Do not test
6061 for powerpc*-*soft.
6062 * configure: Regenerated.
6063
a8779c28
JM
6064 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6065 test.
6066 * configure: Regenerated.
6067 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6068 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6069 Remove configure test.
6070 * sysdeps/arm/configure: Regenerated.
6071 * sysdeps/nptl/configure.ac: Do not check
6072 libc_cv_asm_cfi_directives.
6073 * sysdeps/nptl/configure: Regenerated.
6074 * sysdeps/x86_64/nptl/configure.ac: Remove file.
6075 * sysdeps/x86_64/nptl/configure: Remove generated file.
6076 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6077 unconditional.
6078 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6079
2aac0a86
SP
60802014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6081
059bf913
SP
6082 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6083 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6084 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6085 it is defined.
6086
4cf5b6d0
SP
6087 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6088 instead of whether it is defined.
6089 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6090 * sysdeps/hppa/dl-machine.h: Likewise.
6091 * sysdeps/ia64/dl-machine.h: Likewise.
6092 * sysdeps/m68k/dl-machine.h: Likewise.
6093 * sysdeps/microblaze/dl-machine.h: Likewise.
6094 * sysdeps/mips/dl-machine.: Likewise.
6095 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6096 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6097 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6098 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6099 * sysdeps/sh/dl-machine.h: Likewise.
6100 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6101 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6102 * sysdeps/tile/dl-machine.h: Likewise.
6103 * sysdeps/x86_64/dl-machine.h: Likewise.
6104
2aac0a86
SP
6105 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6106 code.
6107 (verify_persistent_db): Likewise.
6108
6ad2df0b
RM
61092014-06-26 Roland McGrath <roland@hack.frob.com>
6110
d8a483f3
RM
6111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6112 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6114 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6116 Moved ...
6117 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6118 ... here.
6119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6120 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6122 Identical file removed.
6123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6124 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6126 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6128 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6130 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6132 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6134 Moved ...
6135 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6137 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6139 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6141 Moved ...
6142 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6144 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6146 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6148 Identical file removed.
6149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6150 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6152 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6154 Moved ...
6155 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6156 ... here.
6157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6158 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6160 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6162 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6164 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6166 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6168 Moved ...
6169 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6171 Moved ...
6172 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6174 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6176 Moved ...
6177 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6179 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6180
52ae23b4
RM
6181 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6182 folded into ...
6183 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6184 * sysdeps/unix/sysv/linux/s390/Versions
6185 (libpthread: GLIBC_2.19): New version set.
6186 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6187 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6188 (librt: GLIBC_2.3.3): New version set.
6189 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6190 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6191 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6192 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6193 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6194 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6195 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6196 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6197 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6198 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6199 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6200 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6201 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6202 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6203 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6204 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6205 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6206 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6207 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6208 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6209 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6210 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6211 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6212 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6213 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6214 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6215 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6216 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6217 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6218 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6219 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6220 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6221 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6222 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6223 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6224 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6225 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6226 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6227 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6228 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6229 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6230 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6231 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6232 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6233 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6234
39507e4a
RM
6235 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6236 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6237 (__libc_vfork): Define the function under this name.
6238 [!NOT_IN_libc] (__vfork): Make this an alias.
6239 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6240 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6241 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6242 (__libc_vfork): Define the function under this name.
6243 [!NOT_IN_libc] (__vfork): Make this an alias.
6244 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6245 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6246 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6247 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6248 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6249 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6250
e549ee56
RM
6251 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6252 code that was previously under [RESET_PID].
6253 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6254 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6255 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6256
6ad2df0b
RM
6257 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6258 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6259 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6260 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6261 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6262 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6263 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6264 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6265 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6266 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6267 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6268 Moved ...
6269 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6270 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6271 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6272 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6273 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6274 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6275 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6276 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6277 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6278 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6279 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6280 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6281 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6282 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6283 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6284 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6285 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6286 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6287 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6288 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6289 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6290 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6291 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6292 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6293 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6294 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6295 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6296 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6297 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6298
7c1c1d8e
RM
62992014-06-25 Roland McGrath <roland@hack.frob.com>
6300
6301 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6302 that was previously under [RESET_PID].
6303 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6304
3e239be6
JM
63052014-06-25 Joseph Myers <joseph@codesourcery.com>
6306
74385da5
JM
6307 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6308 not undefine and redefine.
6309 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6310 [O_CLOEXEC]: Make code unconditional.
6311 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6312 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6313 <kernel-features.h>.
6314 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6315 conditional variable definition.
6316 (shm_open) [O_CLOEXEC]: Make code unconditional.
6317 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6318 code.
6319
c2570a0b
JM
6320 * configure.ac (USE_REGPARMS): Don't define here.
6321 * configure: Regenerated.
6322 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6323 * sysdeps/i386/configure: Regenerated.
6324
11b076bb
JM
6325 * nptl/createthread.c: Don't include kernel-features.h.
6326 * nptl/pthread_cancel.c: Likewise.
6327 * nptl/pthread_condattr_setclock.c: Likewise.
6328 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6329 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6330 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6331 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6332 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6333 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6334 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6335 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6336 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6337 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6338 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6339 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6340 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6341 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6342 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6343 * nscd/gai.c: Likewise.
6344 * nss/nss_db/db-open.c: Likewise.
6345 * sysdeps/generic/ldsodefs.h: Likewise.
6346 * sysdeps/sh/nptl/tls.h: Likewise.
6347 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6348 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6349 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6350 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6351 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6352 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6353 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6354 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6355 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6356 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6357 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6358 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6359 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6360 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6361 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6362 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6363 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6364 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6365 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6366 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6367 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6368 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6369 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6370 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6371 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6372 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6373 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6374 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6375 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6376 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6377 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6378 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6379 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6380 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6381 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6382 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6383 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6384 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6385 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6386 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6387 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6388 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6389 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6390 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6391 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6392 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6393 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6394 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6395 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6396 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6397 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6398 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6399 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6400 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6401 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6402 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6403 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6404 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6427 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6428 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6429 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6430 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6431 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6432 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6433 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6434 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6435 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6436 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6437 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6438 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6439 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6440 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6441 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6442 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6443 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6444 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6445 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6446 * sysdeps/unix/sysv/linux/system.c: Likewise.
6447 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6448 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6449 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6450 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6451 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6452 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6453 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6454
92072d57
JM
6455 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6456 * configure: Regenerated.
6457 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6458
3e239be6
JM
6459 * configure.ac (base_machine): Do not set specially for particular
6460 machines here.
6461 * configure: Regenerated.
6462 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6463 settings from configure.ac.
6464 * sysdeps/i386/preconfigure: New file.
6465 * sysdeps/s390/preconfigure: Likewise.
6466 * sysdeps/sh/preconfigure: Likewise.
6467 * sysdeps/sparc/preconfigure: Likewise.
6468
06d50baa
RM
64692014-06-25 Roland McGrath <roland@hack.frob.com>
6470
74836003
RM
6471 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6472 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6473 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6474 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6475 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6476 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6477 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6478 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6479 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6480 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6481 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6482 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6483 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6484 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6485 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6486 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6487 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6488 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6489 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6490
6491 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6492 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6493 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6494 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6495 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6496 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6497 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6498 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6499 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6500 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6501 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6502 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6503 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6504 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6505 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6506 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6507 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6508 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6509 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6510 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6511 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6512 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6513 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6514 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6515 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6516 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6517 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6518 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6519 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6520 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6521 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6522 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6523 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6524 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6525 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6526 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6527 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6528 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6529
06d50baa
RM
6530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6531 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6533 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6535 Moved ...
6536 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6537 ... here.
6538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6539 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6541 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6543 Moved ...
6544 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6546 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6548 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6550 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6552 Moved ...
6553 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6555 Moved ...
6556 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6558 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6560 Moved ...
6561 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6563 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6565 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6567 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6569 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6571 Moved ...
6572 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6573 ... here.
6574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6575 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6577 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6579 Moved ...
6580 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6582 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6584 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6586 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6588 Moved ...
6589 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6591 Moved ...
6592 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6594 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6596 Moved ...
6597 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6599 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6601 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6602
a4ccbc9b
JM
66032014-06-25 Joseph Myers <joseph@codesourcery.com>
6604
0828edbf
JM
6605 * timezone/checktab.awk: Update from tzcode 2014e.
6606 * timezone/private.h: Likewise.
6607 * timezone/tzfile.h: Likewise.
6608 * timezone/zdump.c: Likewise.
6609 * timezone/zic.c: Likewise.
6610
a4ccbc9b
JM
6611 * sysdeps/unix/sysv/linux/kernel-features.h
6612 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6613 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6614 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6615 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6616 Remove conditional code.
6617
9aea0cb8
WN
66182014-06-25 Will Newton <will.newton@linaro.org>
6619
6620 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6621 (_dl_arm_cap_flags): Add HWCAP2 values.
6622 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6623 (_DL_HWCAP_COUNT): Increase to 37.
6624 (_DL_HWCAP_LAST): New define.
6625 (_DL_HWCAP2_LAST): New define.
6626 (_dl_procinfo): Add support for printing
6627 AT_HWCAP2 entries.
6628 (_dl_string_hwcap): Use _dl_hwcap_string.
6629
6eaa65ce
AZ
66302014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6631
6632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6633
0f5b7185
JM
66342014-06-25 Joseph Myers <joseph@codesourcery.com>
6635
cfd2ea50
JM
6636 * README: Do not mention ports directory.
6637
cecf2ed4
JM
6638 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6639 Remove macro.
6640 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6641 <kernel-features.h>.
6642 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6643 conditional variable definition.
6644 (__futimes): Update comment.
6645 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6646 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6647
a638de82
JM
6648 [BZ #16560]
6649 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6650 arguments close to 0.
6651 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6652 Likewise.
6653 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6654 Likewise.
6655 * math/auto-libm-test-in: Add more tests of exp10.
6656 * math/auto-libm-test-out: Regenerated.
6657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6658
0f5b7185
JM
6659 * sysdeps/unix/sysv/linux/kernel-features.h
6660 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6661 * sysdeps/unix/sysv/linux/readv.c: Do not include
6662 <kernel-features.h>.
6663 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6664 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6665 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6666 unconditional.
6667 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6668 conditional code.
6669 * sysdeps/unix/sysv/linux/writev.c: Do not include
6670 <kernel-features.h>.
6671 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6672 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6673 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6674 unconditional.
6675 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6676 conditional code.
6677
c7aec4be
WN
66782014-06-25 Will Newton <will.newton@linaro.org>
6679
6680 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6681 comment changes throughout the file. Remove checks
6682 for HAVE_*_H definitions that are not required.
6683 (__gen_tempname): Call abort if an unknown kind value is
6684 passed.
6685
c5241f95
AS
66862014-06-25 Andreas Schwab <schwab@suse.de>
6687
6688 [BZ #17086]
6689 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6690 scalbln, scalblnf, scalblnl in libc.
6691
911422da
SP
66922014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6693
6694 [BZ #17086]
6695 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6696 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6697 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6698
0d749bbe
RM
66992014-06-24 Roland McGrath <roland@hack.frob.com>
6700
6701 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6702 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6703 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6704 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6705 Update #include.
6706 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6707 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6708 Update #include.
6709 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6710 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6711 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6712 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6713 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6714 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6715 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6716 * sysdeps/x86/bits/semaphore.h: ... here.
6717 * sysdeps/x86/nptl/elide.h: Moved ...
6718 * sysdeps/x86/elide.h: ... here.
6719 * sysdeps/x86_64/nptl/Implies: File removed.
6720 * sysdeps/i386/nptl/Implies: File removed.
6721
0ea5d373
JM
67222014-06-24 Joseph Myers <joseph@codesourcery.com>
6723
4060283d
JM
6724 [BZ #16539]
6725 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6726 return the argument for normal arguments with exponent below -64.
6727 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6728 Likewise.
6729 * math/auto-libm-test-in: Add another test of expm1.
6730 * math/auto-libm-test-out: Regenerated.
6731
e7dd3c8c
JM
6732 [BZ #16287]
6733 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6734 calling __erfcl for arguments at least 16.
6735 * math/auto-libm-test-in: Add more tests of erf.
6736 * math/auto-libm-test-out: Regenerated.
6737
0ea5d373
JM
6738 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6739 individual architectures.
6740 * sysdeps/unix/sysv/linux/configure: Regenerated.
6741 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6742 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6743 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6744 (ldd_rewrite_script): Define variable.
6745 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6747 file.
6748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6749 generated file.
6750 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6751 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6752 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6753 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6754 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6755 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6756 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6757 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6758
2307e126
SP
67592014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6760
6761 [BZ #17084]
6762 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6763 Rename member __data.d to __data.__elision_data.
6764
c0a4ed77
W
67652014-06-24 Wilco <wdijkstr@arm.com>
6766
6767 * NEWS: Add 16918 to fixed bug list.
6768
b8c00573
W
67692014-06-24 Wilco <wdijkstr@arm.com>
6770
6771 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6772
b5570d92
W
67732014-06-24 Wilco <wdijkstr@arm.com>
6774
6775 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6776 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6777 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6778 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6779 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6780 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6781 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6782 Use _FPU_MASK_RM.
6783
947bdca2
W
67842014-06-24 Wilco <wdijkstr@arm.com>
6785
6786 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6787
00f669ed
W
67882014-06-24 Wilco <wdijkstr@arm.com>
6789
6790 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6791 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6792 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6793 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6794
db59bad3
W
67952014-06-24 Wilco <wdijkstr@arm.com>
6796
6797 [BZ #16918]
6798 * sysdeps/arm/feupdateenv.c (feupdateenv):
6799 Rewrite to reduce FPSCR accesses and fix return value.
6800
001f7b77
W
68012014-06-24 Wilco <wdijkstr@arm.com>
6802
6803 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6804 Optimize to avoid unnecessary FPSCR writes.
6805 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6806 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6807 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6808 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6809
4841e6a6
W
68102014-06-24 Wilco <wdijkstr@arm.com>
6811
6812 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6813 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6814 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6815 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6816 Call libc_fetestexcept_vfp.
6817 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6818 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6819 __SOFTFP__ ifdef so that they can be built for softfp.
6820
0813022c
SP
68212014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6822
08e5862f
SP
6823 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6824 argument type signed char.
6825
0813022c
SP
6826 * Makerules (check-abi): Dump diff of symlist if the test
6827 fails.
6828
3fc7236a
RM
68292014-06-23 Roland McGrath <roland@hack.frob.com>
6830
aba8ef95
RM
6831 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6832 using abort.
6833
3fc7236a
RM
6834 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6835 Remove unused variable ST.
6836
4da6db51
JM
68372014-06-23 Joseph Myers <joseph@codesourcery.com>
6838
4648909d
JM
6839 [BZ #16354]
6840 [BZ #17061]
6841 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6842 small arguments before calling __expm1.
6843 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6844 small arguments before calling __expm1f.
6845 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6846 small arguments before calling __expm1l.
6847 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6848 Likewise.
6849 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6850 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6851 spurious underflow for some cosh tests.
6852 * math/auto-libm-test-out: Regenerated.
6853 * sysdeps/i386/fpu/libm-test-ulps: Update.
6854
46a3d3c7
JM
6855 [BZ #17050]
6856 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6857 (__ieee754_y1): Set errno if return value overflows.
6858 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6859 (__ieee754_y1f): Set errno if return value overflows.
6860 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6861 (__ieee754_y1l): Set errno if return value overflows.
6862 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6863 (__ieee754_y1l): Set errno if return value overflows.
6864 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6865 * math/auto-libm-test-out: Regenerated.
6866
863893ec
JM
6867 * math/gen-auto-libm-tests.c: Document use of
6868 ignore-zero-inf-sign.
6869 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6870 (input_flags): Add ignore-zero-inf-sign.
6871 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6872 * math/gen-libm-test.pl (generate_testfile): Handle
6873 ignore-zero-inf-sign.
6874 * math/auto-libm-test-in: Mark some cpow tests with
6875 ignore-zero-inf-sign and some with xfail-rounding.
6876 * math/auto-libm-test-out: Regenerated.
6877 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6878 * sysdeps/i386/fpu/libm-test-ulps: Update.
6879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6880
4da6db51
JM
6881 [BZ #16315]
6882 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6883 overflowing or underflowing operations take place with sign of
6884 result.
6885 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6886 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6887 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6888 (__ieee754_pow): Recompute overflowing and underflowing results in
6889 original rounding mode.
6890 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6891 (__powl_helper): Allow negative argument X and scale negated value
6892 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6893 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6894 overflowing or underflowing operations take place with sign of
6895 result.
6896 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6897 Include <math.h>.
6898 * math/auto-libm-test-in: Add more tests of pow.
6899 * math/auto-libm-test-out: Regenerated.
6900 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6901 (pow_tonearest_test_data): Remove.
6902 (pow_test_tonearest): Likewise.
6903 (pow_towardzero_test_data): Likewise.
6904 (pow_test_towardzero): Likewise.
6905 (pow_downward_test_data): Likewise.
6906 (pow_test_downward): Likewise.
6907 (pow_upward_test_data): Likewise.
6908 (pow_test_upward): Likewise.
6909 (main): Don't call removed functions.
6910 * sysdeps/i386/fpu/libm-test-ulps: Update.
6911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6912
5686b236
RM
69132014-06-23 Roland McGrath <roland@hack.frob.com>
6914
6915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6916 Moved ...
6917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6919 Moved ...
6920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6922 Moved ...
6923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6925 Moved ...
6926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6928 File removed.
6929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6930 File removed.
6931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6932 File removed.
6933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6934 File removed.
6935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6936 File removed.
6937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6938 File removed.
6939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6940 File removed.
6941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6942 File removed.
6943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6944 File removed.
6945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6946 File removed.
6947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6948 File removed.
6949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6950 File removed.
6951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6952 Moved ...
6953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6955 Moved ...
6956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6957 ... here.
6958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6959 Moved ...
6960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6962 Moved ...
6963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6965 Moved ...
6966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6968 Moved ...
6969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6971 Moved ...
6972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6974 Moved ...
6975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6977 Moved ...
6978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6981 ... here.
6982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6983 Moved ...
6984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6986 Moved ...
6987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6988 ... here.
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6990 Moved ...
6991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6992 ... here.
6993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6994 Moved ...
6995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6996 ... here.
6997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6998 Moved ...
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7001 Moved ...
7002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7006 Moved ...
7007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7008 ... here.
7009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7010 Moved ...
7011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7012 ... here.
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7014 Moved ...
7015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7017 Moved ...
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7020 Moved ...
7021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7023 Moved ...
7024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7026 Moved ...
7027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7028 ... here.
7029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7030 Moved ...
7031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7033 Moved ...
7034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7036 Moved ...
7037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7039 Moved ...
7040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7044 Moved ...
7045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7047 Moved ...
7048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7050 Moved ...
7051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7052 ... here.
7053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7054 Moved ...
7055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7056 ... here.
7057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7058 Moved ...
7059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7060 ... here.
7061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7062 Moved ...
7063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7065 Moved ...
7066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7068 Moved ...
7069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7071 Moved ...
7072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7073 ... here.
7074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7075 Moved ...
7076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7077 ... here.
7078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7079 Moved ...
7080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7081 ... here.
7082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7083 Moved ...
7084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7086 Moved ...
7087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7088
e6d90d67
WD
70892014-06-23 Will Newton <will.newton@linaro.org>
7090 Wilco <wdijkstr@arm.com>
7091
7092 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7093 implementation. Include get-rounding-mode.h.
7094 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7095 [!libc_feholdsetround_noex_ctx]: Define
7096 libc_feholdsetround_noex_ctx.
7097 [!libc_feholdsetround_noexf_ctx]: Define
7098 libc_feholdsetround_noexf_ctx.
7099 [!libc_feholdsetround_noexl_ctx]: Define
7100 libc_feholdsetround_noexl_ctx.
7101 (libc_feholdsetround_ctx): New function.
7102 (libc_feresetround_ctx): New function.
7103 (libc_feholdsetround_noex_ctx): New function.
7104 (libc_feresetround_noex_ctx): New function.
7105
d42df555
RM
71062014-06-23 Roland McGrath <roland@hack.frob.com>
7107
88a46474
RM
7108 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7109 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7110 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7111 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7112 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7113 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7114
15bed472
RM
7115 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7116 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7117 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7118 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7119 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7120 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7121 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7122 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7123 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7124 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7125 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7126 Moved ...
7127 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7128 ... here.
7129 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7130 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7131 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7132 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7133 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7134 Moved ...
7135 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7136 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7137 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7138 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7139 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7140 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7141 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7142 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7143 Moved ...
7144 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7145 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7146 Moved ...
7147 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7148 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7149 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7150 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7151 Moved ...
7152 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7153 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7154 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7155 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7156 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7157 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7158 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7159 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7160 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7161 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7162 Moved ...
7163 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7164 ... here.
7165 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7166 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7167 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7168 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7169 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7170 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7171 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7172 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7173 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7174 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7175 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7176 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7177 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7178 Moved ...
7179 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7180 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7181 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7182 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7183 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7184 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7185 Moved ...
7186 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7187 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7188 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7189 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7190 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7191
d42df555
RM
7192 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7193 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7194 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7195 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7196 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7197 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7198 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7199 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7200 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7201 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7202 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7203 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7204 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7205 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7206 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7207 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7208 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7209 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7210 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7211 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7212 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7213 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7214 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7215 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7216 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7217 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7218 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7219 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7220
76e5216e
JM
72212014-06-23 Joseph Myers <joseph@codesourcery.com>
7222
7223 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7224 (FALLOC_FL_COLLAPSE_RANGE): New macro.
7225 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7226 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7227 (IPV6_PMTUDISC_INTERFACE): Likewise.
7228 (IPV6_PMTUDISC_OMIT): Likewise.
7229
7a81cbcc
AS
72302014-06-23 Andreas Schwab <schwab@suse.de>
7231
7232 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7233 Remove unused errout label.
7234
db224009
AZ
72352014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7236
7237 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7238 macro: hardware supports Vector Crypto instructions.
7239
f393b4aa
WN
72402014-06-23 Will Newton <will.newton@linaro.org>
7241
cc7d0447
WN
7242 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7243 rather than __builtin_expect.
7244
d6d06225
WN
7245 * elf/dl-lookup.c (undefined_msg): Remove variable.
7246 (_dl_lookup_symbol_x): Replace undefined_msg with string
7247 literal.
7248
f393b4aa
WN
7249 * elf/dl-lookup.c (do_lookup_unique): New function.
7250 (do_lookup_x): Move STB_GNU_UNIQUE handling code
7251 to a separate function.
7252
ac60763e
AS
72532014-06-23 Andreas Schwab <schwab@suse.de>
7254
7255 [BZ #17079]
7256 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7257 before reading the next line.
7258
c5c13355
WN
72592014-06-23 Will Newton <will.newton@linaro.org>
7260
7261 * test-skeleton.c (signal_handler): Use printf and %m
7262 rather than perror. Use printf rather than fprintf to
7263 stderr. Use puts rather than fputs to stderr.
7264 (main): Likewise.
7265
bd3675f9
LC
72662014-06-22 Ludovic Courtès <ludo@gnu.org>
7267
7268 * nscd/nscd.c (thread_info_t): Remove typedef.
7269 (thread_info): Remove variable.
7270
d03efb2f
AM
72712014-06-21 Allan McRae <allan@archlinux.org>
7272
7273 * NEWS: Mention CVE-2014-4043.
7274
bc4a86fa
RM
72752014-06-20 Roland McGrath <roland@hack.frob.com>
7276
dc9a54f8
RM
7277 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7278 * nptl/smp.h: ... here.
7279
bd7022c4
RM
7280 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7281
26ffd5e6
RM
7282 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7283 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7284 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7285 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7286
93a6d082
RM
7287 * nptl/allocatestack.c: Include <stack-aliasing.h>.
7288 * nptl/stack-aliasing.h: New file.
7289 * sysdeps/i386/i686/stack-aliasing.h: New file.
7290 * sysdeps/i386/i686/nptl/Makefile: File removed.
7291 * sysdeps/x86_64/stack-aliasing.h: New file.
7292 * sysdeps/x86_64/nptl/Makefile
7293 (CFLAGS-pthread_create.c): Variable removed.
7294
bc4a86fa
RM
7295 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7296 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7297 old file.
7298 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7299 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7300 old file.
7301
2272ffc1
JM
73022014-06-21 Joseph Myers <joseph@codesourcery.com>
7303
7304 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7305 (__ASSUME_SIGFRAME_V2): Remove macro.
7306 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7307 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7308 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7309 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7310 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7311 Declare as function. Remove conditional macro definitions.
7312 (__default_rt_sa_restorer): Likewise.
7313 (__default_sa_restorer_v1): Remove declaration.
7314 (__default_sa_restorer_v2): Likewise.
7315 (__default_rt_sa_restorer_v1): Likewise.
7316 (__default_rt_sa_restorer_v2): Likewise.
7317 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7318 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7319 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7320
4b88139b
RM
73212014-06-20 Roland McGrath <roland@hack.frob.com>
7322
7323 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7324 (libpthread-routines): Add sysdep.
7325 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7326 * sysdeps/unix/sysv/linux/sparc/Versions
7327 (libpthread: GLIBC_2.3.3): New version set.
7328 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7329 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7330 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7331 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7332 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
7333 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7334 Moved ...
7335 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7336 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7337 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7338 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7339 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7340 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7341 * sysdeps/sparc/nptl/sem_init.c: ... here.
7342 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7343 * sysdeps/sparc/nptl/sem_post.c: ... here.
7344 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7345 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7346 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7347 * sysdeps/sparc/nptl/sem_wait.c: ... here.
7348 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7349 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7350 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7351 (libpthread-routines): Add cpu_relax.
7352 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7353 File removed.
7354 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7355 (librt: GLIBC_2.3.3): New version set.
7356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7357 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7358 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7359 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7360 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7362 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7363 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7364 Moved ...
7365 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7366 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7367 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7369 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7371 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7372 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7373 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7374 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7375 Moved ...
7376 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7377 Update #include.
7378 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7379 Moved ...
7380 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7381 Update #include.
7382 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7383 Moved ...
7384 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7385 Update #include.
7386 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7387 Moved ...
7388 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7389 Update #include.
7390 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7391 Moved ...
7392 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7393 Update #include.
7394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7395 Moved ...
7396 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7397 Update #include.
7398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7399 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7400 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7402 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7403 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7404 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7405 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7407 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7408 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7409 Moved ...
7410 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7412 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7414 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7415
d7109027
JM
74162014-06-20 Joseph Myers <joseph@codesourcery.com>
7417
9bc6103d
JM
7418 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7419 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7420 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7421 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7422 * nscd/nscd.c: Likewise.
7423 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7424 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7425 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7426 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7427
d7109027
JM
7428 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7429 <kernel-features.h>.
7430 (init_mq_netlink): Remove conditional have_sock_cloexec
7431 definitions. Remove code conditional on have_sock_cloexec < 0.
7432 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7433 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7434 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7435 <kernel-features.h>.
7436 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7437 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7438
d92d8f8a
L
74392014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7440
7441 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7442 Add tests for memset_chk and memset.
7443
7444 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7445 with AVX2_Usable.
7446
4e6d2347
MR
74472014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7448
257ce712
MR
7449 [BZ #16046]
7450 * elf/tst-dl-iter-static.c: New file.
7451 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7452
4e6d2347
MR
7453 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7454 error.
7455
a2a76afe
JM
74562014-06-20 Joseph Myers <joseph@codesourcery.com>
7457
7fd00f99
JM
7458 * sysdeps/unix/sysv/linux/kernel-features.h
7459 (__ASSUME_F_GETOWN_EX): Remove macro.
7460 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7461 <kernel-features.h>.
7462 (miss_F_GETOWN_EX): Remove variable or macro.
7463 (do_fcntl): Do not check miss_F_GETOWN_EX.
7464 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7465
4a103975
JM
7466 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7467 Remove macro.
7468 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7469 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7470 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7471
a2a76afe
JM
7472 * sysdeps/unix/sysv/linux/kernel-features.h
7473 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7474 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7475 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7476 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7477
90e5dd48
MR
74782014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7479
7480 [BZ #17075]
7481 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7482 Fix calculation of the symbol's value.
7483 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7484 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7485 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7486 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7487 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7488 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7489 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7490 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7491 (modules-names): Add `tst-armtlsdescmod',
7492 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7493 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7494 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7495 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7496 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7497 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7498 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7499 ($(objpfx)tst-armtlsdescloc): New dependency.
7500 ($(objpfx)tst-armtlsdescextnow): Likewise.
7501 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7502 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7503 TLS scheme support.
7504 * sysdeps/arm/configure: Regenerate.
7505
809fdf0d
JM
75062014-06-20 Joseph Myers <joseph@codesourcery.com>
7507
7508 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7509 (__atfct_seterrno_2): Likewise.
7510 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7511 <kernel-features.h>.
7512 (__ASSUME_ATFCTS): Do not undefine and redefine.
7513 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7514 (__have_atfcts): Remove conditional definition.
7515 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7516 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7517 unreachable if [__ASSUME_ATFCTS].
7518 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7519 not undefine and redefine.
7520 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7521 <kernel-features.h>.
7522 (faccessat) [__NR_faccessat]: Make code unconditional.
7523 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7524 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7525 <kernel-features.h>.
7526 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7527 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7528 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7529 <kernel-features.h>.
7530 (fchownat) [__NR_fchownat]: Make code unconditional.
7531 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7532 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7533 <kernel-features.h>.
7534 (futimesat) [__NR_futimesat]: Make code unconditional.
7535 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7536 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7537 <kernel-features.h>.
7538 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7539 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7540 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7541 <kernel-features.h>.
7542 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7543 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7544 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7545 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7546 <kernel-features.h>.
7547 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7548 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7549 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7550 <kernel-features.h>.
7551 (linkat) [__NR_linkat]: Make code unconditional.
7552 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7553 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7554 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7555 <kernel-features.h>.
7556 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7557 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7558 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7559 <kernel-features.h>.
7560 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7561 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7562 * sysdeps/unix/sysv/linux/openat.c: Do not include
7563 <kernel-features.h>.
7564 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7565 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7566 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7567 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7568 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7569 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7570 <kernel-features.h>.
7571 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7572 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7573 result of INLINE_SYSCALL directly, not via int variable.
7574 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7575 <kernel-features.h>.
7576 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7577 (renameat) [__NR_renameat]: Make code unconditional.
7578 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7579 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7580 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7581 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7582 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7583 (__ASSUME_ATFCTS): Do not undefine and redefine.
7584 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7585 <kernel-features.h>.
7586 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7587 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7588 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7589 <kernel-features.h>.
7590 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7591 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7592 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7593 (__ASSUME_ATFCTS): Do not undefine and redefine.
7594 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7595 <kernel-features.h>.
7596 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7597 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7598 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7599 <kernel-features.h>.
7600 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7601 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7602
224c6c51
L
76032014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7604
7605 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7606
aa6ec754
AS
76072014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7608
7609 [BZ #17069]
7610 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7611 constructed tree before returning error.
7612 * posix/bug-regexp36.c: Expand test case.
7613
d8c2869d
SL
76142014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7615
3ef6b850
SL
7616 [BZ #6803]
7617 * math/libm-test.inc (scalbln_test_date):
7618 Add errno expectations.
7619 * math/w_scalblnf.c: New File.
7620 Add wrapper which checks for setting errno to ERANGE.
7621 Add weak_alias for corresponding scalbln function.
7622 * math/w_scalbln.c: Likewise.
7623 * math/w_scalblnl.c: Likewise.
7624 * math/Makefile (libm-calls): Add w_scalbln.
7625 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7626 Remove weak_alias for corresponding scalbln function.
7627 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7628 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7629 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7631 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7632 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7633 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7634 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7635 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7636 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7637 Remove long_double_symbol for scalblnl function in libm, libc.
7638 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7639 Add wrapper which checks for setting errno to ERANGE.
7640 Add long_double_symbol for scalblnl function in libm, libc.
7641 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7642 Remove long_double_symbol for scalblnl in libm.
7643 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7644 Add wrapper which checks for setting errno to ERANGE.
7645 Add long_double_symbol for scalblnl function in libm.
7646 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7647 Do not use wrapper because of own implementation.
7648
c8daec5c
L
76492014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7650
7651 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7652 3 bytes for __pad1 for x32.
7653 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7654
5c74e47c
LM
76552014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7656 H.J. Lu <hongjiu.lu@intel.com>
7657
7658 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7659 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7660 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7661 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7662 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7663
4d43ef1e
AS
76642014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7665
7666 [BZ #17069]
7667 * posix/regcomp.c (parse_expression): Deallocate partially
7668 constructed tree before returning error.
7669 * posix/Makefile.c (tests): Add bug-regex36.
7670 (generated): Add bug-regex36.mtrace.
7671 (tests-special): Add $(objpfx)bug-regex36-mem.out
7672 (bug-regex36-ENV): New variable.
7673 ($(objpfx)bug-regex36-mem.out): New rule.
7674 * posix/bug-regex36.c: New file.
7675
51a7380b
WN
76762014-06-19 Will Newton <will.newton@linaro.org>
7677
7678 * malloc/malloc.c (systrim): If extra is zero then return
7679 early.
7680
91b84fe5
SP
76812014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7682
7683 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7684
f940b965
RE
76852014-06-19 Richard Earnshaw <rearnsha@arm.com>
7686
7687 * sysdeps/aarch64/strchr.S: New file.
7688
4ba7a00f
JM
76892014-06-18 Joseph Myers <joseph@codesourcery.com>
7690
7691 [BZ #17022]
7692 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7693 from arguments -2 or below.
7694 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7695 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7696
b3a9f56b
AS
76972014-06-18 Andreas Schwab <schwab@suse.de>
7698
7699 [BZ #17062]
7700 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7701 of a bracket expr not to run off the end of the string.
7702 * posix/Makefile (tests): Add tst-fnmatch3.
7703 * posix/tst-fnmatch3.c: New file.
7704
85d89278
JM
77052014-06-18 Joseph Myers <joseph@codesourcery.com>
7706
7707 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7708 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7709 [$(cross-compiling) = no]: Likewise.
7710 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7711 [$(cross-compiling) = no]: Likewise.
7712
754c5a08
RS
77132014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7714
7715 [BZ #17031]
7716 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7717 double, adjusted for any remainder from the high double.
7718 * math/libm-test.inc (nearbyint): Add tests.
7719 (rint): Likewise.
7720
556f529d
AZ
77212014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7722
7723 * nptl/sysdeps/powerpc/Makefile: Moved ...
7724 * sysdeps/powerpc/nptl/Makefile: ... here.
7725 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7726 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7727 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7728 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7729 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7730 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7731 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7732 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7733 * nptl/sysdeps/powerpc/tls.h: Moved ...
7734 * sysdeps/powerpc/nptl/tls.h: ... here.
7735
91c03c53
JM
77362014-06-16 Joseph Myers <joseph@codesourcery.com>
7737
7738 [BZ #16681]
7739 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7740 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7741 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7742 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7743 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7744 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7745 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7746 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7747 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7748
a76e63c5
AS
77492014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7750
7751 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7752
f2f6d82f
AS
77532014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7754
ea8a15f6
AS
7755 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7756 defined operator.
7757
f2f6d82f
AS
7758 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7759 $TIMEOUTFACTOR.
7760
a7291117
FW
77612014-06-16 Florian Weimer <fweimer@redhat.com>
7762
7763 [BZ #17058]
7764 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7765 non-executed part of the test.
7766
3d7c00e3
AS
77672014-06-16 Andreas Schwab <schwab@suse.de>
7768
7769 * string/bits/string2.h (strdup, strndup): Update feature guard.
7770
6957fb31
DM
77712014-06-14 David S. Miller <davem@davemloft.net>
7772
7773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7774
11b9e55b
AS
77752014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7776
1d2a0492
AS
7777 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7778 that was previously under [RESET_PID].
7779 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7780
11b9e55b
AS
7781 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7782 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7783 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7784 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7785 (__libc_vfork): New strong alias.
7786 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7787
0f6901d0
AK
77882014-06-14 Andi Kleen <ak@linux.intel.com>
7789
7790 * sysdeps/generic/elide.h: New file.
7791
38bbbb9f
SL
77922014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7793
7794 * Makefile (installed-headers): Adjust path of pthread.h header.
7795
45193bb8
RM
77962014-06-13 Roland McGrath <roland@hack.frob.com>
7797
9a25fd1e
RM
7798 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7799 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7800 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7801 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7802
4004f7e4
RM
7803 * nptl/sysdeps/s390/Makefile: Moved ...
7804 * sysdeps/s390/nptl/Makefile: ... here.
7805 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7806 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7807 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7808 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7809 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7810 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7811 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7812 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7813 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7814 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7815 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7816 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7817 * nptl/sysdeps/s390/tls.h: Moved ...
7818 * sysdeps/s390/nptl/tls.h: ... here.
7819
45193bb8
RM
7820 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7821 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7822
f6fdf533
DM
78232014-06-13 David S. Miller <davem@davemloft.net>
7824
7825 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7826 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7827 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7828 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7829 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7831 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7832 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7833 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7834 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7835 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7836 Remove RESET_PID cpp guards.
7837 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7838 Remove RESET_PID cpp guards.
7839 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7840
f5d71e14
AS
78412014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7842
7843 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7844 __sp to uintptr_t.
7845
b7aa8caa
AK
78462014-06-13 Andi Kleen <ak@linux.intel.com>
7847
4b266200
AZ
7848 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7849 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7850 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7851 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7852 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7853 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7854 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7855 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7856 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7857 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7858 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7859 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7860 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7861 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7862 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7863 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7864 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7865 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7866 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7867 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
7868
7869 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
7870 (pthread_rwlock_rdlock): Add elision.
7871 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7872 (pthread_rwlock_wrlock): Add elision.
7873 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7874 (pthread_rwlock_trywrlock): Add elision.
7875 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7876 (pthread_rwlock_tryrdlock): Add elision.
7877 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7878 (pthread_rwlock_tryrdlock): Add elision unlock.
7879 * nptl/sysdeps/pthread/pthread.h:
7880 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7881 (PTHREAD_RWLOCK_INITIALIZER,
7882 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7883 Handle new elision field.
7884 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7885 * sysdeps/arm/nptl/bits/pthreadtypes.h
7886 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7887 * sysdeps/sh/nptl/bits/pthreadtypes.h
7888 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7889 * sysdeps/tile/nptl/bits/pthreadtypes.h
7890 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7891 * sysdeps/a/nptl/bits/pthreadtypes.h
7892 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7893 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7894 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7895 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7896 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7897 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7898 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7899 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7900 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7901 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7902 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7903 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7904 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7905 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7906 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7907 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7908 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7909 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7910 (elision_init): Set try_xbegin to zero when no RTM.
7911 * sysdeps/x86/nptl/bits/pthreadtypes.h
7912 (pthread_rwlock_t): Change __pad1 to __rwelision.
7913 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 7914
a832bdd3
AK
79152014-06-13 Andi Kleen <ak@linux.intel.com>
7916
7917 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7918 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7919 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7920 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7921
995a46bb
MI
79222014-06-13 Meador Inge <meadori@codesourcery.com>
7923
7924 [BZ #16996]
03ed7738 7925 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
7926 that the cached result has been set before returning it.
7927
45262aee
RM
79282014-06-12 Roland McGrath <roland@hack.frob.com>
7929
febf6cc5
RM
7930 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7931 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7932 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7933 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7934 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7935 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7936
e2682246
RM
7937 * nptl/sysdeps/sparc/Makefile: Moved ...
7938 * sysdeps/sparc/nptl/Makefile: ... here.
7939 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7940 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7941 * nptl/sysdeps/sparc/tls.h: Moved ...
7942 * sysdeps/sparc/nptl/tls.h: ... here.
7943 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7944 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7945 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7946 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7947 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7948 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7949 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7950 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7951 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7952 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7953 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7954 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7955 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7956 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7957 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7958 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7959 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7960 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7961 Update #include.
7962 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7963 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7964 Update #include.
7965 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7966 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7967 Update #include.
7968 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7969 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7970 Update #include.
7971
b0725f43
RM
7972 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7973
b14368b8
RM
7974 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7975 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7976
c5620eb3
RM
7977 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7978 (struct list_links): Type removed.
7979 (struct thread_node, struct timer_node): Replace struct list_links
7980 with struct list_head.
7981 (list_unlink_ip): Likewise.
7982 * sysdeps/pthread/timer_routines.c
7983 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7984 (list_append, list_insbefore): Likewise.
7985 (list_init): Function removed.
7986 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
7987 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7988 * sysdeps/pthread/Makefile: ... here, new file.
7989
7990 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7991 * sysdeps/nptl/Implies: ... here.
7992 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7993 * nptl/sysdeps/pthread/list.h: Moved ...
7994 * include/list.h: ... here.
7995 * nptl/sysdeps/pthread/createthread.c: Moved ...
7996 * nptl/createthread.c: ... here.
7997 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7998 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7999 * nptl/pt-longjmp.c: ... here.
8000 * nptl/sysdeps/pthread/Makefile: Moved ...
8001 * sysdeps/nptl/Makefile: ... here.
8002 * nptl/sysdeps/pthread/Subdirs: Moved ...
8003 * sysdeps/nptl/Subdirs: ... here.
8004 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8005 * sysdeps/nptl/aio_misc.h: ... here.
8006 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8007 * sysdeps/nptl/bits/libc-lock.h: ... here.
8008 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8009 * sysdeps/nptl/bits/libc-lockP.h: ... here.
8010 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8011 * sysdeps/nptl/bits/stdio-lock.h: ... here.
8012 * nptl/sysdeps/pthread/configure: Moved ...
8013 * sysdeps/nptl/configure: ... here.
8014 * nptl/sysdeps/pthread/configure.ac: Moved ...
8015 * sysdeps/nptl/configure.ac: ... here.
8016 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8017 * sysdeps/nptl/gai_misc.h: ... here.
8018 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8019 * sysdeps/nptl/librt-cancellation.c: ... here.
8020 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8021 * sysdeps/nptl/malloc-machine.h: ... here.
8022 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8023 * sysdeps/nptl/pthread-functions.h: ... here.
8024 * nptl/sysdeps/pthread/pthread.h: Moved ...
8025 * sysdeps/nptl/pthread.h: ... here.
8026 * nptl/sysdeps/pthread/setxid.h: Moved ...
8027 * sysdeps/nptl/setxid.h: ... here.
8028 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8029 * sysdeps/nptl/sigfillset.c: ... here.
8030 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8031 * sysdeps/nptl/tcb-offsets.h: ... here.
8032 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8033 * sysdeps/nptl/tst-mqueue8x.c: ... here.
8034 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8035 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8036 * nptl/sysdeps/pthread/allocalim.h: Moved ...
8037 * sysdeps/pthread/allocalim.h: ... here.
8038 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8039 * sysdeps/pthread/bits/sigthread.h: ... here.
8040 * nptl/sysdeps/pthread/flockfile.c: Moved ...
8041 * sysdeps/pthread/flockfile.c: ... here.
8042 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8043 * sysdeps/pthread/ftrylockfile.c: ... here.
8044 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8045 * sysdeps/pthread/funlockfile.c: ... here.
8046 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8047 * sysdeps/pthread/posix-timer.h: ... here.
8048 * nptl/sysdeps/pthread/timer_create.c: Moved ...
8049 * sysdeps/pthread/timer_create.c: ... here.
8050 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8051 * sysdeps/pthread/timer_delete.c: ... here.
8052 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8053 * sysdeps/pthread/timer_getoverr.c: ... here.
8054 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8055 * sysdeps/pthread/timer_gettime.c: ... here.
8056 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8057 * sysdeps/pthread/timer_routines.c: ... here.
8058 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8059 * sysdeps/pthread/timer_settime.c: ... here.
8060 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8061 * sysdeps/pthread/tst-timer.c: ... here.
8062 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8063 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8064
e876b090
RM
8065 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8066 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8067
f6b07b3d
RM
8068 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8069 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8070 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8071 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8072 Update #include target.
8073 * nptl/sysdeps/i386/i686/Makefile: Moved ...
8074 * sysdeps/i386/i686/nptl/Makefile: ... here.
8075 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8076 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8077 Update #include target.
8078 * nptl/sysdeps/i386/i686/tls.h: Moved ...
8079 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
8080 * nptl/sysdeps/i386/Makefile: Moved ...
8081 * sysdeps/i386/nptl/Makefile: ... here.
8082 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8083 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8084 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8085 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8086 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8087 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8088 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8089 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8090 * sysdeps/i386/nptl/pthreaddef.h: ... here.
8091 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8092 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8093 * nptl/sysdeps/i386/tls.h: Moved ...
8094 * sysdeps/i386/nptl/tls.h: ... here.
8095
45262aee
RM
8096 * sysdeps/sh/Makefile [$(subdir) = csu]
8097 (gen-as-const-headers): Add tcb-offsets.sym.
8098 * nptl/sysdeps/sh/Makefile: File removed.
8099 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8100 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8101 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8102 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8103 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8104 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8105 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8106 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8107 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8108 * sysdeps/sh/nptl/pthreaddef.h: ... here.
8109 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8110 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8111 * nptl/sysdeps/sh/tls.h: Moved ...
8112 * sysdeps/sh/nptl/tls.h: ... here.
8113 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8114 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8115 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8116 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8117 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8118 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8119 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8120 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8121 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8122 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8123 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8124 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8125 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8126 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8127 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8128 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8129 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8130 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8131 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8132 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8133 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8134 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8135 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8136 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8137 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8138 Moved ...
8139 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8140 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8141 Moved ...
8142 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8143 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8144 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8145 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8146 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8147 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8148 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8149 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8150 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8151 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8152 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8153 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8154 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8155 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8156 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8157 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8158 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8159 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8160 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8161
35a5e3e3
SL
81622014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8163
8164 * posix/spawn_faction_addopen.c: Include string.h.
8165
14642b85
RM
81662014-06-11 Roland McGrath <roland@hack.frob.com>
8167
8168 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8169 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8170 * nptl/sysdeps/x86_64/Makefile: Moved ...
8171 * sysdeps/x86_64/nptl/Makefile: ... here.
8172 * nptl/sysdeps/x86_64/configure: Moved ...
8173 * sysdeps/x86_64/nptl/configure: ... here.
8174 * nptl/sysdeps/x86_64/configure.ac: Moved ...
8175 * sysdeps/x86_64/nptl/configure.ac: ... here.
8176 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8177 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8178 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8179 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8180 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8181 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8182 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8183 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8184 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8185 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8186 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8187 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8188 * nptl/sysdeps/x86_64/tls.h: Moved ...
8189 * sysdeps/x86_64/nptl/tls.h: ... here.
8190 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8191 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8192 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8193 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8194
8195 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8196
31c44fea
AZ
81972014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8198
8199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8200
e81a4f9a
JM
82012014-06-11 Joseph Myers <joseph@codesourcery.com>
8202
8203 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8204 type.
8205 [POSIX] (off_t): Likewise.
8206 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8207 [POSIX] (S_ISBLK): Require macro.
8208 [POSIX] (S_ISCHR): Likewise.
8209 [POSIX] (S_ISDIR): Likewise.
8210 [POSIX] (S_ISFIFO): Likewise.
8211 [POSIX] (S_ISREG): Likewise.
8212 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8213 optional-macro.
8214 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8215 type.
8216 [POSIX] (time_t): Likewise.
8217 [POSIX] (timer_t): Likewise.
8218
89e435f3
FW
82192014-06-11 Florian Weimer <fweimer@redhat.com>
8220
8221 [BZ #17048]
8222 * posix/spawn_int.h (struct __spawn_action): Make the path string
8223 non-const to support deallocation.
8224 * posix/spawn_faction_addopen.c
8225 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8226 * posix/spawn_faction_destroy.c
8227 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
8228 path in all spawn_do_open actions.
8229 * posix/tst-spawn.c (do_test): Exercise the copy operation in
8230 posix_spawn_file_actions_addopen.
8231
c3a2ebe1
CM
82322014-06-11 Chris Metcalf <cmetcalf@tilera.com>
8233
8234 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8235 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8236 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8237 conditional code always true.
8238 (__libc_vfork): New alias.
8239
9503784a
RM
82402014-06-11 Roland McGrath <roland@hack.frob.com>
8241
c9cab3d2
RM
8242 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8243 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8244
d3996c79
RM
8245 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8246
ba5ec611
RM
8247 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8248 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8249
f12b4814
RM
8250 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8251 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8252
9503784a
RM
8253 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8254 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8255
e23d3d26
VR
82562014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8257
8258 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8259 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8260 multiarch strcmp for PPC64.
8261 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8262 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8264 multiarch optimizations.
8265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8266 (__libc_ifunc_impl_list): Likewise.
8267
42b1161e
SP
82682014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8269
8270 * benchtests/scripts/validate_benchout.py: New script.
8271 * benchtests/Makefile (bench-func): Call it.
8272 * benchtests/scripts/benchout.schema.json: New file.
8273
2d0fc4dc
CM
82742014-06-10 Chris Metcalf <cmetcalf@tilera.com>
8275
4a594c34
AZ
8276 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8277 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8278 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8279 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8280 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8281 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8282 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8283 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8284 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8285 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8286 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8287 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8288 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8289 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8290 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8291 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 8293 Moved ...
4a594c34 8294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 8295 ... here.
4a594c34 8296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 8297 Moved ...
4a594c34
AZ
8298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 8300 Moved ...
4a594c34 8301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 8302 ... here.
4a594c34 8303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 8304 Moved ...
4a594c34 8305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 8306 ... here.
4a594c34 8307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 8308 Moved ...
4a594c34
AZ
8309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 8311 Moved ...
4a594c34 8312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 8313 ... here.
4a594c34 8314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 8315 Moved ...
4a594c34 8316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 8317 ... here.
4a594c34 8318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 8319 Moved ...
4a594c34
AZ
8320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 8322 Moved ...
4a594c34 8323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 8324 ... here.
4a594c34 8325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 8326 Moved ...
4a594c34 8327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 8328 ... here.
4a594c34 8329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 8330 Moved ...
4a594c34 8331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 8332 ... here.
4a594c34 8333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 8334 Moved ...
4a594c34
AZ
8335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 8337 Moved ...
4a594c34 8338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 8339 ... here.
4a594c34 8340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 8341 Moved ...
4a594c34 8342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 8343 ... here.
4a594c34 8344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 8345 Moved ...
4a594c34 8346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 8347 ... here.
4a594c34 8348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 8349 Moved ...
4a594c34
AZ
8350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 8352 Moved ...
4a594c34 8353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 8354 ... here.
4a594c34 8355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 8356 Moved ...
4a594c34 8357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 8358 ... here.
4a594c34 8359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 8360 Moved ...
4a594c34
AZ
8361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 8363 Moved ...
4a594c34 8364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 8365 ... here.
4a594c34 8366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 8367 Moved ...
4a594c34
AZ
8368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 8370 Moved ...
4a594c34
AZ
8371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 8373 Moved ...
4a594c34 8374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 8375 ... here.
4a594c34 8376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 8377 Moved ...
4a594c34 8378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 8379 ... here.
4a594c34 8380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 8381 Moved ...
4a594c34 8382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 8383 ... here.
4a594c34 8384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 8385 Moved ...
4a594c34
AZ
8386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 8388 Moved ...
4a594c34 8389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 8390 ... here.
4a594c34 8391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 8392 Moved ...
4a594c34 8393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 8394 ... here.
4a594c34
AZ
8395 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8396 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8397 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8398 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8399 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 8400 Moved ...
4a594c34 8401 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 8402 ... here.
4a594c34
AZ
8403 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8404 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8405 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8406 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8407 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8408 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8409 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8410 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8411 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8412 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8413 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8414 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8415 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 8416 Moved ...
4a594c34
AZ
8417 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8418 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 8419 Moved ...
4a594c34
AZ
8420 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8421 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8422 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8423 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 8424 Moved ...
4a594c34
AZ
8425 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8426 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8427 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8428 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8429 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8430 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8431 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 8432
0570cfed
W
84332014-06-10 Wilco <wdijkstr@arm.com>
8434
8435 * math/test-fenv-return.c: New file.
8436 * math/Makefile: Add new test test-fenv-return.
8437
f8ba1b56
JM
84382014-06-10 Joseph Myers <joseph@codesourcery.com>
8439
8440 [BZ #17042]
8441 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8442 when x - 1 is zero.
8443 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8444 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8445 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8446 0.0L for an argument of 1.0L.
8447 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8448 Likewise.
8449 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8450 value when x - 1 is zero.
8451 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8452 * sysdeps/i386/fpu/libm-test-ulps: Update.
8453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8454
2c3520d9
BO
84552014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8456
8457 [BZ #15119]
8458 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8459
acaa4d24
RM
84602014-06-09 Roland McGrath <roland@hack.frob.com>
8461
8462 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8463 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8464
962b744d
RM
84652014-06-09 Roland McGrath <roland@hack.frob.com>
8466
d752f0cc
RM
8467 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8468 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8469
34eda6d1
RM
8470 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8471 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8472
50f0a637
RM
8473 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8474 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8475
08f41f04
RM
8476 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8477 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8478
962b744d
RM
8479 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8480 if not already defined.
8481 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8482 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8483 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8484 (TLS_INIT_TP): Use it.
8485 (TLS_DEFINE_INIT_TP): New macro.
8486 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8487
09f19b05
JM
84882014-06-09 Joseph Myers <joseph@codesourcery.com>
8489
8490 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8491 constant.
8492 [POSIX] (IXANY): Likewise.
8493 [POSIX] (OLCUC): Likewise.
8494 [POSIX || POSIX2008] (CBAUD): Do not allow.
8495 [POSIX || POSIX2008] (DEFECHO): Likewise.
8496 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8497 [POSIX || POSIX2008] (ECHOKE): Likewise.
8498 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8499 [POSIX || POSIX2008] (EXTA): Likewise.
8500 [POSIX || POSIX2008] (EXTB): Likewise.
8501 [POSIX || POSIX2008] (FLUSHO): Likewise.
8502 [POSIX || POSIX2008] (LOBLK): Likewise.
8503 [POSIX || POSIX2008] (PENDIN): Likewise.
8504 [POSIX || POSIX2008] (SWTCH): Likewise.
8505 [POSIX || POSIX2008] (VDISCARD): Likewise.
8506 [POSIX || POSIX2008] (VDSUSP): Likewise.
8507 [POSIX || POSIX2008] (VLNEXT): Likewise.
8508 [POSIX || POSIX2008] (VREPRINT): Likewise.
8509 [POSIX || POSIX2008] (VSTATUS): Likewise.
8510 [POSIX || POSIX2008] (VWERASE): Likewise.
8511 (B*): Change to B[0123456789]*.
8512 * conform/data/time.h-data [POSIX || UNIX98]
8513 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8514 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8515 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8516 [POSIX] (tm_*): Do not allow.
8517
686554bf
JM
85182014-06-07 Joseph Myers <joseph@codesourcery.com>
8519
8520 * Makefile (install): Don't set LANGUAGE.
8521 * Makefile.in (install): Likewise.
8522 * assert/Makefile (test-assert-ENV): Remove variable.
8523 (test-assert-perr-ENV): Likewise.
8524 * elf/Makefile (neededtest4-ENV): Likewise.
8525 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8526 [$(cross-compiling) = no]: Don't set LANGUAGE.
8527 * io/ftwtest-sh (LANG): Remove variable.
8528 * libio/Makefile (tst-widetext-ENV): Likewise.
8529 * manual/install.texi (Running make install): Don't refer to
8530 environment settings for make install.
8531 * INSTALL: Regenerated.
8532 * nptl/tst-tls6.sh: Don't set LANG.
8533 * posix/globtest.sh (LANG): Remove variable.
8534 * string/Makefile (tester-ENV): Likewise.
8535 (inl-tester-ENV): Likewise.
8536 (noinl-tester-ENV): Likewise.
8537 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8538 [$(cross-compiling) = no]: Don't set LANGUAGE.
8539 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8540 without explicit environment settings.
8541
68e6b6b1
RM
85422014-06-06 Roland McGrath <roland@hack.frob.com>
8543
8544 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8545 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8546 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8547 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8548
4d3ae034
CM
85492014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8550
8551 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8552 other files in the crypt directory.
8553 * crypt/crypt.c: Remove duplicate includes.
8554 * crypt/crypt-entry.c: Likewise.
8555 * crypt/crypt_util.c: Likewise.
8556
8540f6d2
JM
85572014-06-06 Joseph Myers <joseph@codesourcery.com>
8558
8559 * Makeconfig (run-program-env): New variable.
8560 (run-program-prefix-before-env): Likewise.
8561 (run-program-prefix-after-env): Likewise.
8562 (run-program-prefix): Define in terms of new variables.
8563 (built-program-cmd-before-env): New variable.
8564 (built-program-cmd-after-env): Likewise.
8565 (built-program-cmd): Define in terms of new variables.
8566 (test-program-prefix-before-env): New variable.
8567 (test-program-prefix-after-env): Likewise.
8568 (test-program-prefix): Define in terms of new variables.
8569 (test-program-cmd-before-env): New variable.
8570 (test-program-cmd-after-env): Likewise.
8571 (test-program-cmd): Define in terms of new variables.
8572 * Rules (make-test-out): Use $(run-program-env).
8573 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8574 (help): Do not mention environment variables. Mention
8575 --timeoutfactor option.
8576 (timeoutfactor): New variable.
8577 (blacklist_exports): Remove function.
8578 (exports): Remove variable.
8579 (command): Do not include ${exports}.
8580 * manual/install.texi (Configuring and compiling): Do not mention
8581 test wrappers preserving environment variables. Mention that last
8582 assignment to a variable must take precedence.
8583 * INSTALL: Regenerated.
8584 * benchtests/Makefile (run-bench): Use $(run-program-env).
8585 * catgets/Makefile ($(objpfx)test1.cat): Use
8586 $(built-program-cmd-before-env), $(run-program-env) and
8587 $(built-program-cmd-after-env).
8588 ($(objpfx)test2.cat): Do not specify environment variables
8589 explicitly.
8590 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8591 $(run-program-env) and $(built-program-cmd-after-env).
8592 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8593 $(run-program-env) and $(test-program-cmd-after-env).
8594 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8595 explicitly.
8596 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8597 run_program_env and test_program_cmd_after_env arguments.
8598 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8599 * elf/tst-pathopt.sh: Use run_program_env argument.
8600 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8601 $(test-wrapper-env) and $(run-program-env).
8602 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8603 run_program_env arguments.
8604 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8605 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8606 $(test-program-prefix-before-env), $(run-program-env) and
8607 $(test-program-prefix-after-env).
8608 ($(objpfx)tst-gettext2.out): Likewise.
8609 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8610 run_program_env and test_program_prefix_after_env arguments.
8611 * intl/tst-gettext2.sh: Likewise.
8612 * intl/tst-gettext4.sh: Do not set environment variables
8613 explicitly.
8614 * intl/tst-gettext6.sh: Likewise.
8615 * intl/tst-translit.sh: Likewise.
8616 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8617 $(test-program-prefix-before-env), $(run-program-env) and
8618 $(test-program-prefix-after-env).
8619 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8620 run_program_env and test_program_prefix_after_env arguments.
8621 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8622 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8623 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8624 explicitly with each use of ${test_wrapper_env}.
8625 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8626 $(test-program-prefix-before-env), $(run-program-env) and
8627 $(test-program-prefix-after-env).
8628 * posix/tst-getconf.sh: Do not set environment variables
8629 explicitly.
8630 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8631 run_program_env and test_program_prefix_after_env arguments.
8632 * stdio-common/tst-printf.sh: Do not set environment variables
8633 explicitly.
8634 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8635 $(test-program-prefix-before-env), $(run-program-env) and
8636 $(test-program-prefix-after-env).
8637 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8638 run_program_env and test_program_prefix_after_env arguments.
8639 Split $test calls into $test_pre and $test.
8640 * timezone/Makefile (build-testdata): Use
8641 $(built-program-cmd-before-env), $(run-program-env) and
8642 $(built-program-cmd-after-env).
8643
ed36bfa1
AZ
86442014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8645
8646 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8647 strlen for non SHARED builds.
8648
fc75bf46
SP
86492014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8650
8651 * nptl/allocatestack.c (check_list): Inlined function...
8652 (__reclaim_stacks): ... here.
8653
d89b3d80
OB
86542014-06-05 Ondřej Bílka <neleai@seznam.cz>
8655
8656 [BZ #15698]
8657 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8658 memory overrun.
8659
2bf18041
JM
86602014-06-05 Joseph Myers <joseph@codesourcery.com>
8661
8662 * Rules (make-test-out): Include
8663 LOCPATH=$(common-objpfx)localedata in default environment.
8664 * debug/Makefile (tst-chk1-ENV): Remove variable.
8665 (tst-chk2-ENV): Likewise.
8666 (tst-chk3-ENV): Likewise.
8667 (tst-chk4-ENV): Likewise.
8668 (tst-chk5-ENV): Likewise.
8669 (tst-chk6-ENV): Likewise.
8670 (tst-lfschk1-ENV): Likewise.
8671 (tst-lfschk2-ENV): Likewise.
8672 (tst-lfschk3-ENV): Likewise.
8673 (tst-lfschk4-ENV): Likewise.
8674 (tst-lfschk5-ENV): Likewise.
8675 (tst-lfschk6-ENV): Likewise.
8676 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8677 (tst-iconv7-ENV): Likewise.
8678 * intl/Makefile (LOCPATH-ENV): Likewise.
8679 (tst-codeset-ENV): Likewise.
8680 (tst-gettext3-ENV): Likewise.
8681 (tst-gettext5-ENV): Likewise.
8682 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8683 (tst-fopenloc-ENV): Likewise.
8684 (tst-fgetws-ENV): Remove variable.
8685 (tst-ungetwc1-ENV): Likewise.
8686 (tst-ungetwc2-ENV): Likewise.
8687 (bug-ungetwc2-ENV): Likewise.
8688 (tst-swscanf-ENV): Likewise.
8689 (bug-ftell-ENV): Likewise.
8690 (tst-fgetwc-ENV): Likewise.
8691 (tst-fseek-ENV): Likewise.
8692 (tst-ftell-partial-wide-ENV): Likewise.
8693 (tst-ftell-active-handler-ENV): Likewise.
8694 (tst-ftell-append-ENV): Likewise.
8695 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8696 (tst-regexloc-ENV): Likewise.
8697 (bug-regex1-ENV): Likewise.
8698 (tst-regex-ENV): Likewise.
8699 (tst-regex2-ENV): Likewise.
8700 (bug-regex5-ENV): Likewise.
8701 (bug-regex6-ENV): Likewise.
8702 (bug-regex17-ENV): Likewise.
8703 (bug-regex18-ENV): Likewise.
8704 (bug-regex19-ENV): Likewise.
8705 (bug-regex20-ENV): Likewise.
8706 (bug-regex22-ENV): Likewise.
8707 (bug-regex23-ENV): Likewise.
8708 (bug-regex25-ENV): Likewise.
8709 (bug-regex26-ENV): Likewise.
8710 (bug-regex30-ENV): Likewise.
8711 (bug-regex32-ENV): Likewise.
8712 (bug-regex33-ENV): Likewise.
8713 (bug-regex34-ENV): Likewise.
8714 (bug-regex35-ENV): Likewise.
8715 (tst-rxspencer-ENV): Likewise.
8716 (tst-rxspencer-no-utf8-ENV): Likewise.
8717 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8718 (tst-sscanf-ENV): Likewise.
8719 (tst-swprintf-ENV): Likewise.
8720 (tst-swscanf-ENV): Likewise.
8721 (test-vfprintf-ENV): Likewise.
8722 (scanf13-ENV): Likewise.
8723 (bug14-ENV): Likewise.
8724 (tst-grouping-ENV): Likewise.
8725 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8726 (tst-strtod3-ENV): Likewise.
8727 (tst-strtod4-ENV): Likewise.
8728 (tst-strtod5-ENV): Likewise.
8729 (testmb2-ENV): Likewise./
8730 * string/Makefile (tst-strxfrm-ENV): Likewise.
8731 (tst-strxfrm2-ENV): Likewise.
8732 (bug-strcoll1-ENV): Likewise.
8733 (test-strcasecmp-ENV): Likewise.
8734 (test-strncasecmp-ENV): Likewise.
8735 * time/Makefile (tst-strptime-ENV): Likewise.
8736 (tst-ftime_l-ENV): Likewise.
8737 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8738 (tst-mbrtowc-ENV): Likewise.
8739 (tst-wcrtomb-ENV): Likewise.
8740 (tst-mbrtowc2-ENV): Likewise.
8741 (tst-c16c32-1-ENV): Likewise.
8742 (tst-mbsnrtowcs-ENV): Likewise.
8743
cd1fb604
OB
87442014-06-05 Ondřej Bílka <neleai@seznam.cz>
8745
8746 * manual/resource.texi (How to get information about the memory
8747 subsystem?): Fix typo.
8748 Reported by Peon de la Parra Ivan <peon@keba.com>
8749
b42eca7d
GY
87502014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8751
8752 [BZ #16882]
8753 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8754 (pthread_spin_lock): Branch out of spin loop to proper location.
8755 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8756 (pthread_spin_lock): Likewise.
8757
902b71f9
DM
8758 * nptl/tst-spin4.c: New test.
8759 * nptl/Makefile (tests): Add tst-spin4.
8760
f9d2d032
AS
87612014-06-03 Andreas Schwab <schwab@suse.de>
8762
8763 [BZ #15946]
8764 * resolv/res_send.c (send_dg): Reload file descriptor after
8765 calling reopen.
8766
cf7bfd28
SL
87672014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8768
8769 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8770
111cc714
RH
87712014-06-03 Richard Henderson <rth@redhat.com>
8772
89b4bd6b
RH
8773 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8774 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8775 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8776 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8777 in the SAVE_PID block.
8778 (__libc_vfork): New alias.
71840409 8779 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 8780
111cc714
RH
8781 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8782 child in registers, not on the stack. Remove RESET_PID conditionals.
8783 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8784
ccc39911
MS
87852014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8786
8787 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8788
693096cc
W
87892014-06-03 Wilco <wdijkstr@arm.com>
8790
8791 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8792 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8793 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8794 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8795 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8796 Likewise.
8797
0b4366bc
W
87982014-06-03 Wilco <wdijkstr@arm.com>
8799
8800 * sysdeps/aarch64/fpu/math_private.h
8801 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8802 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8803 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8804 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8805 Fix declarations.
8806
8747cd03
KS
88072014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8808
8809 * crypt/crypt-private.h: Include ufc-crypt.h.
8810 (__b64_from_24bit): Declare extern.
8811 * crypt/crypt_util.c(__b64_from_24bit): New function.
8812 (b64t): New static const variable.
8813 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8814 (b64t): Remove variable.
8815 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8816 * crypt/sha256-crypt.c: Include crypt-private.h.
8817 (b64t): Remove variable.
8818 (__sha256_crypt_r): Remove b64_from_24bit and replace
8819 with __b64_from_24bit.
8820 * crypt/sha512-crypt.c: Likewise.
8821
d936d379
RM
88222014-06-02 Roland McGrath <roland@hack.frob.com>
8823
8824 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8825 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8826 Label the code __libc_vfork rather than __vfork.
8827 [!NOT_IN_libc] (vfork): Define as weak alias.
8828 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8829 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8830 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8831
9fa76613
SP
88322014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8833
8834 * malloc/malloc.c (malloc_info): Fix format specifier for
8835 n_mmaps.
8836
a88dadbe
W
88372014-06-02 Wilco <wdijkstr@arm.com>
8838
8839 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8840 FPCR write.
8841
c95b3011
W
88422014-06-02 Wilco <wdijkstr@arm.com>
8843
8844 [BZ #17009]
8845 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8846 Rewrite to reduce FPCR/FPSR accesses.
8847
6b4d7a90
DM
88482014-06-01 David S. Miller <davem@davemloft.net>
8849
8850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8851
30f3d07c
DM
88522014-05-31 David S. Miller <davem@davemloft.net>
8853
8854 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8855 to occur in round to nearest mode when |x| >= 2.0
8856
74f31c18
RH
88572014-05-30 Richard Henderson <rth@twiddle.net>
8858
f0712b54
RH
8859 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8860 (PSEUDO_RET_NOERRNO): Remove.
8861 (ret): Don't redefine.
8862 (ret_NOERRNO): Define in terms of ret.
8863 (ret_ERRVAL): Likewise.
8864
74f31c18
RH
8865 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8866 use of PSEUDO_RET; perform the error check directly.
8867
30477995
MM
88682014-05-30 Marko Myllynen <myllynen@redhat.com>
8869
8870 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8871 with __int128_t.
8872
62a58816
SP
88732014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8874
8875 * malloc/malloc (malloc_info): Fix formatting.
8876
4d653a59
SP
88772014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8878 Roland McGrath <roland@hack.frob.com>
8879
8880 * malloc/malloc (malloc_info): Also print mmapped statistics.
8881
5190c17f
RM
88822014-05-30 Roland McGrath <roland@hack.frob.com>
8883
8884 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8885 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8886
987c0269
OB
88872014-05-30 Ondřej Bílka <neleai@seznam.cz>
8888
8889 * malloc/malloc.c (malloc_info): Inline mi_arena.
8890
af4e8ef9
RH
88912014-05-29 Richard Henderson <rth@twiddle.net>
8892
1670e207
RH
8893 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8894 Remove comma before expanding ASM_ARGS_##nr.
8895 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8896 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8897 of ASM_ARGS_##nr.
8898 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8899 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8900 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8901 (ASM_ARGS_1): Add leading comma.
8902
11a28aee
RH
8903 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8904 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8905 to __errno_location.
8906 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8907 Remove the expected plt for __errno_location.
8908
a17e5ffb 8909 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 8910 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
8911 call to __read_tp.
8912
b5be4597
RH
8913 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8914 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8915 it and break it down.
8916 (DOCARGS_0, DOCARGS_1): Do nothing.
8917 (DOCARGS_2): Update to store into the new stack frame.
8918 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8919 (UNDOCARGS_1): Update to restore from the new stack frame.
8920 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8921 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8922
645d44ab
RH
8923 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8924 (SINGLE_THREAD_P): New parameter for result regno.
8925 (PSEUDO): Update to match; use cbz instead of beq.
8926
a8b4f04a
RH
8927 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8928 Use ENTRY to define the _nocancel entry point. Share the syscall
8929 and syscall error check paths with the cancel path.
8930 (PSEUDO_END): New.
8931
af4e8ef9
RH
8932 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8933 whitespace; tabs before and after asm mnemonics.
8934
26b0d2e1
EW
89352014-05-29 Eric Wong <normalperson@yhbt.net>
8936
8937 [BZ #15132]
8938 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8939 Call fstat64 or stat64 internally, depending on arguments passed.
8940 Replace stat buffer argument with file descriptor argument.
8941 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8942 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8943 Pass fd to __internal_statvfs instead of calling fstat64.
8944 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8945 Pass fd to __internal_statvfs64 instead of calling fstat64.
8946 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8947 Pass -1 to __internal_statvfs instead of calling stat64.
8948 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8949 Pass -1 to __internal_statvfs64 instead of calling stat64.
8950
1efe2bd9
RM
89512014-05-28 Roland McGrath <roland@hack.frob.com>
8952
0d3b7a19
RM
8953 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8954 that was previously under [RESET_PID].
8955 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8956
1efe2bd9
RM
8957 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8958 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8959
a6bea3ca
RM
89602014-05-27 Roland McGrath <roland@hack.frob.com>
8961
30b6629e
RM
8962 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8963
a6bea3ca
RM
8964 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8965 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8966
3dfb9a5c
OB
89672014-05-27 Ondřej Bílka <neleai@seznam.cz>
8968
8969 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8970
774f9285
AS
89712014-05-27 Andreas Schwab <schwab@suse.de>
8972
8973 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8974 TLS_INIT_TP macro.
8975 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8976 * elf/rtld.c (init_tls, dl_main): Likewise.
8977 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8978 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8979 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8980 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8981 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8982 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8983 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8984 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8985 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8986 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8987 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8988 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8989 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8990 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8991 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8992 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8993 * sysdeps/generic/tls.h: Update description.
8994
36ffe739
WN
89952014-05-27 Will Newton <will.newton@linaro.org>
8996
8997 [BZ #16990]
8998 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8999 and restore r2 rather than just restoring.
9000
2482ae43
SP
90012014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9002
9003 [BZ #16724]
9004 * libio/tst-ftell-append.c: New test case.
9005 * libio/Makefile (tests): Add test case.
9006 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9007 append mode.
9008 * libio/wfileops.c (do_ftell_wide): Likewise.
9009
3d1024e8
AZ
90102014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9011
bab90016
AZ
9012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9013
c7a8d667
AZ
9014 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9015 ...
9016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9018 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9019 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9020 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9021 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9022 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9023 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9024 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9025 Moved ...
9026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9027 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9028 Moved ...
9029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9030 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9031 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9032 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9033 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9034 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9035 ...
9036 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9037 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9038 Moved ...
9039 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9040 here.
9041 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9042 ...
9043 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9044 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9045 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9046
daee7851
AZ
9047 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9048 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9049 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9050 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9051
50a40819
AZ
9052 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9053 merge into ...
9054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9055 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9056 ...
9057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9058 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9059 ...
9060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9061 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9062 Moved ...
9063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9064 here.
9065 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9066 Moved ...
9067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9068 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9069 Moved ...
9070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9071
8464c2a1
AZ
9072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9073 conditional [RESET_PID].
9074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9075 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9076 removed.
9077 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9078 removed.
9079
3d1024e8
AZ
9080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9081 <tcb-offsets.h>.
9082 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9083 (__libc_vfork): New strong alias.
9084 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9085 removed.
9086 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9087 Removed.
9088
9089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9090 <tcb-offsets.h>.
9091 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9092 (__libc_vfork): New strong alias.
9093 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9094 removed.
9095 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9096 removed.
9097
fdfd175d
CD
90982014-05-26 Carlos O'Donell <carlos@redhat.com>
9099
9100 * malloc/malloc.c (mi_arena): New function.
9101 (malloc_info): Remove nested function mi_arena. Call non-nosted
9102 function mi_arena.
9103
d298c416
AZ
91042014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9105
9106 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9107 by insrwi.
9108 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9109 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9110 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9111 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9112 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9113 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9114 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9115
b60ea6ff
AS
91162014-05-26 Andreas Schwab <schwab@suse.de>
9117
9118 [BZ #16984]
9119 * locale/programs/repertoire.c (repertoire_read): Add slash
9120 between I18NPATH element and file name.
9121 * locale/programs/locfile.c (locfile_read): Likewise.
9122
67365926
SL
91232014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9124
9125 * nptl/pthread_mutexattr_settype.c
9126 (__pthread_mutexattr_settype):
9127 Disable lock elision for PTHREAD_MUTEX_NORMAL.
9128
f8bdf1f0
SL
91292014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9130
9131 * nptl/tst-mutex5 (do_test):
9132 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9133
15eaf6ff
SP
91342014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9135
9136 * benchtests/README: Document 'init' directive.
9137 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9138 BENCH_INIT.
9139 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9140 (parse_file): Recognize 'init' directive.
9141
75f11331
KM
91422014-05-26 Kyle McMartin <kyle@redhat.com>
9143
9144 [BZ #16796]
9145 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9146 alignment of struct pthread.
9147
c3ec475c
SP
91482014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9149
9150 [BZ #16878]
9151 * nscd/netgroupcache.c (addgetnetgrentX): Look for
9152 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9153 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9154 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9155
82aab97c
RH
91562014-05-25 Richard Henderson <rth@twiddle.net>
9157
aa2f176d
RH
9158 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9159 (SINGLE_THREAD_P_PIC): Remove.
9160 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9161 (SINGLE_THREAD_P_PIC): Remove.
9162
ca3cfa40
RH
9163 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9164 branch to syscall error ...
9165 (PSEUDO): ... here.
9166 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9167 from __local_syscall_error to .Lsyscall_error.
9168 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9169 (SYSCALL_ERROR): Update label name.
9170
6e6c2d01
RH
9171 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9172 Do not use DOARGS/UNDOARGS.
9173 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9174 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9175 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9176 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9177 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9178
c69abcee
RH
9179 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9180 block comment.
9181
82aab97c
RH
9182 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9183 define if !NOT_IN_libc.
9184 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9185 define with non-default symbol versions.
9186
8820e3ac
RH
91872014-05-23 Richard Henderson <rth@twiddle.net>
9188
900e445f
RH
9189 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9190 (vfork, __vfork): Define via compat_symbol.
9191
8820e3ac
RH
9192 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9193 [!HAVE_IFUNC] (vfork_compat): Remove.
9194 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9195
e59252a5
JM
91962014-05-23 Joseph Myers <joseph@codesourcery.com>
9197
9198 [BZ #16978]
9199 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9200 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9201 variable.
9202
132c7f5f
RH
92032014-05-23 Richard Henderson <rth@twiddle.net>
9204
bc89e962
RH
9205 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9206 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9207 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9208 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9209
9210 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9211 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9212 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9213 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9214 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9215 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9216 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9217 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9218 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9219 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9220 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9221 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9222 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9223 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9224 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9225 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9226 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9227 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9228 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9229 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9230 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9231 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9232 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9233 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9234 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9235 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9236 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9237 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9238 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9239 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9240 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9241 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9242 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9243 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9244 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9245 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9246 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9247 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9248 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9249 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9250 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9251 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9252 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9253 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9254 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9255 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9256 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9257 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9258 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9259 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9260 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9261 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9262 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9263 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9264 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9265 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9266
e2fa4bc2
RH
9267 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9268 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9269 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
9270 before exiting on error.
9271 (__libc_vfork): New strong alias.
9272 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9273 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9274
279b24e2
RH
9275 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9276 that was previously under [RESET_PID].
9277 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9278
132c7f5f
RH
9279 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9280
b72592e7
JM
92812014-05-23 Joseph Myers <joseph@codesourcery.com>
9282
9283 [BZ #16977]
9284 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9285 value when x - 1 is zero.
9286 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9287 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9288 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9289 0.0L for an argument of 1.0L.
9290 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9291 Likewise.
9292 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9293 value when x - 1 is zero.
9294 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9295 * sysdeps/i386/fpu/libm-test-ulps: Update.
9296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9297
2302d679
RV
92982014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9299
9300 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9301 alphasort and versionsort.
9302
32999d63
AZ
93032014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9304
9305 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9306 macro.
9307 [copysignf]: Likewise.
9308
019324d0
SP
93092014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9310
9311 * crypt/md5-crypt.c: Fix formatting.
9312
34fff5c2
KS
93132014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9314
9315 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9316 (b64_from_24bit): New function.
9317
3d2badac
AZ
93182014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9319
9320 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9321 libc_hidden_builtin_def to ifunc.
9322 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9323 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9324
f7bb179f 93252014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
9326
9327 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9328 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9329
4134b50d
JM
93302014-05-21 Joseph Myers <joseph@codesourcery.com>
9331
bb7d0337
JM
9332 * nscd/Depend (linuxthreads): Remove.
9333 (nptl): Add.
9334 * resolv/Depend (linuxthreads): Remove.
9335 * rt/Depend (linuxthreads): Remove.
9336
4134b50d
JM
9337 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9338 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9339 $(common-objpfx)elf/.
9340 (link-libc-before-gnulib): Likewise.
9341 (elfobjdir): Remove variable.
9342 * Makefile (install): Use $(elf-objpfx) instead of
9343 $(common-objpfx)elf/.
9344 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9345 $(elfobjdir)/.
9346 (link-libc-deps): Likewise.
9347 ($(common-objpfx)libc.so): Likewise.
9348 ($(common-objpfx)linkobj/libc.so): Likewise.
9349 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9350 instead of $(common-objpfx)elf/.
9351 (symbolic-link-list): Likewise.
9352 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9353 [$(cross-compiling) = no]: Likewise.
9354 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9355 $(elfobjdir)/.
9356 (static-gnulib-arch): Likewise.
9357 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9358 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9359 $(common-objpfx)elf/.
9360
3612eb8f
RH
93612014-05-21 Richard Henderson <rth@redhat.com>
9362
a6b3657b
RH
9363 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9364 (SINGLE_THREAD_P): Use the correct width load. Fold
9365 into the ldr offset.
9366
3612eb8f
RH
9367 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9368 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9369
175cef41
JM
93702014-05-20 Joseph Myers <joseph@codesourcery.com>
9371
9372 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9373 (libgcc_s_resume): Use __attribute_used__.
9374 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9375 Likewise.
9376
e13bccd3
AZ
93772014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9378
9379 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9380 optimization when used with float constants.
9381
7c112a38
AZ
9382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9383
ae75a883
AJ
93842014-05-20 Aurelien Jarno <aurelien@aurel32.net>
9385
9386 [BZ #16915]
9387 * locale/nl_langinfo_l.c: Make direct reference to every
9388 _nl_current_CATEGORY symbol.
9389 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9390 (tests-static): Add tst-langinfo-static.
9391 (tests-special): Add tst-langinfo-static.out.
9392 ($(objpfx)tst-langinfo.out): Redirect output.
9393 ($(objpfx)tst-langinfo-static.out): New.
9394 * localedata/tst-langinfo.sh: Send output to stdout.
9395 * localedata/tst-langinfo-static.c: New file.
9396
4406c41c
AJ
9397 [BZ #16965]
9398 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9399 when the shift amount is modulo the limb size.
9400
4c0a1e63
RH
94012014-05-20 Richard Henderson <rth@redhat.com>
9402
de9d8f20
RH
9403 [BZ #16967]
9404 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9405 Change type of sa_flags from unsigned int to int.
9406
4c0a1e63
RH
9407 [BZ #16966]
9408 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
9409
9410 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9411
a60339aa
WN
94122014-05-20 Will Newton <will.newton@linaro.org>
9413
9414 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9415 Test the return value of the system call in the nocancel case.
9416
7d05a816
YR
94172014-05-20 Will Newton <will.newton@linaro.org>
9418 Yvan Roux <yvan.roux@linaro.org>
9419
9420 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9421 #include of asm/ptrace.h.
9422 (PTRACE_GET_THREAD_AREA): Remove #undef.
9423 (PTRACE_GETHBPREGS): Likewise.
9424 (PTRACE_SETHBPREGS): Likewise.
9425 (struct user_regs_struct): New structure.
9426 (struct user_fpsimd_struct): New structure.
9427 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9428 #include of asm/ptrace.h and second #include of sys/user.h.
9429 (PTRACE_GET_THREAD_AREA): Remove #undef.
9430 (PTRACE_GETHBPREGS): Likewise.
9431 (PTRACE_SETHBPREGS): Likewise.
9432 (ELF_NGREG): Use new struct user_regs_struct.
9433 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9434
af121e37
AZ
94352014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9436
9437 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9438 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9439
834caf06
JM
94402014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9441
9442 [BZ #16958]
9443 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9444 membar to avoid block loads/stores to overlap previous stores.
9445
e184a918
RH
94462014-05-17 Richard Henderson <rth@redhat.com>
9447
9448 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9449 Create the __##syscall_name##_nocancel entry point.
9450 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9451 Remove; let the sysdep-cancel.h code create it.
9452
f56c7a6a
DM
94532014-05-17 David S. Miller <davem@davemloft.net>
9454
9455 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9456 Protect with __USE_GNU.
9457 (TIOCSET_TEMPT): Likewise.
9458 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9459 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9460 these are already provided in bits/ioctl-types.h
9461
f75616b2
RM
94622014-05-16 Roland McGrath <roland@hack.frob.com>
9463
3edeca86
RM
9464 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9465 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9466
f75616b2
RM
9467 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9468 Use wait4 regardless of [__NR_waitpid].
9469
deb0f7f6
MR
94702014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9471
9472 PR libgcc/60166
9473 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9474 (_FP_NANSIGN_Q): Set the quiet bit.
9475
79520f4b
JM
94762014-05-16 Joseph Myers <joseph@codesourcery.com>
9477
9478 * benchtests/Makefile
9479 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9480 not $(common-objpfx)math/libm.so.
9481 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9482 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9483 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9484 $(common-objpfx)dlfcn/libdl.so.
9485 ($(objpfx)tst-audit8): Depend on $(libm), not
9486 $(common-objpfx)math/libm.so.
9487 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9488 not $(common-objpfx)dlfcn/libdl.so.
9489 * math/Makefile
9490 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9491 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9492 [$(build-shared) = yes].
9493 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9494 $(common-objpfx)nptl/libpthread.so.
9495 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9496 $(common-objpfx)math/libm.so$(libm.so-version) or
9497 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9498 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9499 $(common-objpfx)dlfcn/libdl.so.
9500 * setjmp/Makefile (link-libm): Remove variable.
9501 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9502 * stdio-common/Makefile (link-libm): Remove variable.
9503 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9504 * stdlib/Makefile (link-libm): Remove variable.
9505 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9506 ($(objpfx)tst-strtod-round): Likewise.
9507 ($(objpfx)tst-tininess): Likewise.
9508 ($(objpfx)tst-strtod-underflow): Likewise.
9509 ($(objpfx)tst-strtod6): Likewise.
9510 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9511 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9512 $(common-objpfx)dlfcn/libdl.so.
9513
026b0fe4
AZ
95142014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9515
9516 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9517 BSD terminal modes definitions.
9518
def4bcb2
RM
95192014-05-16 Roland McGrath <roland@hack.frob.com>
9520
fe39b021
RM
9521 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9522 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9523
1d1fc46e 9524 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
9525 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9526 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9527 Don't do #include_next.
9528 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9529 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9530 Don't do #include_next.
9531 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9532 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9533 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9534 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9535
c72399fb
AM
95362014-05-16 Allan McRae <allan@archlinux.org>
9537
d51d659d
AM
9538 * po/sv.po: Update Swedish translation from translation project.
9539
c72399fb
AM
9540 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9541 in sed expression.
9542
d0583c40
AJ
95432014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9544
9545 [BZ #16917]
9546 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9547 errno if the TIOCGPTN ioctl fails with an error different than
9548 EINVAL.
9549 * login/tst-ptsname.c: New file.
9550 * login/Makefile (tests): Add tst-ptsname.
9551
d16e6ec7
AJ
9552 [BZ #16943]
9553 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9554 and prlimit64.
9555
cf26a0cb
SP
95562014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9557
9558 [BZ #16849]
9559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9560 herrno to return EAI_AGAIN.
9561
5675da1e
RM
95622014-05-14 Roland McGrath <roland@hack.frob.com>
9563
a5d87b3d
RM
9564 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9565 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9566 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9567 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9568 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9569 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9570 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9571 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9572 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9573 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9574 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9575 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9576 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9577 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9578 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9579 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9580 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9581 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9582 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9583 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9584 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9585 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9586 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9587 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9588 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9589 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9590 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9591 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9592 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9593 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9595 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9597 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9599 Moved ...
9600 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9602 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9604 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9606 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9608 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9610 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9612 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9614 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9616 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9618 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9620 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9622 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9624 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9626 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9628 Moved ...
9629 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9631 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9633 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9635 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9637 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9639 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9641 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9643 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9645 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9647 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9649 Moved ...
9650 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9652 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9653
039890a6
RM
9654 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9655 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9656 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9657 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9658 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9659 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9660 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9661 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9662 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9663 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9664 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9665 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9666 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9667 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9668 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9669 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9670 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9671 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9672 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9673 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9674 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9675 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9676 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9677 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9678 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9679 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9680 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9681 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9682 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9683 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9684 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9685
65c89320
RM
9686 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9687 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9688
348f8e8c
RM
9689 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9690 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9691 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9692 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9693 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9694 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9695 Moved ...
9696 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9697 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9698 Moved ...
9699 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9700 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9701 Moved ...
9702 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9703 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9704 Moved ...
9705 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9706 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9707 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9708 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9709 Moved ...
9710 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9711 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9712 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9713 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9714 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9715 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9716 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9717 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9718 Moved ...
9719 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9720 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9721 Moved ...
9722 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9723 ... here.
9724 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9725 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9726 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9727 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9728 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9729 Moved ...
9730 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9731 ... here.
9732 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9733 Moved ...
9734 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9735 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9736 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9737 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9738 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9739 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9740 Moved ...
9741 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9742 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9743 Moved ...
9744 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9745 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9746 Moved ...
9747 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9748 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9749 Moved ...
9750 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9751 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9752 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9753 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9754 Moved ...
9755 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9756 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9757 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9758 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9759 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9760 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9761 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9762 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9763 Moved ...
9764 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9765 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9766 Moved ...
9767 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9768 ... here.
9769 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9770 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9771 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9772 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9773 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9774 Moved ...
9775 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9776 ... here.
9777 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9778 Moved ...
9779 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9780 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9781 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9782 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9783 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9784 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9785 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9786 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9787 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9788 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9789 Moved ...
9790 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9791 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9792 Moved ...
9793 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9794 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9795 Moved ...
9796 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9797 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9798 Moved ...
9799 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9800 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9801 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9802 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9803 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9804 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9805 Moved ...
9806 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9807 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9808 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9809 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9810 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9811 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9812 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9813 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9814 Moved ...
9815 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9816 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9817 Moved ...
9818 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9819 ... here.
9820 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9821 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9822 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9823 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9824 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9825 Moved ...
9826 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9827 ... here.
9828 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9829 Moved ...
9830 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9831 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9832 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9833 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9834 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9835 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9836 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9837 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9838 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9839 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9840 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9841
5085af05
RM
9842 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9843 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9844
708f0813
RM
9845 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9846 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9847
c96067bc
RM
9848 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9849 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9850 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9851 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9852 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9853 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9854 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9855 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9856 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9857 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9858 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9859 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9860 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9861 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9862 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9863 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9864 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9865 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9866 Moved ...
9867 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9868 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9869 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9870 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9871 Moved ...
9872 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9873 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9874 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9875 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9876 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9877 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9878 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9879 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9880 Moved ...
9881 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9882 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9883 Moved ...
9884 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9885 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9886 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9887 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9888 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9889 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9890 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9891 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9892 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9893 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9894 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9895 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9896 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9897 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9898 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9899 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9900 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9901
ec136444
RM
9902 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9903 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9904 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9905 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9906 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9907
2fbdf533
RM
9908 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9909 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9910 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9911 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9912 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9913 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9914 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9915 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9916 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9917 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9918
4c68138b
RM
9919 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9920 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9921
4eaae765
RM
9922 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9923 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
9924 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9925 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9926 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9927 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9928 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9929 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9930 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9931 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9932 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9933 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9934 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9935 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9936 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9937 Update #include.
9938 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9939 Likewise.
9940 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9941 Likewise.
9942 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9943 Likewise.
9944 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9945 Likewise.
9946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9947 Likewise.
9948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9949 Likewise.
9950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9951 Likewise.
9952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9953 Likewise.
9954 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9955 Likewise.
4ef6befa
RM
9956 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9957 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9958 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9959 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9960 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
9961 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9962 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9963 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9964 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9965 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9966 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9967 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9968 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9969 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9970 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 9971
941d7dfd
RM
9972 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9973 that was previously under [RESET_PID].
9974 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9975 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9976 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9977
1b731c35
RM
9978 * sysdeps/i386/nptl/Implies: New file.
9979 * sysdeps/x86_64/nptl/Implies: New file.
9980 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9981 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9982 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9983 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9984
e2787137
RM
9985 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9986 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9987 (__libc_vfork): New strong alias.
9988 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9989 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9990
9991 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9992 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9993 (__libc_vfork): New strong alias.
9994 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9995 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9996
5675da1e
RM
9997 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9998 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9999 (__libc_vfork): New strong alias.
10000 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10001 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10002 * nptl/pt-vfork.c: New file.
10003 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10004 (libpthread: GLIBC_2.20): New version set (empty).
10005
4f02e2b8
WN
100062014-05-14 Will Newton <will.newton@linaro.org>
10007
10008 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10009 rather than #if.
10010
0bf061d3
JM
100112014-05-14 Joseph Myers <joseph@codesourcery.com>
10012
1a84c3d6
JM
10013 [BZ #16564]
10014 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10015 arguments with exponent 65 or above.
10016 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10017 arguments 0x1p113L or above.
10018 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10019 to arguments 0x1p107L or above.
10020 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10021 positive arguments with exponent 65 or above.
10022 * math/auto-libm-test-in: Add more tests of log1p.
10023 * math/auto-libm-test-out: Regenerated.
10024
01dbacd2
JM
10025 [BZ #16928]
10026 * math/s_cacos.c (__cacos): Ensure zero real part of result from
10027 non-finite arguments is +0.
10028 * math/s_cacosf.c (__cacosf): Likewise.
10029 * math/s_cacosl.c (__cacosl): Likewise.
10030 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10031 * sysdeps/i386/fpu/libm-test-ulps: Update.
10032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10033
913d03c8
JM
10034 [BZ #16927]
10035 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10036 value.
10037 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10038 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10039 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10040 for explicit high bit of mantissa when testing for argument equal
10041 to 1.
10042 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10043 * sysdeps/i386/fpu/libm-test-ulps: Update.
10044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10045
0bf061d3
JM
10046 [BZ #16516]
10047 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10048 (__erf): Scale by 16 instead of 8 in potentially underflowing
10049 case. Ensure exception if result actually underflows.
10050 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10051 (__erff): Scale by 16 instead of 8 in potentially underflowing
10052 case. Ensure exception if result actually underflows.
10053 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10054 (efx8): Remove variable.
10055 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10056 case. Ensure exception if result actually underflows.
10057 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10058 (efx8): Remove variable.
10059 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10060 case. Ensure exception if result actually underflows.
10061 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10062 (efx8): Remove variable.
10063 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10064 case. Ensure exception if result actually underflows.
10065 * math/auto-libm-test-in: Add more tests of erf.
10066 * math/auto-libm-test-out: Regenerated.
10067
73ba67cb
AS
100682014-05-14 Andreas Schwab <schwab@suse.de>
10069
3d8c8bff
AS
10070 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10071 Remove code conditionalized on USE___THREAD.
10072
73ba67cb
AS
10073 * config.h.in (HAVE_PT_CHOWN): Define as 0.
10074 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10075 not definedness.
10076
5c521ecd
JM
100772014-05-14 Joseph Myers <joseph@codesourcery.com>
10078
5e7698c6
JM
10079 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10080 Define unconditionally.
10081 (__ASSUME_O_CLOEXEC): Likewise.
10082 (__ASSUME_SOCK_CLOEXEC): Likewise.
10083 (__ASSUME_IN_NONBLOCK): Likewise.
10084 (__ASSUME_PIPE2): Likewise.
10085 (__ASSUME_EVENTFD2): Likewise.
10086 (__ASSUME_SIGNALFD4): Likewise.
10087 (__ASSUME_DUP3): Likewise.
10088 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10089 (__ASSUME_DUP3): Do not define.
10090 (__ASSUME_EVENTFD2): Likewise.
10091 (__ASSUME_IN_NONBLOCK): Likewise.
10092 (__ASSUME_O_CLOEXEC): Likewise.
10093 (__ASSUME_PIPE2): Likewise.
10094 (__ASSUME_SIGNALFD4): Likewise.
10095 (__ASSUME_SOCK_CLOEXEC): Likewise.
10096 (__ASSUME_UTIMES): Undefine.
10097 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10098 (__ASSUME_UTIMES): Do not define.
10099 (__ASSUME_O_CLOEXEC): Likewise.
10100 (__ASSUME_SOCK_CLOEXEC): Likewise.
10101 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10102 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10103 0x020621].
10104 (__ASSUME_PIPE2): Likewise.
10105 (__ASSUME_EVENTFD2): Likewise.
10106 (__ASSUME_SIGNALFD4): Likewise.
10107 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10108 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10109 Do not define.
10110 (__ASSUME_EVENTFD2): Likewise.
10111 (__ASSUME_SIGNALFD4): Likewise.
10112 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10113 (__ASSUME_32BITUIDS): Likewise.
10114 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10115 (__ASSUME_IPC64): Likewise.
10116 (__ASSUME_ST_INO_64_BIT): Likewise.
10117 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10118 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10119 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10120 (__ASSUME_UTIMES): Do not define.
10121 (__ASSUME_PSELECT): Likewise.
10122 (__ASSUME_PPOLL): Likewise.
10123 (__ASSUME_O_CLOEXEC): Likewise.
10124 (__ASSUME_SOCK_CLOEXEC): Likewise.
10125 (__ASSUME_IN_NONBLOCK): Likewise.
10126 (__ASSUME_PIPE2): Likewise.
10127 (__ASSUME_EVENTFD2): Likewise.
10128 (__ASSUME_SIGNALFD4): Likewise.
10129 (__ASSUME_DUP3): Likewise.
10130 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10131 (__ASSUME_UTIMES): Likewise.
10132 (__ASSUME_O_CLOEXEC): Likewise.
10133 (__ASSUME_SOCK_CLOEXEC): Likewise.
10134 (__ASSUME_IN_NONBLOCK): Likewise.
10135 (__ASSUME_PIPE2): Likewise.
10136 (__ASSUME_EVENTFD2): Likewise.
10137 (__ASSUME_SIGNALFD4): Likewise.
10138 (__ASSUME_DUP3): Likewise.
10139 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10140 (__ASSUME_UTIMES): Likewise.
10141 (__ASSUME_O_CLOEXEC): Likewise.
10142 (__ASSUME_SOCK_CLOEXEC): Likewise.
10143 (__ASSUME_IN_NONBLOCK): Likewise.
10144 (__ASSUME_PIPE2): Likewise.
10145 (__ASSUME_EVENTFD2): Likewise.
10146 (__ASSUME_SIGNALFD4): Likewise.
10147 (__ASSUME_DUP3): Likewise.
10148 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10149 Likewise.
10150 (__ASSUME_UTIMES): Likewise.
10151 (__ASSUME_EVENTFD2): Likewise.
10152 (__ASSUME_SIGNALFD4): Likewise.
10153 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10154 (__ASSUME_O_CLOEXEC): Likewise.
10155 (__ASSUME_SOCK_CLOEXEC): Likewise.
10156 (__ASSUME_IN_NONBLOCK): Likewise.
10157 (__ASSUME_PIPE2): Likewise.
10158 (__ASSUME_EVENTFD2): Likewise.
10159 (__ASSUME_SIGNALFD4): Likewise.
10160 (__ASSUME_DUP3): Likewise.
10161 (__ASSUME_UTIMES): Undefine.
10162
5c521ecd
JM
10163 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10164 feclearexcept. Remove symbol versioning code.
10165 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
10166 symbol versioning code.
10167 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
10168 symbol versioning code.
10169 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10170 feupdateenv. Remove symbol versioning code.
10171 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10172 fegetexceptflag. Remove symbol versioning code.
10173 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10174 fesetexceptflag. Remove symbol versioning code.
10175 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10176 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
10177 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10178 (__posix_fadvise64_l32): Remove prototype.
10179 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10180 code.
10181
5da9dfad
RM
101822014-05-13 Roland McGrath <roland@hack.frob.com>
10183
10184 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10185 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10186 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10187 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10188
893b4f37
SK
101892014-05-13 Sami Kerola <kerolasa@iki.fi>
10190
10191 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10192 current working directory
10193
e0db6517
RM
101942014-05-13 Roland McGrath <roland@hack.frob.com>
10195
58aa195d
RM
10196 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10197 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10198 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10199 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10200 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10201 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10202 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10203 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10204 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10205 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10206 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10207 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10208 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10209 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10210 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10211 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10212 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10213 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10214 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10215 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10216 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10217 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10218 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10219 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10220 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10221 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10222 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10223 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10224 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10225 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10226 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10227 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10228 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10229 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10230 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10231 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10232 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10233 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10234 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10235 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10236 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10237 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10238
8c6d01f0
RM
10239 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10240 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10241
10242 * sysdeps/unix/sysv/linux/arm/Makefile
10243 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10244 Add rt-aeabi_unwind_cpp_pr1.
10245 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10246 Add nptl-aeabi_unwind_cpp_pr1.
10247 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10248 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10249 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10250 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10251 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10252 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10253
10254 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10255 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10256 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10257 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10258
bba6da4e
RM
10259 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10260 Deconditionalize the code that was previously under [RESET_PID].
10261 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10262
e0db6517
RM
10263 * sysdeps/generic/exit-thread.h: New file.
10264 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10265 * include/unistd.h (__exit_thread): Remove declaration.
10266 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10267 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10268 * csu/libc-start.c: Include <exit-thread.h>.
10269 (LIBC_START_MAIN): Pass no argument to __exit_thread.
10270 * nptl/pthread_create.c: Include <exit-thread.h>.
10271 (start_thread): Call __exit_thread in place of __exit_thread_inline.
10272 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10273 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10274 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10275 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10276 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10277 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10278 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10279 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10280 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10281 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10282 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10283 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10284 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10285 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10286 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10287 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10288
01eb16fd
AS
102892014-05-13 Andreas Schwab <schwab@suse.de>
10290
10291 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10292
637461d9
JM
102932014-05-12 Joseph Myers <joseph@codesourcery.com>
10294
10295 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10296 (__ASSUME_UTIMES): Do not condition on kernel version.
10297 (__ASSUME_PSELECT): Define unconditionally.
10298 (__ASSUME_PPOLL): Likewise.
10299 (__ASSUME_ATFCTS): Likewise.
10300 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10301 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10302 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10303 (__ASSUME_UTIMENSAT): Define unconditionally.
10304 (__ASSUME_PRIVATE_FUTEX): Likewise.
10305 (__ASSUME_FALLOCATE): Likewise.
10306 (__ASSUME_O_CLOEXEC): Likewise.
10307 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10308 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10309 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10310 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10311 (__ASSUME_IN_NONBLOCK): Likewise.
10312 (__ASSUME_PIPE2): Likewise.
10313 (__ASSUME_EVENTFD2): Likewise.
10314 (__ASSUME_SIGNALFD4): Likewise.
10315 (__ASSUME_DUP3): Likewise.
10316 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10317 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10318 (__ASSUME_AT_RANDOM): Likewise.
10319 (__ASSUME_PREADV): Likewise.
10320 (__ASSUME_PWRITEV): Likewise.
10321 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10322 (__ASSUME_F_GETOWN_EX): Define unconditionally.
10323 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10324 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10325 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10326 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10327 (__ASSUME_O_CLOEXEC): Define unconditionally.
10328 (__ASSUME_PSELECT): Do not undefine conditionally.
10329 (__ASSUME_PPOLL): Likewise.
10330 (__ASSUME_ATFCTS): Likewise.
10331 (__ASSUME_SET_ROBUST_LIST): Likewise.
10332 (__ASSUME_UTIMENSAT): Likewise.
10333 (__ASSUME_FDATASYNC): Define unconditionally.
10334 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10335 (__ASSUME_SIGFRAME_V2): Likewise.
10336 )__ASSUME_EVENTFD2): Likewise.
10337 (__ASSUME_SIGNALFD4): Likewise.
10338 (__ASSUME_PSELECT): Do not undefine conditionally.
10339 (__ASSUME_PPOLL): Likewise.
10340 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10341 (__ASSUME_PSELECT): Define unconditionally.
10342 (__ASSUME_PPOLL): Likewise.
10343 (__ASSUME_O_CLOEXEC): Likewise.
10344 (__ASSUME_SOCK_CLOEXEC): Likewise.
10345 (__ASSUME_IN_NONBLOCK): Likewise.
10346 (__ASSUME_PIPE2): Likewise.
10347 (__ASSUME_EVENTFD2): Likewise.
10348 (__ASSUME_SIGNALFD4): Likewise.
10349 (__ASSUME_DUP3): Likewise.
10350 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10351 (__ASSUME_O_CLOEXEC): Likewise.
10352 (__ASSUME_SOCK_CLOEXEC): Likewise.
10353 (__ASSUME_IN_NONBLOCK): Likewise.
10354 (__ASSUME_PIPE2): Likewise.
10355 (__ASSUME_EVENTFD2): Likewise.
10356 (__ASSUME_SIGNALFD4): Likewise.
10357 (__ASSUME_DUP3): Likewise.
10358 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10359 (__ASSUME_EVENTFD2): Likewise.
10360 (__ASSUME_SIGNALFD4): Likewise.
10361 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10362
315eb1d8
AS
103632014-05-12 Andreas Schwab <schwab@suse.de>
10364
10365 [BZ #16932]
10366 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10367 (_nss_nis_gethostbyname4_r): Return error if item length is larger
10368 than maximum RPC packet size.
10369 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10370 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10371 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10372 (_nss_nis_getservbyport_r): Likewise.
10373
91df99f7
WN
103742014-05-12 Will Newton <will.newton@linaro.org>
10375
10376 * malloc/Makefile (tests): Add tst-mallopt.
10377 * malloc/tst-mallopt.c: New file.
10378
0a982a29
RM
103792014-05-09 Roland McGrath <roland@hack.frob.com>
10380
10381 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10382 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10383
0ded08a5
AZ
103842014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10385
10386 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10387 (tst-tlsmod6.so): Likewise.
10388
55d4d550
RM
103892014-05-09 Roland McGrath <roland@hack.frob.com>
10390
10391 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10392
77d08aca
JM
103932014-05-09 Joseph Myers <joseph@codesourcery.com>
10394
10395 [BZ #16064]
10396 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10397 and <dl-procinfo.h>.
10398 (__fegetenv): Save SSE state in envp->__eip if supported.
10399 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10400 envp->__eip if supported.
10401 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10402 and <dl-procinfo.h>.
10403 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10404 __data_offset and __data_selector in environment to 0. Set SSE
10405 state if supported.
10406 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10407 test-fenv-sse.
10408 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10409 -mfpmath=sse.
10410 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10411
28162f4d
WN
104122014-05-09 Will Newton <will.newton@linaro.org>
10413
10414 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10415 and libc_relro_required for ARM.
10416 * sysdeps/arm/preconfigure: Regenerate.
10417
5a414ff7
DV
104182014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10419 Stefan Liebler <stli@linux.vnet.ibm.com>
10420
10421 * config.make.in (enable-lock-elision): New Makefile variable.
10422 * configure.ac: Likewise.
10423 * configure: Regenerate.
10424 * sysdeps/s390/configure.ac:
10425 Add check for gcc transactions support.
10426 * sysdeps/s390/configure: Regenerate.
10427 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10428 Build elision files if enabled.
10429 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10430 Add lock elision support for s390.
10431 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10432 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10433 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10434 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10435 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10436 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10437 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10438 Likewise.
10439 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10440 Likewise.
10441 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10442 Likewise.
10443 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10444 Likewise.
10445 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10446 (__lll_timedlock_elision, __lll_lock_elision)
10447 (__lll_unlock_elision, __lll_trylock_elision)
10448 (lll_timedlock_elision, lll_lock_elision)
10449 (lll_unlock_elision, lll_trylock_elision): Add.
10450 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10451 (pthread_mutex_t): Add lock elision support for s390.
10452
1a2f40e5
W
104532014-05-14 Wilco <wdijkstr@arm.com>
10454
10455 * sysdeps/arm/fclrexcpt.c: Cleanup.
10456 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10457 * sysdeps/arm/feenablxcpt.c: Cleanup.
10458 * sysdeps/arm/fegetenv.c: Cleanup.
10459 * sysdeps/arm/fegetexcept.c: Cleanup.
10460 * sysdeps/arm/fegetround.c: Cleanup.
10461 * sysdeps/arm/feholdexcpt.c: Cleanup.
10462 * sysdeps/arm/fesetenv.c: Cleanup.
10463 * sysdeps/arm/fesetround.c: Cleanup.
10464 * sysdeps/arm/feupdateenv.c: Cleanup.
10465 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10466 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10467 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10468 * sysdeps/arm/ftestexcept.c: Cleanup.
10469 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10470 * sysdeps/arm/setfpucw.c: Cleanup.
10471
f63c86fe
WN
104722014-05-09 Will Newton <will.newton@linaro.org>
10473
10474 * sysdeps/arm/armv7/strcmp.S: New file.
10475 * NEWS: Mention addition of ARMv7 optimized strcmp.
10476
7a1a51b5
RM
104772014-05-08 Roland McGrath <roland@hack.frob.com>
10478
95afbbe5
RM
10479 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10480 look for %.ac rather than %.in.
10481
10482 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10483 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10484 * sysdeps/mach/hurd/configure: Regenerated.
10485 * sysdeps/unix/sysv/linux/configure: Regenerated.
10486
7a1a51b5
RM
10487 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10488
5057ad3b
SE
104892014-05-07 Steve Ellcey <sellcey@mips.com>
10490
10491 [BZ# 16922]
10492 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10493 (LONG_SUB): Ditto.
10494 (PTR_SUB): Ditto.
10495
8dc97517
AS
104962014-05-07 Andreas Schwab <schwab@suse.de>
10497
10498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10499 when skipping over non-matching result from nscd.
10500
ce0c5b8f
OB
105012014-05-07 Ondřej Bílka <neleai@seznam.cz>
10502
10503 [BZ #16876]
10504 * nptl/sockperf.c (client): Check socket return value.
8dc97517 10505
a1189263
OB
10506 [BZ #16877]
10507 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10508 nscd security class.
ce0c5b8f 10509
0f58d252
RM
105102014-05-06 Roland McGrath <roland@hack.frob.com>
10511
10512 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10513 * sysdeps/arm/unwind.h: ... here.
10514
83df9ad0
AJ
105152014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10516
ce0c5b8f
OB
10517 [BZ# 16916]
10518 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10519 Define.
83df9ad0 10520
f360f94a
VR
105212014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10522
10523 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10524 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10525 multiarch strncpy for PPC64.
10526 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10527 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10529 multiarch optimizations.
10530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10531 (__libc_ifunc_impl_list): Likewise.
10532 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10533 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10534 multiarch stpncpy for PPC64.
10535 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10536 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10537
978a41c3
AS
105382014-05-06 Andreas Schwab <schwab@suse.de>
10539
10540 [BZ #16912]
10541 * gmon/mcount.c (_MCOUNT_DECL): Use
10542 atomic_compare_and_exchange_bool_acq instead of
10543 catomic_compare_and_exchange_bool_acq.
10544
eb1ed03d
RM
105452014-05-05 Roland McGrath <roland@hack.frob.com>
10546
fe658845
RM
10547 * elf/Makefile (others, install-bin): Remove pldd.
10548 (pldd-modules): Variable removed.
10549 ($(objpfx)pldd): Target removed.
10550 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10551 (others, install-bin): Append pldd here.
10552 ($(objpfx)pldd): New target.
10553
eb1ed03d
RM
10554 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10555 to 0, so the first #if test emitted later doesn't see it undefined.
10556 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10557 * sysdeps/gnu/errlist.c: Regenerated.
10558
19c4bec0
AZ
105592014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10560
10561 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10562 [libc_hidden_builtin_def]: Define to empty value.
10563 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10564 [libc_hidden_builtin_def]: Likewise.
10565 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10566 [libc_hidden_builtin_def]: Likewise.
10567 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10568 [libc_hidden_builtin_def]: Likewise.
10569 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10570 __redirect_memcpy and define ifunc as default hidden symbol.
10571 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10572 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10573
7776e669
AC
105742014-05-04 Adam Conrad <adconrad@0c3.net>
10575
10576 * locale/iso-4217.def: Reintroduce XDR currency.
10577
d69aeb12
AM
105782014-05-04 Allan McRae <allan@archlinux.org>
10579
10580 * po/eo.po: Update Esperanto translation from translation project.
10581
8f1df5cf
CD
105822014-05-02 Carlos O'Donell <carlos@redhat.com>
10583
10584 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10585 and FEATURE_INDEX_MAX to 1.
10586 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10587
13e402e7
SE
105882014-05-01 Steve Ellcey <sellcey@mips.com>
10589
10590 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10591 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10592 * iconvdata/big5.c (ONE_DIRECTION): Define.
10593 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10594 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10595 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10596 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10597 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10598 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10599 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10600 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10601 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10602 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10603 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10604 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10605 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10606 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10607 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10608 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10609 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10610 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10611 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10612 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10613 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10614 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10615 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10616 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10617 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10618 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10619 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10620 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10621 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10622 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10623 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10624 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10625 * iconvdata/johab.c (ONE_DIRECTION): Define.
10626 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10627 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10628 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10629 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10630 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10631 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10632 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10633 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10634 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10635 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10636
c727f032
RM
106372014-05-01 Roland McGrath <roland@hack.frob.com>
10638
8f2f08d0
RM
10639 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10640 (_IO_JUMPS_OFFSET): Define to 0.
10641
c727f032
RM
10642 * nptl/sysdeps/pthread/bits/libc-lock.h
10643 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10644 (__libc_lock_define_initialized_recursive): Always define using
10645 initializer. Modern compilers treat uninitialized (implicit zero) and
10646 explicit zero initializers the same (i.e. put the datum in bss).
10647
a849e800
AS
106482014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10649
10650 * nscd/nscd-client.h: Include <string.h>.
10651
5331255b
DM
106522014-05-01 David S. Miller <davem@davemloft.net>
10653
10654 [BZ #16885]
10655 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10656 multiple zero bytes exist at the end of a string.
10657 Reported by Aurelien Jarno <aurelien@aurel32.net>
10658
10659 * string/test-strcmp.c (check): Add explicit test for situations where
10660 there are multiple zero bytes after the first.
10661
4fdfe821
AS
106622014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10663
10664 [BZ #16890]
10665 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10666 when compiling wprintf.
10667 * stdio-common/tstdiomisc.c (t3): New function.
10668 (main): Call it.
10669
0cdddc25
SE
106702014-05-01 Steve Ellcey <sellcey@mips.com>
10671
10672 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10673 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10674 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10675 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10676
6426d77e
SE
106772014-05-01 Steve Ellcey <sellcey@mips.com>
10678
10679 * stdlib/longlong.h: Updated from GCC.
10680
6d96f5e4
WN
106812014-05-01 Will Newton <will.newton@linaro.org>
10682 Bernard Ogden <bernie.ogden@linaro.org>
10683
7470db0c
WN
10684 * NEWS: Update fixed bug list.
10685
6d96f5e4
WN
10686 [BZ #15119]
10687 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10688
211d653c
DM
106892014-04-30 David S. Miller <davem@davemloft.net>
10690
4fa262fa
DM
10691 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10692 (libc_feholdexcept_setround_sparc_ctx): New function.
10693 (libc_fesetenv_sparc_ctx): Likewise.
10694 (libc_feupdateenv_sparc_ctx): Likewise.
10695 (libc_feholdsetround_sparc_ctx): Likewise.
10696 (libc_feholdexcept_setround_ctx): Define.
10697 (libc_feholdexcept_setroundf_ctx): Likewise.
10698 (libc_feholdexcept_setroundl_ctx): Likewise.
10699 (libc_fesetenv_ctx): Likewise.
10700 (libc_fesetenvf_ctx): Likewise.
10701 (libc_fesetenvl_ctx): Likewise.
10702 (libc_feupdateenv_ctx): Likewise.
10703 (libc_feupdateenvf_ctx): Likewise.
10704 (libc_feupdateenvl_ctx): Likewise.
10705 (libc_feresetround_ctx): Likewise.
10706 (libc_feresetroundf_ctx): Likewise.
10707 (libc_feresetroundl_ctx): Likewise.
10708 (libc_feholdsetround_ctx): Likewise.
10709 (libc_feholdsetroundf_ctx): Likewise.
10710 (libc_feholdsetroundl_ctx): Likewise.
10711
1d3d93ef
DM
10712 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10713 with __USE_GNU instead of XOPEN cpp guards.
10714
8aa583c3
DM
10715 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10716 0.
10717
211d653c
DM
10718 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10719 with XOPEN cpp guards.
10720
60c8f1f6
JB
107212014-04-30 Julian Brown <julian@codesourcery.com>
10722
10723 [BZ #16888]
10724 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10725 handling.
10726
9a461d46
JM
107272014-04-30 Joseph Myers <joseph@codesourcery.com>
10728
d0f5b3f8
JM
10729 [BZ #9894]
10730 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10731 Change to 2.6.32.
10732 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10733 * sysdeps/unix/sysv/linux/configure: Regenerated.
10734 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10735 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10736 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10737 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10738 * README: Update reference to required Linux kernel version.
10739 * manual/install.texi (Linux): Update reference to required Linux
10740 kernel headers version.
10741 * INSTALL: Regenerated.
10742
9a461d46
JM
10743 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10744 header inclusion.
10745 [POSIX] (limits.h): Likewise.
10746 [POSIX] (math.h): Likewise.
10747 [POSIX] (sys/wait.h): Likewise.
10748 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10749 function.
10750 [POSIX] (stddef.h): Do not allow header inclusion.
10751
1775babf
AZ
107522014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10753
57f41c40 10754 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 10755
8f630cca
YY
107562014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10757
10758 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10759 Return immediately after lll_futex_wake.
10760
1cdeb237
SP
107612014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10762
bc8f194c
SP
10763 [BZ #16791]
10764 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10765 structure.
10766 (datahead_init_pos): Call datahead_init_common early.
10767 (datahead_init_neg): Likewise.
10768
1cdeb237
SP
10769 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10770 datahead_init_neg): New functions.
10771 * nscd/aicache.c (addhstaiX): Use them.
10772 * nscd/grpcache.c (cache_addgr): Likewise.
10773 * nscd/hstcache.c (cache_addhst): Likewise.
10774 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10775 * nscd/netgroupcache.c (do_notfound): Likewise.
10776 (addgetnetgrentX): Likewise.
10777 (addinnetgrX): Likewise.
10778 * nscd/pwdcache.c (cache_addpw): Likewise.
10779 * nscd/servicescache.c (cache_addserv): Likewise.
10780
16b293a7
SP
107812014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10782 Atsushi Onoe <atsushi@onoe.org>
10783
10784 [BZ #14308]
10785 [BZ #12994]
10786 [BZ #13651]
10787 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10788 one response is valid.
10789 * resolv/res_send.c (send_dg): Check for validity of other
10790 response if the current response is a referral.
10791
a28a9b94
SE
107922014-04-29 Steve Ellcey <sellcey@mips.com>
10793
10794 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10795
2ca180e9
SL
107962014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10797
10798 [BZ #16823]
10799 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10800 Always divide by positive zero when computing -Inf result.
10801 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10802 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10803
18f2945a
AZ
108042014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10805
10806 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10807 FPSCR if value do not change.
10808 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10809 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10810 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10811 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10812 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10813 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10814 function.
10815
5abebba4
CD
108162014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10817
10818 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10819 * sysdeps/unix/sysv/linux/hppa: Move directory from
10820 ports/systeps/unix/sysv/linux/hppa.
10821 * README: Update listing for hppa-*-linux-gnu.
10822
f7ed60c2
OB
108232014-04-28 Ondřej Bílka <neleai@seznam.cz>
10824
fff763a5
OB
10825 [BZ #16754]
10826 * manual/stdio.texi (Hook functions): Fix types of stream hook
10827 functions.
f7ed60c2
OB
10828 [BZ #16854]
10829 * socket/sys/socket.h: Fix typo in comment.
10830
df639d73
WD
108312014-04-28 Wilco <wdijkstr@arm.com>
10832
f7ed60c2 10833 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
10834 * sysdeps/arm/math_private.h: New file.
10835 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10836
48332d82
L
108372014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10838
10839 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10840 with __int128_t.
10841 (La_x86_64_retval): Likewise.
10842
e5e0d9a4
IB
108432014-04-24 Ian Bolton <ian.bolton@arm.com>
10844
10845 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10846 fpsr if value didn't change.
10847 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10848 to fpcr if value didn't change.
10849 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10850 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10851 fpsr or fpcr if value didn't change.
10852 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10853 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10854 fpcr if value didn't change.
10855 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10856 to fpsr if value didn't change.
10857
bacc75f7
SP
108582014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10859
10860 * nptl/tst-sem3.c: Use test-skeleton.c
10861 (main): Rename to do_test. Use return instead of
10862 exit.
10863 * nptl/tst-sem4.c: Use test-skeleton.c
10864 (main): Rename to do_test.
10865
a059d359
DM
108662014-04-22 David S. Miller <davem@davemloft.net>
10867
10868 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10869 (struct sigaction): New struct member __glibc_reserved0, change
10870 type of sa_flags to int.
10871
ea6c92f3
YZ
108722014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10873
10874 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10875 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10876
766c4a36
SP
108772014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10878
10879 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10880 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10881
140cc7ab
VK
108822014-04-22 Will Newton <will.newton@linaro.org>
10883 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10884
10885 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10886 (__longjmp): Add longjmp and longjmp_target SystemTap
10887 probes.
10888 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10889 (__sigsetjmp): Add setjmp SystemTap probe.
10890
c54e5cf7
CD
108912014-04-17 Carlos O'Donell <carlos@redhat.com>
10892
10893 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10894 match manual order.
10895
75ffb047
AZ
108962014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10897
10898 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10899
2cd925f7
AZ
10900 * sysdeps/powerpc/fpu/fenv_private.h
10901 (libc_feholdexcept_setroundl_ctx): Define to
10902 libc_feholdexcept_setround_ppc_ctx.
10903 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10904 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10905 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10906 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10907
39e6cd8d
IB
109082014-04-17 Ian Bolton <ian.bolton@arm.com>
10909
10910 * sysdeps/aarch64/math-tests.h: New file.
10911
f9281df9
SY
109122014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10913
10914 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10915 New.
10916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10917 Check and set bit_AVX2_Usable.
10918 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10919 macro.
10920 (bit_AVX2): Likewise.
10921 (index_AVX2_Usable): Likewise.
10922 (CPUID_AVX2): Likewise.
10923 (HAS_AVX2): Likewise.
10924
37d35007
WN
109252014-04-17 Will Newton <will.newton@linaro.org>
10926
7c677662
WN
10927 * manual/setjmp.texi (System V contexts): Add note that
10928 calling setcontext on a context created by a call to a
10929 signal handler is undefined. Update text to note that
10930 setcontext from a signal handler is possible but not
10931 recommended.
10932
37d35007 10933 [BZ #16629]
e04a4e9d
WN
10934 * stdlib/tst-setcontext.c: Include signal.h.
10935 (main): Check that the signal stack before and
10936 after swapcontext is the same.
10937
37d35007
WN
10938 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10939 Re-implement to restore registers in user code and avoid
10940 rt_sigreturn system call.
10941
423a7160
W
109422014-04-17 Wilco <wdijkstr@arm.com>
10943
10944 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10945 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10946 * math/test-fenv.c: Skip exception trap tests on targets which only
10947 support non-stop mode.
10948
bc93ab29
IB
109492014-04-17 Ian Bolton <ian.bolton@arm.com>
10950 Wilco Dijkstra <wilco.dijkstra@arm.com>
10951
10952 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10953 (libc_feholdsetround_aarch64_ctx)
10954 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10955 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10956 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10957 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10958 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10959 (libc_feresetround_noexl_ctx): Define.
10960
95fc5fa3
RH
109612014-04-16 Richard Henderson <rth@redhat.com>
10962
ddb04724
RH
10963 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10964
d77c0899
RH
10965 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10966 unwind tables.
10967
a3df56fc
RH
10968 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10969 const from the non-libc, non-ldso copy.
10970
95fc5fa3
RH
10971 * sysdeps/alpha/libm-test-ulps: Regenerate.
10972
7e0b6763
IB
109732014-04-16 Ian Bolton <ian.bolton@arm.com>
10974 Wilco Dijkstra <wilco.dijkstra@arm.com>
10975
10976 * sysdeps/aarch64/fpu/math_private.h: New file.
10977
a9ea2e0c
MS
109782014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10979
10980 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10981
ea8ba7cd
IZ
109822014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10983
7e54fd04 10984 [BZ #16275]
ea8ba7cd
IZ
10985 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10986 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10987 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10988 Intel MPX bound registers before _dl_profile_fixup.
10989 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10990 registers after _dl_profile_fixup. Save and restore bound
10991 registers bnd0/bnd1 when calling _dl_call_pltexit.
10992 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10993 (LR_BND_OFFSET): Likewise.
10994 (LRV_BND0_OFFSET): Likewise.
10995 (LRV_BND1_OFFSET): Likewise.
10996
9f2a4fbc
ST
109972014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10998
10999 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11000 to...
11001 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
11002 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11003 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11004 fields.
9f2a4fbc 11005
fd15a59b
ST
110062014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11007
11008 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11009
f19dfa0a
SL
110102014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11011
11012 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11013
4fa8bc3b
SL
110142014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11015
11016 [BZ #14770]
11017 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11018 * sysdeps/s390/configure: Regenerate.
11019
8ea587db
SL
11020 [BZ #16824]
11021 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11022 Set round-to-nearest internally to reduce error accumulation.
11023
aa5f0ff1
AM
110242014-04-16 Alan Modra <amodra@gmail.com>
11025
11026 [BZ #16740]
11027 [BZ #16619]
11028 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11029 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 11030 * NEWS: Update fixed bug list.
aa5f0ff1 11031
bb9c256f
SP
110322014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11033
11034 * benchtests/Makefile: Depend on libraries in build directory.
11035 (bench-math): Separate out math tests.
11036 (bench-pthread): Separate out pthread tests.
11037 (bench): Include math and pthread tests.
11038
f737dfd0
CD
110392014-04-14 Carlos O'Donell <carlos@redhat.com>
11040
11041 [BZ #16831]
11042 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11043 _dl_debug_initialize.
11044
0699f766
CD
11045 * configure.ac: Remove SELinux header check.
11046 * configure: Regenerate.
11047 * nscd/selinux.c (perms): Array of const char* to permission names.
11048 (nscd_request_avc_has_perm): Call security_deny_unknown to find
11049 default policy. Call string_to_security_class and string_to_av_perm to
11050 translate strings. Enforce default policy and call avs_has_perm with
11051 results of translated strings.
11052
809bd45f
DM
110532014-04-13 David S. Miller <davem@davemloft.net>
11054
11055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11056
89e691f2
AM
110572014-04-12 Allan McRae <allan@archlinux.org>
11058
11059 [BZ #16838]
11060 * manual/string.texi (Collation Functions): Fix qsort argument
11061 order in example.
11062 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11063
9c9daaeb
CM
110642014-04-11 Chris Metcalf <cmetcalf@tilera.com>
11065
11066 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11067 Make the test a no-op if there are no exceptions defined.
11068
95561fb9
PP
110692014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
11070
fe8d072c 11071 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
11072 enable-hardcoded-path-in-tests
11073
970c602a
WN
110742014-04-11 Will Newton <will.newton@linaro.org>
11075
11076 * benchtests/Makefile (extra-objs): Add json-lib.o.
11077 (bench-func): Tidy up JSON output.
11078 * benchtests/bench-skeleton.c: Include json-lib.h.
11079 (main): Use JSON library functions to do output of
11080 benchmark results.
11081 * benchtests/bench-timing-type.c (main): Output the
11082 timing type simply, leaving formatting to the user.
11083 * benchtests/json-lib.c: New file.
11084 * benchtests/json-lib.h: Likewise.
11085
36875b06
TR
110862014-04-11 Torvald Riegel <triegel@redhat.com>
11087
11088 [BZ #15215]
11089 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11090 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
11091 memory barriers. Add comments.
11092 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11093 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11094 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11095 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11096 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11097 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11098
579db35a
SL
110992014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11100
11101 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11102 * sysdeps/s390/s390-64/configure.ac: ... this ...
11103 * sysdeps/s390/configure.ac: ... to here.
11104 * sysdeps/s390/s390-32/configure: Delete file.
11105 * sysdeps/s390/s390-64/configure: Delete file.
11106 * sysdeps/s390/configure: Regenerate.
11107
c12e9f37
JAPH
111082014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
11109
11110 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11111
439bda32
WN
111122014-04-11 Will Newton <will.newton@linaro.org>
11113
11114 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11115 to zero if it is not defined elsewhere. (mtrim): Test
11116 the value of MALLOC_DEBUG with #if rather than #ifdef.
11117
6a5d6ea1
TR
111182014-04-10 Torvald Riegel <triegel@redhat.com>
11119
11120 * benchtests/pthread_once-inputs: New file.
11121 * benchtests/pthread_once-source.c: New file.
11122 * benchtests/README: Update documentation.
11123
a4c75cfd
IZ
111242014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
11125 H.J. Lu <hongjiu.lu@intel.com>
11126
7e54fd04 11127 [BZ #16275]
a4c75cfd
IZ
11128 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11129 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11130 * sysdeps/x86_64/configure: Regenerated.
11131 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11132 macro.
11133 (REGISTER_SAVE_RAX): Likewise.
11134 (REGISTER_SAVE_RCX): Likewise.
11135 (REGISTER_SAVE_RDX): Likewise.
11136 (REGISTER_SAVE_RSI): Likewise.
11137 (REGISTER_SAVE_RDI): Likewise.
11138 (REGISTER_SAVE_R8): Likewise.
11139 (REGISTER_SAVE_R9): Likewise.
11140 (REGISTER_SAVE_BND0): Likewise.
11141 (REGISTER_SAVE_BND1): Likewise.
11142 (REGISTER_SAVE_BND2): Likewise.
11143 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
11144 bound registers when calling _dl_fixup.
11145
27822ce6
AZ
111462014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11147
11148 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
11149 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11150 of its definition.
27822ce6
AZ
11151 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11152 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11153 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11154 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11155 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11156 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11157 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11158
a88ddc90
PTB
111592014-04-09 Peter Brett <peter@peter-b.co.uk>
11160
11161 [BZ #15514]
11162 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11163 pathconf(_PC_NAME_MAX).
11164
01f8eac2
AZ
111652014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11166
11167 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11168 Remove macro usage.
11169 (__PTHREAD_SPINS): Move definition to ...
11170 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11171 (__PTHREAD_SPINS): ... here.
11172 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11173 (__PTHREAD_SPIN): Likewise.
11174 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11175 (__PTHREAD_SPIN): Likewise.
11176 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11177 (__PTHREAD_SPIN): Likewise.
11178 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11179 (__PTHREAD_SPIN): Likewise.
11180 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11181 (__PTHREAD_SPIN): Likewise.
11182 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11183 (__PTHREAD_SPIN): Likewise.
11184 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11185 (__PTHREAD_SPIN): Likewise.
11186 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11187 (__PTHREAD_SPIN): Likewise.
11188 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11189 (__PTHREAD_SPIN): Likewise.
11190 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11191 (__PTHREAD_SPIN): Likewise.
11192 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11193 (__PTHREAD_SPIN): Likewise.
11194 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11195 (__PTHREAD_SPIN): Likewise.
11196
de21c33c
AZ
11197 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11198 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11199 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11200 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11201 imply folder.
11202 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11203 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11204 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11205 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11206 correct imply path.
11207 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11208 strlen symbol for non multi-arch builds.
11209 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11210 missing hidden_def and weak_alias.
11211
862c472e
CD
112122014-04-08 Carlos O'Donell <carlos@redhat.com>
11213
11214 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11215
8667f90e
WN
112162014-04-07 Will Newton <will.newton@linaro.org>
11217
11218 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11219 and contents. [!_LIBC] Remove #ifndef and contents.
11220 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
11221 * string/memccpy.c (__memccpy): Use ANSI prototype.
11222 * string/memfrob.c (memfrob): Likewise.
11223 * string/strcoll.c (STRCOLL): Likewise.
11224 * string/strlen.c (strlen): Likewise.
11225 * string/strtok.c (STRTOK): Likewise.
11226 * string/strcat.c: Remove unused #include of memcopy.h.
11227 (strcat): Use ANSI prototype.
11228 * string/strchr.c: Remove unused #include of memcopy.h.
11229 (strchr): Use ANSI prototype.
11230 * string/strcmp.c: Remove unused #include of memcopy.h.
11231 (strcmp): Use ANSI prototype.
11232 * string/strcpy.c: Remove unused #include of memcopy.h.
11233 (strcpy): Use ANSI prototype.
11234
7ffa9423
AZ
112352014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11236
11237 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11238 * config.make.in (config-extra-cppflags): Set it from
11239 libc_extra_cppflags.
11240 * configure.ac (libc_extra_cflags): Make it accumulate over
11241 configure fragments.
11242 (libc_extra_cppflags): New flag.
11243 * configure. Regenerate.
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
11245 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11246 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11248
8bd70862
AZ
11249 [BZ #16815]
11250 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11251 result for FE_DOWNWARD rounding mode.
11252 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11253 Likewise.
11254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11255
d42f3448
CM
112562014-04-04 Chris Metcalf <cmetcalf@tilera.com>
11257
11258 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11259 in function argument name.
11260
1c21d115
DS
112612014-04-03 David Svoboda <svoboda@cert.org>
11262
11263 [BZ #5666]
11264 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11265 explicitly.
11266
fcccd512
RM
112672014-04-03 Roland McGrath <roland@hack.frob.com>
11268
11269 * elf/dl-unmap-segments.h: New file.
11270 * sysdeps/generic/ldsodefs.h
11271 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11272 * elf/dl-close.c: Include <dl-unmap-segments.h>.
11273 * elf/dl-fptr.c: Likewise.
11274 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11275 * sysdeps/aarch64/tlsdesc.c: Likewise.
11276 * sysdeps/arm/tlsdesc.c: Likewise.
11277 * sysdeps/i386/tlsdesc.c: Likewise.
11278 * sysdeps/tile/dl-runtime.c: Likewise.
11279 * sysdeps/x86_64/tlsdesc.c: Likewise.
11280 * elf/dl-load.h: New file.
11281 * elf/dl-load.c: Include it.
11282 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11283 Macros moved to dl-load.h.
11284 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11285 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11286 Use _dl_unmap_segments in place of __munmap.
11287 Break out segment-mapping loop into ...
11288 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11289
f6488e2b
WN
112902014-04-03 Will Newton <will.newton@linaro.org>
11291
11292 * elf/dl-lookup.c (do_lookup_x): Remove comment
11293 referring to nested function and move variable
11294 declarations down to before first use.
11295
6f05bafe
JM
112962014-04-02 Joseph Myers <joseph@codesourcery.com>
11297
a84e78c8
JM
11298 [BZ #16799]
11299 [BZ #16800]
11300 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11301 with 0 numerator.
11302 * math/s_catanf.c (__catanf): Likewise.
11303 * math/s_catanh.c (__catanh): Likewise.
11304 * math/s_catanhf.c (__catanhf): Likewise.
11305 * math/s_catanhl.c (__catanhl): Likewise.
11306 * math/s_catanl.c (__catanl): Likewise.
11307 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11308 by positive zero when computing -Inf result.
11309 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11310 (catanh_test): Likewise.
11311 * sysdeps/i386/fpu/libm-test-ulps: Update.
11312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11313
6f05bafe
JM
11314 [BZ #16789]
11315 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11316 instead of using underflowing value in computing result.
11317 * math/s_clog10.c (__clog10): Likewise.
11318 * math/s_clog10f.c (__clog10f): Likewise.
11319 * math/s_clog10l.c (__clog10l): Likewise.
11320 * math/s_clogf.c (__clogf): Likewise.
11321 * math/s_clogl.c (__clogl): Likewise.
11322 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11323 (clog10_test): Likewise.
11324 * sysdeps/i386/fpu/libm-test-ulps: Update.
11325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11326
b0abbc21
AM
113272014-04-02 Alan Modra <amodra@gmail.com>
11328
11329 [BZ #16739]
11330 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11331 output when value is near a power of two. Use int64_t for lx and
11332 remove casts. Use decimal rather than hex exponent constants.
11333 Don't use long double multiplication when double will suffice.
11334 * math/libm-test.inc (nextafter_test_data): Add tests.
11335 * NEWS: Add 16739 and 16786 to bug list.
11336
af6b1797
AM
11337 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11338
483818d7
AM
11339 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11340
f6c55796
WN
113412014-04-01 Will Newton <will.newton@linaro.org>
11342
11343 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11344 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
11345
13f7fe35
FW
113462014-04-01 Florian Weimer <fweimer@redhat.com>
11347
11348 [BZ #13347]
11349 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11350 * nptl/tst-setuid2.c: New file.
11351 * nptl/Makefile (xtests): Add tst-setuid2.
11352
c859b32e
AM
113532014-04-01 Alan Modra <amodra@gmail.com>
11354
11355 [BZ #16786]
11356 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11357
54fa2475
JM
113582014-03-31 Joseph Myers <joseph@codesourcery.com>
11359
8795b4a4
JM
11360 [BZ #6803]
11361 [BZ #6804]
11362 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11363 set errno as appropriate.
11364 * math/w_scalbf.c (__scalbf): Likewise.
11365 * math/w_scalbl.c (__scalbl): Likewise.
11366 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11367 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11368 * math/libm-test.inc (scalb_test_data): Add errno expectations.
11369 Add more NaN tests.
11370
54fa2475
JM
11371 [BZ #16349]
11372 * math/w_atan2.c: Include <errno.h>.
11373 (__atan2): Set errno for result underflowing to zero.
11374 * math/w_atan2f.c: Include <errno.h>.
11375 (__atan2f): Set errno for result underflowing to zero.
11376 * math/w_atan2l.c: Include <errno.h>.
11377 (__atan2l): Set errno for result underflowing to zero.
11378 * math/auto-libm-test-in: Don't allow missing errno for some atan2
11379 tests.
11380 * math/auto-libm-test-out: Regenerated.
11381
757d9dd5
AZ
113822014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11383
11384 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11385 Encode instruction correctly in little endian.
11386 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11387 Likewise.
11388 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11389 Likewise.
11390 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11391 Likewise.
11392 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11393 Likewise.
11394
d7a68734
JM
113952014-03-31 Joseph Myers <joseph@codesourcery.com>
11396
47c5adeb
JM
11397 [BZ #9894]
11398 * sysdeps/unix/sysv/linux/kernel-features.h
11399 [__sparc__ && !__arch64__ && !__sparc_v9__]
11400 (__ASSUME_SET_ROBUST_LIST): Do not define.
11401 [__sparc__ && !__arch64__ && !__sparc_v9__]
11402 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11403 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11404 Likewise.
11405 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11406 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11407 (__ASSUME_REQUEUE_PI): Likewise.
11408 (__ASSUME_SET_ROBUST_LIST): Likewise.
11409 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11410 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11411 Undefine.
11412 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11413 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11414 Likewise.
11415 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11416 Likewise.
11417 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11418 Likewise.
11419 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11420 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11421 Undefine.
11422 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11423 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11424 Likewise.
11425
d7a68734
JM
11426 [BZ #16648]
11427 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11428 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11429 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11430
c760f5c2
WN
114312014-03-31 Will Newton <will.newton@linaro.org>
11432
11433 * benchtests/Makefile (bench): Add ffs and ffsll to list
11434 of tests.
11435 * benchtests/ffs-inputs: New file.
11436 * benchtests/ffsll-inputs: Likewise.
11437
ea6029b1
JM
114382014-03-29 Joseph Myers <joseph@codesourcery.com>
11439
11440 [BZ #16770]
11441 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11442 too large before casting to int.
11443 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11444 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11445 * math/libm-test.inc (scalb_test_data): Add more tests.
11446
cf806aff
SP
114472014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11448
56737508
SP
11449 * benchtests/Makefile (DETAILED_OPT): New make option.
11450 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11451 set.
11452 * benchtests/bench-skeleton.c: Include stdbool.h.
11453 (main): Store and print timings per input.
11454 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11455 member to each argument value.
11456 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11457 (_print_arg_data): Initialize per-input timing to 0.
11458
cb5e4aad
SP
11459 * benchtests/Makefile (timing-type): New binary.
11460 (bench-clean): Also remove bench-timing-type.
11461 (bench): New target for timing-type.
11462 (bench-func): Print output in JSON format.
11463 * benchtests/bench-skeleton.c (main): Print output in JSON
11464 format.
11465 * benchtests/bench-timing-type.c: New file.
11466 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11467 (TIMING_PRINT_STATS): Remove.
11468 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11469 name separately.
11470
cf806aff
SP
11471 * benchtests/bench-modf.c: Remove.
11472 * benchtests/modf-inputs: New inputs file.
11473
289e0779
JM
114742014-03-28 Joseph Myers <joseph@codesourcery.com>
11475
11476 [BZ #16362]
11477 * math/s_clog10.c (M_PI_LOG10E): New macro.
11478 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11479 imaginary parts are 0.
11480 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11481 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11482 imaginary parts are 0.
11483 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11484 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11485 imaginary parts are 0.
11486 * math/libm-test.inc (clog10_test_data): Update expected results
11487 for when real and imaginary parts are 0.
11488
277ae3f1
PP
114892014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11490
11491 * elf/dl-load.c: Finish conversion of __builtin_expect into
11492 __glibc_{un}likely.
11493
03a7091f
JM
114942014-03-27 Joseph Myers <joseph@codesourcery.com>
11495
11496 [BZ #16348]
11497 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11498 1+x for argument with exponent below -67.
11499 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11500 Likewise.
11501 * math/auto-libm-test-in: Add more tests of exp.
11502 * math/auto-libm-test-out: Regenerated.
11503
ea7d8b95
SP
115042014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11505
dd3022d7
SP
11506 [BZ #16759]
11507 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11508 (nscd_getnetgrent): Use it.
11509
ea7d8b95
SP
11510 [BZ #16760]
11511 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11512 of stpcpy.
11513
df5b85da
AK
115142014-03-27 Andi Kleen <ak@linux.intel.com>
11515
57f41c40
AS
11516 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11517 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11518 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11519 (lll_robust_unlock): Remove out of line section. Use cfi
11520 intrinsics.
df5b85da 11521 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
11522 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11523 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11524 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11525 (lll_robust_unlock): Remove out of line section. Use cfi
11526 intrinsics.
df5b85da
AK
11527 (LLL_STUB_UNWIND_INFO*): Remove.
11528
fbd6b5a4
SP
115292014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11530
11531 [BZ #16758]
11532 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11533 blank values.
11534
1b26b855
PP
115352014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11536
11537 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11538
9be36fb8
JM
115392014-03-26 Joseph Myers <joseph@codesourcery.com>
11540
11541 [BZ #16198]
11542 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11543 fnstenv.
11544 * math/test-fenv-preserve.c: New file.
11545 * math/Makefile (tests): Add test-fenv-preserve.
11546
60a2f3c1
WN
115472014-03-26 Will Newton <will.newton@linaro.org>
11548
11549 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11550
a5e5f1e2
RM
115512014-03-25 Roland McGrath <roland@hack.frob.com>
11552
11553 * scripts/versionlist.awk: Partition the version sets and emit all
11554 GLIBC_* (sorted) before all others (sorted).
11555
00f4012a
JM
115562014-03-25 Joseph Myers <joseph@codesourcery.com>
11557
11558 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11559 GLIBC_2.2.5 version.
11560
7bc5a741
AZ
115612014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11562
11563 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11564 calls.
11565
7578473b
AZ
11566 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11567 previous change.
11568
f3f1dab3
AZ
11569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11570
6da36183
AS
115712014-03-25 Andreas Schwab <schwab@suse.de>
11572
11573 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11574 label to be used after in6ailist is initialized.
11575
f3f1dab3 115762014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 11577
7578473b 11578 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
11579 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11580
046651c1
JM
115812014-03-25 Joseph Myers <joseph@codesourcery.com>
11582
11583 [BZ #16357]
11584 [BZ #16599]
11585 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11586 min_plus_half.
11587 (fp_formats): Update initializers.
11588 (init_fp_formats): Initialize new field.
11589 (output_for_one_input_case): Allow underflow for results up to
11590 min_plus_half.
11591 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11592 * math/auto-libm-test-in: Don't mark some underflows from asin and
11593 atanh as spurious.
11594 * math/auto-libm-test-out: Regenerated.
11595 * sysdeps/i386/fpu/libm-test-ulps: Update.
11596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11597
003e49ed
AS
115982014-03-25 Andreas Schwab <schwab@suse.de>
11599
11600 * libio/Makefile (tst-ftell-partial-wide-ENV)
11601 (tst-ftell-active-handler-ENV): Define.
11602
de031874
SL
116032014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11604
11605 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11606
55a81e3b
PP
116072014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11608
11609 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11610
f3426898
JM
116112014-03-24 Joseph Myers <joseph@codesourcery.com>
11612
11613 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11614 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11615 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11616
a42faf59
PP
116172014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11618
11619 [BZ #16634]
a42faf59 11620 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
11621 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11622 (open_path): Change from boolean 'secure' to complete flag 'mode'
11623 (_dl_map_object): Adjust.
a42faf59
PP
11624 * elf/Makefile (tests): Add tst-dlopen-aout.
11625 * elf/tst-dlopen-aout.c: New test.
11626
50936127
SL
116272014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11628
11629 [BZ #16714]
11630 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11631 (struct stat): Rename member pad0 to __glibc_reserved0.
11632
26011b5c
SL
11633 [BZ #16712]
11634 * sysdeps/s390/s390-32/bits/wordsize.h
11635 (__WORDSIZE32_SIZE_ULONG): New define.
11636 * sysdeps/s390/s390-64/bits/wordsize.h
11637 (__WORDSIZE32_SIZE_ULONG): Likewise.
11638 * sysdeps/generic/stdint.h (SIZE_MAX):
11639 Define as UL if __WORDSIZE32_SIZE_ULONG.
11640
a2d86bf1
SL
11641 [BZ #16713]
11642 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11643 (__glibc_reserved0): New variable.
11644 (sa_flags): Change type to int.
11645
78b6eebc
SL
11646 * posix/Makefile (before-compile): Use += before-compile instead
11647 of a :=.
11648
f1399b5a
SL
11649 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11650 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11651
a071766e
AS
116522014-03-20 Andreas Schwab <schwab@suse.de>
11653
11654 [BZ #16743]
11655 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11656 non-matching result from nscd.
11657
27c673b8
SP
116582014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11659
11660 * scripts/bench.py: Moved to ...
11661 * benchtests/scripts/bench.py: ... here.
11662 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11663
44152e4b
AS
116642014-03-24 Andreas Schwab <schwab@suse.de>
11665
11666 [BZ #16002]
11667 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11668 alloca_account and account alloca use for struct in6ailist.
11669
b376a11a
JM
116702014-03-24 Joseph Myers <joseph@codesourcery.com>
11671
11672 [BZ #16284]
11673 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11674 rounding mode to recompute results that overflow to infinity or
11675 underflow to zero.
11676 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11677 bug 16284.
11678 * math/auto-libm-test-out: Regenerated.
11679 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11680 (ccosh_test): Likewise.
11681 (csin_test_data): Use plus_oflow.
11682 (csin_test): Use ALL_RM_TEST.
11683 (csinh_test_data): Use plus_oflow.
11684 (csinh_test): Use ALL_RM_TEST.
11685 * sysdeps/i386/fpu/libm-test-ulps: Update.
11686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11687
f7be7376
JM
116882014-03-21 Joseph Myers <joseph@codesourcery.com>
11689
1ca2d03e
JM
11690 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11691 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11692 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11693
f7be7376
JM
11694 [BZ #16731]
11695 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11696 when x - 1 is zero.
11697 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11698 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11699 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11700 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11701 argument is 1.
11702 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11703 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11704 zero.
11705 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11706 * sysdeps/i386/fpu/libm-test-ulps: Update.
11707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11708
fdf4534d
SP
117092014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11710
df26ea53
SP
11711 * scripts/bench.pl: Remove file.
11712 * scripts/bench.py: New benchmark script.
11713 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11714 * benchtests/README: Mention python dependency.
11715 * scripts/pylintrc: New file.
11716 * scripts/pylint: New file.
11717
fdf4534d
SP
11718 * bits/mathdef.h: Use #ifdef instead of #if.
11719 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11720 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11721 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11722 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11723 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11724 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11725
6f23d093
AZ
117262014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11727 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11728
11729 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11731 and strpbrk-ppc64 objects.
11732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11733 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11734 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11735 multiarch strpbrk for POWER7.
11736 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11737 multiarch strpbrk for PPC64.
11738 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11739 ifunc selector.
11740 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11741 strpbrk for POWER7.
11742
8c92dfff
JM
117432014-03-20 Joseph Myers <joseph@codesourcery.com>
11744
11745 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11746 (atan_test): Likewise.
11747 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11748 (atanh_test): Use ALL_RM_TEST.
11749 (atan2_test_data): Likewise.
11750 (cabs_test): Likewise.
11751 (cacosh_test): Likewise.
11752 (carg_test): Likewise.
11753 (casin_test): Likewise.
11754 (casinh_test): Likewise.
11755 (cbrt_test): Likewise.
11756 (csqrt_test): Likewise.
11757 (erf_test): Likewise.
11758 (erfc_test): Likewise.
11759 (pow10_test): Likewise.
11760 (exp2_test): Likewise.
11761 (hypot_test): Likewise.
11762 (j0_test): Likewise.
11763 (j1_test): Likewise.
11764 (lgamma_test): Likewise.
11765 (gamma_test): Likewise.
11766 (sincos_test): Likewise.
11767 (tanh_test): Likewise.
11768 (y0_test): Likewise.
11769 (y1_test): Likewise.
11770 * sysdeps/i386/fpu/libm-test-ulps: Update.
11771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11772
6eaf95cb
AZ
117732014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11774
a387428c
SP
11775 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
11777 and strcspn-ppc64 objects.
11778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11779 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11780 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11781 multiarch strcspn for POWER7.
11782 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11783 multiarch strcspn for PPC64.
11784 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11785 ifunc selector.
11786 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11787 strcspn for POWER7.
11788
ae3a5dff
JM
117892014-03-20 Joseph Myers <joseph@codesourcery.com>
11790
11791 * math/gen-libm-test.pl (generate_testfile): Expect only function
11792 name as argument to AUTO_TESTS_* and pass results for all rounding
11793 modes to parse_args.
11794 (parse_auto_input): Separate inputs of automatic tests from
11795 outputs before storing in %auto_tests.
11796 * math/libm-test.inc (acos_test_data): Update call to
11797 AUTO_TESTS_f_f.
11798 (acos_test): Use ALL_RM_TEST.
11799 (acos_tonearest_test_data): Remove.
11800 (acos_test_tonearest): Likewise.
11801 (acos_towardzero_test_data): Likewise.
11802 (acos_test_towardzero): Likewise.
11803 (acos_downward_test_data): Likewise.
11804 (acos_test_downward): Likewise.
11805 (acos_upward_test_data): Likewise.
11806 (acos_test_upward): Likewise.
11807 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11808 (asin_test_data): Likewise.
11809 (asin_test): Use ALL_RM_TEST.
11810 (asin_tonearest_test_data): Remove.
11811 (asin_test_tonearest): Likewise.
11812 (asin_towardzero_test_data): Likewise.
11813 (asin_test_towardzero): Likewise.
11814 (asin_downward_test_data): Likewise.
11815 (asin_test_downward): Likewise.
11816 (asin_upward_test_data): Likewise.
11817 (asin_test_upward): Likewise.
11818 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11819 (atan_test_data): Likewise.
11820 (atanh_test_data): Likewise.
11821 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11822 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11823 (carg_test_data): Likewise.
11824 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11825 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11826 (ccosh_test_data): Likewise.
11827 (cexp_test_data): Likewise.
11828 (clog_test_data): Likewise.
11829 (clog10_test_data): Likewise.
11830 (cos_test_data): Update call to AUTO_TESTS_f_f.
11831 (cos_test): Use ALL_RM_TEST.
11832 (cos_tonearest_test_data): Remove.
11833 (cos_test_tonearest): Likewise.
11834 (cos_towardzero_test_data): Likewise.
11835 (cos_test_towardzero): Likewise.
11836 (cos_downward_test_data): Likewise.
11837 (cos_test_downward): Likewise.
11838 (cos_upward_test_data): Likewise.
11839 (cos_test_upward): Likewise.
11840 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11841 (cosh_test): Use ALL_RM_TEST.
11842 (cosh_tonearest_test_data): Remove.
11843 (cosh_test_tonearest): Likewise.
11844 (cosh_towardzero_test_data): Likewise.
11845 (cosh_test_towardzero): Likewise.
11846 (cosh_downward_test_data): Likewise.
11847 (cosh_test_downward): Likewise.
11848 (cosh_upward_test_data): Likewise.
11849 (cosh_test_upward): Likewise.
11850 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11851 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11852 (ctan_test_data): Likewise.
11853 (ctan_test): Use ALL_RM_TEST.
11854 (ctan_tonearest_test_data): Remove.
11855 (ctan_test_tonearest): Likewise.
11856 (ctan_towardzero_test_data): Likewise.
11857 (ctan_test_towardzero): Likewise.
11858 (ctan_downward_test_data): Likewise.
11859 (ctan_test_downward): Likewise.
11860 (ctan_upward_test_data): Likewise.
11861 (ctan_test_upward): Likewise.
11862 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11863 (ctanh_test): Use ALL_RM_TEST.
11864 (ctanh_tonearest_test_data): Remove.
11865 (ctanh_test_tonearest): Likewise.
11866 (ctanh_towardzero_test_data): Likewise.
11867 (ctanh_test_towardzero): Likewise.
11868 (ctanh_downward_test_data): Likewise.
11869 (ctanh_test_downward): Likewise.
11870 (ctanh_upward_test_data): Likewise.
11871 (ctanh_test_upward): Likewise.
11872 (erf_test_data): Update call to AUTO_TESTS_f_f.
11873 (erfc_test_data): Likewise.
11874 (exp_test_data): Likewise.
11875 (exp_test): Use ALL_RM_TEST.
11876 (exp_tonearest_test_data): Remove.
11877 (exp_test_tonearest): Likewise.
11878 (exp_towardzero_test_data): Likewise.
11879 (exp_test_towardzero): Likewise.
11880 (exp_downward_test_data): Likewise.
11881 (exp_test_downward): Likewise.
11882 (exp_upward_test_data): Likewise.
11883 (exp_test_upward): Likewise.
11884 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11885 (exp10_test): Use ALL_RM_TEST.
11886 (exp10_tonearest_test_data): Remove.
11887 (exp10_test_tonearest): Likewise.
11888 (exp10_towardzero_test_data): Likewise.
11889 (exp10_test_towardzero): Likewise.
11890 (exp10_downward_test_data): Likewise.
11891 (exp10_test_downward): Likewise.
11892 (exp10_upward_test_data): Likewise.
11893 (exp10_test_upward): Likewise.
11894 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11895 (expm1_test_data): Likewise.
11896 (expm1_test): Use ALL_RM_TEST.
11897 (expm1_tonearest_test_data): Remove.
11898 (expm1_test_tonearest): Likewise.
11899 (expm1_towardzero_test_data): Likewise.
11900 (expm1_test_towardzero): Likewise.
11901 (expm1_downward_test_data): Likewise.
11902 (expm1_test_downward): Likewise.
11903 (expm1_upward_test_data): Likewise.
11904 (expm1_test_upward): Likewise.
11905 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11906 (fma_test): Use ALL_RM_TEST.
11907 (fma_towardzero_test_data): Remove.
11908 (fma_test_towardzero): Likewise.
11909 (fma_downward_test_data): Likewise.
11910 (fma_test_downward): Likewise.
11911 (fma_upward_test_data): Likewise.
11912 (fma_test_upward): Likewise.
11913 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11914 (j0_test_data): Update call to AUTO_TESTS_f_f.
11915 (j1_test_data): Likewise.
11916 (jn_test_data): Update call to AUTO_TESTS_if_f.
11917 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11918 (log_test_data): Update call to AUTO_TESTS_f_f.
11919 (log10_test_data): Likewise.
11920 (log1p_test_data): Likewise.
11921 (log2_test_data): Likewise.
11922 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11923 (pow_tonearest_test_data): Likewise.
11924 (sin_test_data): Update call to AUTO_TESTS_f_f.
11925 (sin_test): Use ALL_RM_TEST.
11926 (sin_tonearest_test_data): Remove.
11927 (sin_test_tonearest): Likewise.
11928 (sin_towardzero_test_data): Likewise.
11929 (sin_test_towardzero): Likewise.
11930 (sin_downward_test_data): Likewise.
11931 (sin_test_downward): Likewise.
11932 (sin_upward_test_data): Likewise.
11933 (sin_test_upward): Likewise.
11934 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11935 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11936 (sinh_test): Use ALL_RM_TEST.
11937 (sinh_tonearest_test_data): Remove.
11938 (sinh_test_tonearest): Likewise.
11939 (sinh_towardzero_test_data): Likewise.
11940 (sinh_test_towardzero): Likewise.
11941 (sinh_downward_test_data): Likewise.
11942 (sinh_test_downward): Likewise.
11943 (sinh_upward_test_data): Likewise.
11944 (sinh_test_upward): Likewise.
11945 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11946 (sqrt_test): Use ALL_RM_TEST.
11947 (sqrt_tonearest_test_data): Remove.
11948 (sqrt_test_tonearest): Likewise.
11949 (sqrt_towardzero_test_data): Likewise.
11950 (sqrt_test_towardzero): Likewise.
11951 (sqrt_downward_test_data): Likewise.
11952 (sqrt_test_downward): Likewise.
11953 (sqrt_upward_test_data): Likewise.
11954 (sqrt_test_upward): Likewise.
11955 (tan_test_data): Update call to AUTO_TESTS_f_f.
11956 (tan_test): Use ALL_RM_TEST.
11957 (tan_tonearest_test_data): Remove.
11958 (tan_test_tonearest): Likewise.
11959 (tan_towardzero_test_data): Likewise.
11960 (tan_test_towardzero): Likewise.
11961 (tan_downward_test_data): Likewise.
11962 (tan_test_downward): Likewise.
11963 (tan_upward_test_data): Likewise.
11964 (tan_test_upward): Likewise.
11965 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11966 (tgamma_test_data): Likewise.
11967 (y0_test_data): Likewise.
11968 (y1_test_data): Likewise.
11969 (yn_test_data): Update call to AUTO_TESTS_if_f.
11970 (main): Do not call removed functions.
11971
d71aeee8
JM
119722014-03-19 Joseph Myers <joseph@codesourcery.com>
11973
11974 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11975 (ldexp_test_data): Remove.
11976 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11977 scalbn_test_data.
11978 (scalb_test): Use ALL_RM_TEST.
11979
baaf1ded
AS
119802014-03-19 Andreas Schwab <schwab@suse.de>
11981
11982 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11983
b1115e91
JM
119842014-03-19 Joseph Myers <joseph@codesourcery.com>
11985
11986 [BZ #16649]
11987 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11988 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11989 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11990 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11991 (__ASSUME_PREADV): Undefine.
11992 (__ASSUME_PWRITEV): Likewise.
11993
0283ecca
RM
119942014-03-18 Roland McGrath <roland@hack.frob.com>
11995
7d375303
RM
11996 * bits/mman-linux.h: Add comment about non-Linux use.
11997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11998 bits/mman-linux.h resting place.
11999
0283ecca
RM
12000 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12001 * bits/mman-linux.h: ... here.
12002
aebe1003
AZ
120032014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12004
12005 * conform/conformtest.pl: Add standard definition when calling C
12006 preprocessor on data files.
12007 (checknamespace): Remove unused variable.
12008
b29b6bb8
JM
120092014-03-18 Joseph Myers <joseph@codesourcery.com>
12010
12011 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12012 minus_oflow, plus_uflow and minus_uflow in expected results.
12013 * math/libm-test.inc (scalbn_test_data): Add more tests of
12014 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
12015 minus_uflow.
12016 (scalbn_test): Use ALL_RM_TEST.
12017 (scalbln_test_data): Add more tests of negative arguments. Use
12018 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12019 (scalbln_test): Use ALL_RM_TEST.
12020
c8f8fa15
RM
120212014-03-18 Roland McGrath <roland@hack.frob.com>
12022
12023 * scripts/abilist.awk: Ignore symbols marked with .hidden.
12024
fede7a5f
WN
120252014-03-18 Will Newton <will.newton@linaro.org>
12026
12027 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12028 inaccurate comment.
12029
80cf0a58
JM
120302014-03-18 Joseph Myers <joseph@codesourcery.com>
12031
12032 * Makerules [!subdir] (check-abi): Exit with error status if a
12033 test failed.
12034
b3620862
JM
120352014-03-17 Joseph Myers <joseph@codesourcery.com>
12036
12037 * math/libm-test.inc (nearbyint_test_data): Include all tests used
12038 for rint. Include results for all rounding modes.
12039 (nearbyint_test): Use ALL_RM_TEST.
12040 (rint_test_data): Include all tests used for nearbyint.
12041
788bba36
WN
120422014-03-17 Will Newton <will.newton@linaro.org>
12043
04ec140a
WN
12044 * nptl/sysdeps/pthread/pthread.h: Revert previous
12045 change.
12046
7579d8d5
WN
12047 * sysdeps/generic/ldsodefs.h: Revert previous
12048 change.
12049
c15cf13a
WN
12050 * libio/genops.c: Revert previous change.
12051 * libio/libioP.h: Likewise.
12052 * stdio-common/vfprintf.c: Likewise.
12053
d0ac1324
WN
12054 * sysdeps/generic/math_private.h: Revert previous
12055 change.
12056
9290130a
WN
12057 * sysdeps/generic/math_private.h: Check whether
12058 HAVE_RM_CTX is defined with #ifdef rather
12059 than #if.
12060
afb466fc
WN
12061 * argp/argp-fmtstream.h: Check whether
12062 __STRICT_ANSI__ is defined with #ifdef rather
12063 than #if.
12064 * argp/argp.h: Likewise.
12065
f7efd7c3
WN
12066 * libio/genops.c: Check whether
12067 _IO_JUMPS_OFFSET is defined with #ifdef rather
12068 than #if.
12069 * libio/libioP.h: Likewise.
12070 * stdio-common/vfprintf.c: Likewise.
12071
53f1bed3
WN
12072 * sysdeps/generic/ldsodefs.h: Check whether
12073 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12074 than #if.
12075
788bba36
WN
12076 * nptl/sysdeps/pthread/pthread.h: Check
12077 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12078 its value.
12079
fcd89ebe
SP
120802014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12081
ae42bbc5
SP
12082 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12083 setting O_APPEND.
12084 * libio/tst-ftell-active-handler.c (do_append_test): Add a
12085 test case.
12086
ea33158c
SP
12087 [BZ #16680]
12088 * libio/fileops.c (_IO_file_open): Seek to end of file but
12089 don't cache the offset.
12090 (get_file_offset): Remove function.
12091 (do_ftell): Use cached offset when available.
12092 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12093 don't cache the offset.
12094 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12095 case.
12096 (do_one_test): Call it.
12097 (do_ftell_test): Fix up expected old offset for a+ mode.
12098 * libio/wfileops.c (do_ftell_wide): Used cached offset when
12099 available.
12100
b1dbb426
SP
12101 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12102 up test status with function return status.
12103 (do_write_test): Likewise.
12104 (do_append_test): Likewise.
12105
fcd89ebe
SP
12106 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12107 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12108 Remove.
12109
9962a2d3
JM
121102014-03-17 Joseph Myers <joseph@codesourcery.com>
12111
12112 * math/gen-libm-test.pl (parse_args): Handle results specified for
12113 each rounding mode separately.
12114 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12115 tests and results from lrint_tonearest_test_data,
12116 lrint_towardzero_test_data, lrint_downward_test_data and
12117 lrint_upward_test_data.
12118 (lrint_test): Use ALL_RM_TEST.
12119 (lrint_tonearest_test_data): Remove.
12120 (lrint_test_tonearest): Likewise.
12121 (lrint_towardzero_test_data): Likewise.
12122 (lrint_test_towardzero): Likewise.
12123 (lrint_downward_test_data): Likewise.
12124 (lrint_test_downward): Likewise.
12125 (lrint_upward_test_data): Likewise.
12126 (lrint_test_upward): Likewise.
12127 (llrint_test_data): Merge in per-rounding-mode tests and results
12128 from llrint_tonearest_test_data, llrint_towardzero_test_data,
12129 llrint_downward_test_data and llrint_upward_test_data.
12130 (llrint_test): Use ALL_RM_TEST.
12131 (llrint_tonearest_test_data): Remove.
12132 (llrint_test_tonearest): Likewise.
12133 (llrint_towardzero_test_data): Likewise.
12134 (llrint_test_towardzero): Likewise.
12135 (llrint_downward_test_data): Likewise.
12136 (llrint_test_downward): Likewise.
12137 (llrint_upward_test_data): Likewise.
12138 (llrint_test_upward): Likewise.
12139 (rint_test_data): Merge in per-rounding-mode tests and results
12140 from rint_tonearest_test_data, rint_towardzero_test_data,
12141 rint_downward_test_data and rint_upward_test_data. Add
12142 per-rounding-mode results for tests not in those arrays.
12143 (rint_test): Use ALL_RM_TEST.
12144 (rint_tonearest_test_data): Remove.
12145 (rint_test_tonearest): Likewise.
12146 (rint_towardzero_test_data): Likewise.
12147 (rint_test_towardzero): Likewise.
12148 (rint_downward_test_data): Likewise.
12149 (rint_test_downward): Likewise.
12150 (rint_upward_test_data): Likewise.
12151 (rint_test_upward): Likewise.
12152 (main): Don't call removed functions.
12153
5006148e
RM
121542014-03-14 Roland McGrath <roland@hack.frob.com>
12155
12156 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12157 "Compiled on ..." crapola. It is anti-useful.
12158
d6fe5e58
JM
121592014-03-14 Joseph Myers <joseph@codesourcery.com>
12160
12161 * scripts/evaluate-test.sh: Handle fourth argument to determine
12162 whether test run should stop on failure.
12163 * Makeconfig (stop-on-test-failure): New variable.
12164 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12165 $(stop-on-test-failure).
12166 * Makefile (tests): Give a summary of results from testing and
12167 exit with failure status if they include an ERROR or FAIL.
12168 (xtests): Likewise.
12169 * manual/install.texi (Configuring and compiling): Mention
12170 stop-on-test-failure=y.
12171 * INSTALL: Regenerated.
12172
498a2233
RM
121732014-03-14 Roland McGrath <roland@hack.frob.com>
12174
22dbc19d
RM
12175 * scripts/versionlist.awk: New file.
12176 * Makerules [$(build-shared) = yes]
12177 (postclean-generated): Add Versions.def, not Versions.def.v and
12178 Versions.def.v.i.
12179 ($(common-objpfx)Versions.def.v.i): Target removed.
12180 ($(common-objpfx)Versions.def): New target.
12181 ($(common-objpfx)Versions.all): Depend on that rather that
12182 $(common-objpfx)Versions.def.v.
12183 * Versions.def: File removed.
12184
498a2233
RM
12185 * Makeconfig (+gccwarn): Add -Wundef.
12186 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12187 a dl-sysdep.h breaking its contract.
12188 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12189 * include/stackinfo.h: New file.
12190 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12191 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12192 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12193 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12194 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12195 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12196 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12197 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12198 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12199 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12200 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12201 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12202 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12203 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12204 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12205
c7de5025
AZ
122062014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12207
12208 [BZ #16707]
12209 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12210 implementation.
12211 * math/libm-test.inc (round_test_data): Add more tests.
12212
98fb27a3
AZ
12213 [BZ #16706]
12214 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12215 implementation.
12216 * math/libm-test.inc (nearbyint_test_data): Add more tests.
12217
374f7f61
AZ
12218 [BZ #16701]
12219 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12220 implementation.
12221 * math/libm-test.inc (ceil_test_data): Add more tests.
12222
4655c291
AZ
12223 * math/libm-test.inc (trunc_test_data): Add more tests related to
12224 BZ#16414.
12225
d7329d4b
RM
122262014-03-14 Roland McGrath <roland@hack.frob.com>
12227
12228 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12229 with #if rather than #ifdef.
12230 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12231
aa4de9ce
L
122322014-03-14 H.J. Lu <hongjiu.lu@intel.com>
12233
12234 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12235 first. Disable AVX-512 GCC support if assembler doesn't support
12236 it.
12237 * sysdeps/x86_64/configure: Regenerated.
12238
2e03fae7
CD
122392014-03-13 Carlos O'Donell <carlos@redhat.com>
12240
12241 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12242 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12243 (__old_pthread_attr_setstack): Likewise.
12244 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12245 [!_STACK_GROWS_DOWN]: Likewise.
12246
43ca83ec
MF
122472014-03-13 Mike Frysinger <vapier@gentoo.org>
12248
12249 * config.make.in (have-bash2): Delete.
12250 * configure.ac (libc_cv_have_bash2): Delete.
12251 * configure: Regenerate.
12252 * elf/Makefile (common-ldd-rewrite): Rename to ...
12253 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
12254 (sh-ldd-rewrite): Delete.
12255 (bash-ldd-rewrite): Delete.
12256 (have-bash2): Delete checks.
57f41c40
AS
12257 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12258 ldd-rewrite.
c66e48b4
MF
12259
12260 * config.make.in (have-ksh): Delete.
12261 (KSH): Delete.
12262 * configure.ac (libc_cv_have_ksh): Delete.
12263 * configure: Regenerate.
12264
b93834ef
MF
12265 * elf/Makefile: Delete $(have-ksh) check.
12266 ($(objpfx)sotruss): Change KSH to BASH.
12267 * elf/sotruss.ksh: Rename to ...
12268 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
12269 function style to match POSIX. Drop ksh vim mode setting.
12270
f3a4632a
MF
12271 * manual/time.texi (Specifying the Time Zone with TZ): Change
12272 Tuesday to Thursday.
12273
5896c8bd
MF
12274 * debug/tst-longjmp_chk2.c: Update header comment.
12275 (stackoverflow_handler): Add comment. Call assert on pass value.
12276
2d63a517
IZ
122772014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
12278
7e54fd04 12279 [BZ #16194]
2d63a517
IZ
12280 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12281 (HAVE_AVX512_ASM_SUPPORT): Likewise.
12282 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12283 (La_x86_64_vector): Add zmm.
12284 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12285 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12286 ($(objpfx)tst-audit10): New target.
12287 ($(objpfx)tst-audit10.out): Likewise.
12288 (tst-audit10-ENV): New.
12289 (AVX512-CFLAGS): Likewise.
12290 (CFLAGS-tst-audit10.c): Likewise.
12291 (CFLAGS-tst-auditmod10a.c): Likewise.
12292 (CFLAGS-tst-auditmod10b.c): Likewise.
12293 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12294 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12295 * sysdeps/x86_64/configure: Regenerated.
12296 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12297 AVX-512 zmm register support.
12298 (_dl_x86_64_save_sse): Likewise.
12299 (_dl_x86_64_restore_sse): Likewise.
12300 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12301 size vector registers.
12302 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12303 (ZMM_SIZE): Likewise.
12304 * sysdeps/x86_64/tst-audit10.c: New file.
12305 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12306 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12307
44c4e5d5
RM
123082014-03-13 Roland McGrath <roland@hack.frob.com>
12309
12310 * configure.ac (HAVE_EHDR_START): New check.
12311 * configure: Regenerated.
12312 * config.h.in (HAVE_EHDR_START): New #undef.
12313 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12314 assuming the lowest-addressed segment maps the start of the file.
12315
acd6e389
JM
123162014-03-13 Joseph Myers <joseph@codesourcery.com>
12317
12318 * INSTALL: Regenerated.
12319
6f918f36
WN
123202014-03-13 Will Newton <will.newton@linaro.org>
12321
12322 * manual/setjmp.texi (System V contexts): Improve
12323 clarity and grammar of documentation.
12324
798212a0
PP
123252014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
12326
12327 [BZ #16381]
798212a0 12328 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 12329 (tests-pie): Add tst-pie2.
798212a0
PP
12330 * elf/tst-pie2.c: New file.
12331 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12332 for ET_EXEC.
12333 * elf/rtld.c (map_doit): Load executable as lt_executable.
12334 (dl_main): Likewise.
12335
abe6d90c
JM
123362014-03-12 Joseph Myers <joseph@codesourcery.com>
12337
12338 [BZ #16642]
12339 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12340 (__ASSUME_PSELECT): Undefine.
12341
dd3946c6
AZ
123422014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12343
12344 [BZ #16689]
12345 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12346 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12347 static build.
12348 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12349 selector for static builds.
12350
c44496df
SP
123512014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12352
12353 [BZ #16695]
12354 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12355 key in the buffer.
12356
27c7220a
AZ
123572014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12358
57f41c40
AS
12359 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12360 IFUNC selector for static builds.
27c7220a 12361
600fa361
JM
123622014-03-11 Joseph Myers <joseph@codesourcery.com>
12363
76c96cf7
JM
12364 * sysdeps/mips/math_private.h [__mips_hard_float]
12365 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12366 libc_feresetround_mips_ctx.
12367 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12368 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12369 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12370
600fa361
JM
12371 [BZ #16677]
12372 * math/s_nextafter.c (__nextafter): Do not return value from
12373 overflowing computation.
12374 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12375 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12376 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12377 Likewise.
12378 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12379 Likewise.
12380 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12381 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12382
d7706c32
RM
123832014-03-11 Roland McGrath <roland@hack.frob.com>
12384
12385 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12386 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12387 Move sfi_sp use from the load-multiple (that no longer sets sp) to
12388 the new mov targetting sp.
12389
4facea47
AZ
123902014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12391
12392 [BZ #16683]
12393 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12394 Define it for static builds as well.
12395 (NO_BZERO_IMPL): Likewise.
12396
e65caf1f
VR
123972014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12398
12399 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12400 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12401 multiarch strspn for PPC64.
12402 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12403 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12405 (__libc_ifunc_impl_list): Likewise.
12406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12407 multiarch optimizations
12408 * string/strspn.c (strspn): Using macro to redefine symbol name.
12409
ba9cc071
AZ
124102014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12411 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12412
12413 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12414 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12415 multiarch strncat for PPC64.
12416 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12417 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12419 (__libc_ifunc_impl_list): Likewise.
12420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12421 multiarch optimizations
12422
8b4ff974
SP
124232014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12424
12425 [BZ #16639]
12426 * nscd/nscd.service: Make service type forking.
12427
54b46a4b
AZ
124282014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12429
12430 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12431 sign in non default rounding modes.
12432 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12433
e9996ef7
JM
124342014-03-08 Joseph Myers <joseph@codesourcery.com>
12435
12436 * math/libm-test.inc (ALL_RM_TEST): New macro.
12437 (ceil_test): Use ALL_RM_TEST.
12438 (cimag_test): Likewise.
12439 (conj_test): Likewise.
12440 (copysign_test): Likewise.
12441 (cproj_test): Likewise.
12442 (creal_test): Likewise.
12443 (fabs_test): Likewise.
12444 (floor_test): Likewise.
12445 (fmax_test): Likewise.
12446 (fmin_test): Likewise.
12447 (fmod_test): Likewise.
12448 (fpclassify_test): Likewise.
12449 (frexp_test): Likewise.
12450 (ilogb_test): Likewise.
12451 (isfinite_test): Likewise.
12452 (finite_test): Likewise.
12453 (isgreater_test): Likewise.
12454 (isgreaterequal_test): Likewise.
12455 (isinf_test): Likewise.
12456 (isless_test): Likewise.
12457 (islessequal_test): Likewise.
12458 (islessgreater_test): Likewise.
12459 (isnan_test): Likewise.
12460 (isnormal_test): Likewise.
12461 (issignaling_test): Likewise.
12462 (isunordered_test): Likewise.
12463 (logb_test): Likewise.
12464 (logb_downward_test_data): Remove.
12465 (logb_test_downward): Likewise.
12466 (lround_test): Use ALL_RM_TEST.
12467 (llround_test): Likewise.
12468 (modf_test): Likewise.
12469 (nexttoward_test): Likewise.
12470 (remainder_test): Likewise.
12471 (drem_test): Likewise.
12472 (remainder_tonearest_test_data): Likewise.
12473 (remainder_test_tonearest): Likewise.
12474 (drem_test_tonearest): Likewise.
12475 (remainder_towardzero_test_data): Likewise.
12476 (remainder_test_towardzero): Likewise.
12477 (drem_test_towardzero): Likewise.
12478 (remainder_downward_test_data): Likewise.
12479 (remainder_test_downward): Likewise.
12480 (drem_test_downward): Likewise.
12481 (remainder_upward_test_data): Likewise.
12482 (remainder_test_upward): Likewise.
12483 (drem_test_upward): Likewise.
12484 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12485 (round_test): Use ALL_RM_TEST.
12486 (signbit_test): Likewise.
12487 (trunc_test): Likewise.
12488 (significand_test): Likewise.
12489 (main): Don't call removed functions.
12490
bc61d27c
JM
124912014-03-07 Joseph Myers <joseph@codesourcery.com>
12492
5c780849
JM
12493 [BZ #16674]
12494 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12495 || __USE_XOPEN2K8].
12496 (ILL_ILLOPN): Likewise.
12497 (ILL_ILLADR): Likewise.
12498 (ILL_ILLTRP): Likewise.
12499 (ILL_PRVOPC): Likewise.
12500 (ILL_PRVREG): Likewise.
12501 (ILL_COPROC): Likewise.
12502 (ILL_BADSTK): Likewise.
12503 (FPE_INTDIV): Likewise.
12504 (FPE_INTOVF): Likewise.
12505 (FPE_FLTDIV): Likewise.
12506 (FPE_FLTOVF): Likewise.
12507 (FPE_FLTUND): Likewise.
12508 (FPE_FLTRES): Likewise.
12509 (FPE_FLTINV): Likewise.
12510 (FPE_FLTSUB): Likewise.
12511 (SEGV_MAPERR): Likewise.
12512 (SEGV_ACCERR): Likewise.
12513 (BUS_ADRALN): Likewise.
12514 (BUS_ADRERR): Likewise.
12515 (BUS_OBJERR): Likewise.
12516 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12517 (TRAP_TRACE): Likewise.
12518 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12519 __USE_XOPEN2K8].
12520 (CLD_KILLED): Likewise.
12521 (CLD_DUMPED): Likewise.
12522 (CLD_TRAPPED): Likewise.
12523 (CLD_STOPPED): Likewise.
12524 (CLD_CONTINUED): Likewise.
12525 (POLL_IN): Likewise.
12526 (POLL_OUT): Likewise.
12527 (POLL_MSG): Likewise.
12528 (POLL_ERR): Likewise.
12529 (POLL_PRI): Likewise.
12530 (POLL_HUP): Likewise.
12531 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12532 Likewise.
12533 (ILL_ILLOPN): Likewise.
12534 (ILL_ILLADR): Likewise.
12535 (ILL_ILLTRP): Likewise.
12536 (ILL_PRVOPC): Likewise.
12537 (ILL_PRVREG): Likewise.
12538 (ILL_COPROC): Likewise.
12539 (ILL_BADSTK): Likewise.
12540 (FPE_INTDIV): Likewise.
12541 (FPE_INTOVF): Likewise.
12542 (FPE_FLTDIV): Likewise.
12543 (FPE_FLTOVF): Likewise.
12544 (FPE_FLTUND): Likewise.
12545 (FPE_FLTRES): Likewise.
12546 (FPE_FLTINV): Likewise.
12547 (FPE_FLTSUB): Likewise.
12548 (SEGV_MAPERR): Likewise.
12549 (SEGV_ACCERR): Likewise.
12550 (BUS_ADRALN): Likewise.
12551 (BUS_ADRERR): Likewise.
12552 (BUS_OBJERR): Likewise.
12553 (BUS_MCEERR_AR): Likewise.
12554 (BUS_MCEERR_AO): Likewise.
12555 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12556 (TRAP_TRACE): Likewise.
12557 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12558 __USE_XOPEN2K8].
12559 (CLD_KILLED): Likewise.
12560 (CLD_DUMPED): Likewise.
12561 (CLD_TRAPPED): Likewise.
12562 (CLD_STOPPED): Likewise.
12563 (CLD_CONTINUED): Likewise.
12564 (POLL_IN): Likewise.
12565 (POLL_OUT): Likewise.
12566 (POLL_MSG): Likewise.
12567 (POLL_ERR): Likewise.
12568 (POLL_PRI): Likewise.
12569 (POLL_HUP): Likewise.
12570 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12571 (ILL_ILLOPN): Likewise.
12572 (ILL_ILLADR): Likewise.
12573 (ILL_ILLTRP): Likewise.
12574 (ILL_PRVOPC): Likewise.
12575 (ILL_PRVREG): Likewise.
12576 (ILL_COPROC): Likewise.
12577 (ILL_BADSTK): Likewise.
12578 (FPE_INTDIV): Likewise.
12579 (FPE_INTOVF): Likewise.
12580 (FPE_FLTDIV): Likewise.
12581 (FPE_FLTOVF): Likewise.
12582 (FPE_FLTUND): Likewise.
12583 (FPE_FLTRES): Likewise.
12584 (FPE_FLTINV): Likewise.
12585 (FPE_FLTSUB): Likewise.
12586 (SEGV_MAPERR): Likewise.
12587 (SEGV_ACCERR): Likewise.
12588 (BUS_ADRALN): Likewise.
12589 (BUS_ADRERR): Likewise.
12590 (BUS_OBJERR): Likewise.
12591 (BUS_MCEERR_AR): Likewise.
12592 (BUS_MCEERR_AO): Likewise.
12593 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12594 (TRAP_TRACE): Likewise.
12595 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12596 __USE_XOPEN2K8].
12597 (CLD_KILLED): Likewise.
12598 (CLD_DUMPED): Likewise.
12599 (CLD_TRAPPED): Likewise.
12600 (CLD_STOPPED): Likewise.
12601 (CLD_CONTINUED): Likewise.
12602 (POLL_IN): Likewise.
12603 (POLL_OUT): Likewise.
12604 (POLL_MSG): Likewise.
12605 (POLL_ERR): Likewise.
12606 (POLL_PRI): Likewise.
12607 (POLL_HUP): Likewise.
12608 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12609 Likewise.
12610 (ILL_ILLOPN): Likewise.
12611 (ILL_ILLADR): Likewise.
12612 (ILL_ILLTRP): Likewise.
12613 (ILL_PRVOPC): Likewise.
12614 (ILL_PRVREG): Likewise.
12615 (ILL_COPROC): Likewise.
12616 (ILL_BADSTK): Likewise.
12617 (ILL_BADIADDR): Likewise.
12618 (ILL_BREAK): Likewise.
12619 (FPE_INTDIV): Likewise.
12620 (FPE_INTOVF): Likewise.
12621 (FPE_FLTDIV): Likewise.
12622 (FPE_FLTOVF): Likewise.
12623 (FPE_FLTUND): Likewise.
12624 (FPE_FLTRES): Likewise.
12625 (FPE_FLTINV): Likewise.
12626 (FPE_FLTSUB): Likewise.
12627 (FPE_DECOVF): Likewise.
12628 (FPE_DECDIV): Likewise.
12629 (FPE_DECERR): Likewise.
12630 (FPE_INVASC): Likewise.
12631 (FPE_INVDEC): Likewise.
12632 (SEGV_MAPERR): Likewise.
12633 (SEGV_ACCERR): Likewise.
12634 (SEGV_PSTKOVF): Likewise.
12635 (BUS_ADRALN): Likewise.
12636 (BUS_ADRERR): Likewise.
12637 (BUS_OBJERR): Likewise.
12638 (BUS_MCEERR_AR): Likewise.
12639 (BUS_MCEERR_AO): Likewise.
12640 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12641 (TRAP_TRACE): Likewise.
12642 (TRAP_BRANCH): Likewise.
12643 (TRAP_HWBKPT): Likewise.
12644 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12645 __USE_XOPEN2K8].
12646 (CLD_KILLED): Likewise.
12647 (CLD_DUMPED): Likewise.
12648 (CLD_TRAPPED): Likewise.
12649 (CLD_STOPPED): Likewise.
12650 (CLD_CONTINUED): Likewise.
12651 (POLL_IN): Likewise.
12652 (POLL_OUT): Likewise.
12653 (POLL_MSG): Likewise.
12654 (POLL_ERR): Likewise.
12655 (POLL_PRI): Likewise.
12656 (POLL_HUP): Likewise.
12657 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12658 (ILL_ILLOPN): Likewise.
12659 (ILL_ILLADR): Likewise.
12660 (ILL_ILLTRP): Likewise.
12661 (ILL_PRVOPC): Likewise.
12662 (ILL_PRVREG): Likewise.
12663 (ILL_COPROC): Likewise.
12664 (ILL_BADSTK): Likewise.
12665 (FPE_INTDIV): Likewise.
12666 (FPE_INTOVF): Likewise.
12667 (FPE_FLTDIV): Likewise.
12668 (FPE_FLTOVF): Likewise.
12669 (FPE_FLTUND): Likewise.
12670 (FPE_FLTRES): Likewise.
12671 (FPE_FLTINV): Likewise.
12672 (FPE_FLTSUB): Likewise.
12673 (SEGV_MAPERR): Likewise.
12674 (SEGV_ACCERR): Likewise.
12675 (BUS_ADRALN): Likewise.
12676 (BUS_ADRERR): Likewise.
12677 (BUS_OBJERR): Likewise.
12678 (BUS_MCEERR_AR): Likewise.
12679 (BUS_MCEERR_AO): Likewise.
12680 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12681 (TRAP_TRACE): Likewise.
12682 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12683 __USE_XOPEN2K8].
12684 (CLD_KILLED): Likewise.
12685 (CLD_DUMPED): Likewise.
12686 (CLD_TRAPPED): Likewise.
12687 (CLD_STOPPED): Likewise.
12688 (CLD_CONTINUED): Likewise.
12689 (POLL_IN): Likewise.
12690 (POLL_OUT): Likewise.
12691 (POLL_MSG): Likewise.
12692 (POLL_ERR): Likewise.
12693 (POLL_PRI): Likewise.
12694 (POLL_HUP): Likewise.
12695 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12696 (ILL_ILLOPN): Likewise.
12697 (ILL_ILLADR): Likewise.
12698 (ILL_ILLTRP): Likewise.
12699 (ILL_PRVOPC): Likewise.
12700 (ILL_PRVREG): Likewise.
12701 (ILL_COPROC): Likewise.
12702 (ILL_BADSTK): Likewise.
12703 (FPE_INTDIV): Likewise.
12704 (FPE_INTOVF): Likewise.
12705 (FPE_FLTDIV): Likewise.
12706 (FPE_FLTOVF): Likewise.
12707 (FPE_FLTUND): Likewise.
12708 (FPE_FLTRES): Likewise.
12709 (FPE_FLTINV): Likewise.
12710 (FPE_FLTSUB): Likewise.
12711 (SEGV_MAPERR): Likewise.
12712 (SEGV_ACCERR): Likewise.
12713 (BUS_ADRALN): Likewise.
12714 (BUS_ADRERR): Likewise.
12715 (BUS_OBJERR): Likewise.
12716 (BUS_MCEERR_AR): Likewise.
12717 (BUS_MCEERR_AO): Likewise.
12718 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12719 (TRAP_TRACE): Likewise.
12720 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12721 __USE_XOPEN2K8].
12722 (CLD_KILLED): Likewise.
12723 (CLD_DUMPED): Likewise.
12724 (CLD_TRAPPED): Likewise.
12725 (CLD_STOPPED): Likewise.
12726 (CLD_CONTINUED): Likewise.
12727 (POLL_IN): Likewise.
12728 (POLL_OUT): Likewise.
12729 (POLL_MSG): Likewise.
12730 (POLL_ERR): Likewise.
12731 (POLL_PRI): Likewise.
12732 (POLL_HUP): Likewise.
12733 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12734 (ILL_ILLOPN): Likewise.
12735 (ILL_ILLADR): Likewise.
12736 (ILL_ILLTRP): Likewise.
12737 (ILL_PRVOPC): Likewise.
12738 (ILL_PRVREG): Likewise.
12739 (ILL_COPROC): Likewise.
12740 (ILL_BADSTK): Likewise.
12741 (FPE_INTDIV): Likewise.
12742 (FPE_INTOVF): Likewise.
12743 (FPE_FLTDIV): Likewise.
12744 (FPE_FLTOVF): Likewise.
12745 (FPE_FLTUND): Likewise.
12746 (FPE_FLTRES): Likewise.
12747 (FPE_FLTINV): Likewise.
12748 (FPE_FLTSUB): Likewise.
12749 (SEGV_MAPERR): Likewise.
12750 (SEGV_ACCERR): Likewise.
12751 (BUS_ADRALN): Likewise.
12752 (BUS_ADRERR): Likewise.
12753 (BUS_OBJERR): Likewise.
12754 (BUS_MCEERR_AR): Likewise.
12755 (BUS_MCEERR_AO): Likewise.
12756 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12757 (TRAP_TRACE): Likewise.
12758 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12759 __USE_XOPEN2K8].
12760 (CLD_KILLED): Likewise.
12761 (CLD_DUMPED): Likewise.
12762 (CLD_TRAPPED): Likewise.
12763 (CLD_STOPPED): Likewise.
12764 (CLD_CONTINUED): Likewise.
12765 (POLL_IN): Likewise.
12766 (POLL_OUT): Likewise.
12767 (POLL_MSG): Likewise.
12768 (POLL_ERR): Likewise.
12769 (POLL_PRI): Likewise.
12770 (POLL_HUP): Likewise.
12771 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12772 (ILL_ILLOPN): Likewise.
12773 (ILL_ILLADR): Likewise.
12774 (ILL_ILLTRP): Likewise.
12775 (ILL_PRVOPC): Likewise.
12776 (ILL_PRVREG): Likewise.
12777 (ILL_COPROC): Likewise.
12778 (ILL_BADSTK): Likewise.
12779 (ILL_DBLFLT): Likewise.
12780 (ILL_HARDWALL): Likewise.
12781 (FPE_INTDIV): Likewise.
12782 (FPE_INTOVF): Likewise.
12783 (FPE_FLTDIV): Likewise.
12784 (FPE_FLTOVF): Likewise.
12785 (FPE_FLTUND): Likewise.
12786 (FPE_FLTRES): Likewise.
12787 (FPE_FLTINV): Likewise.
12788 (FPE_FLTSUB): Likewise.
12789 (SEGV_MAPERR): Likewise.
12790 (SEGV_ACCERR): Likewise.
12791 (BUS_ADRALN): Likewise.
12792 (BUS_ADRERR): Likewise.
12793 (BUS_OBJERR): Likewise.
12794 (BUS_MCEERR_AR): Likewise.
12795 (BUS_MCEERR_AO): Likewise.
12796 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12797 (TRAP_TRACE): Likewise.
12798 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12799 __USE_XOPEN2K8].
12800 (CLD_KILLED): Likewise.
12801 (CLD_DUMPED): Likewise.
12802 (CLD_TRAPPED): Likewise.
12803 (CLD_STOPPED): Likewise.
12804 (CLD_CONTINUED): Likewise.
12805 (POLL_IN): Likewise.
12806 (POLL_OUT): Likewise.
12807 (POLL_MSG): Likewise.
12808 (POLL_ERR): Likewise.
12809 (POLL_PRI): Likewise.
12810 (POLL_HUP): Likewise.
12811 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12812 (ILL_ILLOPN): Likewise.
12813 (ILL_ILLADR): Likewise.
12814 (ILL_ILLTRP): Likewise.
12815 (ILL_PRVOPC): Likewise.
12816 (ILL_PRVREG): Likewise.
12817 (ILL_COPROC): Likewise.
12818 (ILL_BADSTK): Likewise.
12819 (FPE_INTDIV): Likewise.
12820 (FPE_INTOVF): Likewise.
12821 (FPE_FLTDIV): Likewise.
12822 (FPE_FLTOVF): Likewise.
12823 (FPE_FLTUND): Likewise.
12824 (FPE_FLTRES): Likewise.
12825 (FPE_FLTINV): Likewise.
12826 (FPE_FLTSUB): Likewise.
12827 (SEGV_MAPERR): Likewise.
12828 (SEGV_ACCERR): Likewise.
12829 (BUS_ADRALN): Likewise.
12830 (BUS_ADRERR): Likewise.
12831 (BUS_OBJERR): Likewise.
12832 (BUS_MCEERR_AR): Likewise.
12833 (BUS_MCEERR_AO): Likewise.
12834 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12835 (TRAP_TRACE): Likewise.
12836 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12837 __USE_XOPEN2K8].
12838 (CLD_KILLED): Likewise.
12839 (CLD_DUMPED): Likewise.
12840 (CLD_TRAPPED): Likewise.
12841 (CLD_STOPPED): Likewise.
12842 (CLD_CONTINUED): Likewise.
12843 (POLL_IN): Likewise.
12844 (POLL_OUT): Likewise.
12845 (POLL_MSG): Likewise.
12846 (POLL_ERR): Likewise.
12847 (POLL_PRI): Likewise.
12848 (POLL_HUP): Likewise.
12849 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12850 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12851
bc61d27c
JM
12852 [BZ #16670]
12853 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12854 before #include of <time.h>.
12855 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12856 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12857 (test-xfail-UNIX98/sched.h/conform): Likewise.
12858
302949e2
MS
128592014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12860
12861 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12862 error absence of trapping exception support.
12863 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12864
a00f522a
JM
128652014-03-07 Joseph Myers <joseph@codesourcery.com>
12866
6f99f280
JM
12867 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12868 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12869 * timezone/Makefile (testdata): Move definition above include of
12870 Rules.
12871 (test-zones): New variable.
12872 (tests-special): Add zone files.
12873 (build-testdata): Use $(evaluate-test).
12874
0b20a9e8
JM
12875 * elf/Makefile (tests-special): Rename tests to end with .out.
12876 ($(objpfx)noload-mem): Likewise.
12877 ($(objpfx)tst-leaks1-mem): Likewise.
12878 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12879 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12880 $(objpfx)test-iconvconfig.out.
12881 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12882 set -e inside subshell and redirect output to file.
12883 * iconvdata/Makefile (generated): Rename tests to end with .out.
12884 Correct type.
12885 (tests-special): Rename tests to end with .out.
12886 ($(objpfx)mtrace-tst-loading): Likewise.
12887 * intl/Makefile (generated): Likewise.
12888 (tests-special): Likewise.
12889 ($(objpfx)mtrace-tst-gettext): Likewise.
12890 * misc/Makefile (generated): Likewise.
12891 (tests-special): Likewise.
12892 ($(objpfx)tst-error1-mem): Likewise.
12893 * nptl/Makefile (tests-special): Likewise.
12894 ($(objpfx)tst-stack3-mem): Likewise.
12895 (generated): Likewise.
12896 * posix/Makefile (generated): Likewise.
12897 (tests-special): Likewise.
12898 (xtests-special): Likewise.
12899 ($(objpfx)tst-fnmatch-mem): Likewise.
12900 ($(objpfx)bug-regex2-mem): Likewise.
12901 ($(objpfx)bug-regex14-mem): Likewise.
12902 ($(objpfx)bug-regex21-mem): Likewise.
12903 ($(objpfx)bug-regex31-mem): Likewise.
12904 ($(objpfx)tst-vfork3-mem): Likewise.
12905 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12906 ($(objpfx)tst-pcre-mem): Likewise.
12907 ($(objpfx)tst-boost-mem): Likewise.
12908 ($(objpfx)bug-ga2-mem): Likewise.
12909 ($(objpfx)bug-glob2-mem): Likewise.
12910 * resolv/Makefile (generate): Likewise.
12911 (tests-special): Likewise.
12912 (xtests-special): Likewise.
12913 (generated): Likewise.
12914 ($(objpfx)mtrace-tst-leaks): Likewise.
12915 ($(objpfx)mtrace-tst-leaks2): Likewise.
12916
265d52ab
JM
12917 * scripts/merge-test-results.sh: New file.
12918 * Makefile (tests-special-notdir): New variable.
12919 (tests): Run merge-test-results.sh.
12920 (xtests): Likewise.
12921 * Rules (tests-special-notdir): New variable.
12922 (xtests-special-notdir): Likewise.
12923 (tests): Run merge-test-results.sh
12924 (xtests): Likewise.
12925
54ee292d
JM
12926 * Makeconfig (test-xfail-name): New variable.
12927 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12928 compute variable name for expected failures.
12929 * conform/Makefile (conformtest-headers-data): New variable.
12930 (conformtest-standards): Likewise.
12931 (conformtest-headers-ISO): Likewise.
12932 (conformtest-headers-ISO99): Likewise.
12933 (conformtest-headers-ISO11): Likewise.
12934 (conformtest-headers-POSIX): Likewise.
12935 (conformtest-headers-XPG3): Likewise.
12936 (conformtest-headers-XPG4): Likewise.
12937 (conformtest-headers-UNIX98): Likewise.
12938 (conformtest-headers-XOPEN2K): Likewise.
12939 (conformtest-headers-POSIX2008): Likewise.
12940 (conformtest-headers-XOPEN2K8): Likewise.
12941 (conformtest-header-list-base): Likewise.
12942 (conformtest-header-list-tests): Likewise.
12943 (conformtest-header-base): Likewise.
12944 (conformtest-header-tests): Likewise.
12945 (tests-special): Add $(conformtest-header-list-tests). If
12946 [$(fast-check) && !$(cross-compiling)], add
12947 $(conformtest-header-tests) instead of
12948 $(objpfx)run-conformtest.out.
12949 (generated): Add $(conformtest-header-list-base). If
12950 [$(fast-check) && !$(cross-compiling)], add
12951 $(conformtest-header-base). Remove previous setting.
12952 ($(conformtest-header-list-tests)): New target.
12953 (test-xfail-run-conformtest): Remove variable.
12954 ($(objpfx)run-conformtest.out): Remove target.
12955 (test-xfail-ISO11/complex.h/conform): New variable.
12956 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12957 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12958 (test-xfail-XPG3/varargs.h/conform): Likewise.
12959 (test-xfail-XPG4/varargs.h/conform): Likewise.
12960 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12961 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12962 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12963 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12964 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12965 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12966 (test-xfail-XPG3/ftw.h/conform): Likewise.
12967 (test-xfail-XPG3/grp.h/conform): Likewise.
12968 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12969 (test-xfail-XPG3/limits.h/conform): Likewise.
12970 (test-xfail-XPG3/pwd.h/conform): Likewise.
12971 (test-xfail-XPG3/search.h/conform): Likewise.
12972 (test-xfail-XPG3/signal.h/conform): Likewise.
12973 (test-xfail-XPG3/stdio.h/conform): Likewise.
12974 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12975 (test-xfail-XPG3/string.h/conform): Likewise.
12976 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12977 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12978 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12979 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12980 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12981 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12982 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12983 (test-xfail-XPG3/termios.h/conform): Likewise.
12984 (test-xfail-XPG3/time.h/conform): Likewise.
12985 (test-xfail-XPG3/unistd.h/conform): Likewise.
12986 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12987 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12988 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12989 (test-xfail-XPG4/netdb.h/conform): Likewise.
12990 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12991 (test-xfail-XPG4/signal.h/conform): Likewise.
12992 (test-xfail-XPG4/stdio.h/conform): Likewise.
12993 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12994 (test-xfail-XPG4/stropts.h/conform): Likewise.
12995 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12996 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12997 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12998 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12999 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13000 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13001 (test-xfail-XPG4/sys/time.h/conform): Likewise.
13002 (test-xfail-XPG4/sys/types.h/conform): Likewise.
13003 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13004 (test-xfail-XPG4/termios.h/conform): Likewise.
13005 (test-xfail-XPG4/ucontext.h/conform): Likewise.
13006 (test-xfail-XPG4/unistd.h/conform): Likewise.
13007 (test-xfail-XPG4/utmpx.h/conform): Likewise.
13008 (test-xfail-POSIX/sched.h/conform): Likewise.
13009 (test-xfail-POSIX/signal.h/conform): Likewise.
13010 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13011 (test-xfail-POSIX/tar.h/conform): Likewise.
13012 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13013 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13014 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13015 (test-xfail-UNIX98/netdb.h/conform): Likewise.
13016 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13017 (test-xfail-UNIX98/sched.h/conform): Likewise.
13018 (test-xfail-UNIX98/signal.h/conform): Likewise.
13019 (test-xfail-UNIX98/stdio.h/conform): Likewise.
13020 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13021 (test-xfail-UNIX98/stropts.h/conform): Likewise.
13022 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13023 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13024 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13025 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13026 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13027 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13028 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13029 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13030 (test-xfail-UNIX98/unistd.h/conform): Likewise.
13031 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13032 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13033 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13034 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13035 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13036 (test-xfail-XOPEN2K/math.h/conform): Likewise.
13037 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13038 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13039 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13040 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13041 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13042 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13043 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13044 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13045 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13046 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13047 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13048 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13049 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13050 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13051 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13052 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13053 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13054 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13055 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13056 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13057 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13058 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13059 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13060 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13061 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13062 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13063 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13064 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13065 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13066 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13067 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13068 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13069 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13070 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13071 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13072 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13073 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13074 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13075 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13076 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13077 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13078 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13079 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13080 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13081 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13082 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13083 (conformtest-cc-flags): Likewise.
13084 ($(conformtest-header-tests): New target.
13085 * conform/check-header-lists.sh: New file.
13086 * conform/run-conformtest.sh: Remove.
13087
a00f522a
JM
13088 * conform/conformtest.pl: Allow ' and \ in values given for
13089 constants.
13090 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13091 inclusion.
13092 [POSIX] (sys/types.h): Likewise.
13093 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13094 inclusion.
13095 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13096 inclusion.
13097 * conform/data/signal.h-data (SIGIO): Remove expectation.
13098 [XPG3] (SIGBUS): Do not expect.
13099 [POSIX || XPG3] (SIGPOLL): Likewise.
13100 [POSIX || XPG3] (SIGPROF): Likewise.
13101 [POSIX || XPG3] (SIGSYS): Likewise.
13102 [XPG3] (SIGTRAP): Likewise.
13103 [POSIX || XPG3] (SIGURG): Likewise.
13104 [POSIX || XPG3] (SIGVTALRM): Likewise.
13105 [POSIX || XPG3] (SIGXCPU): Likewise.
13106 [POSIX || XPG3] (SIGXFSZ): Likewise.
13107 [POSIX] (SA_SIGINFO): Expect.
13108 [XPG3] (siginfo_t): Do not expect type or contents.
13109 [POSIX] (si_pid): Do not expect element.
13110 [POSIX] (si_uid): Likewise.
13111 [POSIX] (si_addr): Likewise.
13112 [POSIX] (si_status): Likewise.
13113 [POSIX] (si_band): Likewise.
13114 [XPG4] (si_value): Likewise.
13115 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13116 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13117 [POSIX || XPG3] (ILL_ILLADR): Likewise.
13118 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13119 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13120 [POSIX || XPG3] (ILL_PRVREG): Likewise.
13121 [POSIX || XPG3] (ILL_COPROC): Likewise.
13122 [POSIX || XPG3] (ILL_BADSTK): Likewise.
13123 [POSIX || XPG3] (FPE_INTDIV): Likewise.
13124 [POSIX || XPG3] (FPE_INTOVF): Likewise.
13125 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13126 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13127 [POSIX || XPG3] (FPE_FLTUND): Likewise.
13128 [POSIX || XPG3] (FPE_FLTRES): Likewise.
13129 [POSIX || XPG3] (FPE_FLTINV): Likewise.
13130 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13131 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13132 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13133 [POSIX || XPG3] (BUS_ADRALN): Likewise.
13134 [POSIX || XPG3] (BUS_ADRERR): Likewise.
13135 [POSIX || XPG3] (BUS_OBJERR): Likewise.
13136 [POSIX || XPG3] (CLD_EXITED): Likewise.
13137 [POSIX || XPG3] (CLD_KILLED): Likewise.
13138 [POSIX || XPG3] (CLD_DUMPED): Likewise.
13139 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13140 [POSIX || XPG3] (CLD_STOPPED): Likewise.
13141 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13142 [POSIX || XPG3] (POLL_IN): Likewise.
13143 [POSIX || XPG3] (POLL_OUT): Likewise.
13144 [POSIX || XPG3] (POLL_MSG): Likewise.
13145 [POSIX || XPG3] (POLL_ERR): Likewise.
13146 [POSIX || XPG3] (POLL_PRI): Likewise.
13147 [POSIX || XPG3] (POLL_HUP): Likewise.
13148 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13149 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13150 (SIG*): Do not allow.
13151 [XPG3] (si_*): Likewise.
13152 [XPG3] (SI_*): Likewise.
13153 [XPG3 || XPG4] (sigev_*): Likewise.
13154 [XPG3 || XPG4] (SIGEV_*): Likewise.
13155 [XPG3 || XPG4] (sival_*): Likewise.
13156 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13157 [POSIX || XPG3] (BUS_*): Likewise.
13158 [POSIX || XPG3] (CLD_*): Likewise.
13159 [POSIX || XPG3] (FPE_*): Likewise.
13160 [POSIX || XPG3] (ILL_*): Likewise.
13161 [POSIX || XPG3] (POLL_*): Likewise.
13162 [POSIX || XPG3] (SEGV_*): Likewise.
13163 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13164 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13165 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13166 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13167 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13168 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13169 Specify type and value.
13170 (TVERSLEN): Likewise.
13171 (REGTYPE): Likewise.
13172 (AREGTYPE): Likewise.
13173 (LNKTYPE): Likewise.
13174 (SYMTYPE): Likewise.
13175 (CHRTYPE): Likewise.
13176 (BLKTYPE): Likewise.
13177 (DIRTYPE): Likewise.
13178 (FIFOTYPE): Likewise.
13179 (CONTTYPE): Likewise.
13180 (TSUID): Likewise.
13181 (TSGID): Likewise.
13182 (TSVTX): Likewise.
13183 (TUREAD): Likewise.
13184 (TUWRITE): Likewise.
13185 (TUEXEC): Likewise.
13186 (TGREAD): Likewise.
13187 (TGWRITE): Likewise.
13188 (TGEXEC): Likewise.
13189 (TOREAD): Likewise.
13190 (TOWRITE): Likewise.
13191 (TOEXEC): Likewise.
13192 [POSIX] (TSVTX): Expect constant.
13193
aa97dee1
JM
131942014-03-06 Joseph Myers <joseph@codesourcery.com>
13195
f214606a
JM
13196 * Makefile (tests): Change dependencies to ....
13197 (tests-special): ... additions to this variable.
13198 (tests): Depend on $(tests-special).
13199 * Makerules (check-abi-list): New variable.
13200 (check-abi): Depend on $(check-abi-list).
13201 [$(subdir) = elf] (tests-special): Add
13202 $(objpfx)check-abi-libc.out.
13203 [$(build-shared) = yes && subdir] (tests-special): Add
13204 $(check-abi-list).
13205 [$(build-shared) = yes && subdir] (tests): Do not depend on
13206 check-abi.
13207 * Rules (tests): Depend on $(tests-special).
13208 (xtests): Depend on $(xtests-special).
13209 * catgets/Makefile (tests): Change dependencies to ....
13210 (tests-special): ... additions to this variable.
13211 * conform/Makefile (tests): Change dependencies to ....
13212 (tests-special): ... additions to this variable.
13213 * elf/Makefile (tests): Change dependencies to ....
13214 (tests-special): ... additions to this variable.
13215 * grp/Makefile (tests): Change dependencies to ....
13216 (tests-special): ... additions to this variable.
13217 * iconv/Makefile (xtests): Change dependencies to ....
13218 (xtests-special): ... additions to this variable.
13219 * iconvdata/Makefile (tests): Change dependencies to ....
13220 (tests-special): ... additions to this variable.
13221 * intl/Makefile (tests): Change dependencies to ....
13222 (tests-special): ... additions to this variable. Also add
13223 $(objpfx)tst-gettext.out.
13224 * io/Makefile (tests): Change dependencies to ....
13225 (tests-special): ... additions to this variable.
13226 * libio/Makefile (tests): Change dependencies to ....
13227 (tests-special): ... additions to this variable.
13228 * malloc/Makefile (tests): Change dependencies to ....
13229 (tests-special): ... additions to this variable.
13230 * misc/Makefile (tests): Change dependencies to ....
13231 (tests-special): ... additions to this variable.
13232 * nptl/Makefile (tests): Change dependencies to ....
13233 (tests-special): ... additions to this variable.
13234 * nptl_db/Makefile (tests): Change dependencies to ....
13235 (tests-special): ... additions to this variable.
13236 * posix/Makefile (tests): Change dependencies to ....
13237 (tests-special): ... additions to this variable.
13238 (xtests): Change dependencies to ....
13239 (xtests-special): ... additions to this variable.
13240 * resolv/Makefile (tests): Change dependencies to ....
13241 (tests-special): ... additions to this variable.
13242 (xtests): Change dependencies to ....
13243 (xtests-special): ... additions to this variable.
13244 * stdio-common/Makefile (tests): Change dependencies to ....
13245 (tests-special): ... additions to this variable.
13246 (do-tst-unbputc): Remove target.
13247 (do-tst-printf): Likewise.
13248 * stdlib/Makefile (tests): Change dependencies to ....
13249 (tests-special): ... additions to this variable.
13250 * string/Makefile (tests): Change dependencies to ....
13251 (tests-special): ... additions to this variable.
13252 * sysdeps/x86/Makefile (tests): Change dependencies to ....
13253 (tests-special): ... additions to this variable.
13254
81700b53
JM
13255 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13256 whole file.
13257 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13258 whole file.
13259 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13260 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13261
2ea18461
JM
13262 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13263 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13264 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13265 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13266 * conform/data/libgen.h-data [XPG3]: Likewise.
13267 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13268 * conform/data/ndbm.h-data [XPG3]: Likewise.
13269 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13270 * conform/data/netdb.h-data [XPG3]: Likewise.
13271 * conform/data/netinet/in.h-data [XPG3]: Likewise.
13272 * conform/data/poll.h-data [XPG3]: Likewise.
13273 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13274 * conform/data/strings.h-data [XPG3]: Likewise.
13275 * conform/data/stropts.h-data [XPG3]: Likewise.
13276 * conform/data/sys/mman.h-data [XPG3]: Likewise.
13277 * conform/data/sys/resource.h-data [XPG3]: Likewise.
13278 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13279 Likewise.
13280 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13281 * conform/data/sys/time.h-data [XPG3]: Likewise.
13282 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13283 * conform/data/sys/uio.h-data [XPG3]: Likewise.
13284 * conform/data/sys/un.h-data [XPG3]: Likewise.
13285 * conform/data/syslog.h-data [XPG3]: Likewise.
13286 * conform/data/ucontext.h-data [XPG3]: Likewise.
13287 * conform/data/utmpx.h-data [XPG3]: Likewise.
13288 * conform/data/varargs.h-data [UNIX98]: Enable file.
13289
355bc986
JM
13290 * manual/Makefile (INSTALL_INFO): Remove variable setting.
13291
215db402
JM
13292 * math/libm-test.inc (struct test_f_f_data): Move expected results
13293 into structure for each rounding mode.
13294 (struct test_ff_f_data): Likewise.
13295 (struct test_ff_f_data_nexttoward): Likewise.
13296 (struct test_fi_f_data): Likewise.
13297 (struct test_fl_f_data): Likewise.
13298 (struct test_if_f_data): Likewise.
13299 (struct test_fff_f_data): Likewise.
13300 (struct test_c_f_data): Likewise.
13301 (struct test_f_f1_data): Likewise.
13302 (struct test_fF_f1_data): Likewise.
13303 (struct test_ffI_f1_data): Likewise.
13304 (struct test_c_c_data): Likewise.
13305 (struct test_cc_c_data): Likewise.
13306 (struct test_f_i_data): Likewise.
13307 (struct test_ff_i_data): Likewise.
13308 (struct test_f_l_data): Likewise.
13309 (struct test_f_L_data): Likewise.
13310 (struct test_fFF_11_data): Likewise.
13311 (RM_): New macro.
13312 (RM_FE_DOWNWARD): Likewise.
13313 (RM_FE_TONEAREST): Likewise.
13314 (RM_FE_TOWARDZERO): Likewise.
13315 (RM_FE_UPWARD): Likewise.
13316 (RUN_TEST_LOOP_f_f): Update references to expected results.
13317 (RUN_TEST_LOOP_2_f): Likewise.
13318 (RUN_TEST_LOOP_fff_f): Likewise.
13319 (RUN_TEST_LOOP_c_f): Likewise.
13320 (RUN_TEST_LOOP_f_f1): Likewise.
13321 (RUN_TEST_LOOP_fF_f1): Likewise.
13322 (RUN_TEST_LOOP_fI_f1): Likewise.
13323 (RUN_TEST_LOOP_ffI_f1): Likewise.
13324 (RUN_TEST_LOOP_c_c): Likewise.
13325 (RUN_TEST_LOOP_cc_c): Likewise.
13326 (RUN_TEST_LOOP_f_i): Likewise.
13327 (RUN_TEST_LOOP_f_i_tg): Likewise.
13328 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13329 (RUN_TEST_LOOP_f_b): Likewise.
13330 (RUN_TEST_LOOP_f_b_tg): Likewise.
13331 (RUN_TEST_LOOP_f_l): Likewise.
13332 (RUN_TEST_LOOP_f_L): Likewise.
13333 (RUN_TEST_LOOP_fFF_11): Likewise.
13334 * math/gen-libm-test.pl (parse_args): Output four copies of
13335 expected results for each test.
13336
67737b8f
JM
13337 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13338 (__ASSUME_UTIMES): Remove.
13339 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13340 (__ASSUME_UTIMES): Likewise.
13341
aa97dee1
JM
13342 * math/gen-auto-libm-tests.c: Update comment on output format.
13343 (output_for_one_input_case): Generate before-rounding and
13344 after-rounding information as conditions on output flags not
13345 floating-point format.
13346 * math/auto-libm-test-out: Regenerated.
13347 * math/gen-libm-test.pl (cond_value): New function.
13348 (or_cond_value): Use cond_value.
13349 (generate_testfile): Handle conditional exceptions.
13350
e6b6a857
JM
133512014-03-05 Joseph Myers <joseph@codesourcery.com>
13352
2f0a0f44
JM
13353 * math/libm-test.inc (max_valid_error): New variable.
13354 (init_max_error): Take new argument specifying whether function
13355 results are exactly determined. Set max_valid_error and bound
13356 other variables for errors based on this argument.
13357 (set_max_error): Do not record results above max_valid_error.
13358 (check_float_internal): Only accept errors of up to 0.5ulps if
13359 also at most max_valid_error.
13360 (START): Take new argument EXACT and pass it to init_max_error.
13361 (acos_test): Update call to START.
13362 (acos_test_tonearest): Likewise.
13363 (acos_test_towardzero): Likewise.
13364 (acos_test_downward): Likewise.
13365 (acos_test_upward): Likewise.
13366 (acosh_test): Likewise.
13367 (asin_test): Likewise.
13368 (asin_test_tonearest): Likewise.
13369 (asin_test_towardzero): Likewise.
13370 (asin_test_downward): Likewise.
13371 (asin_test_upward): Likewise.
13372 (asinh_test): Likewise.
13373 (atan_test): Likewise.
13374 (atanh_test): Likewise.
13375 (atan2_test): Likewise.
13376 (cabs_test): Likewise.
13377 (cacos_test): Likewise.
13378 (cacosh_test): Likewise.
13379 (carg_test): Likewise.
13380 (casin_test): Likewise.
13381 (casinh_test): Likewise.
13382 (catan_test): Likewise.
13383 (catanh_test): Likewise.
13384 (cbrt_test): Likewise.
13385 (ccos_test): Likewise.
13386 (ccosh_test): Likewise.
13387 (ceil_test): Likewise.
13388 (cexp_test): Likewise.
13389 (cimag_test): Likewise.
13390 (clog_test): Likewise.
13391 (clog10_test): Likewise.
13392 (conj_test): Likewise.
13393 (copysign_test): Likewise.
13394 (cos_test): Likewise.
13395 (cos_test_tonearest): Likewise.
13396 (cos_test_towardzero): Likewise.
13397 (cos_test_downward): Likewise.
13398 (cos_test_upward): Likewise.
13399 (cosh_test): Likewise.
13400 (cosh_test_tonearest): Likewise.
13401 (cosh_test_towardzero): Likewise.
13402 (cosh_test_downward): Likewise.
13403 (cosh_test_upward): Likewise.
13404 (cpow_test): Likewise.
13405 (cproj_test): Likewise.
13406 (creal_test): Likewise.
13407 (csin_test): Likewise.
13408 (csinh_test): Likewise.
13409 (csqrt_test): Likewise.
13410 (ctan_test): Likewise.
13411 (ctan_test_tonearest): Likewise.
13412 (ctan_test_towardzero): Likewise.
13413 (ctan_test_downward): Likewise.
13414 (ctan_test_upward): Likewise.
13415 (ctanh_test): Likewise.
13416 (ctanh_test_tonearest): Likewise.
13417 (ctanh_test_towardzero): Likewise.
13418 (ctanh_test_downward): Likewise.
13419 (ctanh_test_upward): Likewise.
13420 (erf_test): Likewise.
13421 (erfc_test): Likewise.
13422 (exp_test): Likewise.
13423 (exp_test_tonearest): Likewise.
13424 (exp_test_towardzero): Likewise.
13425 (exp_test_downward): Likewise.
13426 (exp_test_upward): Likewise.
13427 (exp10_test): Likewise.
13428 (exp10_test_tonearest): Likewise.
13429 (exp10_test_towardzero): Likewise.
13430 (exp10_test_downward): Likewise.
13431 (exp10_test_upward): Likewise.
13432 (pow10_test): Likewise.
13433 (exp2_test): Likewise.
13434 (expm1_test): Likewise.
13435 (expm1_test_tonearest): Likewise.
13436 (expm1_test_towardzero): Likewise.
13437 (expm1_test_downward): Likewise.
13438 (expm1_test_upward): Likewise.
13439 (fabs_test): Likewise.
13440 (fdim_test): Likewise.
13441 (floor_test): Likewise.
13442 (fma_test): Likewise.
13443 (fma_test_towardzero): Likewise.
13444 (fma_test_downward): Likewise.
13445 (fma_test_upward): Likewise.
13446 (fmax_test): Likewise.
13447 (fmin_test): Likewise.
13448 (fmod_test): Likewise.
13449 (fpclassify_test): Likewise.
13450 (frexp_test): Likewise.
13451 (hypot_test): Likewise.
13452 (ilogb_test): Likewise.
13453 (isfinite_test): Likewise.
13454 (finite_test): Likewise.
13455 (isgreater_test): Likewise.
13456 (isgreaterequal_test): Likewise.
13457 (isinf_test): Likewise.
13458 (isless_test): Likewise.
13459 (islessequal_test): Likewise.
13460 (islessgreater_test): Likewise.
13461 (isnan_test): Likewise.
13462 (isnormal_test): Likewise.
13463 (issignaling_test): Likewise.
13464 (isunordered_test): Likewise.
13465 (j0_test): Likewise.
13466 (j1_test): Likewise.
13467 (jn_test): Likewise.
13468 (ldexp_test): Likewise.
13469 (lgamma_test): Likewise.
13470 (gamma_test): Likewise.
13471 (lrint_test): Likewise.
13472 (lrint_test_tonearest): Likewise.
13473 (lrint_test_towardzero): Likewise.
13474 (lrint_test_downward): Likewise.
13475 (lrint_test_upward): Likewise.
13476 (llrint_test): Likewise.
13477 (llrint_test_tonearest): Likewise.
13478 (llrint_test_towardzero): Likewise.
13479 (llrint_test_downward): Likewise.
13480 (llrint_test_upward): Likewise.
13481 (log_test): Likewise.
13482 (log10_test): Likewise.
13483 (log1p_test): Likewise.
13484 (log2_test): Likewise.
13485 (logb_test): Likewise.
13486 (logb_test_downward): Likewise.
13487 (lround_test): Likewise.
13488 (llround_test): Likewise.
13489 (modf_test): Likewise.
13490 (nearbyint_test): Likewise.
13491 (nextafter_test): Likewise.
13492 (nexttoward_test): Likewise.
13493 (pow_test): Likewise.
13494 (pow_test_tonearest): Likewise.
13495 (pow_test_towardzero): Likewise.
13496 (pow_test_downward): Likewise.
13497 (pow_test_upward): Likewise.
13498 (remainder_test): Likewise.
13499 (drem_test): Likewise.
13500 (remainder_test_tonearest): Likewise.
13501 (drem_test_tonearest): Likewise.
13502 (remainder_test_towardzero): Likewise.
13503 (drem_test_towardzero): Likewise.
13504 (remainder_test_downward): Likewise.
13505 (drem_test_downward): Likewise.
13506 (remainder_test_upward): Likewise.
13507 (drem_test_upward): Likewise.
13508 (remquo_test): Likewise.
13509 (rint_test): Likewise.
13510 (rint_test_tonearest): Likewise.
13511 (rint_test_towardzero): Likewise.
13512 (rint_test_downward): Likewise.
13513 (rint_test_upward): Likewise.
13514 (round_test): Likewise.
13515 (scalb_test): Likewise.
13516 (scalbn_test): Likewise.
13517 (scalbln_test): Likewise.
13518 (signbit_test): Likewise.
13519 (sin_test): Likewise.
13520 (sin_test_tonearest): Likewise.
13521 (sin_test_towardzero): Likewise.
13522 (sin_test_downward): Likewise.
13523 (sin_test_upward): Likewise.
13524 (sincos_test): Likewise.
13525 (sinh_test): Likewise.
13526 (sinh_test_tonearest): Likewise.
13527 (sinh_test_towardzero): Likewise.
13528 (sinh_test_downward): Likewise.
13529 (sinh_test_upward): Likewise.
13530 (sqrt_test): Likewise.
13531 (sqrt_test_tonearest): Likewise.
13532 (sqrt_test_towardzero): Likewise.
13533 (sqrt_test_downward): Likewise.
13534 (sqrt_test_upward): Likewise.
13535 (tan_test): Likewise.
13536 (tan_test_tonearest): Likewise.
13537 (tan_test_towardzero): Likewise.
13538 (tan_test_downward): Likewise.
13539 (tan_test_upward): Likewise.
13540 (tanh_test): Likewise.
13541 (tgamma_test): Likewise.
13542 (trunc_test): Likewise.
13543 (y0_test): Likewise.
13544 (y1_test): Likewise.
13545 (yn_test): Likewise.
13546 (significand_test): Likewise.
13547
e6b6a857
JM
13548 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13549 individual tests in comment.
13550 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13551 (prev_max_error): New variable.
13552 (prev_real_max_error): Likewise.
13553 (prev_imag_max_error): Likewise.
13554 (compare_ulp_data): Don't refer to test names in comment.
13555 (find_test_ulps): Remove function.
13556 (find_function_ulps): Likewise.
13557 (find_complex_function_ulps): Likewise.
13558 (init_max_error): Take function name as argument. Look up ulps
13559 for that function.
13560 (print_ulps): Remove function.
13561 (print_max_error): Use prev_max_error instead of calling
13562 find_function_ulps.
13563 (print_complex_max_error): Use prev_real_max_error and
13564 prev_imag_max_error instead of calling find_complex_function_ulps.
13565 (check_float_internal): Take max_ulp parameter instead of calling
13566 find_test_ulps. Don't call print_ulps.
13567 (check_float): Update call to check_float_internal.
13568 (check_complex): Update calls to check_float_internal.
13569 (START): Pass argument to init_max_error.
13570 * math/gen-libm-test.pl (%results): Don't include "kind"
13571 information.
13572 (parse_ulps): Don't handle ulps of individual tests.
13573 (print_ulps_file): Likewise.
13574 (output_ulps): Likewise.
13575 * math/README.libm-test: Update.
13576 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13577 individual tests.
13578 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13579 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13580 * sysdeps/arm/libm-test-ulps: Likewise.
13581 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13582 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13583 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13584 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13585 * sysdeps/microblaze/libm-test-ulps: Likewise.
13586 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13587 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13588 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13589 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13590 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13591 * sysdeps/sh/libm-test-ulps: Likewise.
13592 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13593 * sysdeps/tile/libm-test-ulps: Likewise.
13594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13595
45adef3c
JM
135962014-03-04 Joseph Myers <joseph@codesourcery.com>
13597
13598 * math/libm-test.inc (print_complex_max_error): Check separately
13599 whether real and imaginary errors are within allowed range and
13600 pass 0 to print_complex_function_ulps instead of value within
13601 allowed range.
13602
000232b9
SP
136032014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13604
d4b17258
SP
13605 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13606 formatting.
13607 (get_handles_fopen): Likewise.
13608 (do_write_test): Likewise.
13609
091eff71
SP
13610 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13611
fa3cd248
SP
13612 * libio/fileops.c (do_ftell): Use cached offset when
13613 available.
13614 * libio/iofwide.c (do_ftell_wide): Likewise.
13615 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13616 _IO_file_attach.
13617 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13618
000232b9
SP
13619 [BZ #16532]
13620 * libio/libioP.h (get_file_offset): New function.
13621 * libio/fileops.c (get_file_offset): Likewise.
13622 (do_ftell): Likewise.
13623 (_IO_new_file_seekoff): Split out ftell logic.
13624 * libio/wfileops.c (do_ftell_wide): Likewise.
13625 (_IO_wfile_seekoff): Split out ftell logic.
13626 * libio/tst-ftell-active-handler.c: New test case.
13627 * libio/Makefile (tests): Add it.
13628
116f4d1a
RM
136292014-03-03 Roland McGrath <roland@hack.frob.com>
13630
13631 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13632 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13633
532a6035
SP
136342014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13635
13636 [BZ #16639]
13637 * nscd/connections.c (nscd_init): Call do_exit.
13638 (start_threads): Call do_exit and notify_parent.
13639 (begin_drop_privileges): Call do_exit.
13640 (finish_drop_privileges): Likewise.
13641 * nscd/selinux.c (preserve_capabilities): Likewise.
13642 (install_real_capabilities): Likewise.
13643 (nscd_selinux_enabled): Likewise.
13644 (avc_create_thread): Likewise.
13645 (avc_alloc_lock): Likewise.
13646 (nscd_avc_init): Likewise.
13647 * nscd/nscd.c (parent_fd): New static variable.
13648 (main): Create a pipe between parent and child processes.
13649 Skip closing parent_fd.
13650 (monitor_child): New function.
13651 (do_exit): Likewise.
13652 (notify_parent): Likewise.
13653 * nscd/nscd.h (notify_parent): Likewise.
13654 (do_exit): Likewise.
13655
d6285c9f
CD
136562014-03-03 Carlos O'Donell <carlos@redhat.com>
13657
13658 * malloc/malloc.c (__libc_calloc): Revert last change.
13659
2b85d2a0
AZ
136602014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13661
13662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13663
c7debbdf
RS
136642014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13665
13666 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13668 implementation.
13669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13670 (__libc_ifunc_impl_list): Likewise.
13671 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13672 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13673 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13674 * string/strrchr.c: Define STRRCHR.
13675
235eed86
OB
136762014-02-28 Ondřej Bílka <neleai@seznam.cz>
13677
13678 * benchtest/bench-strtok.c (simple_strtok): Delete.
13679 (strtok_string): Use as benchmark.
13680 * string/strtok (STRTOK): New macro.
13681
8e25d1e7
CD
136822014-02-28 Carlos O'Donell <carlos@redhat.com>
13683
ef563f92
CD
13684 * manual/threads.texi: Add header and standard comments to all
13685 functions.
13686
8e25d1e7
CD
13687 * elf/dl-lookup.c (check_match): New function.
13688 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13689 (do_lookup_x): Remove nested function check_match. Use non-nested
13690 function check_match.
13691
ff71cc37
RM
136922014-02-28 Roland McGrath <roland@hack.frob.com>
13693
f08e9a26
RM
13694 * csu/Makefile (generated, before-compile): Use += rather than =.
13695 * catgets/Makefile (generated, generated-dirs): Likewise.
13696 * debug/Makefile (generated): Likewise.
13697 * dlfcn/Makefile (generated): Likewise.
13698 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13699 * iconvdata/Makefile (before-compile, generated): Likewise.
13700 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13701 * libio/Makefile (generated): Likewise.
13702 * malloc/Makefile (generated): Likewise.
13703 * manual/Makefile (generated, generated-dirs): Likewise.
13704 * misc/Makefile (generated): Likewise.
13705 * posix/Makefile (generated): Likewise.
13706 * resolv/Makefile (generated): Likewise.
13707 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13708 * timezone/Makefile (generated, generated-dirs): Likewise.
13709
ff71cc37
RM
13710 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13711
fe13a20c
AZ
137122014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13713
57f41c40
AS
13714 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13715 power8 implementation.
13716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13717 file: POWER8 llround ifunc implementation.
13718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13719 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
13720 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13721 POWER8 llround implementation.
13722
57f41c40
AS
13723 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13724 power8 implementation.
13725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13726 file: POWER8 llrint ifunc implementation.
13727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13728 Add POWER8 implementation.
1ad8950a
AZ
13729 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13730 POWER8 llrint implementation.
13731
57f41c40
AS
13732 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13733 power8 implementation.
13734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13735 file: POWER8 finite ifunc implementation.
13736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13737 Add POWER8 implementation.
cac626d6
AZ
13738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13739 Likewise.
13740 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13741 POWER8 finite implementation.
13742 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13743
57f41c40
AS
13744 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13745 power8 implementation.
13746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13747 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
13748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13749 POWER8 implementation.
13750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13751 Likewise.
57f41c40
AS
13752 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13753 isinf implementation.
4393fc11
AZ
13754 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13755
57f41c40
AS
13756 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13757 (INIT_ARCH): Add hwcap2 initialization.
13758 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13759 power8 implementation.
13760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13761 file: POWER8 isnan ifunc implementation.
487972ae
AZ
13762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13763 POWER8 implementation.
13764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13765 Likewise.
57f41c40
AS
13766 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13767 isnan implementation.
487972ae
AZ
13768 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13769
7d92b787
JY
137702014-02-27 Joey Ye <joey.ye@arm.com>
13771
13772 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13773 (_FP_NANFRAC_Q): Set to zero.
13774
1cadc858
SP
137752014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13776
13777 [BZ #16623]
13778 * math/auto-libm-test-in: New test inputs.
13779 * math/auto-libm-test-out: Regenerate.
13780 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13781 and DA.
13782 (__cos): Likewise.
13783 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13784
f8c17e79
JM
137852014-02-27 Joseph Myers <joseph@codesourcery.com>
13786
13787 * scripts/evaluate-test.sh: Take new argument indicating whether
13788 failure is expected.
13789 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13790 indicating whether failure is expected.
13791 * conform/Makefile (test-xfail-run-conformtest): New variable.
13792 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13793 level.
13794 * posix/Makefile (test-xfail-annexc): New variable.
13795 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13796
a5f891ac
JM
137972014-02-26 Joseph Myers <joseph@codesourcery.com>
13798
13799 * argp/Makefile: Include Makeconfig immediately after defining
13800 subdir.
13801 * assert/Makefile: Likewise.
13802 * benchtests/Makefile: Likewise.
13803 * catgets/Makefile: Likewise.
13804 * conform/Makefile: Likewise.
13805 * crypt/Makefile: Likewise.
13806 * csu/Makefile: Likewise.
13807 (all): Remove target.
13808 * ctype/Makefile: Include Makeconfig immediately after defining
13809 subdir.
13810 * debug/Makefile: Likewise.
13811 * dirent/Makefile: Likewise.
13812 * dlfcn/Makefile: Likewise.
13813 * gmon/Makefile: Likewise.
13814 * gnulib/Makefile: Likewise.
13815 * grp/Makefile: Likewise.
13816 * gshadow/Makefile: Likewise.
13817 * hesiod/Makefile: Likewise.
13818 * hurd/Makefile: Likewise.
13819 (all): Remove target.
13820 * iconvdata/Makefile: Include Makeconfig immediately after
13821 defining subdir.
13822 * inet/Makefile: Likewise.
13823 * intl/Makefile: Likewise.
13824 * io/Makefile: Likewise.
13825 * libio/Makefile: Likewise.
13826 (all): Remove target.
13827 * locale/Makefile: Include Makeconfig immediately after defining
13828 subdir.
13829 * login/Makefile: Likewise.
13830 * mach/Makefile: Likewise.
13831 (all): Remove target.
13832 * malloc/Makefile: Include Makeconfig immediately after defining
13833 subdir.
13834 (all): Remove target.
13835 * manual/Makefile: Include Makeconfig immediately after defining
13836 subdir.
13837 * math/Makefile: Likewise.
13838 * misc/Makefile: Likewise.
13839 * nis/Makefile: Likewise.
13840 * nss/Makefile: Likewise.
13841 * po/Makefile: Likewise.
13842 (all): Remove target.
13843 * posix/Makefile: Include Makeconfig immediately after defining
13844 subdir.
13845 * pwd/Makefile: Likewise.
13846 * resolv/Makefile: Likewise.
13847 * resource/Makefile: Likewise.
13848 * rt/Makefile: Likewise.
13849 * setjmp/Makefile: Likewise.
13850 * shadow/Makefile: Likewise.
13851 * signal/Makefile: Likewise.
13852 * socket/Makefile: Likewise.
13853 * soft-fp/Makefile: Likewise.
13854 * stdio-common/Makefile: Likewise.
13855 * stdlib/Makefile: Likewise.
13856 * streams/Makefile: Likewise.
13857 * string/Makefile: Likewise.
13858 * sunrpc/Makefile: Likewise.
13859 (all): Remove target.
13860 * sysvipc/Makefile: Include Makeconfig immediately after defining
13861 subdir.
13862 * termios/Makefile: Likewise.
13863 * time/Makefile: Likewise.
13864 * timezone/Makefile: Likewise.
13865 (all): Remove target.
13866 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13867 subdir.
13868 * wctype/Makefile: Likewise.
13869
5b456e9d
SE
138702014-02-26 Steve Ellcey <sellcey@mips.com>
13871
13872 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13873 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13874 (libc_feholdexcept_setround_mips): Ditto.
13875 (libc_feholdsetround): New.
13876 (libc_feholdsetroundf): New.
13877 (libc_feholdsetroundl): New.
13878 (libc_feupdateenv_test_mips): New.
13879 (libc_feupdateenv_test): New.
13880 (libc_feupdateenv_testf): New.
13881 (libc_feupdateenv_testl): New.
13882 (libc_feresetround): New.
13883 (libc_feresetroundf): New.
13884 (libc_feresetroundl): New.
13885 (libc_fetestexcept_mips): New.
13886 (libc_fetestexcept): New.
13887 (libc_fetestexceptf): New.
13888 (libc_fetestexceptl): New.
13889 (HAVE_RM_CTX): New.
13890 (libc_feholdexcept_setround_mips_ctx): New.
13891 (libc_feholdexcept_setround_ctx): New.
13892 (libc_feholdexcept_setroundf_ctx): New.
13893 (libc_feholdexcept_setroundl_ctx): New.
13894 (libc_fesetenv_mips_ctx): New.
13895 (libc_fesetenv_ctx): New.
13896 (libc_fesetenv_ctxf): New.
13897 (libc_fesetenv_ctxl): New.
13898 (libc_feupdateenv_mips_ctx): New.
13899 (libc_feupdateenv_ctx): New.
13900 (libc_feupdateenvf_ctx): New.
13901 (libc_feupdateenvl_ctx): New.
13902 (libc_feholdsetround_mips_ctx): New.
13903 (libc_feholdsetround_ctx): New.
13904 (libc_feholdsetroundf_ctx): New.
13905 (libc_feholdsetroundl_ctx): New.
13906 (libc_feresetround_mips_ctx): New.
13907 (libc_feresetround_ctx): New.
13908 (libc_feresetroundf_ctx): New.
13909 (libc_feresetroundl_ctx): New.
13910
085d0e35
CD
139112014-02-26 Carlos O'Donell <carlos@redhat.com>
13912
f067bf1f
CD
13913 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13914
085d0e35
CD
13915 * manual/ipc.texi: New file.
13916 * manual/Makefile (chapters): Add ipc.
13917 * manual/job.texi: Add "Inter-Process Communication" to next.
13918 * manual/process.texi: Add "Inter-Process Communication" to prev.
13919
86e58c08
AZ
139202014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13921
13922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13923
4248f0da
OB
139242014-02-26 Ondřej Bílka <neleai@seznam.cz>
13925
13926 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13927
cf822e3c
OB
13928 * manual/arith.texi: Fix spaces after sentences.
13929 * manual/charset.texi: Likewise.
13930 * manual/errno.texi: Likewise.
13931 * manual/install.texi: Likewise.
13932 * manual/llio.texi: Likewise.
13933 * manual/locale.texi: Likewise.
13934 * manual/maint.texi: Likewise.
13935 * manual/math.texi: Likewise.
13936 * manual/memory.texi: Likewise.
13937 * manual/message.texi: Likewise.
13938 * manual/probes.texi: Likewise.
13939 * manual/resource.texi: Likewise.
13940 * manual/signal.texi: Likewise.
13941 * manual/socket.texi: Likewise.
13942 * manual/stdio.texi: Likewise.
13943 * manual/string.texi: Likewise.
13944 * manual/time.texi: Likewise.
13945 * manual/users.texi: Likewise.
13946
ade40b10
CD
139472014-02-25 Carlos O'Donell <carlos@redhat.com>
13948
13949 [BZ #16632]
13950 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13951 _DEFAULT_SOURCE is defined.
13952
d0503676
CD
139532014-02-25 Ulrich Drepper <drepper@gmail.com>
13954 Carlos O'Donell <carlos@redhat.com>
13955
13956 [BZ #16613]
13957 * elf/dl-tls.c (_dl_count_modids): New function.
13958 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13959 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13960 audit library and increment generation counter.
13961 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13962 * elf/tst-audit9.c: New file.
13963 * elf/tst-auditmod9a.c: New file.
13964 * elf/tst-auditmod9b.c: New file.
13965 * elf/Makefile: Add rules to build and run tst-audit9.
13966
4cbf380c
FW
139672014-02-25 Florian Weimer <fweimer@redhat.com>
13968
13969 [BZ #15347]
13970 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13971
80a56cc3
WN
139722014-02-25 Will Newton <will.newton@linaro.org>
13973
13974 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13975 (__longjmp): Restore sp and lr before restoring callee
13976 saved registers. Add longjmp and longjmp_target
13977 SystemTap probe point.
13978 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13979 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13980 Define to zero to match jmpbuf layout.
13981 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13982 (__sigsetjmp): Save sp and lr before saving callee
13983 saved registers. Add setjmp SystemTap probe point.
13984
3ea0f74e
SL
139852014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13986
13987 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13988
b04acb26
AS
139892014-02-24 Andreas Schwab <schwab@suse.de>
13990
13991 [BZ #15804]
13992 * elf/pldd.c (wait_for_ptrace_stop): New function.
13993 (main): Call it after attaching.
13994
098ad55c
RM
139952014-02-22 Roland McGrath <roland@hack.frob.com>
13996
d4ec6ae1
RM
13997 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13998 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13999 Versions files is now verboten.
14000 * hurd/Versions (libc: GLIBC_2.0):
14001 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14002 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14003 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14004 * mach/Versions: Likewise.
14005
098ad55c
RM
14006 * csu/Versions: Remove unused %include.
14007 * resolv/Versions: Likewise.
14008
acd7f096
JM
140092014-02-21 Joseph Myers <joseph@codesourcery.com>
14010
f0881698
JM
14011 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14012 ($(objpfx)check-local-headers.out): Likewise.
14013 ($(objpfx)begin-end-check.out): Likewise.
14014 * Makerules (check-abi-%.out): Likewise.
14015 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14016 ($(objpfx)test2.cat): Likewise.
14017 ($(objpfx)de/libc.cat): Likewise.
14018 ($(objpfx)test-gencat.out): Likewise.
14019 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14020 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14021 ($(objpfx)noload-mem): Likewise.
14022 ($(objpfx)tst-pathopt.out): Likewise.
14023 ($(objpfx)tst-rtld-load-self.out): Likewise.
14024 ($(objpfx)tst-array1-cmp.out): Likewise.
14025 ($(objpfx)tst-array1-static-cmp.out): Likewise.
14026 ($(objpfx)tst-array2-cmp.out): Likewise.
14027 ($(objpfx)tst-array3-cmp.out): Likewise.
14028 ($(objpfx)tst-array4-cmp.out): Likewise.
14029 ($(objpfx)tst-array5-cmp.out): Likewise.
14030 ($(objpfx)tst-array5-static-cmp.out): Likewise.
14031 ($(objpfx)check-textrel.out): Likewise.
14032 ($(objpfx)check-execstack.out): Likewise.
14033 ($(objpfx)check-localplt.out): Likewise.
14034 ($(objpfx)order2-cmp.out): Likewise.
14035 ($(objpfx)tst-leaks1-mem): Likewise.
14036 ($(objpfx)tst-leaks1-static-mem): Likewise.
14037 ($(objpfx)tst-initorder-cmp.out): Likewise.
14038 ($(objpfx)tst-initorder2-cmp.out): Likewise.
14039 ($(objpfx)tst-unused-dep.out): Likewise.
14040 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14041 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14042 * iconv/Makefile (test-iconvconfig): Likewise.
14043 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14044 ($(objpfx)iconv-test.out): Likewise.
14045 ($(objpfx)tst-tables.out): Likewise.
14046 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14047 ($(objpfx)tst-gettext.out): Likewise.
14048 ($(objpfx)tst-translit.out): Likewise.
14049 ($(objpfx)tst-gettext2.out): Likewise.
14050 ($(objpfx)tst-gettext4.out): Likewise.
14051 ($(objpfx)tst-gettext6.out): Likewise.
14052 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14053 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14054 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14055 ($(objpfx)tst-fopenloc-mem.out): Likewise.
14056 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14057 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14058 * posix/Makefile ($(objpfx)globtest.out): Likewise.
14059 ($(objpfx)wordexp-tst.out): Likewise.
14060 ($(objpfx)annexc.out): Likewise.
14061 ($(objpfx)tst-fnmatch-mem): Likewise.
14062 ($(objpfx)bug-regex2-mem): Likewise.
14063 ($(objpfx)bug-regex14-mem): Likewise.
14064 ($(objpfx)bug-regex21-mem): Likewise.
14065 ($(objpfx)bug-regex31-mem): Likewise.
14066 ($(objpfx)tst-vfork3-mem): Likewise.
14067 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14068 ($(objpfx)tst-pcre-mem): Likewise.
14069 ($(objpfx)tst-boost-mem): Likewise.
14070 ($(objpfx)tst-getconf.out): Likewise.
14071 ($(objpfx)bug-ga2-mem): Likewise.
14072 ($(objpfx)bug-glob2-mem): Likewise.
14073 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14074 ($(objpfx)mtrace-tst-leaks2): Likewise.
14075 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14076 ($(objpfx)tst-printf.out): Likewise.
14077 ($(objpfx)tst-setvbuf1.out): Likewise.
14078 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14079 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14080 ($(objpfx)tst-fmtmsg.out): Likewise.
14081 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14082 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14083
acd7f096
JM
14084 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14085 * bits/sigaction.h [__USE_MISC]: Likewise.
14086 * bits/waitstatus.h: Update #endif comments.
14087 * ctype/ctype.h: Likewise.
14088 * dirent/dirent.h: Likewise.
14089 [__USE_MISC]: Remove redundant conditionals.
14090 * grp/grp.h: Update #endif comments.
14091 [__USE_GNU]: Remove redundant conditionals.
14092 [__USE_MISC]: Likewise.
14093 * inet/netinet/in.h [__USE_GNU]: Likewise.
14094 * io/sys/stat.h [__USE_MISC]: Likewise.
14095 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14096 * libio/bits/stdio.h: Update #endif comments.
14097 [__USE_MISC]: Remove redundant conditionals.
14098 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14099 * libio/stdio.h: Update #endif comments.
14100 [__USE_MISC]: Remove redundant conditionals.
14101 * math/bits/math-finite.h [__USE_MISC]: Likewise.
14102 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14103 * math/math.h: Update #else and #endif comments.
14104 [__USE_MISC]: Remove redundant conditionals.
14105 * misc/sys/uio.h: Update #endif comments.
14106 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14107 * posix/glob.h [__USE_MISC]: Likewise.
14108 * posix/sys/types.h: Update #endif comments.
14109 [__USE_MISC]: Remove redundant conditionals.
14110 * posix/sys/wait.h: Update #endif comments.
14111 [__USE_MISC]: Remove redundant conditionals.
14112 * posix/unistd.h: Update #endif comments.
14113 [__USE_MISC]: Remove redundant conditionals.
14114 * pwd/pwd.h [__USE_GNU]: Likewise.
14115 [__USE_MISC]: Likewise.
14116 * resolv/netdb.h [__USE_GNU]: Likewise.
14117 * signal/signal.h: Update #endif comments.
14118 [__USE_MISC]: Remove redundant conditionals.
14119 * stdlib/stdlib.h: Update #else and #endif comments.
14120 [__USE_MISC]: Remove redundant conditionals.
14121 [__USE_GNU]: Likewise.
14122 * string/bits/string2.h [__USE_MISC]: Likewise.
14123 * string/string.h: Update #endif comments.
14124 [__USE_MISC]: Remove redundant conditionals.
14125 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14126 Likewise.
14127 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14128 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14129 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14130 Likewise.
14131 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14132 Likewise.
14133 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14134 comments.
14135 [__USE_MISC]: Remove redundant conditionals.
14136 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14137 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14138 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14139 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14140 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14141 Likewise.
14142 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14143 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14144 Likewise.
14145 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14146 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14147 Likewise.
14148 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14149 Likewise.
14150 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14151 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14152 Likewise.
14153 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14154 Likewise.
14155 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14156 * sysdeps/x86/bits/string.h: Update #endif comments.
14157 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14158 conditionals.
14159 * time/sys/time.h: Update #endif comments.
14160 * time/time.h: Likewise.
14161 [__USE_MISC]: Remove redundant conditionals.
14162
a5d82e4e
YG
141632014-02-21 Yury Gribov <y.gribov@samsung.com>
14164
14165 [BZ #16600]
14166 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14167
9a80491d
AS
141682014-02-21 Andreas Schwab <schwab@linux-m68k.org>
14169
14170 * Versions.def (librt): Add GLIBC_2.17.
14171
105fa381
AC
141722014-02-21 Adam Conrad <adconrad@0c3.net>
14173
14174 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14175 synonym for _SYS_AUXV_H to allow direct inclusion.
14176 * sysdeps/sparc/bits/hwcap.h: Likewise.
14177 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14178 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14179 * sysdeps/sparc/sysdep.h: Likewise.
14180
b8cd1c4e
SP
141812014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14182
14183 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14184
bd939d23
RS
141852014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14186
14187 * benchtests/bench-strrchr.c: Print length instead of position.
14188
5d7b57ca
JM
141892014-02-20 Joseph Myers <joseph@codesourcery.com>
14190
bc688c10
JM
14191 [BZ #16611]
14192 * sysdeps/unix/sysv/linux/kernel-features.h
14193 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14194 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14195 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14196 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14197 Likewise.
14198 [__i386__ || __powerpc__ || __sh__ || __sparc__]
14199 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14200 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14201 (__ASSUME_SENDMMSG): Define instead of using previous
14202 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14203 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14204 (__ASSUME_SENDMMSG_SYSCALL): Define.
14205 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14206 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14207 Likewise.
14208 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14209 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14210 Likewise.
14211 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14212 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14213 Likewise.
14214 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14215 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14216 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14217 [__ASSUME_SENDMMSG]: Change conditionals to
14218 [__ASSUME_SENDMMSG_SOCKETCALL].
14219 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14220 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14221 Define.
14222 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14223 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14224 Likewise.
14225 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14226 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14227 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14228 [!__ASSUME_SENDMMSG]: Change conditional to
14229 [!__ASSUME_SENDMMSG_SOCKETCALL].
14230 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14231 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14232 Define.
14233
0e31b18c
JM
14234 [BZ #16610]
14235 * sysdeps/unix/sysv/linux/kernel-features.h
14236 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14237 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14238 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14239 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14240 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14241 [__i386__ || __sparc__]
14242 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14243 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14244 (__ASSUME_RECVMMSG): Define instead of using previous
14245 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14246 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14247 (__ASSUME_RECVMMSG_SYSCALL): Define.
14248 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14249 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14250 Likewise.
14251 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14252 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14253 Likewise.
14254 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14255 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14256 Likewise.
14257 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14258 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14259 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14260 [__ASSUME_RECVMMSG]: Change condition to
14261 [__ASSUME_RECVMMSG_SOCKETCALL].
14262 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14263 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14264 Define.
14265 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14266 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14267 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14268 Likewise.
14269 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14270 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14271 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14272 [!__ASSUME_RECVMMSG]: Change condition to
14273 [!__ASSUME_RECVMMSG_SOCKETCALL].
14274 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14275 (__ASSUME_RECVMMSG_SYSCALL): Define.
14276
dd481ccf
JM
14277 [BZ #16609]
14278 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14279 __powerpc__ || __s390__ || __sh__ || __sparc__]
14280 (__ASSUME_SOCKETCALL): Define.
14281 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14282 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14283 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14284 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14285 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14286 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14287 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14288 (__ASSUME_ACCEPT4): Define instead of using previous
14289 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14290 __powerpc__ || __sparc__ || __s390__)] condition.
14291 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14292 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14293 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14294 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14295 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14296 [!__ASSUME_ACCEPT4]: Change condition to
14297 [!__ASSUME_ACCEPT4_SOCKETCALL].
14298 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14299 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
14300 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14301 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14302 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14303 __ASSUME_ACCEPT4_SYSCALL.
14304 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14305 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14306 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14307 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14308 __ASSUME_ACCEPT4_SYSCALL.
14309 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14310 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14311 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14312 [__ASSUME_ACCEPT4]: Change condition to
14313 [__ASSUME_ACCEPT4_SOCKETCALL].
14314 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14315 (__ASSUME_SOCKETCALL): Define.
14316 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14317 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14318 (__ASSUME_SOCKETCALL): Define.
14319 (__ASSUME_ACCEPT4): Remove.
14320 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14321 Define.
14322 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14323 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14324 Likewise.
14325 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14326 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14327
5d7b57ca
JM
14328 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14329 macro.
14330 (HWCAP_ARM_LPAE): Likewise.
14331 (HWCAP_ARM_EVTSTRM): Likewise.
14332 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14333 Add vpfd32, lpae and evtstrm.
14334 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14335 Increase to 22.
14336
63689d61
JM
143372014-02-19 Joseph Myers <joseph@codesourcery.com>
14338
14339 * math/auto-libm-test-in: Add tests of clog10.
14340 * math/auto-libm-test-out: Regenerated.
14341 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14342 * sysdeps/i386/fpu/libm-test-ulps: Update.
14343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14344
ab09bf61
AS
143452014-02-18 Andreas Schwab <schwab@suse.de>
14346
14347 [BZ #16574]
14348 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14349 Store non-zero if the second buffer was newly allocated.
14350 (send_dg): Likewise.
14351 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14352 to send_vc and send_dg.
14353 (res_nsend): Pass NULL for ansp2_malloced.
14354 * resolv/res_query.c (__libc_res_nquery): Add parameter
14355 answerp2_malloced and pass it down to __libc_res_nsend.
14356 (res_nquery): Pass additional NULL to __libc_res_nquery.
14357 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14358 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
14359 second answer buffer if answerp2_malloced was set.
14360 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14361 (__libc_res_nquerydomain): Add parameter
14362 answerp2_malloced and pass it down to __libc_res_nquery.
14363 (res_nquerydomain): Pass additional NULL to
14364 __libc_res_nquerydomain.
14365 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14366 additional NULL to __libc_res_nsend and __libc_res_nquery.
14367 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14368 additional NULL to __libc_res_nsearch.
14369 (_nss_dns_gethostbyname4_r): Revert last change. Use new
14370 parameter of __libc_res_nsearch to check for separately allocated
14371 second buffer.
14372 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14373 __libc_res_nquery.
14374 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14375 additional NULL to __libc_res_nquery.
14376 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14377 __libc_res_nsearch.
14378 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14379 * include/resolv.h: Update prototypes of __libc_res_nquery,
14380 __libc_res_nsearch, __libc_res_nsend.
14381
a4fb7861
JM
143822014-02-18 Joseph Myers <joseph@codesourcery.com>
14383
c6af2d89
JM
14384 * math/auto-libm-test-in: Add tests of fma.
14385 * math/auto-libm-test-out: Regenerated.
14386 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14387 (fma_towardzero_test_data): Likewise.
14388 (fma_downward_test_data): Likewise.
14389 (fma_upward_test_data): Likewise.
14390 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14391 mpc_mode.
14392 (rounding_modes): Add values for new field.
14393 (func_calc_method): Add value mpfr_fff_f.
14394 (func_calc_desc): Add mpfr_fff_f union field.
14395 (test_function): Add field exact_args.
14396 (FUNC): Add macro argument EXACT_ARGS.
14397 (FUNC_mpfr_f_f): Update call to FUNC.
14398 (FUNC_mpfr_f_f): Likewise.
14399 (FUNC_mpfr_ff_f): Likewise.
14400 (FUNC_mpfr_if_f): Likewise.
14401 (FUNC_mpc_c_f): Likewise.
14402 (FUNC_mpc_c_c): Likewise.
14403 (test_functions): Add fma. Update calls to FUNC.
14404 (handle_input_arg): Add argument exact_args.
14405 (add_test): Update call to handle_input_arg.
14406 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14407 (output_for_one_input_case): Update call to calc_generic_results.
14408 Recalculate exact zero results in each rounding mode.
14409
a4fb7861
JM
14410 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14411 non-negative before setting low bit.
14412 * math/auto-libm-test-in: Mark one asin test possibly having
14413 spurious underflow.
14414 * math/auto-libm-test-out: Regenerated.
14415 * sysdeps/i386/fpu/libm-test-ulps: Update.
14416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14417
ef114eaf
DH
144182014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14419
2b7f4f2c
SP
14420 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14421 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14422 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
14423 * README: Add missing listing for microblaze*-*-linux-gnu.
14424
8125aedc
AM
144252014-02-16 Ondřej Bílka <neleai@seznam.cz>
14426
14427 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14428 duplicate code
14429
c70a4b1d
MF
144302014-02-16 Mike Frysinger <vapier@gentoo.org>
14431
14432 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14433 * sysdeps/unix/sysv/linux/ia64: Move directory from
14434 ports/sysdeps/unix/sysv/linux/ia64.
14435 * README: Update listing for ia64-*-linux-gnu.
14436
591aeaf7
TD
144372014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14438 Joseph Myers <joseph@codesourcery.com>
14439
14440 * Makeconfig (test-name): New variable.
14441 (evaluate-test): Likewise.
14442 * Makerules (do-test-clean): Remove .test-result files.
14443 (common-mostlyclean): Likewise.
14444 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14445 * scripts/evaluate-test.sh: New file.
14446
6e89caf1
JM
144472014-02-14 Joseph Myers <joseph@codesourcery.com>
14448
7f98f180
JM
14449 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14450 separate $(objpfx)tst-fopenloc-cmp.out and
14451 $(objpfx)tst-fopenloc-mem.out targets.
14452 (tests): Update dependencies.
14453 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14454 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14455 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14456 (tst-rxspencer-no-utf8-ARGS): New variable.
14457 (tst-rxspencer-no-utf8-ENV): Likewise.
14458 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14459 instead of $(objpfx)tst-rxspencer-mem.
14460 ($(objpfx)tst-rxspencer-mem): Change target to
14461 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14462 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14463 * posix/tst-rxspencer-no-utf8.c: New file.
14464
6e89caf1
JM
14465 * elf/Makefile ($(objpfx)order.out): Remove rule.
14466 [$(run-built-tests) = yes] (tests): Depend on
14467 $(objpfx)order-cmp.out.
14468 ($(objpfx)order-cmp.out): New rule.
14469 [$(run-built-tests) = yes] (tests): Depend on
14470 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14471 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14472 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14473 $(objpfx)tst-array5-static-cmp.out.
14474 ($(objpfx)tst-array1.out): Remove rule.
14475 ($(objpfx)tst-array1-cmp.out): New rule.
14476 ($(objpfx)tst-array1-static.out): Remove rule.
14477 ($(objpfx)tst-array1-static-cmp.out): New rule.
14478 ($(objpfx)tst-array2.out): Remove rule.
14479 ($(objpfx)tst-array2-cmp.out): New rule.
14480 ($(objpfx)tst-array3.out): Remove rule.
14481 ($(objpfx)tst-array3-cmp.out): New rule.
14482 ($(objpfx)tst-array4.out): Remove rule.
14483 ($(objpfx)tst-array4-cmp.out): New rule.
14484 ($(objpfx)tst-array5.out): Remove rule.
14485 ($(objpfx)tst-array5-cmp.out): New rule.
14486 ($(objpfx)tst-array5-static.out): Remove rule.
14487 ($(objpfx)tst-array5-static-cmp.out): New rule.
14488 [$(run-built-tests) = yes] (tests): Depend on
14489 $(objpfx)order2-cmp.out.
14490 ($(objpfx)order2.out): Remove rule.
14491 ($(objpfx)order2-cmp.out): New rule.
14492 ($(objpfx)tst-initorder.out): Remove rule.
14493 [$(run-built-tests) = yes] (tests): Depend on
14494 $(objpfx)tst-initorder-cmp.out.
14495 ($(objpfx)tst-initorder-cmp.out): New rule.
14496 ($(objpfx)tst-initorder2.out): Remove rule.
14497 [$(run-built-tests) = yes] (tests): Depend on
14498 $(objpfx)tst-initorder2-cmp.out.
14499 ($(objpfx)tst-initorder2-cmp.out): New rule.
14500 [$(run-built-tests) = yes] (tests): Depend on
14501 $(objpfx)tst-unused-dep-cmp.out.
14502 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14503 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14504 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14505 on $(objpfx)tst-setvbuf1-cmp.out.
14506 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14507 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14508 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14509 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14510 ($(objpfx)tst-svc.out): Remove rule.
14511 ($(objpfx)tst-svc-cmp.out): New rule.
14512
ed9a38e2
JM
145132014-02-13 Joseph Myers <joseph@codesourcery.com>
14514
14515 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14516 * ctype/ctype.h [__USE_MISC]: Likewise.
14517 * dirent/dirent.h [__USE_MISC]: Likewise.
14518 * grp/grp.h [__USE_MISC]: Likewise.
14519 * io/fcntl.h [__USE_MISC]: Likewise.
14520 * io/sys/stat.h [__USE_MISC]: Likewise.
14521 * libio/stdio.h [__USE_MISC]: Likewise.
14522 * posix/unistd.h [__USE_MISC]: Likewise.
14523 * pwd/pwd.h [__USE_MISC]: Likewise.
14524 * stdlib.h [__USE_MISC]: Likewise.
14525 * string/bits/string2.h [__USE_MISC]: Likewise.
14526 * string/string.h [__USE_MISC]: Likewise.
14527 * time/time.h [__USE_MISC]: Likewise.
14528
d6680619
AS
145292014-02-13 Andreas Schwab <schwab@suse.de>
14530
14531 [BZ #16574]
14532 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14533 second answer buffer if it was separately allocated.
14534
ace614b8
JM
145352014-02-12 Joseph Myers <joseph@codesourcery.com>
14536
743151ae
JM
14537 * sysdeps/mips/math-tests.h: Include <features.h>.
14538 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14539 (ROUNDING_TESTS_long_double): Do not define.
14540 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14541 (EXCEPTION_TESTS_long_double): Likewise.
14542 * sysdeps/mips/mips64/libm-test-ulps: Update.
14543
498afc54
JM
14544 * include/features.h (__USE_BSD): Remove macro definitions.
14545 (__USE_SVID): Likewise.
14546 (_BSD_SOURCE): Likewise.
14547 (_SVID_SOURCE): Likewise.
14548 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14549 from definition of _DEFAULT_SOURCE.
14550 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14551 [_DEFAULT_SOURCE].
14552 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14553 * bits/mman.h [__USE_BSD]: Likewise.
14554 * bits/termios.h [__USE_BSD]: Likewise.
14555 * bits/waitstatus.h [__USE_BSD]: Likewise.
14556 * ctype/ctype.h [__USE_SVID]: Likewise.
14557 * dirent/dirent.h [__USE_BSD]: Likewise.
14558 * grp/grp.h [__USE_SVID]: Likewise.
14559 [__USE_BSD]: Likewise.
14560 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14561 * io/fcntl.h [__USE_BSD]: Likewise.
14562 * io/ftw.h [__USE_BSD]: Likewise.
14563 * io/sys/stat.h [__USE_BSD]: Likewise.
14564 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14565 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14566 * libio/stdio.h [__USE_SVID]: Likewise.
14567 [__USE_BSD]: Likewise.
14568 * math/math.h [__USE_SVID]: Likewise.
14569 [__USE_BSD]: Likewise.
14570 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14571 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14572 * misc/search.h [__USE_SVID]: Likewise.
14573 * misc/sys/mman.h [__USE_BSD]: Likewise.
14574 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14575 * misc/sys/uio.h [__USE_BSD]: Likewise.
14576 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14577 * posix/glob.h [__USE_BSD]: Likewise.
14578 * posix/regex.h [__USE_BSD]: Likewise.
14579 * posix/sys/types.h [__USE_BSD]: Likewise.
14580 [__USE_SVID]: Likewise.
14581 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14582 * posix/sys/wait.h [__USE_BSD]: Likewise.
14583 [__USE_SVID]: Likewise.
14584 * posix/unistd.h [__USE_BSD]: Likewise.
14585 [__USE_SVID]: Likewise.
14586 * pwd/pwd.h [__USE_SVID]: Likewise.
14587 * resolv/netdb.h [__USE_BSD]: Likewise.
14588 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14589 * signal/signal.h [__USE_BSD]: Likewise.
14590 [__USE_SVID]: Likewise.
14591 * socket/sys/socket.h [__USE_BSD]: Likewise.
14592 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14593 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14594 [__USE_SVID]: Likewise.
14595 * string/bits/string2.h [__USE_BSD]: Likewise.
14596 [__USE_SVID]: Likewise.
14597 * string/bits/string3.h [__USE_BSD]: Likewise.
14598 * string/endian.h [__USE_BSD]: Likewise.
14599 * string/string.h [__USE_SVID]: Likewise.
14600 [__USE_BSD]: Likewise.
14601 * string/strings.h [__USE_BSD]: Likewise.
14602 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14603 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14604 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14605 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14606 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14607 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14608 Likewise.
14609 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14610 Likewise.
14611 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14612 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14613 Likewise.
14614 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14615 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14616 Likewise.
14617 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14618 Likewise.
14619 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14620 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14621 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14622 Likewise.
14623 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14624 Likewise.
14625 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14626 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14627 * termios/termios.h [__USE_BSD]: Likewise.
14628 * time/sys/time.h [__USE_BSD]: Likewise.
14629 * time/time.h [__USE_BSD]: Likewise.
14630 [__USE_SVID]: Likewise.
14631
dd7b064c
JM
14632 * Makefile (subdir_targets): Remove subdir_lint.out.
14633
a2c4c199
JM
14634 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14635 (do-tst-printf): Likewise.
14636 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14637 $(objpfx)tst-printf.out.
14638
8756f740
JM
14639 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14640
1b6dd3f1
JM
14641 * Makerules (check-abi-%): Change target to
14642 $(objpfx)check-abi-%.out.
14643 (check-abi target): Update dependencies.
14644 (check-abi-pattern variable): Redirect output of diff to $@.
14645 (check-abi variable): Likewise.
14646 * elf/Makefile (check-abi): Update dependencies.
14647
ace614b8
JM
14648 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14649 unused.
14650 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14651 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14652 subnormal range.
14653 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14654 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14655 value has largest subnormal exponent.
14656 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14657 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14658 * sysdeps/aarch64/soft-fp/sfp-machine.h
14659 (_FP_TININESS_AFTER_ROUNDING): New macro.
14660 * sysdeps/alpha/soft-fp/sfp-machine.h
14661 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14662 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14663 Likewise.
14664 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14665 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14666 * sysdeps/mips/soft-fp/sfp-machine.h
14667 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14668 * sysdeps/powerpc/soft-fp/sfp-machine.h
14669 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14670 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14671 Likewise.
14672 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14673 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14674 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14675 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14676 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14677 Likewise.
14678
fbfdf9cb
DAS
146792014-02-12 Dylan Alex Simon <dylan@dylex.net>
14680
14681 [BZ #16545]
14682 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14683 model 1.
14684
68b7efaa
RH
146852014-02-12 Richard Henderson <rth@redhat.com>
14686
c70a4b1d 14687 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
14688 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14689 * sysdeps/unix/sysv/linux/alpha: Move directory from
14690 ports/sysdeps/unix/sysv/linux/alpha.
14691 * README: Update listing for alpha-*-linux-gnu.
14692
cb4a2928
JM
146932014-02-11 Joseph Myers <joseph@codesourcery.com>
14694
c941736c
JM
14695 * include/features.h: Update comment documenting feature test
14696 macros.
14697 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14698 _DEFAULT_SOURCE.
14699 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14700 (_SVID_SOURCE): Likewise.
14701 (_DEFAULT_SOURCE): Update description of default features.
14702 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14703 with _GNU_SOURCE.
14704 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14705 (S_ISVTX): Likewise.
14706 * manual/math.texi (Mathematical Constants): Likewise.
14707 * manual/signal.texi (Interrupted Primitives): Likewise.
14708 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14709 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14710 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14711 Don't refer to _SVID_SOURCE in warning text.
14712
e8d8d7ec
JM
14713 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14714
cb4a2928
JM
14715 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14716 already defined.
14717 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14718 * sysdeps/mips/dl-lookup.c: Remove.
14719 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14720
7e6424e3
AK
147212014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14722
14723 [BZ #16447]
14724 * math/auto-libm-test-in: Add testcase for expl.
14725 * math/auto-libm-test-out: Regenerate.
14726 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14727 calculation of unsafe.
14728 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14729
75eff3fe
MS
147302014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14731
14732 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14733 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14734 ports/sysdeps/unix/sysv/linux/aarch64.
14735 * README: Update listing for aarch64*-*-linux-gnu.
14736
d35f1e80
WN
147372014-02-11 Will Newton <will.newton@linaro.org>
14738
14739 * manual/probes.texi (Mathematical Function Probes): Use
14740 "triggered" instead of "hit".
14741
7b3436d4
WN
14742 * manual/probes.texi (Internal Probes): Add documentation
14743 of setjmp, longjmp and longjmp_target probes.
14744
b4f12ca3
WN
14745 * include/stap-probe.h: Add comment about probe argument
14746 format.
14747
c13a72b7
WN
14748 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14749 definition. (tr_where, tr_freehook, tr_mallochook,
14750 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14751
195b8165
DM
147522014-02-11 David S. Miller <davem@davemloft.net>
14753
14754 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14755 processing int_tests.
14756
2ad7600b
JM
147572014-02-10 Joseph Myers <joseph@codesourcery.com>
14758
14759 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14760 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14761 * sysdeps/unix/sysv/linux/mips: Move directory from
14762 ports/sysdeps/unix/sysv/linux/mips.
14763 * README: Update listing for mips-*-linux-gnu and
14764 mips64-*-linux-gnu.
14765
73588a72
AS
147662014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14767
14768 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14769 * sysdeps/unix/sysv/linux/m68k: Move directory from
14770 ports/sysdeps/unix/sysv/linux/m68k.
14771 * README: Update listing for m68k-*-linux-gnu.
14772
4372980f
CM
147732014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14774
14775 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14776 * sysdeps/unix/sysv/linux/generic: Move directory from
14777 ports/sysdeps/unix/sysv/linux/generic.
14778 * sysdeps/unix/sysv/linux/tile: Move directory from
14779 ports/sysdeps/unix/sysv/linux/tile.
14780 * README: Update listing for tile*-*-linux-gnu.
14781
a1ffb40e
OB
147822014-02-10 Ondřej Bílka <neleai@seznam.cz>
14783
57f41c40
AS
14784 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14785 __builtin_expect.
a1ffb40e
OB
14786 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14787 * catgets/open_catalog.c (__open_catalog): Likewise.
14788 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14789 * debug/confstr_chk.c: Likewise.
14790 * debug/fread_chk.c (__fread_chk): Likewise.
14791 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14792 * debug/getgroups_chk.c: Likewise.
14793 * debug/mbsnrtowcs_chk.c: Likewise.
14794 * debug/mbsrtowcs_chk.c: Likewise.
14795 * debug/mbstowcs_chk.c: Likewise.
14796 * debug/memcpy_chk.c: Likewise.
14797 * debug/memmove_chk.c: Likewise.
14798 * debug/mempcpy_chk.c: Likewise.
14799 * debug/memset_chk.c: Likewise.
14800 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14801 * debug/strcat_chk.c (__strcat_chk): Likewise.
14802 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14803 * debug/strncat_chk.c (__strncat_chk): Likewise.
14804 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14805 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14806 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14807 * debug/wcpncpy_chk.c: Likewise.
14808 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14809 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14810 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14811 * debug/wcsncpy_chk.c: Likewise.
14812 * debug/wcsnrtombs_chk.c: Likewise.
14813 * debug/wcsrtombs_chk.c: Likewise.
14814 * debug/wcstombs_chk.c: Likewise.
14815 * debug/wmemcpy_chk.c: Likewise.
14816 * debug/wmemmove_chk.c: Likewise.
14817 * debug/wmempcpy_chk.c: Likewise.
14818 * debug/wmemset_chk.c: Likewise.
14819 * dirent/scandirat.c (SCANDIRAT): Likewise.
14820 * dlfcn/dladdr1.c (dladdr1): Likewise.
14821 * dlfcn/dladdr.c (dladdr): Likewise.
14822 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14823 * dlfcn/dlerror.c (__dlerror): Likewise.
14824 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14825 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14826 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14827 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14828 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14829 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14830 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14831 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14832 Likewise.
14833 * elf/dl-conflict.c: Likewise.
14834 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14835 * elf/dl-dst.h: Likewise.
14836 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14837 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14838 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14839 * elf/dl-init.c (call_init, _dl_init): Likewise.
14840 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
14841 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14842 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14843 Likewise.
a1ffb40e
OB
14844 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14845 Likewise.
14846 * elf/dl-minimal.c (__libc_memalign): Likewise.
14847 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14848 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14849 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14850 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
14851 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14852 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
14853 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14854 * elf/dl-writev.h (_dl_writev): Likewise.
14855 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
14856 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14857 (dl_main): Likewise.
a1ffb40e
OB
14858 * elf/setup-vdso.h (setup_vdso): Likewise.
14859 * grp/compat-initgroups.c (compat_call): Likewise.
14860 * grp/fgetgrent.c (fgetgrent): Likewise.
14861 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14862 * grp/putgrent.c (putgrent): Likewise.
14863 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14864 Likewise.
14865 * hurd/hurdinit.c: Likewise.
14866 * iconvdata/8bit-gap.c (struct): Likewise.
14867 * iconvdata/ansi_x3.110.c : Likewise.
14868 * iconvdata/big5.c : Likewise.
14869 * iconvdata/big5hkscs.c : Likewise.
14870 * iconvdata/cp1255.c: Likewise.
14871 * iconvdata/cp1258.c : Likewise.
14872 * iconvdata/cp932.c : Likewise.
14873 * iconvdata/euc-cn.c: Likewise.
14874 * iconvdata/euc-jisx0213.c : Likewise.
14875 * iconvdata/euc-jp.c: Likewise.
14876 * iconvdata/euc-jp-ms.c : Likewise.
14877 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14878 * iconvdata/gb18030.c : Likewise.
14879 * iconvdata/gbbig5.c (const): Likewise.
14880 * iconvdata/gbgbk.c: Likewise.
14881 * iconvdata/gbk.c : Likewise.
14882 * iconvdata/ibm1364.c : Likewise.
14883 * iconvdata/ibm930.c : Likewise.
14884 * iconvdata/ibm932.c: Likewise.
14885 * iconvdata/ibm933.c : Likewise.
14886 * iconvdata/ibm935.c : Likewise.
14887 * iconvdata/ibm937.c : Likewise.
14888 * iconvdata/ibm939.c : Likewise.
14889 * iconvdata/ibm943.c: Likewise.
14890 * iconvdata/iso_11548-1.c: Likewise.
14891 * iconvdata/iso-2022-cn.c : Likewise.
14892 * iconvdata/iso-2022-cn-ext.c : Likewise.
14893 * iconvdata/iso-2022-jp-3.c: Likewise.
14894 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14895 * iconvdata/iso-2022-kr.c : Likewise.
14896 * iconvdata/iso646.c (gconv_end): Likewise.
14897 * iconvdata/iso_6937-2.c : Likewise.
14898 * iconvdata/iso_6937.c : Likewise.
14899 * iconvdata/iso8859-1.c: Likewise.
14900 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14901 * iconvdata/shift_jisx0213.c : Likewise.
14902 * iconvdata/sjis.c : Likewise.
14903 * iconvdata/t.61.c : Likewise.
14904 * iconvdata/tcvn5712-1.c : Likewise.
14905 * iconvdata/tscii.c: Likewise.
14906 * iconvdata/uhc.c : Likewise.
14907 * iconvdata/unicode.c (gconv_end): Likewise.
14908 * iconvdata/utf-16.c (gconv_end): Likewise.
14909 * iconvdata/utf-32.c (gconv_end): Likewise.
14910 * iconvdata/utf-7.c (base64): Likewise.
14911 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14912 * iconv/gconv_close.c (__gconv_close): Likewise.
14913 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
14914 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14915 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14916 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14917 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14918 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
14919 * iconv/iconv.c (iconv): Likewise.
14920 * iconv/iconv_close.c: Likewise.
14921 * iconv/loop.c (SINGLE): Likewise.
14922 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14923 * include/atomic.h: Likewise.
14924 * inet/inet6_option.c (option_alloc): Likewise.
14925 * intl/bindtextdom.c (set_binding_values): Likewise.
14926 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14927 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14928 * intl/localealias.c (read_alias_file): Likewise.
14929 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
14930 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14931 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
14932 * libio/fmemopen.c (fmemopen): Likewise.
14933 * libio/iofgets.c (_IO_fgets): Likewise.
14934 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14935 * libio/iofgetws.c (fgetws): Likewise.
14936 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14937 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
14938 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14939 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
14940 * locale/findlocale.c (_nl_find_locale): Likewise.
14941 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14942 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14943 Likewise.
14944 * locale/setlocale.c (setlocale): Likewise.
14945 * login/programs/pt_chown.c (main): Likewise.
14946 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14947 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
14948 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14949 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
14950 * math/e_exp2l.c: Likewise.
14951 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14952 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14953 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14954 * math/s_catan.c (__catan): Likewise.
14955 * math/s_catanf.c (__catanf): Likewise.
14956 * math/s_catanh.c (__catanh): Likewise.
14957 * math/s_catanhf.c (__catanhf): Likewise.
14958 * math/s_catanhl.c (__catanhl): Likewise.
14959 * math/s_catanl.c (__catanl): Likewise.
14960 * math/s_ccosh.c (__ccosh): Likewise.
14961 * math/s_ccoshf.c (__ccoshf): Likewise.
14962 * math/s_ccoshl.c (__ccoshl): Likewise.
14963 * math/s_cexp.c (__cexp): Likewise.
14964 * math/s_cexpf.c (__cexpf): Likewise.
14965 * math/s_cexpl.c (__cexpl): Likewise.
14966 * math/s_clog10.c (__clog10): Likewise.
14967 * math/s_clog10f.c (__clog10f): Likewise.
14968 * math/s_clog10l.c (__clog10l): Likewise.
14969 * math/s_clog.c (__clog): Likewise.
14970 * math/s_clogf.c (__clogf): Likewise.
14971 * math/s_clogl.c (__clogl): Likewise.
14972 * math/s_csin.c (__csin): Likewise.
14973 * math/s_csinf.c (__csinf): Likewise.
14974 * math/s_csinh.c (__csinh): Likewise.
14975 * math/s_csinhf.c (__csinhf): Likewise.
14976 * math/s_csinhl.c (__csinhl): Likewise.
14977 * math/s_csinl.c (__csinl): Likewise.
14978 * math/s_csqrt.c (__csqrt): Likewise.
14979 * math/s_csqrtf.c (__csqrtf): Likewise.
14980 * math/s_csqrtl.c (__csqrtl): Likewise.
14981 * math/s_ctan.c (__ctan): Likewise.
14982 * math/s_ctanf.c (__ctanf): Likewise.
14983 * math/s_ctanh.c (__ctanh): Likewise.
14984 * math/s_ctanhf.c (__ctanhf): Likewise.
14985 * math/s_ctanhl.c (__ctanhl): Likewise.
14986 * math/s_ctanl.c (__ctanl): Likewise.
14987 * math/w_pow.c: Likewise.
14988 * math/w_powf.c: Likewise.
14989 * math/w_powl.c: Likewise.
14990 * math/w_scalb.c (sysv_scalb): Likewise.
14991 * math/w_scalbf.c (sysv_scalbf): Likewise.
14992 * math/w_scalbl.c (sysv_scalbl): Likewise.
14993 * misc/error.c (error_tail): Likewise.
14994 * misc/pselect.c (__pselect): Likewise.
14995 * nis/nis_callback.c (__nis_create_callback): Likewise.
14996 * nis/nis_call.c (__nisfind_server): Likewise.
14997 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14998 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14999 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15000 * nis/nis_getservlist.c (nis_getservlist): Likewise.
15001 * nis/nis_lookup.c (nis_lookup): Likewise.
15002 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
15003 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15004 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 15005 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
15006 * nis/nss_compat/compat-grp.c (getgrent_next_file)
15007 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15008 * nis/nss_compat/compat-initgroups.c (add_group)
15009 (internal_getgrent_r): Likewise.
15010 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15011 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15012 * nis/nss_compat/compat-spwd.c (getspent_next_file)
15013 (internal_getspnam_r): Likewise.
15014 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15015 (_nss_nis_getaliasbyname_r): Likewise.
15016 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15017 (_nss_nis_getntohost_r): Likewise.
15018 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15019 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15020 (_nss_nis_getgrgid_r): Likewise.
15021 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15022 (internal_nis_gethostent_r, internal_gethostbyname2_r)
15023 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15024 (_nss_nis_gethostbyname4_r): Likewise.
15025 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15026 (initgroups_netid): Likewise.
a1ffb40e 15027 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
15028 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15029 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15030 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15031 (_nss_nis_getprotobynumber_r): Likewise.
15032 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15033 (_nss_nis_getsecretkey): Likewise.
15034 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15035 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15036 (_nss_nis_getpwuid_r): Likewise.
15037 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15038 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15039 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15040 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15041 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15042 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
15043 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15044 Likewise.
57f41c40
AS
15045 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15046 (_nss_nisplus_getntohost_r): Likewise.
15047 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15048 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15049 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15050 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 15051 Likewise.
57f41c40
AS
15052 * nis/nss_nisplus/nisplus-initgroups.c
15053 (_nss_nisplus_initgroups_dyn): Likewise.
15054 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15055 (_nss_nisplus_getnetbyaddr_r): Likewise.
15056 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15057 (_nss_nisplus_getprotobynumber_r): Likewise.
15058 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15059 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
15060 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15061 Likewise.
57f41c40
AS
15062 * nis/nss_nisplus/nisplus-service.c
15063 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15064 (_nss_nisplus_getservbyport_r): Likewise.
15065 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15066 (_nss_nisplus_getspnam_r): Likewise.
15067 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15068 Likewise.
a1ffb40e
OB
15069 * nscd/aicache.c (addhstaiX): Likewise.
15070 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
15071 * nscd/connections.c (register_traced_file, send_ro_fd)
15072 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15073 (main_loop_epoll): Likewise.
a1ffb40e
OB
15074 * nscd/grpcache.c (addgrbyX): Likewise.
15075 * nscd/hstcache.c (addhstbyX): Likewise.
15076 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15077 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
15078 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15079 (addinnetgrX): Likewise.
15080 * nscd/nscd-client.h (__nscd_acquire_maplock)
15081 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
15082 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15083 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15084 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15085 Likewise.
15086 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15087 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
15088 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15089 (__nscd_get_map_ref): Likewise.
a1ffb40e 15090 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
15091 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15092 Likewise.
a1ffb40e
OB
15093 * nscd/pwdcache.c (addpwbyX): Likewise.
15094 * nscd/selinux.c (preserve_capabilities): Likewise.
15095 * nscd/servicescache.c (addservbyX): Likewise.
15096 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15097 * posix/fnmatch.c (fnmatch): Likewise.
15098 * posix/getopt.c (_getopt_internal_r): Likewise.
15099 * posix/glob.c (glob, glob_in_dir): Likewise.
15100 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
15101 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15102 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
15103 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15104 * resolv/res_init.c: Likewise.
15105 * resolv/res_mkquery.c (res_nmkquery): Likewise.
15106 * resolv/res_query.c (__libc_res_nquery): Likewise.
15107 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15108 Likewise.
15109 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15110 * stdio-common/perror.c (perror): Likewise.
15111 * stdio-common/printf_fp.c (___printf_fp): Likewise.
15112 * stdio-common/tmpnam.c (tmpnam): Likewise.
15113 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15114 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
15115 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15116 Likewise.
a1ffb40e
OB
15117 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15118 * stdlib/putenv.c (putenv): Likewise.
15119 * stdlib/setenv.c (__add_to_environ): Likewise.
15120 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15121 * stdlib/strtol_l.c (INTERNAL): Likewise.
15122 * string/memmem.c (memmem): Likewise.
15123 * string/strerror.c (strerror): Likewise.
15124 * string/strnlen.c (__strnlen): Likewise.
15125 * string/test-memmem.c (simple_memmem): Likewise.
15126 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15127 * sunrpc/pm_getport.c (__get_socket): Likewise.
15128 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15129 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
15130 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15131 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
15132 Likewise.
15133 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15134 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15135 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15136 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15137 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
15138 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15139 Likewise.
15140 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15141 Likewise.
a1ffb40e
OB
15142 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15143 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15144 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15145 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15146 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15148 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15149 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15150 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15151 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15152 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15153 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15154 Likewise.
15155 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15156 Likewise.
15157 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15158 Likewise.
15159 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15160 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15161 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15162 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15163 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15164 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15165 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15166 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15167 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15168 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15169 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15170 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15171 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15172 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15173 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
15174 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15175 Likewise.
a1ffb40e
OB
15176 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15177 Likewise.
15178 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15179 Likewise.
15180 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15181 Likewise.
15182 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15183 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15184 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15185 Likewise.
15186 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15187 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15188 * sysdeps/posix/opendir.c (__opendirat): Likewise.
15189 * sysdeps/posix/sleep.c: Likewise.
15190 * sysdeps/posix/tempname.c: Likewise.
15191 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15192 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15193 Likewise.
57f41c40
AS
15194 * sysdeps/powerpc/powerpc32/dl-machine.h
15195 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
15196 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15197 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15198 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15199 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15200 Likewise.
15201 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15202 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15203 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15204 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15205 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15206 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15207 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15208 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15209 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15210 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15211 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15212 (elf_machine_lazy_rel): Likewise.
a1ffb40e 15213 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15214 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15215 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15216 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15217 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15218 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15219 * sysdeps/unix/grantpt.c (grantpt): Likewise.
15220 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15221 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15222 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15223 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15224 Likewise.
15225 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15226 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15227 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15228 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15229 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15230 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15231 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15232 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15233 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15234 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15235 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15236 Likewise.
15237 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15238 (__posix_fallocate64_l64): Likewise.
15239 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15240 (posix_fallocate): Likewise.
57f41c40
AS
15241 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15242 Likewise.
a1ffb40e 15243 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
15244 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15245 (getifaddrs_internal): Likewise.
a1ffb40e
OB
15246 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15247 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15248 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15249 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15250 * sysdeps/unix/sysv/linux/posix_fallocate64.c
15251 (__posix_fallocate64_l64): Likewise.
15252 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15253 Likewise.
15254 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
15255 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15256 (__get_clockfreq): Likewise.
a1ffb40e
OB
15257 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15258 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15259 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15260 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15261 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15262 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15263 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15264 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15265 Likewise.
15266 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15267 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15268 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15269 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15270 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15271 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15272 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15273 Likewise.
15274 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15275 (posix_fallocate): Likewise.
15276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15277 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15278 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15279 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15280 (elf_machine_rela, elf_machine_rela_relative)
15281 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15282 * time/asctime.c (asctime_internal): Likewise.
15283 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15284 * time/tzset.c (__tzset_parse_tz): Likewise.
15285 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15286 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15287 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15288 * wcsmbs/wcsmbsload.h: Likewise.
15289
f3d338c9
OB
15290 [BZ #15894]
15291 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15292
57f41c40
AS
15293 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15294 (arena_get2): Remove THREAD_STATS conditionals.
15295 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15296 (__malloc_stats, int): Likewise.
bdfe308a 15297
d674667c
MF
152982014-02-08 Mike Frysinger <vapier@gentoo.org>
15299
15300 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15301 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
15302
6349768c
MF
15303 * manual/setjmp.texi: Fix typos/grammar errors.
15304
0b7c7473
MF
15305 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15306 Only return early when n is <= 0. Delete unused return statement.
15307
ac8cc9e3
MF
15308 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15309 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15310 * debug/tst-longjmp_chk3.c: New file.
15311
c5bb8e23
MF
15312 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15313 (test_main): Replace code with set_fortify_handler call.
15314 * debug/test-strcpy_chk.c: Likewise.
15315 * debug/tst-chk1.c: Likewise.
15316 * debug/tst-longjmp_chk.c: Likewise.
15317 * test-skeleton.c: Include fcntl.h & paths.h
15318 (set_fortify_handler): Define.
15319
10444e42
MF
15320 * debug/tst-longjmp_chk.c: Add header comment and include
15321 ../test-skeleton.c.
15322 (do_test): Mark static.
15323 (TEST_FUNCTION): Define.
15324
1e805e8d
MF
15325 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15326 (IP_PMTUDISC_INTERFACE): Likewise.
15327 (IP_MULTICAST_IF): Likewise.
15328 (IP_MULTICAST_TTL): Likewise.
15329 (IP_MULTICAST_LOOP): Likewise.
15330 (IP_ADD_MEMBERSHIP): Likewise.
15331 (IP_DROP_MEMBERSHIP): Likewise.
15332 (IP_UNBLOCK_SOURCE): Likewise.
15333 (IP_BLOCK_SOURCE): Likewise.
15334 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15335 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15336 (IP_MSFILTER): Likewise.
15337 (MCAST_JOIN_GROUP): Likewise.
15338 (MCAST_BLOCK_SOURCE): Likewise.
15339 (MCAST_UNBLOCK_SOURCE): Likewise.
15340 (MCAST_LEAVE_GROUP): Likewise.
15341 (MCAST_JOIN_SOURCE_GROUP): Likewise.
15342 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15343 (MCAST_MSFILTER): Likewise.
15344 (IP_MULTICAST_ALL): Likewise.
15345 (IP_UNICAST_IF): Likewise.
15346
73f79bb7
MF
15347 * timezone/Makefile: Delete $(have-ksh) check.
15348 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15349 * timezone/tzselect.ksh: Add +x mode bits.
15350
8da79b60
MF
15351 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15352 (ANON_INODE_FS_MAGIC): Likewise.
15353 (BDEVFS_MAGIC): Likewise.
15354 (BINFMTFS_MAGIC): Likewise.
15355 (BTRFS_TEST_MAGIC): Likewise.
15356 (CRAMFS_MAGIC_WEND): Likewise.
15357 (DEBUGFS_MAGIC): Likewise.
15358 (ECRYPTFS_SUPER_MAGIC): Likewise.
15359 (EXT3_SUPER_MAGIC): Likewise.
15360 (EXT4_SUPER_MAGIC): Likewise.
15361 (FUTEXFS_SUPER_MAGIC): Likewise.
15362 (HOSTFS_SUPER_MAGIC): Likewise.
15363 (HUGETLBFS_MAGIC): Likewise.
15364 (MINIX3_SUPER_MAGIC): Likewise.
15365 (MTD_INODE_FS_MAGIC): Likewise.
15366 (NILFS_SUPER_MAGIC): Likewise.
15367 (OPENPROM_SUPER_MAGIC): Likewise.
15368 (PIPEFS_MAGIC): Likewise.
15369 (PSTOREFS_MAGIC): Likewise.
15370 (QNX6_SUPER_MAGIC): Likewise.
15371 (RAMFS_MAGIC): Likewise.
15372 (REISERFS_SUPER_MAGIC_STRING): Likewise.
15373 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15374 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15375 (SECURITYFS_MAGIC): Likewise.
15376 (SELINUX_MAGIC): Likewise.
15377 (SMACK_MAGIC): Likewise.
15378 (SOCKFS_MAGIC): Likewise.
15379 (SQUASHFS_MAGIC): Likewise.
15380 (STACK_END_MAGIC): Likewise.
15381 (TMPFS_MAGIC): Likewise.
15382 (USBDEVICE_SUPER_MAGIC): Likewise.
15383 (V9FS_MAGIC): Likewise.
15384 (XENFS_SUPER_MAGIC): Likewise.
15385 (CRAMFS_MAGIC): Fix typo in comment.
15386 (EXT2_SUPER_MAGIC): Update comment.
15387 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15388
464263cc
JM
153892014-02-08 Joseph Myers <joseph@codesourcery.com>
15390
c6bfe5c4
JM
15391 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15392 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15393 * sysdeps/unix/sysv/linux/arm: Move directory from
15394 ports/sysdeps/unix/sysv/linux/arm.
15395 * README: Update listing for arm-*-linux-gnueabi.
15396
464263cc
JM
15397 * README: Remove mention of am33.
15398
32749f6c
RM
153992014-02-07 Roland McGrath <roland@hack.frob.com>
15400
15401 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15402 than the comma operator, to avoid "rhs of comma has no effect"
15403 compiler warnings.
15404 (__sigfillset, __sigandset, __sigorset): Likewise.
15405 * include/signal.h (__sigemptyset): Likewise.
15406 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15407
d5b396c1
AM
154082014-02-07 Allan McRae <allan@archlinux.org>
15409
15410 * version.h (RELEASE): Set to "development".
15411 (VERSION): Set to "2.19.90"
15412 * NEWS: Add 2.20 section.
15413
3bfff2ed
CD
154142014-02-06 Carlos O'Donell <carlos@redhat.com>
15415
15416 [BZ #16529]
15417 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15418
ee7cc385
SP
154192014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15420
15421 * manual/contrib.texi: Update entry for Carlos O'Donell,
15422 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15423
f877c4f2
CD
154242014-02-05 Carlos O'Donell <carlos@rehdat.com>
15425
27e839f6
CD
15426 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15427
f877c4f2
CD
15428 * sysdeps/unix/sysv/linux/kernel-features.h
15429 [__LINUX_KERNEL_VERSION >= 0x020621]
15430 (__ASSUME_PROC_PID_TASK_COMM): Define.
15431
68159946
SP
154322014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15433
ba17cdbd
SP
15434 [BZ #16398]
15435 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15436 conversion when destination buffer does not have enough space.
15437 * libio/tst-ftell-partial-wide.c: New test case.
15438 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15439
68159946
SP
15440 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15441 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15442 Leonard and Allan McRae.
15443
2b528732
DM
154442014-02-04 David S. Miller <davem@davemloft.net>
15445
15446 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15447 32-bit.
15448
0ff82463
AZ
154492014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15450
57f41c40
AS
15451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15452 New file
c01603f7
AZ
15453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15454 New file
57f41c40
AS
15455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15456 New file.
15457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15458 New file.
c01603f7
AZ
15459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15460 New file.
57f41c40
AS
15461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15462 New file.
15463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15464 New file.
c01603f7
AZ
15465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15466 New file.
15467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15468 New file.
15469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15470 New file.
15471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15472 New file.
15473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15474 New file.
15475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15476 New file.
15477
154782014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15479
0ff82463
AZ
15480 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15481 * shlib-versions: Likewise.
15482
1695c773
AZ
154832014-02-04 Roland McGrath <roland@hack.frob.com>
15484 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15485
15486 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15487 (abilist-pattern): New variable, set to %-le.abilist.
15488
15489 * Makerules (abilist-pattern): New variable.
15490 (vpath): Use $(abilist-pattern) in place of %.abilist.
15491 (check-abi-% pattern rule): Likewise.
15492 (check-abi, update-abi): Likewise.
15493
6c0ce4b4
EW
154942014-02-04 Eric Wong <normalperson@yhbt.net>
15495
15496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15497
481e3524
CD
154982014-02-03 Carlos O'Donell <carlos@redhat.com>
15499
15500 * manual/startup.texi: Add next, previous, and top entries for
15501 the `Program Arguments' and `Environment Variables' nodes.
15502
375592d3
AO
155032014-02-03 Alexandre Oliva <aoliva@redhat.com>
15504
15505 * manual/macros.texi: Add comments before MTASC-safety macros.
15506
f54838ba
AO
15507 * manual/users.texi: Document MTASC-safety properties.
15508
57f41c40
AS
15509 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15510 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
15511 @deftypefun, and add @safety note.
15512 * manual/signal.texi: Move comments that analyze the above
15513 functions to their home place.
15514
fd3daba4
AM
155152014-02-03 Allan McRae <allan@archlinux.org>
15516
15517 * po/sl.po: Update Slovenian translation from translation project.
15518
597636d7
AO
155192014-02-02 Alexandre Oliva <aoliva@redhat.com>
15520
15521 * manual/time.texi (timegm): Add missing blank after @c.
15522 Reported by Joseph Myers <joseph@codesourcery.com>.
15523
ee196e3c
AO
155242014-02-01 Alexandre Oliva <aoliva@redhat.com>
15525
15526 * manual/check-safety.sh: New.
15527 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15528
f8d529d5
AO
15529 * manual/terminal.texi: Document MTASC-safety properties.
15530
de55fdf4
AO
15531 * manual/filesys.texi: Document MTASC-safety properties.
15532
c3299c08
AO
15533 * manual/errno.texi: Document MTASC-safety properties.
15534
06e90b14
AO
15535 * manual/intro.texi: Document safety identifiers and
15536 conditionals.
15537
1acd4371
AO
15538 * manual/string.texi (wcstok): Fix prototype.
15539 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15540
23e5b8cb
AO
15541 * manual/time.texi: Document MTASC-safety properties.
15542
11087373
AO
15543 * manual/string.texi: Document MTASC-safety properties.
15544
5da2c93d
AO
15545 * manual/threads.texi: Document MTASC-safety properties.
15546
171e9210
AO
15547 * manual/stdio.texi: Document MTASC-safety properties.
15548
d9e02532
AO
15549 * manual/syslog.texi: Document MTASC-safety properties.
15550
6af8bab7
AO
15551 * manual/sysinfo.texi: Document MTASC-safety properties.
15552
663b02d7
AO
15553 * manual/startup.texi: Document MTASC-safety properties.
15554
973f180b
AO
15555 * manual/socket.texi: Document MTASC-safety properties.
15556
8f3c25c8
AO
15557 * manual/signal.texi: Document MTASC-safety properties.
15558
542210fb
AO
155592014-01-31 Alexandre Oliva <aoliva@redhat.com>
15560
15561 * manual/setjmp.texi: Document MTASC-safety properties.
15562
433c45a2
AO
15563 * manual/search.texi: Document MTASC-safety properties.
15564
c8ce789c
AO
15565 * manual/resource.texi: Document MTASC-safety properties.
15566
19f5d29c
AO
15567 * manual/process.texi: Document MTASC-safety properties.
15568
e2dfb7f4
AO
15569 * manual/platform.texi: Document MTASC-safety properties.
15570
8c1413f5
AO
15571 * manual/pipe.texi: Document MTASC-safety properties.
15572
03483ada
AO
15573 * manual/pattern.texi: Document MTASC-safety properties.
15574
29e7e2df
AO
15575 * manual/message.texi: Document MTASC-safety properties.
15576
9f529d7c
AO
15577 [BZ #12751]
15578 * manual/memory.texi: Document MTASC-safety properties.
15579
27aaa791
AO
15580 * manual/math.texi: Document MTASC-safety properties.
15581
f2d58726
AO
15582 * manual/locale.texi: Document MTASC-safety properties.
15583
2cc3615c
AO
15584 * manual/llio.texi: Document MTASC-safety properties.
15585
d9f0ec97
AO
15586 * manual/libdl.texi: New.
15587
e7c4409a
AO
15588 * manual/lang.texi: Document MTASC-safety properties.
15589
27bdc63c
AO
15590 * manual/job.texi: Document MTASC-safety properties.
15591
a7b90ea9
AO
15592 * manual/getopt.texi: Document MTASC-safety properties.
15593
c49130e3
AO
15594 * manual/ctype.texi: Document MTASC-safety properties.
15595
0d23a5c1
MR
155962014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15597
15598 [BZ #16046]
15599 * csu/libc-tls.c (static_map): Remove variable.
15600 (__libc_setup_tls): Use main executable's link map for TLS data.
15601 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15602 casing for LM_ID_BASE and GL(dl_nns).
15603 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15604 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15605 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15606 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15607 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15608 member.
15609 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15610 l_phnum members.
15611
0037bb60
AO
156122014-01-30 Alexandre Oliva <aoliva@redhat.com>
15613
15614 * manual/debug.texi: Document MTASC-safety properties.
15615
409e00bd
L
156162014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15617
15618 [BZ #16510]
15619 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15620 of __x86_64__ when disabling x87 inline functions.
15621
86e60666
AO
156222014-01-29 Alexandre Oliva <aoliva@redhat.com>
15623
15624 * manual/charset.texi: Document MTASC-safety properties.
15625
76167637
AO
15626 * manual/crypt.texi: Document MTASC-safety properties.
15627
e567f2a0
AO
15628 * manual/conf.texi: Document MTASC-safety properties.
15629
b719dafd
AO
15630 * manual/arith.texi: Document MTASC-safety properties.
15631
4a16c662
AO
15632 * manual/argp.texi: Document MTASC-safety properties.
15633
0a57b83e
AO
15634 * manual/macros.texi: Introduce macros to document multi
15635 thread, asynchronous signal and asynchronous cancellation
15636 safety properties.
15637 * manual/intro.texi: Introduce the properties themselves.
15638
feab2397
KK
156392014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15640
15641 * sysdeps/sh/sh4/Makefile: New file.
15642
1c0d11bc
AS
156432014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15644
15645 * math/gen-libm-test.pl ($srcdir): New variable.
15646 ($auto_input): Use it.
15647
af37a8a3
SP
156482014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15649
d7b00f98
SP
15650 [BZ #16506]
15651 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15652 access beyond array bounds when parsing netgroups file.
15653
af37a8a3
SP
15654 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15655 the old buffer before realloc.
15656
0c00f062
AM
156572014-01-27 Allan McRae <allan@archlinux.org>
15658
15659 * po/fr.po: Update French translation from translation project.
15660
7d69a1b0
KK
156612014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15662
15663 * sysdeps/sh/libm-test-ulps: Regenerate.
15664
6e697ff7
DM
156652014-01-24 David S. Miller <davem@davemloft.net>
15666
15667 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15668
9cadb35c
KK
156692014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15670
15671 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15672 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15673
5d41dadf
SP
156742013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15675
15676 [BZ #16474]
15677 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15678 string pointers after reallocation.
15679
0bad441c
KK
156802014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15681
15682 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15683 __SH4A__ instead of __SH_FPU_ANY__.
15684
7007c661
KK
156852014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15686
15687 * sysdeps/sh/fpu_control.h: New file.
15688 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15689 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15690 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15691 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15692 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15693 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15694 * sysdeps/sh/sys/ucontext.h: Remove.
15695 * sysdeps/sh/sys: Remove directory.
15696
0f0c35e4
AK
156972014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15698
15699 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15700 s390/sys/ucontext.h.
15701 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15702 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15703
4959e284
L
157042014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15705
15706 [BZ #15605]
15707 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15708
d98720e0
AZ
157092014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15710
15711 [BZ#16431]
15712 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15713 Adjust the vDSO correctly for internal calls.
15714 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15715
91cbd0bc
AM
157162014-01-20 Allan McRae <allan@archlinux.org>
15717
15718 * po/ca.po: Update Catalan translation from translation project.
15719
7a02cfad
MF
157202014-01-16 Mike Frysinger <vapier@gentoo.org>
15721
15722 * sysdeps/s390/sotruss-lib.c: New file.
15723
736c304a
AZ
157242014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15725
15726 [BZ#16430]
6e077ee5 15727 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
15728 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15729 local calls issues by not having a PLT stub required for IFUNC calls.
15730 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15731
94d0cea0
JM
157322014-01-16 Joseph Myers <joseph@codesourcery.com>
15733
15734 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15735 * math/test-fpucw-static.c: Likewise.
15736
980cb518
SP
157372013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15738
15739 [BZ #16453]
15740 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15741
2393fc01
AZ
157422014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15743
15744 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15745 implementation for powerpc.
15746
d359bcc2
OB
157472014-01-15 Ondřej Bílka <neleai@seznam.cz>
15748
15749 [BZ #14782]
15750 * sysdeps/posix/system.c (__libc_system): Do not enable
15751 asynchronous cancellation.
15752
7beb48cb
AK
157532014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15754
15755 [BZ #16427]
15756 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15757 handling only for numbers special also in the IEEE case.
15758
c20d5bf5
AK
157592014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15760
15761 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15762
e83bd4ee
AM
157632014-01-11 Allan McRae <allan@archlinux.org>
15764
76d0ea69
AM
15765 * po/bg.po: Update Bulgarian translation from translation project.
15766
e83bd4ee
AM
15767 * po/de.po: Update German translation from translation project.
15768
bc2ba20a
RM
157692014-01-10 Roland McGrath <roland@hack.frob.com>
15770
15771 * sysdeps/generic/gcc-compat.h: New file.
15772
649ecea2
SP
157732014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15774
15775 * benchtests/asin-inputs: Correct slow inputs.
15776 * benchtests/acos-inputs: Likewise.
15777
1b19c006
AM
157782014-01-10 Allan McRae <allan@archlinux.org>
15779
a46dab08
AM
15780 * po:sv.po: Update Swedish translation from translation project.
15781
421df74a
AM
15782 * po/vi.po: Update Vietnamese translation from translation project.
15783
d61c51a7
AM
15784 * po/eo.po: Update Esperanto translation from translation project.
15785
0339a319
AM
15786 * po/cs.po: Update Czech translation from translation project.
15787
94ad3e99
AM
15788 * po/nl.po: Update Dutch translation from translation project.
15789
e349ca71
AM
15790 * po/pl.po: Update Polish translation from translation project.
15791
ddf930c1
AM
15792 * po/ru.po: Update Russian translation from translation project.
15793
1b19c006
AM
15794 * po/uk.po: Update Ukrainian translation from translation project.
15795
9f236c49
BM
157962014-01-08 Brooks Moses <bmoses@google.com>
15797
15798 * elf/dl-load.c: Fix comment typo.
15799
cd6701cf
CD
158002014-01-08 Carlos O'Donell <carlos@redhat.com>
15801
15802 * po/header.pot: Rename to...
15803 * po/pot.header: ... this.
15804 * po/Makefile: Use pot.header.
15805
66671c84
YK
158062014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15807 Maxim Kuvyrkov <maxim@kugelworks.com>
15808
15809 [BZ #16394]
cd6701cf
CD
15810 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15811 SRC and DEST against LEN.
66671c84 15812
38f34581
AZ
158132014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15814
15815 [BZ #16414]
15816 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15817 implementation.
15818 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15819
158202014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
15821
15822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15823
4c327f2a
JM
158242014-01-08 Joseph Myers <joseph@codesourcery.com>
15825
15826 [BZ #16408]
15827 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15828 for large positive arguments.
15829
b821f414
JM
158302014-01-07 Joseph Myers <joseph@codesourcery.com>
15831
1f0f2067
JM
15832 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15833
a5a326f6
JM
15834 * math/auto-libm-test-in: Mark various tests with
15835 xfail-rounding:ldbl-128ibm.
15836 * math/auto-libm-test-out: Regenerated.
15837
b821f414
JM
15838 [BZ #16407]
15839 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15840 Increase overflow threshold.
15841
94c8a4bc
OB
158422014-01-07 Ondřej Bílka <neleai@seznam.cz>
15843
15844 [BZ #14286]
15845 * stdio-common/vfprintf.c: Check for integer overflow.
15846
87ded0c3
AK
158472014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15848
15849 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15850 the first argument and return value of __tls_get_addr_internal.
15851
c5eebdd0
AK
158522014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15853
15854 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15855 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15856
05d138ef
AK
158572014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15858
15859 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15860 * sysdeps/s390/rtld-global-offsets.sym: New file.
15861 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15862 GLIBC_2.19 symbol.
15863 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15864 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15865 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15866 ... this.
15867 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15868 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15869 ... this.
15870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15871 Regenerate.
15872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15873 Regenerate.
15874 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15875 halfs of GPRs for high_gprs contexts.
15876 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15877 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15878 field.
15879 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15880 uc_flags field.
15881 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15882 64 bit versions:
15883 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15884 for high GPRs (uc_high_gprs) and for future extensions
15885 (__reserved).
15886 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15887 for future extensions (__reserved).
15888 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15889 64 bit versions:
15890 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15891 SC_HIGHGPRS offset definition.
15892 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15893 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15894
93a45ff1
AK
15895 * Versions.def: Add GLIBC_2.19 for libpthread.
15896 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15897 siglongjmp for libpthread with GLIBC_2.19 symver.
15898 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15899 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15900 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15901 * sysdeps/s390/__longjmp.c: New file.
15902 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15903 * sysdeps/s390/longjmp.c: New file.
15904 * sysdeps/s390/setjmp.S: New file.
15905 * sysdeps/s390/sigjmp.S: New file.
15906 * sysdeps/s390/v1-longjmp.c: New file.
15907 * sysdeps/s390/v1-setjmp.h: New file.
15908 * sysdeps/s390/v1-sigjmp.c: New file.
15909 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15910 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15911 GLIBC_2.19 version.
15912 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15913 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15914 versioned symbols for ____longjmp_chk.
15915 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15916 Likewise.
15917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15918 Regenerate.
15919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15920 Regenerate.
15921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15922 Regenerate.
15923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15924 Regenerate.
15925 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15926 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15927 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15928 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15929 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15930 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15931 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15932 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15933 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15934 * sysdeps/s390/rtld-__longjmp.c: New file.
15935 * sysdeps/s390/rtld-setjmp.S: New file.
15936
eb3fc44b
JM
159372014-01-06 Joseph Myers <joseph@codesourcery.com>
15938
15939 [BZ #16400]
15940 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15941 Return -__logl (x) for small positive arguments without evaluating
15942 a polynomial.
15943
9341dde4
MF
159442014-01-06 Mike Frysinger <vapier@gentoo.org>
15945
15946 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15947 Rename to ...
15948 (__ptrace_peeksiginfo_args): ... this.
15949 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15950 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15951 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15952
4cff0293
AM
159532014-01-06 Allan McRae <allan@archlinux.org>
15954
15955 * inet/netinet/in.h: Fix typo in comment.
15956
75595dcf
AJ
159572014-01-05 Andreas Jaeger <aj@suse.de>
15958
15959 * sysdeps/i386/fpu/libm-test-ulps: Update.
15960
79c1e109
AM
159612014-01-05 Allan McRae <allan@archlinux.org>
15962
dd804818
AM
15963 * po/libc.pot: Regenerated.
15964
79c1e109
AM
15965 * malloc/memusagestat.c: Fix gettext call formatting.
15966
0c813d1f
SK
159672014-01-04 Sami Kerola <kerolasa@iki.fi>
15968
15969 * nscd/nscd.c: Improve usage() output.
15970
20f4a8d9
MF
159712014-01-04 Mike Frysinger <vapier@gentoo.org>
15972
15973 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15974 * sysdeps/unix/sysv/linux/configure: Regenerated.
15975 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15976 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15977
22562bb2
JM
159782014-01-03 Joseph Myers <joseph@codesourcery.com>
15979
15980 [BZ #16390]
15981 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15982 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15983
d7ad2d9b
AZ
159842014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15985
15986 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15987 extra tokens at end of #undef directive.
15988 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15989 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15990 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15991
7dd009d8
JM
159922014-01-03 Joseph Myers <joseph@codesourcery.com>
15993
24db925a
JM
15994 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15995
7dd009d8
JM
15996 * math/auto-libm-test-in: Mark various tests with
15997 xfail-rounding:ldbl-128ibm.
15998 * math/auto-libm-test-out: Regenerated.
15999
396e3ecf
JM
160002014-01-02 Joseph Myers <joseph@codesourcery.com>
16001
819e5d50
JM
16002 [BZ #16386]
16003 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16004 numbers with subnormal high part when calculating exponent.
16005
90b6a1e5
JM
16006 [BZ #16385]
16007 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16008 fabs.
16009
396e3ecf
JM
16010 [BZ #16384]
16011 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16012 M_LN2l.
16013 (__ieee754_acoshl): Use __log1pl not __log1p.
16014
6c8dbf00
OB
160152013-01-02 Ondřej Bílka <neleai@seznam.cz>
16016
57f41c40
AS
16017 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16018 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16019 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16020 (grow_heap, heap_trim, _int_new_arena, get_free_list)
16021 (reused_arena, arena_get2): Convert to GNU style.
16022 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16023 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16024 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 16025 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
16026 * malloc/malloc.c (__malloc_assert, malloc_init_state)
16027 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16028 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16029 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16030 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16031 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 16032 * malloc/malloc.h: Likewise.
57f41c40
AS
16033 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16034 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 16035 * malloc/mcheck.h: Likewise.
57f41c40
AS
16036 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16037 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
16038 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16039 * malloc/morecore.c (__default_morecore): Likewise.
16040 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
16041 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16042 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16043 (print_and_abort): Likewise.
6c8dbf00
OB
16044 * malloc/obstack.h: Likewise.
16045 * malloc/set-freeres.c (__libc_freeres): Likewise.
16046 * malloc/tst-mallocstate.c (main): Likewise.
16047 * malloc/tst-mtrace.c (main): Likewise.
16048 * malloc/tst-realloc.c (do_test): Likewise.
16049
d4124212
SP
160502013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16051
9a3c6a6f
SP
16052 [BZ #16366]
16053 * nscd/netgroupcache.c (do_notfound): New function.
16054 (addgetnetgrentX): Use it.
16055
d4124212
SP
16056 [BZ # 16365]
16057 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16058 NSS_STATUS_NOTFOUND.
16059
97b9a009
JM
160602014-01-01 Joseph Myers <joseph@codesourcery.com>
16061
16062 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16064
d4697bc9
AM
160652014-01-01 Allan McRae <allan@archlinux.org>
16066
ddb3687f
AM
16067 * scripts/update-copyrights: Update configure input file suffix.
16068
88726d48
AM
16069 * NEWS: Update copyright year.
16070 * catgets/gencat.c: Likewise.
16071 * csu/version.c: Likewise.
16072 * debug/catchsegv.sh: Likewise.
16073 * debug/pcprofiledump.c: Likewise.
16074 * debug/xtrace.sh: Likewise.
16075 * elf/ldconfig.c: Likewise.
16076 * elf/ldd.bash.in: Likewise.
16077 * elf/pldd.c: Likewise.
16078 * elf/sotruss.ksh: Likewise.
16079 * elf/sprof.c: Likewise.
16080 * iconv/iconv_prog.c: Likewise.
16081 * iconv/iconvconfig.c: Likewise.
16082 * locale/programs/locale.c: Likewise.
16083 * locale/programs/localedef.c: Likewise.
16084 * login/programs/pt_chown.c: Likewise.
16085 * malloc/memusage.sh: Likewise.
16086 * malloc/memusagestat.c: Likewise.
16087 * malloc/mtrace.pl: Likewise.
16088 * manual/libc.texinfo: Likewise.
16089 * nscd/nscd.c: Likewise.
16090 * nss/getent.c: Likewise.
16091 * nss/makedb.c: Likewise.
16092 * posix/getconf.c: Likewise.
16093 * scripts/test-installation.pl: Likewise.
16094
d4697bc9
AM
16095 * All files with FSF copyright notices: Update copyright dates
16096 using scripts/update-copyrights.
16097 * intl/plural.c: Regenerated.
16098 * locale/programs/charmap-kw.h: Likewise.
16099 * locale/programs/locfile-kw.h: Likewise.
16100
c8590f9d
MF
161012013-12-31 Mike Frysinger <vapier@gentoo.org>
16102
16103 * sysdeps/unix/sysv/linux/configure: Regenerated.
16104 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16105 the linux/fanotify.h header.
16106 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16107 HAVE_LINUX_FANOTIFY_H is defined.
16108
b19221b9
SP
161092013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16110
dd1d85e5
SP
16111 * benchtests/cos-inputs: New inputs.
16112 * benchtests/sin-inputs: Likewise.
16113
1acbb90f
SP
16114 * benchtests/atan-inputs: New inputs. Fix name of multiple
16115 precision fallback inputs.
16116
4c012ed3
SP
16117 * benchtests/atanh-inputs: New inputs.
16118 * benchtests/tanh-inputs: Likewise.
16119
eff98324
SP
16120 * benchtests/acosh-inputs: New inputs.
16121 * benchtests/asinh-inputs: Likewise.
16122
ce641152
SP
16123 * benchtests/cosh-inputs: New inputs.
16124 * benchtests/sinh-inputs: Likewise.
16125
b19221b9
SP
16126 * benchtests/acos-inputs: Add more inputs.
16127 * benchtests/asin-inputs: Likewise.
16128
030a4976 161292013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 16130
030a4976 16131 [BZ #16375]
9dcc8f11
VS
16132 * manual/arith.texi: Fix spelling.
16133 * manual/charset.texi: Likewise.
16134 * manual/errno.texi: Likewise.
16135 * manual/filesys.texi: Likewise.
16136 * manual/lang.texi: Likewise.
16137 * manual/llio.texi: Likewise.
16138 * manual/locale.texi: Likewise.
16139 * manual/message.texi: Likewise.
16140 * manual/resource.texi: Likewise.
16141 * manual/search.texi: Likewise.
16142 * manual/setjmp.texi: Likewise.
16143 * manual/stdio.texi: Likewise.
16144 * manual/string.texi: Likewise.
16145 * manual/sysinfo.texi: Likewise.
16146 * manual/time.texi: Likewise.
16147
11520a57
CD
161482013-12-27 Carlos O'Donell <carlos@redhat.com>
16149
16150 * po/sl.po: New file.
16151
471103ae
MF
161522013-12-27 Mike Frysinger <vapier@gentoo.org>
16153
16154 * .gitignore: Add core/.gdbinit/.gdb_history.
16155
6c9642ed
AM
161562013-12-27 Allan McRae <allan@archlinux.org>
16157
16158 [BZ #16369]
16159 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16160 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16161
3f637079
BM
161622013-12-24 Brooks Moses <bmoses@google.com>
16163
16164 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16165 all compilers that claim C++98 compliance, not just GCC.
16166 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16167 Likewise.
16168
abc26e99
MK
161692013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16170
16171 * NEWS: Restore accidentally deleted bug-fix entries.
16172
362b47fe
MK
161732013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16174 Ondřej Bílka <neleai@seznam.cz>
16175
16176 [BZ #15073]
16177 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 16178 have_lock.
362b47fe 16179
b9bcbbcb
OB
161802013-12-23 Ondřej Bílka <neleai@seznam.cz>
16181
16182 [BZ #12986]
16183 * manual/stdio.texi (String Input Conversions): Clarify that character
16184 classes are not supported.
16185
fb55fcd2
AZ
161862013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16187
16188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16189
ef7344f0
JM
161902013-12-22 Joseph Myers <joseph@codesourcery.com>
16191
4f40e4b3
JM
16192 [BZ #16337]
16193 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16194 Calculate results for small negative arguments directly rather
16195 than using reflection formula with special underflow handling.
16196
ef7344f0
JM
16197 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16198 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16199 sysdeps/unix/bsd/bsd4.4/syscalls.list.
16200 (fchflags): Likewise.
16201 (revoke): Likewise.
16202 (setlogin): Likewise.
16203 (sigaltstack): Likewise.
16204 (wait4): Likewise.
16205 (sigblock): Remove.
16206 (sigsetmask): Likewise.
16207 (wait3): Likewise.
16208 (waitpid): Likewise.
16209 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16210 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16211 file.
16212 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16213 * sysdeps/unix/bsd/Makefile: ... here.
16214 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16215 * sysdeps/unix/bsd/Versions: ... here.
16216 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16217 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16218 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16219 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16220 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16221 * sysdeps/unix/bsd/sigblock.c: ... here.
16222 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16223 * sysdeps/unix/bsd/sigsetmask.c: ... here.
16224 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16225 * sysdeps/unix/bsd/sigvec.c: ... here.
16226 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16227 * sysdeps/unix/bsd/tcdrain.c: ... here.
16228 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16229 * sysdeps/unix/bsd/tcgetattr.c: ... here.
16230 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16231 * sysdeps/unix/bsd/tcsetattr.c: ... here.
16232 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16233 * sysdeps/unix/bsd/wait.c: ... here.
16234 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16235 * sysdeps/unix/bsd/wait3.c: ... here.
16236 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16237 * sysdeps/unix/bsd/waitpid.c: ... here.
16238
5b0626b9
JM
162392013-12-21 Joseph Myers <joseph@codesourcery.com>
16240
16241 [BZ #16356]
16242 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16243 round-to-nearest for [!USE_AS_EXPM1L].
16244 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16245 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
16246 more tests of exp and exp10. Expect some exp10 tests to miss
16247 exceptions or fail in directed rounding modes.
16248 * math/auto-libm-test-out: Regenerated.
16249 * math/libm-test.inc (exp10_tonearest_test_data): New array.
16250 (exp10_test_tonearest): New function.
16251 (exp10_towardzero_test_data): New array.
16252 (exp10_test_towardzero): New function.
16253 (exp10_downward_test_data): New array.
16254 (exp10_test_downward): New function.
16255 (exp10_upward_test_data): New array.
16256 (exp10_test_upward): New function.
16257 (main): Call the new functions.
16258 * sysdeps/i386/fpu/libm-test-ulps: Update.
16259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16260
7fda5682
JM
162612013-12-20 Joseph Myers <joseph@codesourcery.com>
16262
31e3a405
JM
16263 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16264 asinh, atan, atan2, atanh, cbrt, cos and cosh.
16265 * math/auto-libm-test-out: Regenerated.
16266 * math/libm-test.inc (acosh_test_data): Add more tests.
16267 (atanh_test_data): Likewise.
16268 (ceil_test_data): Likewise.
16269 (copysign_test_data): Likewise.
16270 * sysdeps/i386/fpu/libm-test-ulps: Update.
16271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16272
85bff96a
JM
16273 * timezone/checktab.awk: Update from tzcode 2013i.
16274 * timezone/private.h: Likewise.
16275 * timezone/scheck.c: Likewise.
16276 * timezone/tzfile.h: Likewise.
16277 * timezone/tzselect.ksh: Likewise.
16278 * timezone/zdump.c: Likewise.
16279 * timezone/zic.c: Likewise.
16280
b7867a3b
JM
16281 * math/auto-libm-test-in: Add tests of cpow.
16282 * math/auto-libm-test-out: Regenerated.
16283 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 16284 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
16285 mpc_cc_c.
16286 (func_calc_desc): Add mpc_cc_c union field.
16287 (test_functions): Add cpow.
16288 (special_fill_2pi): New function.
16289 (special_real_inputs): Add 2pi.
16290 (calc_generic_results): Handle mpc_cc_c.
16291 * sysdeps/i386/fpu/libm-test-ulps: Update.
16292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16293
7fda5682
JM
16294 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16295 csqrt, ctan and ctanh.
16296 * math/auto-libm-test-out: Regenerated.
16297 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16298 (TEST_COND_x86): Likewise.
16299 (ccos_test_data): Use AUTO_TESTS_c_c.
16300 (ccosh_test_data): Likewise.
16301 (cexp_test_data): Likewise.
16302 (clog_test_data): Likewise.
16303 (csqrt_test_data): Likewise.
16304 (ctan_test_data): Likewise.
16305 (ctan_tonearest_test_data): Likewise.
16306 (ctan_towardzero_test_data): Likewise.
16307 (ctan_downward_test_data): Likewise.
16308 (ctan_upward_test_data): Likewise.
16309 (ctanh_test_data): Likewise.
16310 (ctanh_tonearest_test_data): Likewise.
16311 (ctanh_towardzero_test_data): Likewise.
16312 (ctanh_downward_test_data): Likewise.
16313 (ctanh_upward_test_data): Likewise.
16314 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16315 mpc_c_c.
16316 (func_calc_desc): Add mpc_c_c union field.
16317 (FUNC_mpc_c_c): New macro.
16318 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16319 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16320 ctanh.
16321 (special_fill_min_subnorm_p120): New function.
16322 (special_real_inputs): Add min_subnorm_p120.
16323 (calc_generic_results): Handle mpc_c_c.
16324 * sysdeps/i386/fpu/libm-test-ulps: Update.
16325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16326
5ff8d60e
SP
163272013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16328
57f41c40
AS
16329 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16330 (do_sin_slow): New functions.
16331 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16332 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 16333
84ba214c
SP
16334 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16335 Use M to change sign of result instead of X. Assume X is
16336 positive.
16337 (csloww1): Likewise.
16338 (__sin): Adjust.
16339 (__cos): Adjust.
16340
975195e4
SP
16341 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16342 arguments A and DA.
16343 (__sin): Adjust.
16344 (__cos): Likewise.
16345
5ff8d60e
SP
16346 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16347 (__cos): Likewise.
16348 (sloww1): Don't adjust sign of DX.
16349 (csloww1): Likewise.
16350 (sloww2): Use X directly and don't adjust sign of DX.
16351 (csloww2): Likewise.
16352
eb983568
JM
163532013-12-19 Joseph Myers <joseph@codesourcery.com>
16354
64a17f1a
JM
16355 * math/auto-libm-test-in: Add tests of cabs and carg.
16356 * math/auto-libm-test-out: Regenerated.
16357 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16358 (carg_test_data): Likewise.
16359 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16360 mpc_c_f.
16361 (func_calc_desc): Add mpc_c_f union field.
16362 (test_functions): Add cabs and carg.
16363 (calc_generic_results): Handle mpc_c_f.
16364
eb983568
JM
16365 * sysdeps/powerpc/powerpc32/libgcc-compat.S
16366 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16367 as a macro and a compat symbol.
16368 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16369 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16370 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16371 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16372 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16373 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16374 not use .hidden.
16375 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16376 Likewise.
16377 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16378 Likewise.
16379 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16380 Likewise.
16381 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16382 Likewise.
16383 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16384 Likewise.
16385 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16386 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16387 from GLIBC_2.3.2.
16388
6eeb678a
AZ
163892013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16390
16391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16392
6f6fc482
JM
163932013-12-19 Joseph Myers <joseph@codesourcery.com>
16394
21fea2e2
JM
16395 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16396 trailing whitespace removed.
16397 * scripts/config.guess: Update to version 2013-11-29.
16398 * scripts/config.sub: Update to version 2013-10-01.
16399
6f6fc482
JM
16400 * math/auto-libm-test-in: Add tests of sincos.
16401 * math/auto-libm-test-out: Regenerated.
16402 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16403 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16404 mpfr_f_11.
16405 (func_calc_desc): Add mpfr_f_11 union field.
16406 (test_functions): Add sincos.
16407 (calc_generic_results): Handle mpfr_f_11.
16408 * sysdeps/i386/fpu/libm-test-ulps: Update.
16409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16410
83f5c32d
AS
164112013-12-19 Andreas Schwab <schwab@suse.de>
16412
16413 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16414 CALL_MCOUNT.
16415 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16416 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16417 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16418
c688b419
JM
164192013-12-19 Joseph Myers <joseph@codesourcery.com>
16420
335ee092
JM
16421 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16422 * sysdeps/i386/fpu/libm-test-ulps: Update.
16423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16424
f88acd39
JM
16425 [BZ #16293]
16426 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16427 round-to-nearest mode when using frndint.
16428 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16429 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16430 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16431 Likewise.
16432 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16433 sinh test to fail.
16434 * math/auto-libm-test-out: Regenerated.
16435 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16436 (TEST_COND_x86): Likewise.
16437 (expm1_tonearest_test_data): New array.
16438 (expm1_test_tonearest): New function.
16439 (expm1_towardzero_test_data): New array.
16440 (expm1_test_towardzero): New function.
16441 (expm1_downward_test_data): New array.
16442 (expm1_test_downward): New function.
16443 (expm1_upward_test_data): New array.
16444 (expm1_test_upward): New function.
16445 (main): Run the new test functions.
16446 * sysdeps/i386/fpu/libm-test-ulps: Update.
16447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16448
c688b419
JM
16449 * include/features.h: Update comment documenting feature test
16450 macros. Mention _DEFAULT_SOURCE in comment.
16451 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16452 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16453 _BSD_SOURCE and _SVID_SOURCE.
16454 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16455 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16456 !_SVID_SOURCE]: Likewise.
16457 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16458 (__USE_POSIX_IMPLICITLY): Define.
16459 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16460 (_POSIX_SOURCE): Undefine and redefine.
16461 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16462 (_POSIX_C_SOURCE): Likewise.
16463 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16464 (Feature Test Macros): Update documentation of default features.
16465
9f6e964c
RS
164662013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16467
16468 * benchtests/Makefile: Add bench-strtok.
16469 * benchtests/bench-strtok.c: New file: strtok benchtest.
16470
ee0a148a
AM
164712013-12-19 Allan McRae <allan@archlinux.org>
16472
16473 * manual/install.texi: Suppress menu for plain text output.
16474 * INSTALL: Regenerated.
16475
b9ab448f
BM
164762013-12-18 Brooks Moses <bmoses@google.com>
16477
16478 [BZ #15846]
16479 * misc/getauxval.c: Include errno.h.
16480 (__getauxval): Set errno to ENOENT if the requested type is not
16481 found.
16482 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16483 don't declare with __attribute_const__.
16484 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16485 * manual/startup.texi: Document that getauxval sets errno.
16486
23776487
JM
164872013-12-18 Joseph Myers <joseph@codesourcery.com>
16488
f889953b
JM
16489 * math/auto-libm-test-in: Add tests of jn and yn.
16490 * math/auto-libm-test-out: Regenerated.
16491 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16492 (yn_test_data): Likewise.
16493 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16494 mpfr_if_f.
16495 (func_calc_desc): Add mpfr_if_f union field.
16496 (FUNC_mpfr_if_f): New macro.
16497 (test_functions): Add jn and yn.
16498 (calc_generic_results): Assert type of second input for
16499 mpfr_ff_f. Handle mpfr_if_f.
16500 (output_for_one_input_case): Disable all checking for arguments
16501 fitting floating-point types in case of an integer argument.
16502 * sysdeps/i386/fpu/libm-test-ulps: Update.
16503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16504
23776487
JM
16505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16506 Don't expect fegetround reference in libm.so.
16507
cb756c6d
MS
165082013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16509
16510 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16511 $(config-cflags-nofma).
16512
2dec468f
JM
165132013-12-18 Joseph Myers <joseph@codesourcery.com>
16514
5953eb3a
JM
16515 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16516 * math/auto-libm-test-out: Regenerated.
16517
2dec468f
JM
16518 [BZ #16338]
16519 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16520 to determine exponent and adjust argument to have exponent of -1.
16521 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16522 log2.
16523 * math/auto-libm-test-out: Regenerated.
16524 * sysdeps/i386/fpu/libm-test-ulps: Update.
16525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16526
4d84e6ad
OB
165272013-12-18 Ondřej Bílka <neleai@seznam.cz>
16528
16529 * manual/probes.texi: Remove cases when per-thread arenas are
16530 disabled.
16531
1818483b
AS
165322013-12-18 Andreas Schwab <schwab@suse.de>
16533
16534 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16535 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16536 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16537 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16538 * sysdeps/i386/i686/multiarch/Makefile: Update.
16539 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16540
25de95bf
JM
165412013-12-17 Joseph Myers <joseph@codesourcery.com>
16542
16543 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16544 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16545
674762d9
PE
165462013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16547
ed27ed83 16548 [BZ #15968]
0748546f
PE
16549 Support TZ transition times < 00:00:00.
16550 This is needed for version-3 tz-format files; it supports time
16551 stamps past 2037 for America/Godthab (the only entry in the tz
16552 database for which this change is relevant).
16553 * manual/time.texi (TZ Variable): Document transition times
16554 from -167:59:59 through -00:00:01.
16555 * time/tzset.c (tz_rule): Time of day is now signed.
16556 (__tzset_parse_tz): Parse negative time of day.
16557
4480e934
PE
16558 Document TZ transition times >= 25:00:00.
16559 * manual/time.texi (TZ Variable): Document transition times from
16560 25:00:00 through 167:59:59. These are already supported, and this
16561 support will help with version-3 tz-format files.
16562
69947401
PE
16563 * manual/time.texi (TZ Variable): Modernize North America example
16564 to reflect current (i.e., 2007-and-later) daylight saving rules.
16565
674762d9
PE
16566 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16567
7011c262
JM
165682013-12-17 Joseph Myers <joseph@codesourcery.com>
16569
2fc6557e
JM
16570 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16571 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16573 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16574 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16575 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16576 * sysdeps/unix/bsd/clock.c: Likewise.
16577 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16578 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16579 * sysdeps/unix/bsd/init-posix.c: Likewise.
16580 * sysdeps/unix/bsd/poll.c: Likewise.
16581 * sysdeps/unix/bsd/ptsname.c: Likewise.
16582 * sysdeps/unix/bsd/seekdir.c: Likewise.
16583 * sysdeps/unix/bsd/setegid.c: Likewise.
16584 * sysdeps/unix/bsd/seteuid.c: Likewise.
16585 * sysdeps/unix/bsd/setgid.c: Likewise.
16586 * sysdeps/unix/bsd/setrgid.c: Likewise.
16587 * sysdeps/unix/bsd/setruid.c: Likewise.
16588 * sysdeps/unix/bsd/setsid.c: Likewise.
16589 * sysdeps/unix/bsd/setuid.c: Likewise.
16590 * sysdeps/unix/bsd/sigaction.c: Likewise.
16591 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16592 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16593 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16594 * sysdeps/unix/bsd/telldir.c: Likewise.
16595 * sysdeps/unix/bsd/times.c: Likewise.
16596 * sysdeps/unix/bsd/usleep.c: Likewise.
16597
029c7b25
JM
16598 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16599 ($(objpfx)libbsd-compat.a): Remove rule.
16600
7011c262
JM
16601 * include/features.h (__FAVOR_BSD): Do not define.
16602 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16603 features conflicting with POSIX.
16604 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16605 (_BSD_SOURCE): Remove description of not being a subset of other
16606 feature test macros.
16607 * manual/job.texi (getpgrp): Do not document BSD version.
16608 (getpgid): Do not document by reference to BSD getpgrp.
16609 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16610 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16611 * signal/signal.h [__FAVOR_BSD]: Likewise.
16612 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16613 instead of making contents conditional on [__FAVOR_BSD].
16614 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16615
affb6f78
AZ
166162013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16617
16618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16619
c88769dd
JM
166202013-12-17 Joseph Myers <joseph@codesourcery.com>
16621
6432a540
JM
16622 [BZ #16314]
16623 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16624 values below 2**-450, not 2**-500.
16625 * math/auto-libm-test-in: Don't allow spurious underflow from
16626 hypot.
16627 * math/auto-libm-test-out: Regenerated.
16628
c88769dd
JM
16629 [BZ #16316]
16630 [BZ #16330]
16631 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16632 values of ha and hb and sort them after adjusting subnormal
16633 arguments.
16634 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16635 Likewise.
16636 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16637 values of ea and eb and sort them after adjusting subnormal
16638 arguments.
16639 * math/auto-libm-test-in: Do not expect some hypot tests of
16640 subnormals to fail. Add more hypot tests.
16641 * math/auto-libm-test-out: Regenerated.
16642
29618f6b
KK
166432013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16644
16645 [BZ #13304]
16646 * sysdeps/sh/s_fma.c: New file.
16647 * sysdeps/sh/s_fmaf.c: New file.
16648 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16649 version.
16650 * sysdeps/sh/Implies: Add sh/soft-fp.
16651
eacfdfbf
RM
166522013-12-16 Roland McGrath <roland@hack.frob.com>
16653
16654 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16655 level of indirection to members `objname', `errstring', `malloced'.
16656 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16657 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16658 it as the __longjmp argument (just pass 1 instead).
16659 (_dl_catch_error): Initialize C with argument pointers and address of
16660 volatile local ERRCODE rather than copying values out of C at return.
16661
ff362e5b
JM
166622013-12-16 Joseph Myers <joseph@codesourcery.com>
16663
16664 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16665 * math/auto-libm-test-out: Regenerated.
16666 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16667 (hypot_test_data): Likewise.
16668 (pow_test_data): Likewise.
16669 (pow_tonearest_test_data): Likewise.
16670 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16671 mpfr_ff_f.
16672 (func_calc_desc): Add mpfr_ff_f union field.
16673 (FUNC_mpfr_ff_f): New macro.
16674 (test_functions): Add atan2, hypot and pow.
16675 (special_fill_min): New function.
16676 (special_fill_minus_min): Likewise.
16677 (special_fill_min_subnorm): Likewise.
16678 (special_fill_minus_min_subnorm): Likewise.
16679 (special_real_inputs): Add min, -min, min_subnorm and
16680 -min_subnorm.
16681 (calc_generic_results): Handle mpfr_ff_f.
16682 * sysdeps/i386/fpu/libm-test-ulps: Update.
16683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16684
5764c27f
WN
166852013-12-16 Will Newton <will.newton@linaro.org>
16686
16687 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16688 (Aligned Memory Blocks): Add documentation for aligned_alloc
16689 and suggest it as an alternative to posix_memalign.
16690 (Hooks for Malloc): Document __memalign_hook is also called
16691 for aligned_alloc. (Summary of Malloc): Add summary for
16692 aligned alloc. Document __memalign_hook is also called
16693 for aligned_alloc.
16694
0a096e44
WN
166952013-12-16 Will Newton <will.newton@linaro.org>
16696
16697 * manual/memory.texi (Malloc Examples): Clarify default
16698 alignment documentation. Suggest posix_memalign rather
16699 than memalign or valloc.
16700 (Aligned Memory Blocks): Remove suggestion to use memalign
16701 or valloc. Remove obsolete comment about BSD.
16702 Document memalign errno values and mark the function obsolete.
16703 Document posix_memalign returned error codes. Mark valloc
16704 as obsolete. (Hooks for Malloc): __memalign_hook is also
16705 called for posix_memalign and valloc.
16706 (Summary of Malloc): Add posix_memalign to function summary.
16707 __memalign_hook is also called for posix_memalign and valloc.
16708
8d561986
SP
167092013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16710
16711 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16712 TAYLOR_SIN.
16713 (__sin): Adjust.
16714 (__cos): Likewise.
16715 (sloww): Use mynumber union. Expand ternary operator into
16716 if-else statements.
16717 (cslow): use mynumber union.
16718
73616a74
AM
167192013-12-16 Allan McRae <allan@archlinux.org>
16720
9e8ac24b
AM
16721 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16722 * configure: Regenerated.
16723
6f8e37eb
AM
16724 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16725
8894bad3
AM
16726 [BZ #14120]
16727 * configure.ac: Added --enable-maintainer-mode. Check for
16728 autoconf when enabled.
16729 * configure: Regenerated.
16730
73616a74
AM
16731 * nscd/nscd.service: New file.
16732 * nscd/nscd.tmpfiles: New file.
16733
584b18eb
OB
167342013-12-14 Ondřej Bílka <neleai@seznam.cz>
16735
16736 [BZ #12100]
16737 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16738 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16739 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16740 (strstr): Add __strstr_sse2_unaligned ifunc.
16741 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16742 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16743 (strcasestr): Remove __strcasestr_sse42 ifunc.
16744 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16745 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16746 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16747
8a5c7897
KK
167482013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16749
16750 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16751 * sysdeps/sh/bits/fenv.h: ... here.
16752 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16753
fd712ef3
AZ
167542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16755
16756 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16757
42fcb46c
AZ
16758 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16759 hypotf multiarch implementations.
16760 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16761 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16762 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16763 multiarch hypot for PPC64.
16764 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16765 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16766 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16767 multiarch hypotf for PPC64.
16768
83efded4
AZ
16769 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16770 modff multiarch implementations.
16771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16774 multiarch modf for PPC64.
16775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16778 multiarch modff for PPC64.
16779
43e246d2
AZ
16780 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16781 and logl multiarch implementations.
16782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16785 multiarch logb for PPC64.
16786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16789 multiarch logb for PPC64.
16790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16793 multiarch logb for PPC64.
16794
8fdad123
AZ
16795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16796 isinff multiarch implementation.
16797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16798 file.
16799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16801 multiarch isinf for PPC64.
16802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16803 file.
16804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16805 multiarch isinff for PPC64.
16806
1481d706
AZ
16807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16808 finitef multiarch implementation.
16809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16810 file.
16811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16813 multiarch finite for PPC64.
16814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16815 file.
16816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16817 multiarch finitef for PPC64.
16818
5ccd5fc8
AZ
16819 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16820 lrint multiarch implementation.
16821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16822 file.
16823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16825 multiarch llrint for PPC64.
16826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16827 multiarch lrint for PPC64.
16828
2568f3fa
AZ
16829 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16830 copysignf multiarch implementation.
16831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16832 file.
16833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16834 file.
16835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16836 multiarch copysign for PPC64.
16837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16838 multiarch copysignf for PPC64.
16839
1cb341fd
AZ
16840 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16841 multiarch implementation.
16842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16843 file.
16844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16845 file.
16846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16847 file.
16848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16849 file.
16850 multiarch llround for PPC64.
16851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16852 multiarch trunc for PPC64.
16853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16854 multiarch truncf for PPC64.
16855
59a3e194
AZ
16856 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16857 multiarch implementation.
16858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16859 file.
16860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16861 file.
16862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16863 file.
16864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16865 file.
16866 multiarch llround for PPC64.
16867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16868 multiarch round for PPC64.
16869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16870 multiarch roundf for PPC64.
16871
357fd3b4
AZ
16872 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16873 multiarch implementation.
16874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16875 file.
16876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16877 file.
16878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16879 file.
16880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16881 file.
16882 multiarch llround for PPC64.
16883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16884 multiarch floor for PPC64.
16885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16886 multiarch floorf for PPC64.
16887
96770f12
AZ
16888 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16889 multiarch implementation.
16890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16891 file.
16892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16893 file.
16894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16895 file.
16896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16897 file.
16898 multiarch llround for PPC64.
16899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16900 multiarch ceil for PPC64.
16901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16902 multiarch ceilf for PPC64.
16903
c3627f6e
AZ
16904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16905 multiarch implementation.
16906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16907 file.
16908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16909 file.
16910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16911 file.
16912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16913 multiarch llround for PPC64.
16914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16915 multiarch lround for PPC64.
16916
b2284ad7
AZ
16917 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16918 multiarch implementation.
16919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16922 file.
16923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16926 multiarch isnan for PPC64.
16927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16928 multiarch isnanf for PPC64.
16929
69bbc63d
AZ
16930 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16931 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16932 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16933 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16934 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16936
c24517c9
AZ
16937 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16938 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16940 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16941
a52374e8
AZ
16942 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16943 multiarch implementations.
16944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16945 (__libc_ifunc_impl_list): Likewise.
16946 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16947 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16948 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16949 multiarch stpcpy for PPC64.
16950
7f5ec113
AZ
16951 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16952 multiarch implementations.
16953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16954 (__libc_ifunc_impl_list): Likewise.
16955 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16956 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16957 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16958 multiarch strcpy for PPC64.
16959
e28bcd42
AZ
16960 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16961 redefine function name.
16962 (_wordcopy_fwd_dest_aligned): Likewise.
16963 (_wordcopy_bwd_aligned): Likewise.
16964 (_wordcopy_bwd_dest_aligned): Likewise.
16965 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16966 multiarch implementations.
16967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16968 (__libc_ifunc_impl_list): Likewise.
16969 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16970 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16971 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16972 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16973 multiarch wcscpy for PPC64.
16974
92cacfce
AZ
16975 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16976 multiarch implementations.
16977 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16978 (__libc_ifunc_impl_list): Likewise.
16979 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16980 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16981 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16982 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16983 multiarch wcscpy for PPC64.
16984
7b714620
AZ
16985 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16986 multiarch implementations.
16987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16988 (__libc_ifunc_impl_list): Likewise.
16989 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16990 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16991 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16992 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16993 multiarch wcsrchr for PPC64.
16994
16fd2ae3
AZ
16995 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16996 multiarch implementations.
16997 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16998 (__libc_ifunc_impl_list): Likewise.
16999 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17000 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17001 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17002 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17003 multiarch wcschr for PPC64.
17004
9ee2969b
AZ
17005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17006 multiarch implementations.
17007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17008 (__libc_ifunc_impl_list): Likewise.
17009 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17010 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17011 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17012 multiarch strchrnul for PPC64.
17013
372dc060
AZ
17014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17015 implementations.
17016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17017 (__libc_ifunc_impl_list): Likewise.
17018 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17019 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17020 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17021 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17022 strchr for PPC64.
17023
24c2c3b9
AZ
17024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17025 implementations.
17026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17027 (__libc_ifunc_impl_list): Likewise.
17028 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17029 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17030 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17031 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17032 strncmp for PPC64.
17033
1c92d9a0
AZ
17034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17035 multiarch implementations.
17036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17037 (__libc_ifunc_impl_list): Likewise.
17038 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17039 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17040 strncasecmp for PPC64.
17041 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17042 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17043 multiarch strncasecmp_l for PPC64.
17044
17de3ee3
AZ
17045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17046 multiarch implementations.
17047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17048 (__libc_ifunc_impl_list): Likewise.
17049 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17050 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17051 multiarch strcasecmp for PPC64.
17052 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17053 file.
17054 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17055 multiarch strcasecmp_l for PPC64.
17056
62982bf9
AZ
17057 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17058 implementations.
17059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17060 (__libc_ifunc_impl_list): Likewise.
17061 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17062 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17063 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17064 strnlen for PPC64.
17065
a65f4904
AZ
17066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17067 implementations.
17068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17069 (__libc_ifunc_impl_list): Likewise.
17070 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17071 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17072 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17073 strlen for PPC64.
17074
1fd005ad
AZ
17075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17076 implementations.
17077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17078 (__libc_ifunc_impl_list): Likewise.
17079 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17080 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17081 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17082 rawmemrchr for PPC64.
17083
cd05ba91
AZ
17084 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17085 implementation.
17086 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17087 (__libc_ifunc_impl_list): Likewise.
17088 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17089 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17090 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17091 memrchr for PPC64.
17092
870f8676
AZ
17093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17094 implementation.
17095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17096 (__libc_ifunc_impl_list): Likewise.
17097 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17098 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17099 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17100 memchr for PPC64.
17101
f00be62b
AZ
17102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17103 implementation.
17104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17105 (__libc_ifunc_impl_list): Likewise.
17106 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17107 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17108 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17109 mempcpy for PPC64.
17110
8a29a3d0
AZ
17111 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17112 avoid cretion of __bzero symbol.
17113 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17114 Likewise.
17115 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17116 Likewise.
17117 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17118 Likewise.
17119 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17120 multiarch implementations.
17121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17122 (__libc_ifunc_impl_list): Likewise.
17123 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17124 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17125 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17126 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17127 bzero for PPC32.
17128 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17129 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17130 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17131 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17132 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17133 memset for PPC64.
17134 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17135
07253fcf
AZ
17136 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17138 implementations.
17139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17140 (__libc_ifunc_impl_list): Likewise.
17141 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17142 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17143 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17144 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17145 memcmp for PPC64.
17146
b5beafbc
AZ
17147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17148 multiarch for POWER/PPC64.
17149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17150 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17151 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17152 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17153 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17154 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17155 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17156 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17157 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17158 memcpy for PPC64.
17159
5e6a4d4b
AZ
17160 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17161 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17162 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17163 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17164 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17165 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17166 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17167 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17168 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17169 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17170 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17171 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17172 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17173 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17174 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17182
ddfab6dc
KK
171832013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17184
17185 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17186
19b5525e
SP
171872013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17188
17189 * benchtests/Makefile (bench): Add exp2 and log2.
17190 (LDLIBS-bench-exp2): Add -lm.
17191 (LDLIBS-bench-log2): Likewise.
17192 * benchtests/exp2-inputs: New inputs file.
17193 * benchtests/log2-inputs: New inputs file.
17194 * benchtests/log-inputs: Add new inputs.
17195 * benchtests/tan-inputs: Likewise.
17196
196f7f5d
SP
171972013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17198
7a74607f
SP
17199 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17200 definition...
57f41c40
AS
17201 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17202 (csloww2): ... from here.
7a74607f 17203
196f7f5d
SP
17204 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17205 instead of structures.
17206 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17207 (POLYNOMIAL): Likewise.
17208 (TAYLOR_SLOW): Likewise.
17209 (__sin): Likewise.
17210 (__cos): Likewise.
17211 (slow1): Likewise.
17212 (slow2): Likewise.
17213 (sloww): Likewise.
17214 (sloww1); Likewise.
17215 (sloww2): Likewise.
17216 (bsloww1): Likewise.
17217 (bsloww2): Likewise.
17218 (cslow2): Likewise.
17219 (csloww): Likewise.
17220 (csloww1): Likewise.
17221 (csloww2): Likewise.
17222
0dfa665c
OB
172232013-12-10 Ondřej Bílka <neleai@seznam.cz>
17224
17225 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
17226 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17227 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
17228 * malloc/hooks.c (realloc_check): Likewise.
17229
5782a80f
OB
17230 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17231 * malloc/arena.c: Remove PER_THREAD conditional.
17232 [!PER_THREAD]: Remove code.
17233 (ptmalloc_unlock_all2): Likewise.
17234 (ptmalloc_init): Likewise.
17235 (_int_new_arena): Likewise.
17236 (arena_get2): Likewise.
17237 * malloc/hooks.c (__malloc_get_state): Likewise.
17238 (__malloc_set_state): Likewise.
17239 * malloc/malloc.c: Likewise.
17240 (struct malloc_state): Likewise.
17241 (struct malloc_par): Likewise.
17242 (__libc_realloc): Likewise.
17243 (__libc_mallopt): Likewise.
17244
aeb95445
AZ
172452013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17246
17247 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17248
e8349efd
OB
172492013-12-09 Ondřej Bílka <neleai@seznam.cz>
17250
17251 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17252 macro to a function. Check for zero perturb_byte.
17253 (_int_malloc, _int_free): Remove zero perturb_byte checks.
17254
f3eeb3fc 17255 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
17256 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17257 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
17258 force_reg by atomic_forced_read.
17259 * malloc/arena.c (ptmalloc_init): Likewise.
17260 * malloc/hooks.c (top_check): Likewise.
17261
be2f9009
AZ
172622013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17263
17264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17265
e7b914bd
MT
172662013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
17267
17268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17269
9f0be4f8
JM
172702013-12-08 Joseph Myers <joseph@codesourcery.com>
17271
17272 * math/auto-libm-test-in: Add tests of lgamma.
17273 * math/auto-libm-test-out: Regenerated.
17274 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17275 (M_LOG_2_SQRT_PIl): Likewise.
17276 (lgamma_test_data): Use AUTO_TESTS_f_f1.
17277 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17278 mpfr_f_f1.
17279 (func_calc_desc): Add mpfr_f_f1 union field.
17280 (ARGS1): New macro.
17281 (ARGS2): Likewise.
17282 (ARGS3): Likewise.
17283 (ARGS4): Likewise.
17284 (RET1): Likewise.
17285 (RET2): Likewise.
17286 (CALC): Likewise.
17287 (FUNC): Likewise.
17288 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17289 (test_functions): Add lgamma.
17290 (calc_generic_results): Handle mpfr_f_f1.
17291 * sysdeps/i386/fpu/libm-test-ulps: Update.
17292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17293
24eeafdb
AZ
172942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17295
17296 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17297 __mpn_add_n for PowerPC64/POWER7.
17298 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17299 __mpn_sub_n for PowerPC64/POWER7.
17300
4a2c0fd4
AZ
17301 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17302 __mpn_addmul_1 for PowerPC64.
17303 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17304 __mpn_submul_1 for PowerPC64.
17305 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17306 for PowerPC64.
17307 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17308 for PowerPC64.
17309
4b5b548c
FS
173102013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
17311
17312 [BZ #15089]
17313 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17314
0a3ac0aa
AZ
173152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17316
17317 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17318
ccdc8438
AZ
17319 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17320 add multiarch folders.
17321 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17322 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17323 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17324 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17325 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17326 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17327 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17328 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17329 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17330 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17331 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17338
2e973d99
AZ
17339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17340 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17342 New file.
17343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17344 New file.
17345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17346 multiarch __ieee754_hypot for PowerPC32.
17347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17348 New file.
17349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17350 New file.
17351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17352 multiarch __ieee754_hypotf for PowerPC32.
17353
2d9470b2
AZ
17354 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17355 long_double_symbol only if __logbl is defined.
17356 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17357 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17358 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17359 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17360 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17361 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17362 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17363 path for implementation.
17364 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17365 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17367 logb, and logbl multiarch implementations for PowerPC32.
17368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17369 file.
17370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17371 file.
17372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17373 multiarch logb for PowerPC32.
17374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17375 file.
17376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17377 file.
17378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17379 multiarch logbf for PowerPC32.
17380 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17382 file.
17383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17384 multiarch logbl implementation for PowerPC32.
17385
5212ffce
AZ
17386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17387 and modff multiarch implementations.
17388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17389 New file.
17390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17391 New file.
17392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17393 multiarch modf for PowerPC32.
17394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17395 New file.
17396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17397 New file.
17398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17399 multiarch modff for PowerPC32.
17400
79dccf31
AZ
17401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17402 and lrintf multiarch implementations.
17403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17404 New file.
17405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17406 New file.
17407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17408 multiarch lrint for PowerPC32.
17409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17410 file: multiarch lrintf for PowerPC32.
17411
deb66480
AZ
17412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17413 and lroundf multiarch implementations.
17414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17415 New file.
17416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17417 New file.
17418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17419 New file.
17420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17421 multiarch lround for PowerPC32.
17422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17423 file: multiarch lroundf for PowerPC32.
17424
264b036b
AZ
17425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17426 copysign and copysignf multiarch implementations.
17427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17428 New file.
17429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17430 New file.
17431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17432 file: multiarch copysign for PowerPC32.
17433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17434 file: multiarch copysignf for PowerPC32.
17435
d47db6c9
AZ
17436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17437 and truncf multiarch implementations.
17438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17439 New file.
17440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17441 file.
17442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17443 multiarch trunc for PowerPC32.
17444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17445 New file.
17446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17447 New file.
17448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17449 multiarch truncf for PowerPC32.
17450
ddb60b5a
AZ
17451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17452 and roundf multiarch implementations.
17453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17454 New file.
17455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17456 file.
17457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17458 multiarch round for PowerPC32.
17459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17460 New file.
17461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17462 New file.
17463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17464 multiarch roundf for PowerPC32.
17465
bedcf49b
AZ
17466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17467 and floorf multiarch implementations.
17468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17469 New file.
17470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17471 file.
17472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17473 multiarch floor for PowerPC32.
17474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17475 New file.
17476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17477 New file.
17478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17479 multiarch floorf for PowerPC32.
17480
35ae5b40
AZ
17481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17482 and ceilf multiarch implementations.
17483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17484 New file.
17485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17486 file.
17487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17488 multiarch ceil for PowerPC32.
17489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17490 New file.
17491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17492 file.
17493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17494 multiarch ceilf for PowerPC32.
17495
ae1a4cd9
AZ
17496 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17497 is defined.
17498 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17499 FINITEF is defined.
17500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17501 and finitef multiarch implementations.
17502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17503 New file.
17504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17505 file.
17506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17507 multiarch finite for PowerPC32.
17508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17509 New file.
17510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17511 file: multiarch finitef for PowerPC32.
17512
64fffd65
AZ
17513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17514 and isinff multiarch implementations.
17515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17516 file.
17517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17518 file.
17519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17520 multiarch isinf for PowerPC32.
17521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17522 New file.
17523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17524 multiarch isinff for PowerPC32.
17525
8e4e7ba2
AZ
17526 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17527 alias when __isnan is defined.
17528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17529 and isnanf multiarch implementations.
17530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17531 file.
17532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17533 file.
17534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17535 file.
17536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17537 file.
17538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17539 multiarch isnan for PowerPC32.
17540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17541 New file.
17542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17543 New file.
17544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17545 multiarch isnanf for PowerPC32.
17546
ddba588e
AZ
17547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17548 and sqrtf multiarch implementations.
17549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17550 file.
17551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17552 file.
17553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17554 multiarch sqrt for PowerPC32.
17555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17556 file.
17557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17558 file.
17559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17560 multiarch sqrtf for PowerPC32.
17561
0f96a2f0
AZ
17562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17563 and llroundf multiarch implementations.
17564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17565 New file.
17566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17567 New file.
17568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17569 New file.
17570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17571 file: multiarch llround for PowerPC32.
17572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17573 file: multiarch llroundf for PowerPC32.
17574
c9b5d79e
AZ
17575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17576 multiarch PowerPC32 fpu implementations.
17577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17578 New file.
17579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17580 New file.
17581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17582 multiarch llrint for PowerPC32.
17583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17584 New file.
17585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17586 New file.
17587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17588 file.
17589
9cbb3aab
AZ
17590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17591
ea5a72f8
AZ
17592 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17593 file.
17594 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17595 file.
17596 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17597 file.
17598 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17599 multiarch wordcopy for PPC32.
17600 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17601 wordcopy objects.
17602 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17603 (__libc_ifunc_impl_list): Likewise.
17604 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17605 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17606 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17607 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17608 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17609 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17610
93be09e7
AZ
17611 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17612 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17613 file.
17614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17615 file.
17616 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17617 file.
17618 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17619 multiarch wcscpy for PPC32.
17620 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17621 multiarch objects.
17622 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17623 (__libc_ifunc_impl_list): Likewise.
17624 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17625 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17626 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17627 sysdeps/powerpc/power6/wcscpy.c.
17628
bb04e529
AZ
17629 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17630 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17631 file.
17632 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17633 file.
17634 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17635 file.
17636 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17637 multiarch wcsrchr for PPC32.
17638 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17639 multiarch objects.
17640 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17641 (__libc_ifunc_impl_list): Likewise.
17642 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17643 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17644 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17645 sysdeps/powerpc/power6/wcsrchr.c.
17646
05b5cd1c
AZ
17647 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17648 file.
17649 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17650 file.
17651 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17652 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17653 multiarch wcschr for PPc32.
17654 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17655 multiarch objects.
17656 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17657 (__libc_ifunc_impl_list): Likewise.
17658 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17659 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17660 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17661 sysdeps/powerpc/power6/wcschr.c.
17662
ba964147
AZ
17663 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17664 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17665 file.
17666 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17667 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17668 file: multiarch strchr for PPC32.
17669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17670 multiarch objects.
17671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17672 (__libc_ifunc_impl_list): Likewise.
17673
31c81aaa
AZ
17674 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17675 name.
17676 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17677 file.
17678 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17679 file.
17680 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17681 multiarch strchrnul for PPC32.
17682 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17683 multiarch objects.
17684 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17685 (__libc_ifunc_impl_list): Likewise.
17686
0d0607d9
AZ
17687 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17688 file.
17689 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17690 multiarch strncasecmp for PPC32.
17691 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17692 file.
17693 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17694 multiarch strncasecmp_l for PPC32.
17695 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17696 strncasecmp multiarch objects.
17697 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17698 (__libc_ifunc_impl_list): Likewise.
17699
4dfd5c86
AZ
17700 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17701 file.
17702 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17703 multiarch strncasecmp for PPC32.
17704 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17705 New file.
17706 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17707 multiarch strcasecmp_l for PPC32.
17708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17709 multiarch objects.
17710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17711 (__libc_ifunc_impl_list): Likewise.
17712
a19e01a3
AZ
17713 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17714 file.
17715 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17716 file.
17717 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17718 multiarch strncmp for PPC32.
17719 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17720 multiarch objects.
17721 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17722 (__libc_ifunc_impl_list): Likewise.
17723
ae9cf7a2
AZ
17724 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17725 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17726 file.
17727 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17728 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17729 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17730 multiarch objects.
17731 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17732 (__libc_ifunc_impl_list): Likewise.
17733
3148bb7d
AZ
17734 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17735 file.
17736 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17737 file.
17738 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17739 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17740 multiarch objects.
17741 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17742 (__libc_ifunc_impl_list): Likewise.
17743
7af8b946
AZ
17744 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17745 file.
17746 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17747 file.
17748 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17749 multiarch rawmemchr for PPC32.
17750 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17751 multiarch objects.
17752 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17753 (__libc_ifunc_impl_list): Likewise.
17754
03a6aa6a
AZ
17755 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17756 file.
17757 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17758 file.
17759 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17760 file: memrchr multiarch for PPC32.
17761 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17762 multiarch objects.
17763 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17764 (__libc_ifunc_impl_list): Likewise.
17765
1c62e6d9
AZ
17766 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17767 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17768 file.
17769 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17770 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17771 multiarch memchr for PPC32.
17772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17773 multiarch objects.
17774 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17775 (__libc_ifunc_impl_list): Likewise.
17776
87da8bdb
AZ
17777 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17778 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17779 file.
17780 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17781 file.
17782 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17783 file: multiarch mempcpy for PPC32.
17784 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17785 multiarch objects.
17786 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17787 (__libc_ifunc_impl_list): Likewise.
17788
20ed4714
AZ
17789 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17790 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17791 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17792 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17793 multiarch bzero for PPC32.
17794 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17795 file.
17796 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17797 file.
17798 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17799 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17800 file: multiarch memset for PPC32.
17801 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17802 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17803 memset multiarch objects.
17804 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17805 (__libc_ifunc_impl_list): Likewise.
17806
ab3e3a46
AZ
17807 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17808 file.
17809 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17810 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17811 memcmp for PPC32.
17812 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17813 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17814 multiarch objects.
17815 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17816 (__libc_ifunc_impl_list): Likewise.
17817
930de6f0
AZ
17818 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17819 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17820 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17821 file.
17822 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17823 file.
17824 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17825 file.
17826 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17827 multiarch memcpy for PPC32.
17828 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17829 multiarch objects.
17830 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17831 (__libc_ifunc_impl_list): Likewise.
17832
4c628e00
AZ
17833 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17834 support multiarch for POWER/PPC32.
17835 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17836 Likewise.
17837 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17839 Implies file to make multiarch folder appers before the fpu and
17840 default folder for power4 configuration.
17841
f4479220
SP
178422013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17843
17844 * scripts/bench.pl: Append volatile keyword to type.
17845
8517800f
KK
178462013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17847
17848 * sysdeps/sh/sotruss-lib.c: New file.
17849 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17850
180138f1
AZ
178512013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17852
17853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17854
bbf37bdc
JM
178552013-12-05 Joseph Myers <joseph@codesourcery.com>
17856
e47cc4e0
JM
17857 [BZ #6810]
17858 * math/w_tgamma.c: Include <errno.h>.
17859 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17860 * math/w_tgammaf.c: Include <errno.h>.
17861 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17862 * math/w_tgammal.c: Include <errno.h>.
17863 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17864 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17865 underflow. Add more tgamma tests.
17866 * math/auto-libm-test-out: Regenerated.
17867 * sysdeps/i386/fpu/libm-test-ulps: Update.
17868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17869
bbf37bdc
JM
17870 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17871 sin, sinh, tan, tanh, tgamma, y0 and y1.
17872 * math/auto-libm-test-out: Regenerated.
17873 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17874 (TEST_COND_x86): Likewise.
17875 (M_E2l): Remove macro.
17876 (M_E3l): Likewise.
17877 (M_2_SQRT_PIl): Likewise.
17878 (M_SQRT_PIl): Likewise.
17879 (M_1_DIV_El): Likewise.
17880 (log_test_data): Use AUTO_TESTS_f_f.
17881 (log10_test_data): Likewise.
17882 (log1p_test_data): Likewise.
17883 (log2_test_data): Likewise.
17884 (sin_test_data): Likewise.
17885 (sin_tonearest_test_data): Likewise.
17886 (sin_towardzero_test_data): Likewise.
17887 (sin_downward_test_data): Likewise.
17888 (sin_upward_test_data): Likewise.
17889 (sinh_test_data): Likewise.
17890 (sinh_tonearest_test_data): Likewise.
17891 (sinh_towardzero_test_data): Likewise.
17892 (sinh_downward_test_data): Likewise.
17893 (sinh_upward_test_data): Likewise.
17894 (tan_test_data): Likewise.
17895 (tan_tonearest_test_data): Likewise.
17896 (tan_towardzero_test_data): Likewise.
17897 (tan_downward_test_data): Likewise.
17898 (tan_upward_test_data): Likewise.
17899 (tanh_test_data): Likewise.
17900 (tgamma_test_data): Likewise.
17901 (y0_test_data): Likewise.
17902 (y1_test_data): Likewise.
17903 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17904 (special_real_inputs): Add pi/4.
17905 * sysdeps/i386/fpu/libm-test-ulps: Update.
17906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17907
eb5ad6b9
AZ
179082013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17909
17910 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17911 "longjmp_target" static probes.
17912 (__longjmp): Rename to __longjmp_symbol.
17913 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17914 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17915 on which longjmp to generate.
17916 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17917 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17918 probe.
17919 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17920 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17921 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17922 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17923 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17924 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17926 __longjmp_symbol based on which __longjmp to generate.
17927 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17928 probe.
17929 (setjmp): Rename to setjmp_symbol.
17930 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17931 (_setjmp): Rename to _setjmp_symbol.
17932 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17933 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17934 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17935 which setjmp to generate.
17936 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17937 "longjmp_target" static probes.
17938
d136c6dc
SP
179392013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17940
9298ecba
SP
17941 * benchtests/README: Add note about output arguments.
17942 * benchtests/bench-sincos.c: Remove file.
17943 * benchtests/sincos-inputs: New file.
17944 * scripts/bench.pl: Identify output arguments and define
17945 static variables for them.
17946
232983e9
SP
17947 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17948
d136c6dc
SP
17949 [BZ #15941]
17950 * Makefile (INSTALL): Add install-plain.texi as the primary
17951 dependency.
17952 * manual/install-plain.texi: New file.
17953 * manual/install.texi: Include node directive only for
17954 non-plaintext output.
17955
699ff837
JM
179562013-12-04 Joseph Myers <joseph@codesourcery.com>
17957
ab07cea8
JM
17958 * stdlib/longlong.h: Update from GCC.
17959
699ff837
JM
17960 [BZ #6807]
17961 [BZ #15901]
17962 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17963 * math/w_j0f.c (y0f): Likewise.
17964 * math/w_j0l.c (__y0l): Likewise.
17965 * math/w_j1.c (y1): Likewise.
17966 * math/w_j1f.c (y1f): Likewise.
17967 * math/w_j1l.c (__y1l): Likewise
17968 * math/w_jn.c (yn): Likewise.
17969 * math/w_jnf.c (ynf): Likewise.
17970 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17971 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17972 value for Bessel function domain errors outside _SVID_ mode.
17973 Adjust sign of return value for yn (negative integer, 0).
17974 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17975 by zero in return for negative x and set sign appropriately for
17976 negative n.
17977 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17978 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17979 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17980 expectations in error cases.
17981 (y1_test_data): Likewise.
17982 (yn_test_data): Likewise.
17983 * sysdeps/i386/fpu/libm-test-ulps: Update.
17984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17985
5b118558
UW
179862013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17987
17988 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17989 "64" to "64-v1". Add "64-v2".
17990 (abi-64-options): Rename to ...
17991 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17992 (abi-64-condition): Rename to ...
17993 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17994 (abi-64-ld-soname): Rename to ...
17995 (abi-64-v1-ld-soname): ... this.
17996 (abi-64-v2-options): Define.
17997 (abi-64-v2-condition): Likewise.
17998 (abi-64-v2-ld-soname): Likewise.
17999 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18000 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18004
61cd8fe4
UW
180052013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18006 Alan Modra <amodra@gmail.com>
18007
18008 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18009 New versions for use with the ELFv2 ABI.
18010 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18011 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18012 declaration.
18013 (struct La_ppc64v2_retval): Likewise.
18014 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18015 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18016 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18017 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18018 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18019 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18020 Do not save or restore CR.
18021 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18022 (_dl_profile_resolve): Do no save or restore CR. Support extended
18023 return values for ELFv2 ABI. Fix location of FPR return registers.
18024 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18025 updated values for _CALL_ELF == 2.
18026 (La_regs, La_retval, int_retval): Likewise.
18027
8b8a692c
UW
180282013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18029
18030 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18031 (FRAME_MIN_SIZE_PARM): Likewise.
18032 (FRAME_BACKCHAIN): Likewise.
18033 (FRAME_CR_SAVE): Likewise.
18034 (FRAME_LR_SAVE): Likewise.
18035 (FRAME_TOC_SAVE): Likewise.
18036 (FRAME_PARM_SAVE): Likewise.
18037 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18038 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18039 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18040 (call_mcount_parm_offset): New macro.
18041 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18042 (PROF): Use symbolic stack frame offsets.
18043 (TAIL_CALL_SYSCALL_ERROR): Likewise.
18044 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18045 Redefine in terms of FRAME_MIN_SIZE.
18046 (_dl_runtime_resolve): Use symbolic stack frame offsets.
18047 (_dl_profile_resolve): Likewise. Update comment.
18048 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18049 symbols stack frame offsets.
18050 (__sigsetjmp): Likewise.
18051 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18052 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18053 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18054 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18055
18056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18057 (FRAME_BACKCHAIN): Remove.
18058 (FRAME_CR_SAVE): Likewise.
18059 (FRAME_LR_SAVE): Likewise.
18060 (FRAME_COMPILER_DW): Likewise.
18061 (FRAME_LINKER_DW): Likewise.
18062 (FRAME_TOC_SAVE): Likewise.
18063 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
18064 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18065 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18066 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
18067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18068 (CHECK_SP): Use symbolic stack frame offsets.
18069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18070 zone" instead of caller's parameter save area for temp storage.
18071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18072 Likewise. Also, use symbolic stack frame offsets.
18073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18074 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18075 our own stack frame instead of the caller's.
18076 (__socket): Use symbolic stack frame offsets.
18077
122b66de
UW
180782013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18079 Alan Modra <amodra@gmail.com>
18080
18081 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18082 Define.
57f41c40
AS
18083 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18084 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
18085 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18086 New function.
18087 (elf_machine_fixup_plt): Call it.
18088 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
18089 reloc arguments.
18090 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
18091 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18092 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
18093 r2 before calling target.
18094
696caf1d
UW
180952013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18096 Alan Modra <amodra@gmail.com>
18097
18098 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18099 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18100 versions of macros to support ELFv2 ABI.
18101 (LOCALENTRY): New macro.
18102 (ENTRY, EALIGN): Use it.
18103 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18104 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18105 fall through into ENTRY entry point.
18106 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18107 Only define if _CALL_ELF != 2.
18108
18109 (elf_machine_matches_host): Verify ABI version matches.
18110 (RTLD_START): Use LOCALENTRY.
18111 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18112 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18113 (PLT_ENTRY_WORDS): New macro.
18114 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18115 (elf_machine_runtime_setup): Support ELFv2 ABI.
18116 (elf_machine_fixup_plt): Likewise.
18117 (elf_machine_plt_conflict): Likewise.
18118 (resolve_ifunc): Likewise.
18119 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18120 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18121 Likewise.
18122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18123 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18125 (makecontext): Support ELFv2 ABI.
18126 * elf/elf.h (EF_PPC64_ABI): Define.
18127
d31beafa
UW
181282013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18129
57f41c40
AS
18130 * sysdeps/powerpc/powerpc64/sysdep.h
18131 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18132 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18133 (ENTRY) [ASSEMBLER]: ... but instead here ...
18134 (EALIGN) [ASSEMBLER]: ... and here.
18135 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18136 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18137 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
18138 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18139 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
18140 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18141 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
18142 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18144 Use PPC64_LOAD_FUNCPTR.
18145
b525166b
UW
18146 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18147
7ec07d9a
AM
181482013-12-04 Alan Modra <amodra@gmail.com>
18149
18150 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18151 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18152 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18153 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18154
18155 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18156 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18157 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18158 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18159 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18160 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18161
5162e7dd
UW
181622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18163
18164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18165 (__makecontext): Fix incorrect CFI when backtracing out of
18166 context created via makecontext.
18167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18168 (__setcontext): Fix incorrect CFI during switch to new context.
18169 (__novec_setcontext): Likewise.
18170
19e3372b
OB
181712013-12-04 Ondřej Bílka <neleai@seznam.cz>
18172
18173 [BZ #4772]
18174 * time/strptime_l.c (__strptime_internal): Allow modifiers
18175 in strptime.
18176 * time/tst-strptime.c (day_tests): Add testcase.
18177
ecaf142d
SP
181782013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18179
18180 * scripts/bench.pl: Skip over blank lines.
18181
fbf964ae
PE
181822013-12-04 Paul Eggert <eggert@cs.ucla.edu>
18183
18184 [BZ #926]
18185 * manual/time.texi (Calendar Time): Clarify what timezone functions
18186 use.
18187
fa60a674
AZ
181882013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18189
18190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18191
d674f0ef
OB
181922013-12-04 Ondřej Bílka <neleai@seznam.cz>
18193
18194 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18195 implementation.
18196 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18197 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18198 * debug/memset_chk.c (__memset_chk): Likewise.
18199 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18200 * debug/strncpy_chk.c: Likewise.
18201
17dea188
JM
182022013-12-03 Joseph Myers <joseph@codesourcery.com>
18203
749008ff
JM
18204 [BZ #15268]
18205 [BZ #15425]
18206 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18207 (__ieee754_exp): For possibly underflowing results, check size of
18208 result and force underflow exception if required.
18209 * math/auto-libm-test-in: Add more tests of exp.
18210 * math/auto-libm-test-out: Regenerated.
18211 * sysdeps/i386/fpu/libm-test-ulps: Update.
18212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18213
17dea188
JM
18214 [BZ #16283]
18215 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18216 * math/w_exp2f.c (__exp2f): Likewise.
18217 * math/w_exp2l.c (__exp2l): Likewise.
18218 * math/auto-libm-test-in: Do not allow missing errno on exp2
18219 underflow.
18220 * math/auto-libm-test-out: Regenerated.
18221
b20de2c3
OB
182222013-12-03 Ondřej Bílka <neleai@seznam.cz>
18223
18224 [BZ #16274]
18225 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18226 handle filename validation.
18227 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18228 (do_open): Delete.
18229
d8e2dbe3
JM
182302013-12-03 Joseph Myers <joseph@codesourcery.com>
18231
34e16df5
JM
18232 [BZ #6786]
18233 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18234 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18235 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18236 <float.h>.
18237 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18238 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18239 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18240 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18241 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18242 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18243 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18244 * math/auto-libm-test-in: Don't allow missing errno from erfc.
18245 Add more erfc tests.
18246 * math/auto-libm-test-out: Regenerated.
18247 * sysdeps/i386/fpu/libm-test-ulps: Update.
18248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18249
d8e2dbe3
JM
18250 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18251 exp2, expm1, j0 and j1.
18252 * math/auto-libm-test-out: Regenerated.
18253 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18254 (erfc_test_data): Likewise.
18255 (exp_test_data): Likewise.
18256 (exp_tonearest_test_data): Likewise.
18257 (exp_towardzero_test_data): Likewise.
18258 (exp_downward_test_data): Likewise.
18259 (exp_upward_test_data): Likewise.
18260 (exp10_test_data): Likewise.
18261 (exp2_test_data): Likewise.
18262 (expm1_test_data): Likewise.
18263 (j0_test_data): Likewise.
18264 (j1_test_data): Likewise.
18265 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18266 (input_flag_type): Add flag_xfail_rounding.
18267 (input_flags): Add xfail-rounding.
18268 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18269 (output_for_one_input_case): Handle flag_xfail_rounding.
18270 * sysdeps/i386/fpu/libm-test-ulps: Update.
18271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18272
18d14251
AJ
182732013-12-03 Aurelien Jarno <aurelien@aurel32.net>
18274
3d2e6075 18275 [BZ #16289]
18d14251
AJ
18276 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18277 division by 0.
18278
520d437b
SP
182792013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18280
18281 [BZ #16195]
18282 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18283 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18284 (STAP_PROBE0): New macro.
18285 (STAP_PROBE1): Likewise.
18286 (STAP_PROBE2): Likewise.
18287 (STAP_PROBE3): Likewise.
18288 (STAP_PROBE4): Likewise.
18289
416e0145
OB
182902013-12-02 Ondřej Bílka <neleai@seznam.cz>
18291
18292 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18293
9d17796a
SE
182942013-12-02 Steve Ellcey <sellcey@mips.com>
18295
18296 * benchtests/Makefile (bench): Add sqrt.
18297 (LDLIBS-bench-sqrt): New.
18298 * benchtests/sqrt-input: New.
18299
f524d6a8
PS
183002013-12-02 Pavel Simerda <psimerda@redhat.com>
18301
639a0ef8
PS
18302 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18303 (GAIH_EAI): Likewise.
18304 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18305 (gaih_inet): Likewise.
18306 (getaddrinfo): Don't use GAIH_EAI.
18307
f524d6a8
PS
18308 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18309 (struct gaih): Remove definition.
18310
df3aedaf
SP
183112013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18312
18313 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18314 Use HERRNOP directly.
18315
1ab19dec
AZ
183162013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18317
b42ad38d 18318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 18319
176b0c79
JM
183202013-11-30 Joseph Myers <joseph@codesourcery.com>
18321
18322 * math/gen-auto-libm-tests.c (test_functions): Add more
18323 single-argument functions.
18324 (special_fill_pi_2): New function.
18325 (special_fill_minus_pi_2): Likewise.
18326 (special_fill_pi_6): Likewise.
18327 (special_fill_minus_pi_6): Likewise.
18328 (special_fill_pi_3): Likewise.
18329 (special_fill_2pi_3): Likewise.
18330 (special_fill_e): Likewise.
18331 (special_fill_1_e): Likewise.
18332 (special_fill_e_minus_1): Likewise.
18333 (special_real_inputs): Add more special inputs.
18334 (output_for_one_input_case): Do not require ERANGE on underflow to
18335 zero if round-to-nearest result does not underflow to zero, unless
18336 exact results required.
18337 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18338 atan, atanh, cbrt, cos and cosh.
18339 * math/auto-libm-test-out: Regenerated.
18340 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18341 (acos_tonearest_test_data): Likewise.
18342 (acos_towardzero_test_data): Likewise.
18343 (acos_downward_test_data): Likewise.
18344 (acos_upward_test_data): Likewise.
18345 (acosh_test_data): Likewise.
18346 (asin_test_data): Likewise.
18347 (asin_tonearest_test_data): Likewise.
18348 (asin_towardzero_test_data): Likewise.
18349 (asin_upward_test_data): Likewise.
18350 (asinh_test_data): Likewise.
18351 (atan_test_data): Likewise.
18352 (atanh_test_data): Likewise.
18353 (cbrt_test_data): Likewise.
18354 (cos_test_data): Likewise.
18355 (cos_tonearest_test_data): Likewise.
18356 (cos_towardzero_test_data): Likewise.
18357 (cos_downward_test_data): Likewise.
18358 (cos_upward_test_data): Likewise.
18359 (cosh_test_data): Likewise.
18360 (cosh_tonearest_test_data): Likewise.
18361 (cosh_towardzero_test_data): Likewise.
18362 (cosh_downward_test_data): Likewise.
18363 (cosh_upward_test_data): Likewise.
18364 * sysdeps/i386/fpu/libm-test-ulps: Update.
18365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18366
ffb536d0
JM
183672013-11-29 Joseph Myers <joseph@codesourcery.com>
18368
2a77a467
JM
18369 [BZ #6787]
18370 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18371 * math/w_exp10f.c (__exp10f): Likewise.
18372 * math/w_exp10l.c (__exp10l): Likewise.
18373 * math/libm-test.inc (exp10_test_data): Add more tests and expect
18374 errno settings in existing tests.
18375
ea3bc4e8
JM
18376 [BZ #14032]
18377 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18378 precision control set to double precision.
18379 * sysdeps/i386/fpu/w_sqrt.c: New file.
18380 * math/auto-libm-test-in: Add more tests.
18381 * math/auto-libm-test-out: Update.
18382
0712c9d8
JM
18383 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18384 (sqrt_test_tonearest): New function.
18385 (sqrt_towardzero_test_data): New variable.
18386 (sqrt_test_towardzero): New function.
18387 (sqrt_downward_test_data): New variable.
18388 (sqrt_test_downward): New function.
18389 (sqrt_upward_test_data): New variable.
18390 (sqrt_test_upward): New function.
18391 (main): Call the new functions.
18392
ffb536d0
JM
18393 * math/gen-auto-libm-tests.c: New file.
18394 * math/auto-libm-test-in: Likewise.
18395 * math/auto-libm-test-out: New generated file.
18396 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18397 variables.
18398 (%beautify): Add generated representations of zero.
18399 (top level): Set $auto_input and call parse_auto_input.
18400 (beautify): Remove trailing "f" from hex float constants.
18401 (parse_args): Handle XFAIL_TEST.
18402 (convert_condition): New function.
18403 (or_value): Likewise.
18404 (or_cond_value): Likewise.
18405 (generate_testfile): Handle AUTO_TESTS_* lines.
18406 (parse_auto_input): New function.
18407 * math/libm-test.inc (XFAIL_TEST): New macro.
18408 (ERRNO_UNCHANGED): Update value.
18409 (ERRNO_EDOM): Likewise.
18410 (ERRNO_ERANGE): Likewise.
18411 (IGNORE_RESULT): Likewise.
18412 (TEST_COND_flt_32): New macro.
18413 (TEST_COND_dbl_64): Likewise.
18414 (TEST_COND_ldbl_96_intel): Likewise.
18415 (TEST_COND_ldbl_96_m68k): Likewise.
18416 (TEST_COND_ldbl_128): Likewise.
18417 (TEST_COND_ldbl_128ibm): Likewise.
18418 (TEST_COND_long32): Likewise.
18419 (TEST_COND_long64): Likewise.
18420 (TEST_COND_before_rounding): Likewise.
18421 (TEST_COND_after_rounding): Likewise.
18422 (enable_test): Handle XFAIL_TEST flag.
18423 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18424 with finite results.
18425 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18426 auto-libm-test-out.
18427
acd98a8e
AK
184282013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18429 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18430
18431 [BZ #16214]
18432 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18433 __tls_get_addr_internal instead of __tls_get_offset in order to
18434 avoid GOT pointer dependency. Make rtld export
18435 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18436 __tls_get_addr since we are a __tls_get_offset platform.
18437 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18438 GOT pointer being set up before.
18439 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18440
3c1c46a6
JM
184412013-11-28 Joseph Myers <joseph@codesourcery.com>
18442
7475aef5
JM
18443 * manual/math.texi (Errors in Math Functions): Document accuracy
18444 goals.
18445
8bca7cd8
JM
18446 [BZ #15004]
18447 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18448 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18449 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18450 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18451 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18452 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18453 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18454 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18455 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18456 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18457 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18458 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18459 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18460 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18461 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18462 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18463
91a1f3fe
JM
18464 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18465 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18466 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18467 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18468 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18469 Likewise.
18470 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18471 Likewise.
18472 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18473 Likewise.
18474 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18475 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18476 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18477 atomic-feupdateenv and flt-rounds.
18478 * sysdeps/powerpc/nofpu/Versions (libc): Add
18479 __atomic_feholdexcept, __atomic_feclearexcept,
18480 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18481 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18482 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18483 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18484 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18485 here.
18486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18487 Update.
18488
c5df7609
JM
18489 * manual/arith.texi (FP Exceptions): Document that exceptions may
18490 not be raised when matherr is used.
18491 (Math Error Reporting): Document overflow in directed rounding
18492 modes. Document that errno may not be set when finite values are
18493 returned on overflow. Document intent to set errno on underflow
18494 only for underflow to zero.
18495
3c1c46a6
JM
18496 [BZ #16271]
18497 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18498 round-to-nearest then adjust result for other rounding modes.
18499 * include/fenv.h (fegetround): Use libm_hidden_proto.
18500 * math/fegetround.c (fegetround): Use libm_hidden_def.
18501 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18502 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18503 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18504 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18505 Likewise.
18506 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18507 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18508 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18509 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18510
5a4c6d53
SP
185112013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18512
18513 [BZ #16077]
18514 * nss/Versions (libnss_files): Add
18515 _nss_files_gethostbyname3_r.
18516 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18517 New function.
18518 (HOST_DB_LOOKUP): Remove macro.
18519 (_nss_files_gethostbyname_r): Implement function without the
18520 HOST_DB_LOOKUP macro.
18521 (_nss_files_gethostbyname2_r): Likewise.
18522
897b98ba
OB
185232013-11-28 Ondřej Bílka <neleai@seznam.cz>
18524
18525 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18526
6f476861
UB
185272013-11-26 Uros Bizjak <ubizjak@gmail.com>
18528
18529 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18530 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18531 warning.
18532
bd12ab55
AZ
185332013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18534
18535 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18536 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18537 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18538 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18539 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18540 __fe_nomask_env_priv and attribute_hidden.
18541 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18542 (libc_feupdateenv_test_ppc): Likewise.
18543 (libc_feresetround_ppc): Likewise.
18544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18545 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18546 compat_symbol macro.
18547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18548 (__fe_nomask_env): Likewise.
18549 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18550
52bb6543
OB
185512013-11-26 Ondřej Bílka <neleai@seznam.cz>
18552
18553 * string/Makefile: Remove ifunc tests.
18554 * string/test-string.h: Define TEST_IFUNC.
18555 * string/test-bcopy-ifunc.c: Remove.
18556 * string/test-bzero-ifunc.c: Likewise.
18557 * string/test-memccpy-ifunc.c: Likewise.
18558 * string/test-memchr-ifunc.c: Likewise.
18559 * string/test-memcmp-ifunc.c: Likewise.
18560 * string/test-memcpy-ifunc.c: Likewise.
18561 * string/test-memmem-ifunc.c: Likewise.
18562 * string/test-memmove-ifunc.c: Likewise.
18563 * string/test-mempcpy-ifunc.c: Likewise.
18564 * string/test-memrchr-ifunc.c: Likewise.
18565 * string/test-memset-ifunc.c: Likewise.
18566 * string/test-rawmemchr-ifunc.c: Likewise.
18567 * string/test-stpcpy-ifunc.c: Likewise.
18568 * string/test-stpncpy-ifunc.c: Likewise.
18569 * string/test-strcasecmp-ifunc.c: Likewise.
18570 * string/test-strcasestr-ifunc.c: Likewise.
18571 * string/test-strcat-ifunc.c: Likewise.
18572 * string/test-strchr-ifunc.c: Likewise.
18573 * string/test-strchrnul-ifunc.c: Likewise.
18574 * string/test-strcmp-ifunc.c: Likewise.
18575 * string/test-strcpy-ifunc.c: Likewise.
18576 * string/test-strcspn-ifunc.c: Likewise.
18577 * string/test-strlen-ifunc.c: Likewise.
18578 * string/test-strncasecmp-ifunc.c: Likewise.
18579 * string/test-strncat-ifunc.c: Likewise.
18580 * string/test-strncmp-ifunc.c: Likewise.
18581 * string/test-strncpy-ifunc.c: Likewise.
18582 * string/test-strnlen-ifunc.c: Likewise.
18583 * string/test-strpbrk-ifunc.c: Likewise.
18584 * string/test-strrchr-ifunc.c: Likewise.
18585 * string/test-strspn-ifunc.c: Likewise.
18586 * string/test-strstr-ifunc.c: Likewise.
18587
ab260039 185882013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
18589
18590 * benchtests/Makefile: Remove ifunc tests.
18591 * benchtests/bench-string.h: Define TEST_IFUNC.
18592 * benchtests/bench-bcopy-ifunc.c: Remove.
18593 * benchtests/bench-bzero-ifunc.c: Likewise.
18594 * benchtests/bench-memccpy-ifunc.c: Likewise.
18595 * benchtests/bench-memchr-ifunc.c: Likewise.
18596 * benchtests/bench-memcmp-ifunc.c: Likewise.
18597 * benchtests/bench-memcpy-ifunc.c: Likewise.
18598 * benchtests/bench-memmem-ifunc.c: Likewise.
18599 * benchtests/bench-memmove-ifunc.c: Likewise.
18600 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18601 * benchtests/bench-memrchr-ifunc.c: Likewise.
18602 * benchtests/bench-memset-ifunc.c: Likewise.
18603 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18604 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18605 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18606 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18607 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18608 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18609 * benchtests/bench-strcat-ifunc.c: Likewise.
18610 * benchtests/bench-strchr-ifunc.c: Likewise.
18611 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18612 * benchtests/bench-strcmp-ifunc.c: Likewise.
18613 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18614 * benchtests/bench-strcpy-ifunc.c: Likewise.
18615 * benchtests/bench-strcspn-ifunc.c: Likewise.
18616 * benchtests/bench-strlen-ifunc.c: Likewise.
18617 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18618 * benchtests/bench-strncat-ifunc.c: Likewise.
18619 * benchtests/bench-strncmp-ifunc.c: Likewise.
18620 * benchtests/bench-strncpy-ifunc.c: Likewise.
18621 * benchtests/bench-strnlen-ifunc.c: Likewise.
18622 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18623 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 18624 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
18625 * benchtests/bench-strspn-ifunc.c: Likewise.
18626 * benchtests/bench-strstr-ifunc.c: Likewise.
18627
186282013-11-26 Ondřej Bílka <neleai@seznam.cz>
18629
ab260039
OB
18630 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18631
d1d9eaf4 186322013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 18633
d1d9eaf4
OB
18634 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18635 * rt/aio.h: Likewise.
18636 * sysdeps/gnu/bits/utmp.h: Likewise.
18637 * sysdeps/gnu/bits/utmpx.h: Likewise.
18638 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18639 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18640 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18641 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18642 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18643 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18644 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18645 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18646 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18647 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18648 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18649 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18650 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18652 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18653 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18654 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18655 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18656 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18657 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18658 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18659 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18660 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18661 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18662 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18663 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18664 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18665 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18666 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18667 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18668 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18669 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18670 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18671 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18672 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18673 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18674 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18675 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18676 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18677 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18678 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18679 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18680
a7624ed9
CD
186812013-11-25 Carlos O'Donell <carlos@redhat.com>
18682
18683 [BZ #16245]
18684 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18685 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18686
63cfe52b
JM
186872013-11-25 Joseph Myers <joseph@codesourcery.com>
18688
18689 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18690 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18691 Likewise.
18692
41e8926a
AZ
186932013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18694
18695 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18696 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18697 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18698 (__fesetround): Remove define.
18699 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18700 rounding and exceptions handling.
18701 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18702 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18703 (__fe_nomask_env): Likewise.
18704 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18705 __fegetround instead of fegetround.
18706 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18707 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18708
6851bd4d
RM
187092013-11-21 Roland McGrath <roland@hack.frob.com>
18710
070906ff
RM
18711 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18712 it's there.
18713
6851bd4d
RM
18714 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18715
84ae135d
MI
187162013-11-21 Meador Inge <meadori@codesourcery.com>
18717
18718 [BZ #11157]
18719 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18720 (encrypt_r): Likewise.
18721 * malloc/obstack.h (obstack_free): Likewise.
18722 * posix/unistd.h (encrypt): Likewise.
18723
daf75146
GM
187242013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18725
18726 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18727 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18728 DL_CALL_DT_FINI() that call the functions directly.
18729 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18730 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18731 * elf/dl-fini.c: Likewise.
18732
10ad46bc
OB
187332013-11-20 Ondřej Bílka <neleai@seznam.cz>
18734
18735 * malloc/hooks.c (memalign_check): Add alignment rounding.
18736 * malloc/malloc.c (_mid_memalign): New function.
18737 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18738 Implement by calling _mid_memalign.
18739 * manual/probes.texi (Memory Allocation Probes): Remove
18740 memory_valloc_retry and memory_pvalloc_retry.
18741
f3fd2628
SP
187422013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18743
4712799f
SP
18744 * locale/programs/locarchive.c (open_archive): Add const
18745 qualifier to ARCHIVEFNAME and copy default fname to
18746 DEFAULT_FNAME.
18747
0417b20f
SP
18748 [BZ #15601]
18749 * libio/tst-widetext.input: Rename Oriya to Odia.
18750 * locale/iso-639.def: Likewise.
18751
f3fd2628
SP
18752 * manual/probes.texi (Mathematical Function Probes): Add
18753 documentation for sin, cos, asin and acos probes.
18754 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18755 (__sin32): Add slowasin probe.
18756 (__cos32): Add slowacos probe.
18757 (__mpsin): Add slowsin probe.
18758 (__mpcos): Add slowcos probe.
18759
73c1ce4f
JM
187602013-11-19 Joseph Myers <joseph@codesourcery.com>
18761
18762 [BZ #15483]
18763 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18764 thread-local __sim_exceptions_thread and global
18765 __sim_exceptions_global.
18766 (__sim_disabled_exceptions): Change to thread-local
18767 __sim_disabled_exceptions_thread and global
18768 __sim_disabled_exceptions_global.
18769 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18770 and global __sim_round_mode_global.
18771 (__simulate_exceptions): Use thread-local floating-point state and
18772 set global state from it as needed.
18773 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18774 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18775 __sim_round_mode_thread.
18776 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18777 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18778 and global __sim_exceptions_global.
18779 (__sim_disabled_exceptions): Change to thread-local
18780 __sim_disabled_exceptions_thread and global
18781 __sim_disabled_exceptions_global.
18782 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18783 and global __sim_round_mode_global.
18784 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18785 (SIM_SET_GLOBAL): Likewise.
18786 * sysdeps/powerpc/soft-fp/sfp-machine.h
18787 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18788 __sim_round_mode_thread.
18789 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18790 __sim_disabled_exceptions_thread.
18791 (__sim_exceptions): Change to __sim_exceptions_thread.
18792 (__sim_disabled_exceptions): Change to
18793 __sim_disabled_exceptions_thread.
18794 (__sim_round_mode): Change to __sim_round_mode_thread.
18795 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18796 thread-local floating-point state and set global state from it as
18797 needed.
18798 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18799 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18800 (__sim_disabled_exceptions): Remove extern declaration.
18801 (feenableexcept): Use thread-local floating-point state and set
18802 global state from it as needed.
18803 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18804 extern declaration.
18805 (__sim_disabled_exceptions): Likewise.
18806 (__sim_round_mode): Likewise.
18807 (__fegetenv): Use thread-local floating-point state.
18808 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18809 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18810 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18811 floating-point state and set global state from it as needed.
18812 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18813 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18814 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18815 Likewise.
18816 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18817 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18818 Likewise.
18819 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18820 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18821 Use __sim_round_mode_thread.
18822 * math/test-fenv-tls.c: New file.
18823 * math/Makefile (tests): Add test-fenv-tls.
18824 ($(objpfx)test-fenv-tls): Depend on
18825 $(common-objpfx)nptl/libpthread.so.
18826
b5449b12
AS
188272013-11-19 Andreas Schwab <schwab@suse.de>
18828
18829 * locale/programs/locale.c (show_info): Decode wordarray elements.
18830 * locale/categories.def (LC_MONETARY): Add element for
18831 _NL_MONETARY_CRNCYSTR.
18832 * locale/C-monetary.c (conversion_rate): New variable.
18833 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18834 element.
18835
e186536b
CM
188362013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18837
18838 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18839 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18840
5c349950
PP
188412013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18842
18843 * elf/Makefile (tst-auxv): New test.
18844 * elf/tst-auxv.c: New
18845 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18846
699df45b
JM
188472013-11-18 Joseph Myers <joseph@codesourcery.com>
18848
18849 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18850 (hidden_proto): Caller changed.
18851 (hidden_tls_proto): New macro.
18852 (libc_hidden_tls_proto): Likewise.
18853 (rtld_hidden_tls_proto): Likewise.
18854 (libm_hidden_tls_proto): Likewise.
18855 (libresolv_hidden_tls_proto): Likewise.
18856 (librt_hidden_tls_proto): Likewise.
18857 (libdl_hidden_tls_proto): Likewise.
18858 (libnss_files_hidden_tls_proto): Likewise.
18859 (libnsl_hidden_tls_proto): Likewise.
18860 (libnss_nisplus_hidden_tls_proto): Likewise.
18861 (libutil_hidden_tls_proto): Likewise.
18862
b7589107
OB
188632013-11-18 Ondřej Bílka <neleai@seznam.cz>
18864
18865 [BZ #10253]
18866 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18867 (decompose_rpath): Defer expansion to fillin_rpath.
18868 (_dl_init_paths): Pass linkmap to fillin_rpath.
18869
250c23bd
RS
188702013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18871
18872 * benchtests/Makefile: Add strsep.
18873 * benchtests/bench-strsep.c: New file: strsep benchtest.
18874 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18875
a7931fcf
AS
188762013-11-18 Andreas Schwab <schwab@suse.de>
18877
18878 * locale/programs/locale.c (show_info) [case byte]: Check for
18879 '\377' instead of '\177'.
18880 * locale/C-monetary.c (not_available): Always use "\377".
18881 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18882 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18883 detect unavailable sign_posn locale elements.
18884 * locale/localeconv.c (__localeconv): For grouping and
18885 mon_grouping handle "\177" and "\377" like no grouping.
18886 (INT_ELEM): New macro. Use it to set all numeric members.
18887 * locale/programs/ld-monetary.c (monetary_read)
18888 <tok_mon_grouping>: Normalize single -1 to the empty string.
18889 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18890 Likewise.
18891
728dab0e
OB
188922013-11-07 Ondřej Bílka <neleai@seznam.cz>
18893
18894 [BZ #16055]
18895 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18896 when we match (nil).
18897 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18898
66294491
JM
188992013-11-16 Joseph Myers <joseph@codesourcery.com>
18900
ce665817
JM
18901 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18902 (NO_TEST_INLINE): Update value.
18903 (ERRNO_UNCHANGED): Likewise.
18904 (ERRNO_EDOM): Likewise.
18905 (ERRNO_ERANGE): Likewise.
18906 (IGNORE_RESULT): Likewise.
18907 (check_float_internal): Check signs of NaN results if
18908 TEST_NAN_SIGN used.
18909 (check_complex): Pass TEST_NAN_SIGN flag through to second
18910 check_float_internal call.
18911 (copysign_test_data): Add tests with quiet NaNs as second
18912 argument. Use TEST_NAN_SIGN.
18913 (fabs_test_data): Add test of negative quiet NaN argument. Use
18914 TEST_NAN_SIGN.
18915 (signbit_test_data): Add tests of quiet NaN argument.
18916 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18917
ee1466a9
JM
18918 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18919 $ignore_result.
18920 (parse_args): Handle function results specified as IGNORE.
18921 * math/libm-test.inc (IGNORE_RESULT): New macro.
18922 (check_float_internal): Do not check numerical result if flag
18923 IGNORE_RESULT set.
18924 (check_complex): Pass through IGNORE_RESULT to second
18925 check_float_internal call.
18926 (check_int): Do not check numerical result if flag IGNORE_RESULT
18927 set.
18928 (check_long): Likewise.
18929 (check_bool): Likewise.
18930 (check_longlong): Likewise.
18931 (lrint_test_data): Add tests of infinite and NaN arguments.
18932 (lrint_tonearest_test_data): Likewise.
18933 (lrint_towardzero_test_data): Likewise.
18934 (lrint_downward_test_data): Likewise.
18935 (lrint_upward_test_data): Likewise.
18936 (llrint_test_data): Likewise.
18937 (llrint_tonearest_test_data): Likewise.
18938 (llrint_towardzero_test_data): Likewise.
18939 (llrint_downward_test_data): Likewise.
18940 (llrint_upward_test_data): Likewise.
18941 (lround_test_data): Likewise.
18942 (llround_test_data): Likewise.
18943
14407b7e
JM
18944 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18945 (ERRNO_UNCHANGED): Update value.
18946 (ERRNO_EDOM): Likewise.
18947 (ERRNO_ERANGE): Likewise.
18948 (NO_TEST_INLINE_FLOAT): New macro.
18949 (NO_TEST_INLINE_DOUBLE): Likewise.
18950 (enable_test): New function.
18951 (RUN_TEST_f_f): Check enable_test before running test.
18952 (RUN_TEST_2_f): Likewise.
18953 (RUN_TEST_fff_f): Likewise.
18954 (RUN_TEST_c_f): Likewise.
18955 (RUN_TEST_f_f1): Likewise.
18956 (RUN_TEST_fF_f1): Likewise.
18957 (RUN_TEST_fI_f1): Likewise.
18958 (RUN_TEST_ffI_f1): Likewise.
18959 (RUN_TEST_c_c): Likewise.
18960 (RUN_TEST_cc_c): Likewise.
18961 (RUN_TEST_f_i): Likewise.
18962 (RUN_TEST_f_i_tg): Likewise.
18963 (RUN_TEST_ff_i_tg): Likewise.
18964 (RUN_TEST_f_b): Likewise.
18965 (RUN_TEST_f_b_tg): Likewise.
18966 (RUN_TEST_f_l): Likewise.
18967 (RUN_TEST_f_L): Likewise.
18968 (RUN_TEST_fFF_11): Likewise.
18969 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18970 conditionals.
18971 (cosh_test_data): Likewise.
18972 (exp_test_data): Likewise.
18973 (expm1_test_data): Likewise.
18974 (hypot_test_data): Likewise.
18975 (pow_test_data): Likewise.
18976 (sinh_test_data): Likewise.
18977 (tanh_test_data): Likewise.
18978 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18979 flags argument.
18980
ca07f197
JM
18981 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18982 tests with quiet NaN input and output.
18983 (acosh_test_data): Likewise.
18984 (asin_test_data): Likewise.
18985 (asinh_test_data): Likewise.
18986 (atan_test_data): Likewise.
18987 (atanh_test_data): Likewise.
18988 (atan2_test_data): Likewise.
18989 (cbrt_test_data): Likewise.
18990 (cos_test_data): Likewise.
18991 (cosh_test_data): Likewise.
18992 (erf_test_data): Likewise.
18993 (erfc_test_data): Likewise.
18994 (exp_test_data): Likewise.
18995 (exp10_test_data): Likewise.
18996 (exp2_test_data): Likewise.
18997 (expm1_test_data): Likewise.
18998 (hypot_test_data): Likewise.
18999 (j0_test_data): Likewise.
19000 (j1_test_data): Likewise.
19001 (jn_test_data): Likewise.
19002 (lgamma_test_data): Likewise.
19003 (log_test_data): Likewise.
19004 (log10_test_data): Likewise.
19005 (log1p_test_data): Likewise.
19006 (log2_test_data): Likewise.
19007 (pow_test_data): Likewise.
19008 (scalb_test_data): Likewise.
19009 (sin_test_data): Likewise.
19010 (sincos_test_data): Likewise.
19011 (sinh_test_data): Likewise.
19012 (tan_test_data): Likewise.
19013 (tanh_test_data): Likewise.
19014 (tgamma_test_data): Likewise.
19015 (y0_test_data): Likewise.
19016 (y1_test_data): Likewise.
19017 (yn_test_data): Likewise.
19018
66294491
JM
19019 [BZ #16167]
19020 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19021 argument being NaN and avoid computations with second argument in
19022 that case.
19023 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19024 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19025 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19026
1820b143
CL
190272013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
19028
19029 * locale/iso-639.def: Add Chitwani Tharu (the).
19030
714bd261
AS
190312013-11-14 Andreas Schwab <schwab@suse.de>
19032
19033 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19034 word instead of empty string.
19035
7ab44563
AZ
190362013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19037
19038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19039 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19041 (__fe_nomask_env): Likewise.
19042
e8470ea2
SE
190432013-11-13 Steve Ellcey <sellcey@mips.com>
19044
19045 * benchtests/bench-timing.h: Include time.h.
19046
17c1d9f0
L
190472013-11-13 H.J. Lu <hongjiu.lu@intel.com>
19048
19049 [BZ #15997]
19050 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19051 to 3.4.0 for x32.
19052 * sysdeps/unix/sysv/linux/configure: Regenerated.
19053
9310c284
JM
190542013-11-13 Joseph Myers <joseph@codesourcery.com>
19055
19056 [BZ #16151]
19057 * stdlib/strtod_l.c (round_and_return): Do not consider
19058 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19059 exponent one less than half the least subnormal exponent.
19060 * stdlib/test-strtod-round-data: Add more tests.
19061 * stdlib/tst-strtod-round.c (tests): Regenerated.
19062
7a2ad8cf
AZ
190632013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19064
19065 [BZ #14143]
19066 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19067 (__fe_mask_env): Likewise.
19068 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19069 libm_hidden_proto and add function prototype.
19070 (__fe_mask_env): Add function prototype.
19071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19072 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19074 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19076 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19077
50727aa7
MS
190782013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19079
b2f386c1 19080 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
19081 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19082
a615be46
MS
190832013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19084
19085 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19086 of htab_find_slot().
19087
7ddace62
DM
190882013-11-11 David S. Miller <davem@davemloft.net>
19089
19090 [BZ #16150]
19091 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19092 symbol in the non-vis3 case in static builds.
19093 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19094 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19095 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19096 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19097
9182aa67
JK
190982013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19099
19100 [BZ #387]
19101 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19102 it is empty.
19103
450a2e2d
AZ
191042013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19105
b2f386c1
SP
19106 * benchtests/Makefile: Add bench-strtod.
19107 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 19108
8ec3f656
AS
191092013-11-11 Andreas Schwab <schwab@suse.de>
19110
19111 [BZ #16153]
19112 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19113 terminating NUL in key length.
19114
76a9b998
AZ
191152013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19116
19117 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19118 Add artificial ODP entry for vDSO symbol for PPC64.
19119 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19120 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19121
e4368156
OB
191222013-11-07 Ondřej Bílka <neleai@seznam.cz>
19123
19124 [BZ #15374]
19125 * nss/getent.c (services_keys): Recognize services starting with digit.
19126
8d6bb57c
DM
191272013-11-06 David S. Miller <davem@davemloft.net>
19128
19129 [BZ #15985]
19130 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19131 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19132
e256c421
WN
191332013-11-06 Will Newton <will.newton@linaro.org>
19134
19135 * manual/memory.texi (Malloc Examples): Remove register
19136 keyword from examples.
19137
f6e12daa 191382013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 19139
f6e12daa 19140 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 19141
9d880655
AS
191422013-11-04 Joseph Myers <joseph@codesourcery.com>
19143
fd2f9486 19144 [BZ #6981]
9d880655
AS
19145 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19146 depending on [__GCC_IEC_559 > 0].
19147 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19148 depending on [__GCC_IEC_559_COMPLEX > 0].
19149
ae129d3c
CL
191502013-11-03 Chris Leonard <cjl@sugarlabs.org>
19151
19152 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19153 to iso-639.def.
19154
4a15c2a4 191552013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
19156
19157 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19158
8b35e35d
OB
191592013-11-01 Ondřej Bílka <neleai@seznam.cz>
19160
19161 [BZ #16112]
19162 * malloc/malloc (malloc_info): Do not handle first bin as
19163 special case.
19164
1d70fd6c
CL
191652013-11-01 Chris Leonard <cjl@sugarlabs.org>
19166
19167 * locale/iso-639.def: Add Central Nahuatl (nhn).
19168
8c5c2600
BH
191692013-11-01 Bruno Haible <bruno@clisp.org>
19170
19171 [BZ #7003]
19172 * manual/math.texi (BSD Random): Specify range upper bound as
19173 in POSIX.
19174
da5579c2
CL
191752013-10-31 Chris Leonard <cjl@sugarlabs.org>
19176
19177 * locale/iso-639.def: Add Meadow Mari (mhr).
19178
5d30d853
OB
191792013-10-31 Ondřej Bílka <neleai@seznam.cz>
19180
19181 [BZ #14752], [BZ #15763]
19182 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19183 Validate name.
19184 * rt/tst_shm.c: Add test for escaping directory.
19185
a4966c61
AS
191862013-10-31 Andreas Schwab <schwab@suse.de>
19187
8a43e768 19188 [BZ #15917]
a4966c61
AS
19189 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19190 followed by 'x' as part of digit sequence.
19191 * stdio-common/tst-sscanf.c (double_tests2): New tests.
19192
28d708c4
MAP
191932013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19194
19195 [BZ #16037]
19196 * configure.ac: allow GNU Make 4.0 and greater.
19197 * configure: Regenerated.
19198
a56ee40b
WN
191992013-10-30 Will Newton <will.newton@linaro.org>
19200
19201 [BZ #16038]
19202 * malloc/hooks.c (memalign_check): Limit alignment to the
19203 maximum representable power of two.
19204 * malloc/malloc.c (__libc_memalign): Likewise.
19205 * malloc/tst-memalign.c (do_test): Add test for very
19206 large alignment values.
19207 * malloc/tst-posix_memalign.c (do_test): Likewise.
19208
c6e4925d
OB
192092013-10-30 Ondřej Bílka <neleai@seznam.cz>
19210
19211 [BZ #11087]
19212 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19213 (munmap_chunk): Likewise.
19214 (mremap_chunk): Likewise.
19215
192162013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 19217
8a43e768 19218 [BZ #15799]
bbea82f7
OB
19219 * stdlib/div.c (div): Remove obsolete code.
19220 * stdlib/ldiv.c (ldiv): Likewise.
19221 * stdlib/lldiv.c (lldiv): Likewise.
19222
977f4b31
SP
192232013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19224
19225 [BZ #16071]
19226 * nss/nss_files/files-XXX.c (get_contents_ret): New
19227 enumerator.
19228 (get_contents): New function.
19229 (internal_getent): Use it. Expand size of LINEBUFLEN.
19230
cb8a6dbd
MF
192312013-10-30 Mike Frysinger <vapier@gentoo.org>
19232
19233 * configure.in: Moved to ...
19234 * configure.ac: ... here. Change reference to configure.in
19235 to configure.ac.
19236 * sysdeps/arm/preconfigure.ac: ... here.
19237 configure.in to configure.ac.
19238 * sysdeps/gnu/configure.in: Moved to ...
19239 * sysdeps/gnu/configure.ac: ... here.
19240 * sysdeps/i386/configure.in: Moved to ...
19241 * sysdeps/i386/configure.ac: ... here.
19242 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19243 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19244 * sysdeps/mach/configure.in: Moved to ...
19245 * sysdeps/mach/configure.ac: ... here.
19246 * sysdeps/mach/hurd/configure.in: Moved to ...
19247 * sysdeps/mach/hurd/configure.ac: ... here.
19248 * sysdeps/powerpc/configure.in: Moved to ...
19249 * sysdeps/powerpc/configure.ac: ... here.
19250 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19251 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19252 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19253 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19254 * sysdeps/s390/s390-32/configure.in: Moved to ...
19255 * sysdeps/s390/s390-32/configure.ac: ... here.
19256 * sysdeps/s390/s390-64/configure.in: Moved to ...
19257 * sysdeps/s390/s390-64/configure.ac: ... here.
19258 * sysdeps/sh/configure.in: Moved to ...
19259 * sysdeps/sh/configure.ac: ... here.
19260 * sysdeps/sparc/configure.in: Moved to ...
19261 * sysdeps/sparc/configure.ac: ... here.
19262 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19263 * sysdeps/unix/sysv/linux/configure.ac: ... here.
19264 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19265 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19266 * sysdeps/x86_64/configure.in: Moved to ...
19267 * sysdeps/x86_64/configure.ac: ... here.
19268 * sysdeps/x86_64/preconfigure.in: Moved to ...
19269 * sysdeps/x86_64/preconfigure.ac: ... here.
19270 * aclocal.m4: Change reference to configure.in to configure.ac.
19271 * config.h.in: Likewise.
19272 * manual/install.texi: Likewise.
19273 * manual/maint.texi: Likewise.
19274 * Makefile: Likewise.
19275 * malloc/Makefile: Likewise.
19276 * nscd/Makefile: Likewise.
19277 * Makeconfig: Change reference to configure.in and
19278 preconfigure.in to configure.ac and preconfigure.ac
19279 respectively.
19280 * INSTALL: Regenerated.
19281 * configure: Likewise.
19282 * sysdeps/gnu/configure: Likewise.
19283 * sysdeps/i386/configure: Likewise.
19284 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19285 * sysdeps/mach/configure: Likewise.
19286 * sysdeps/mach/hurd/configure: Likewise.
19287 * sysdeps/powerpc/configure: Likewise.
19288 * sysdeps/powerpc/powerpc32/configure: Likewise.
19289 * sysdeps/powerpc/powerpc64/configure: Likewise.
19290 * sysdeps/s390/s390-32/configure: Likewise.
19291 * sysdeps/s390/s390-64/configure: Likewise.
19292 * sysdeps/sh/configure: Likewise.
19293 * sysdeps/sparc/configure: Likewise.
19294 * sysdeps/unix/sysv/linux/configure: Likewise.
19295 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19296 * sysdeps/x86_64/configure: Likewise.
19297 * sysdeps/x86_64/preconfigure: Likewise.
19298
36a4953a
AS
192992013-10-29 Andreas Schwab <schwab@suse.de>
19300
19301 * stdio-common/Makefile (tst-swscanf-ENV): Define.
19302
c79a1204
SP
193032013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19304
dfa1b402
SP
19305 * benchtests/pow-inputs: Add new inputs.
19306
54f73d9c
SP
19307 * benchtests/exp-inputs: Add new inputs.
19308
c79a1204
SP
19309 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19310 conditional check for return value.
19311 (__cos32): Likewise.
19312
67beb545 193132013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
19314
19315 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19316 to provide a boost for large inputs with word alignment.
19317 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19318 implementation based on optimized PPC64 strcpy.
19319 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19320 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19321 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19322 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19323
151659f6
OB
193242013-10-25 Ondřej Bílka <neleai@seznam.cz>
19325
482a077e 19326 [BZ #2801]
151659f6
OB
19327 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19328
10b0f26b
OB
193292013-10-25 Ondřej Bílka <neleai@seznam.cz>
19330
19331 [BZ #14876]
19332 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19333 * time/tst-strptime.c (day_tests): Add testcase.
19334
ca42d35e
OB
193352013-10-25 Ondřej Bílka <neleai@seznam.cz>
19336
482a077e 19337 [BZ #14029]
ca42d35e
OB
19338 * manual/pattern.texi: Acknowledge that fnmatch can fail.
19339
52e6d801
FB
193402013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
19341
19342 [BZ #16074]
19343 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19344 MAP_FAILED on error.
19345
7cbcdb36
SP
193462013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19347
19348 [BZ #16072]
19349 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19350 heap for large requests.
19351
894f3f10
AM
193522013-10-25 Aurelien Jarno <aurelien@aurel32.net>
19353
19354 [BZ #9954]
19355 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19356 result if the result has no associated interface.
19357 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19358 interface for all 127.X.Y.Z addresses.
19359
b85545a6
CL
193602013-10-24 Chris Leonard <cjl@sugarlabs.org>
19361
19362 * locale/iso-639.def: Add Ligurian (lij)
19363
d1f23d46
OB
193642013-10-21 Ondřej Bílka <neleai@seznam.cz>
19365
19366 [BZ #15825]
19367 * sunrpc/rpc_main.c: Document rpcgen -5.
19368
4db5b08f
MS
193692013-10-19 Michael Stahl <mstahl@redhat.com>
19370
19371 * elf/rtld.c (do_preload): Print the reason why preloading failed.
19372
a471e96a
OB
193732013-10-19 Ondřej Bílka <neleai@seznam.cz>
19374
d1f23d46 19375 [BZ #10278]
a471e96a
OB
19376 * posix/glob.c: Match only directories when trailing slash is present.
19377 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19378 (main): Add testcase.
19379
45c30c61
OB
193802013-10-19 Ondřej Bílka <neleai@seznam.cz>
19381
19382 [BZ #15670]
19383 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19384
484c12fb
CD
193852013-10-18 Carlos O'Donell <carlos@redhat.com>
19386
3d7dc513
CD
19387 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19388 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19389 AUTH_DES and cindex for FIPS 140-2.
19390 (DES Encryption): Add cindex FIPS 46-3.
19391
484c12fb
CD
19392 * locale/locarchive.h (struct locarhandle): Add fname.
19393 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19394 if an optional argument was specified to --list-archive,
19395 otherwise NULL.
19396 * locale/programs/locarchive.c (show_archive_content): Take new
19397 argument fname and pass it via ah.fname to open_archive.
19398 * locale/programs/localedef.h: Update decl.
19399 (open_archive): If AH->fname is non-null, open that file
19400 rather than the default file name, and don't ignore ENOENT.
19401 (create_archive): Set AH.fname to NULL.
19402 (delete_locales_from_archive): Likewise.
19403 (add_locales_to_archive): Likewise.
19404 * locale/programs/locfile.c (write_all_categories): Likewise.
19405
3c8325fb
JM
194062013-10-18 Joseph Myers <joseph@codesourcery.com>
19407 Aldy Hernandez <aldyh@redhat.com>
19408
19409 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19410 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19411 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19412 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19413 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19414 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19415 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19416 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19417 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19418 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19419 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19420 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19421 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19422 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19423 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19424 Likewise.
19425 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19426 Likewise.
19427 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19428 Likewise.
19429 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19430 Likewise.
19431 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19432 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19433 Likewise.
19434 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19435 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19436 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19437 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19438 Likewise.
19439 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19440 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19441 * sysdeps/powerpc/preconfigure: Likewise.
19442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19443 Likewise.
19444 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19445 Replace contents of file by #include of <fenv_libc.h>.
19446 * sysdeps/powerpc/soft-fp/sfp-machine.h
19447 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19448 and <sys/prctl.h>.
19449 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19450 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19451 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19452 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19453 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19454 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19456 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19457 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19458 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19459 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19460 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19462 Allow copysignl PLT reference to be missing.
19463
5abe0682
RS
194642013-10-18 Richard Sandiford <richard@codesourcery.com>
19465 Joseph Myers <joseph@codesourcery.com
19466
19467 [BZ #15948]
19468 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19469 single character.
19470 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19471
c7738d08
SP
194722013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19473
19474 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19475 * elf/tst-tls1.c: Likewise.
19476 * elf/tst-tls10.h: Likewise.
19477 * elf/tst-tls14.c: Likewise.
19478 * elf/tst-tls2.c: Likewise.
19479 * elf/tst-tls3.c: Likewise.
19480 * elf/tst-tls4.c: Likewise.
19481 * elf/tst-tls5.c: Likewise.
19482 * elf/tst-tls6.c: Likewise.
19483 * elf/tst-tls7.c: Likewise.
19484 * elf/tst-tls8.c: Likewise.
19485 * elf/tst-tls9.c: Likewise.
19486 * elf/tst-tlsmod1.c: Likewise.
19487 * elf/tst-tlsmod13.c: Likewise.
19488 * elf/tst-tlsmod13a.c: Likewise.
19489 * elf/tst-tlsmod14a.c: Likewise.
19490 * elf/tst-tlsmod16a.c: Likewise.
19491 * elf/tst-tlsmod16b.c: Likewise.
19492 * elf/tst-tlsmod2.c: Likewise.
19493 * elf/tst-tlsmod3.c: Likewise.
19494 * elf/tst-tlsmod4.c: Likewise.
19495 * elf/tst-tlsmod5.c: Likewise.
19496 * elf/tst-tlsmod6.c: Likewise.
19497
0bfcf2c7
OB
194982013-10-18 Ondřej Bílka <neleai@seznam.cz>
19499
19500 [BZ #12486]
19501 * malloc/malloc.c: remove checks for statistics.
19502
264aad1e
OB
195032013-10-17 Ondřej Bílka <neleai@seznam.cz>
19504
19505 [BZ #15277]
19506 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19507 * inet/tst-network.c: Add testcase.
19508
b957ced8
AS
195092013-10-17 Andreas Schwab <schwab@suse.de>
19510
19511 [BZ #15218]
19512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19513 to determine canonical name.
19514
c5d5d574
OB
195152013-10-17 Ondřej Bílka <neleai@seznam.cz>
19516
19517 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19518 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19520 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19521 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19522 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19523 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19524 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19525 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19526 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19527 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19528 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19529 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19530 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19531 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19532 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19533 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19534 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19535 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19536 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19537 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19538 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19539 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19540 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19541 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19542 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19543 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19544 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19545 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19546 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19547 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19548 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19549 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19550 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19551 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19552 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19553 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19554 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19555 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19556 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19557 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19558 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19559 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19560 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19561 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19562 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19563 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19564 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19565 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19566 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19567 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19568 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19569 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19570 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19571 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19572 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19573 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19574 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19575
e5c2c2d0
JM
195762013-10-17 Joseph Myers <joseph@codesourcery.com>
19577
19578 [BZ #16041]
19579 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19580 make result into a quiet NaN.
19581
51ca9e29
JM
195822013-10-16 Joseph Myers <joseph@codesourcery.com>
19583
19584 * soft-fp/adddf3.c: Fix horizontal whitespace.
19585 * soft-fp/addsf3.c: Likewise.
19586 * soft-fp/addtf3.c: Likewise.
19587 * soft-fp/divdf3.c: Likewise.
19588 * soft-fp/divsf3.c: Likewise.
19589 * soft-fp/divtf3.c: Likewise.
19590 * soft-fp/double.h: Likewise.
19591 * soft-fp/eqdf2.c: Likewise.
19592 * soft-fp/eqsf2.c: Likewise.
19593 * soft-fp/eqtf2.c: Likewise.
19594 * soft-fp/extenddftf2.c: Likewise.
19595 * soft-fp/extended.h: Likewise.
19596 * soft-fp/extendsfdf2.c: Likewise.
19597 * soft-fp/extendsftf2.c: Likewise.
19598 * soft-fp/extendxftf2.c: Likewise.
19599 * soft-fp/fixdfdi.c: Likewise.
19600 * soft-fp/fixdfsi.c: Likewise.
19601 * soft-fp/fixdfti.c: Likewise.
19602 * soft-fp/fixsfdi.c: Likewise.
19603 * soft-fp/fixsfsi.c: Likewise.
19604 * soft-fp/fixsfti.c: Likewise.
19605 * soft-fp/fixtfdi.c: Likewise.
19606 * soft-fp/fixtfsi.c: Likewise.
19607 * soft-fp/fixtfti.c: Likewise.
19608 * soft-fp/fixunsdfdi.c: Likewise.
19609 * soft-fp/fixunsdfsi.c: Likewise.
19610 * soft-fp/fixunsdfti.c: Likewise.
19611 * soft-fp/fixunssfdi.c: Likewise.
19612 * soft-fp/fixunssfsi.c: Likewise.
19613 * soft-fp/fixunssfti.c: Likewise.
19614 * soft-fp/fixunstfdi.c: Likewise.
19615 * soft-fp/fixunstfsi.c: Likewise.
19616 * soft-fp/fixunstfti.c: Likewise.
19617 * soft-fp/floatdidf.c: Likewise.
19618 * soft-fp/floatdisf.c: Likewise.
19619 * soft-fp/floatditf.c: Likewise.
19620 * soft-fp/floatsidf.c: Likewise.
19621 * soft-fp/floatsisf.c: Likewise.
19622 * soft-fp/floatsitf.c: Likewise.
19623 * soft-fp/floattidf.c: Likewise.
19624 * soft-fp/floattisf.c: Likewise.
19625 * soft-fp/floattitf.c: Likewise.
19626 * soft-fp/floatundidf.c: Likewise.
19627 * soft-fp/floatundisf.c: Likewise.
19628 * soft-fp/floatunditf.c: Likewise.
19629 * soft-fp/floatunsidf.c: Likewise.
19630 * soft-fp/floatunsisf.c: Likewise.
19631 * soft-fp/floatunsitf.c: Likewise.
19632 * soft-fp/floatuntidf.c: Likewise.
19633 * soft-fp/floatuntisf.c: Likewise.
19634 * soft-fp/floatuntitf.c: Likewise.
19635 * soft-fp/fmadf4.c: Likewise.
19636 * soft-fp/fmasf4.c: Likewise.
19637 * soft-fp/fmatf4.c: Likewise.
19638 * soft-fp/gedf2.c: Likewise.
19639 * soft-fp/gesf2.c: Likewise.
19640 * soft-fp/getf2.c: Likewise.
19641 * soft-fp/ledf2.c: Likewise.
19642 * soft-fp/lesf2.c: Likewise.
19643 * soft-fp/letf2.c: Likewise.
19644 * soft-fp/muldf3.c: Likewise.
19645 * soft-fp/mulsf3.c: Likewise.
19646 * soft-fp/multf3.c: Likewise.
19647 * soft-fp/negdf2.c: Likewise.
19648 * soft-fp/negsf2.c: Likewise.
19649 * soft-fp/negtf2.c: Likewise.
19650 * soft-fp/op-1.h: Likewise.
19651 * soft-fp/op-2.h: Likewise.
19652 * soft-fp/op-4.h: Likewise.
19653 * soft-fp/op-8.h: Likewise.
19654 * soft-fp/op-common.h: Likewise.
19655 * soft-fp/quad.h: Likewise.
19656 * soft-fp/single.h: Likewise.
19657 * soft-fp/soft-fp.h: Likewise.
19658 * soft-fp/sqrtdf2.c: Likewise.
19659 * soft-fp/sqrtsf2.c: Likewise.
19660 * soft-fp/sqrttf2.c: Likewise.
19661 * soft-fp/subdf3.c: Likewise.
19662 * soft-fp/subsf3.c: Likewise.
19663 * soft-fp/subtf3.c: Likewise.
19664 * soft-fp/truncdfsf2.c: Likewise.
19665 * soft-fp/trunctfdf2.c: Likewise.
19666 * soft-fp/trunctfsf2.c: Likewise.
19667 * soft-fp/trunctfxf2.c: Likewise.
19668 * soft-fp/unorddf2.c: Likewise.
19669 * soft-fp/unordsf2.c: Likewise.
19670 * soft-fp/unordtf2.c: Likewise.
19671
9ebb0332
JM
196722013-10-15 Joseph Myers <joseph@codesourcery.com>
19673
19674 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19675 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19676
4b1a6d8b
OB
196772013-10-15 Ondřej Bílka <neleai@seznam.cz>
19678
19679 * elf/dl-libc.c: Clear initfini list after freeing.
19680
1e145589
JM
196812013-10-14 Joseph Myers <joseph@codesourcery.com>
19682
19683 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19684 * soft-fp/addsf3.c: Likewise.
19685 * soft-fp/addtf3.c: Likewise.
19686 * soft-fp/divdf3.c: Likewise.
19687 * soft-fp/divsf3.c: Likewise.
19688 * soft-fp/divtf3.c: Likewise.
19689 * soft-fp/double.h: Likewise.
19690 * soft-fp/eqdf2.c: Likewise.
19691 * soft-fp/eqsf2.c: Likewise.
19692 * soft-fp/eqtf2.c: Likewise.
19693 * soft-fp/extenddftf2.c: Likewise.
19694 * soft-fp/extended.h: Likewise.
19695 * soft-fp/extendsfdf2.c: Likewise.
19696 * soft-fp/extendsftf2.c: Likewise.
19697 * soft-fp/extendxftf2.c: Likewise.
19698 * soft-fp/fixdfdi.c: Likewise.
19699 * soft-fp/fixdfsi.c: Likewise.
19700 * soft-fp/fixdfti.c: Likewise.
19701 * soft-fp/fixsfdi.c: Likewise.
19702 * soft-fp/fixsfsi.c: Likewise.
19703 * soft-fp/fixsfti.c: Likewise.
19704 * soft-fp/fixtfdi.c: Likewise.
19705 * soft-fp/fixtfsi.c: Likewise.
19706 * soft-fp/fixtfti.c: Likewise.
19707 * soft-fp/fixunsdfdi.c: Likewise.
19708 * soft-fp/fixunsdfsi.c: Likewise.
19709 * soft-fp/fixunsdfti.c: Likewise.
19710 * soft-fp/fixunssfdi.c: Likewise.
19711 * soft-fp/fixunssfsi.c: Likewise.
19712 * soft-fp/fixunssfti.c: Likewise.
19713 * soft-fp/fixunstfdi.c: Likewise.
19714 * soft-fp/fixunstfsi.c: Likewise.
19715 * soft-fp/fixunstfti.c: Likewise.
19716 * soft-fp/floatdidf.c: Likewise.
19717 * soft-fp/floatdisf.c: Likewise.
19718 * soft-fp/floatditf.c: Likewise.
19719 * soft-fp/floatsidf.c: Likewise.
19720 * soft-fp/floatsisf.c: Likewise.
19721 * soft-fp/floatsitf.c: Likewise.
19722 * soft-fp/floattidf.c: Likewise.
19723 * soft-fp/floattisf.c: Likewise.
19724 * soft-fp/floattitf.c: Likewise.
19725 * soft-fp/floatundidf.c: Likewise.
19726 * soft-fp/floatundisf.c: Likewise.
19727 * soft-fp/floatunsidf.c: Likewise.
19728 * soft-fp/floatunsisf.c: Likewise.
19729 * soft-fp/floatuntidf.c: Likewise.
19730 * soft-fp/floatuntisf.c: Likewise.
19731 * soft-fp/floatuntitf.c: Likewise.
19732 * soft-fp/fmadf4.c: Likewise.
19733 * soft-fp/fmasf4.c: Likewise.
19734 * soft-fp/fmatf4.c: Likewise.
19735 * soft-fp/gedf2.c: Likewise.
19736 * soft-fp/gesf2.c: Likewise.
19737 * soft-fp/getf2.c: Likewise.
19738 * soft-fp/ledf2.c: Likewise.
19739 * soft-fp/lesf2.c: Likewise.
19740 * soft-fp/letf2.c: Likewise.
19741 * soft-fp/muldf3.c: Likewise.
19742 * soft-fp/mulsf3.c: Likewise.
19743 * soft-fp/multf3.c: Likewise.
19744 * soft-fp/negdf2.c: Likewise.
19745 * soft-fp/negsf2.c: Likewise.
19746 * soft-fp/negtf2.c: Likewise.
19747 * soft-fp/op-1.h: Likewise.
19748 * soft-fp/op-2.h: Likewise.
19749 * soft-fp/op-4.h: Likewise.
19750 * soft-fp/op-8.h: Likewise.
19751 * soft-fp/op-common.h: Likewise.
19752 * soft-fp/quad.h: Likewise.
19753 * soft-fp/single.h: Likewise.
19754 * soft-fp/soft-fp.h: Likewise.
19755 * soft-fp/sqrtdf2.c: Likewise.
19756 * soft-fp/sqrtsf2.c: Likewise.
19757 * soft-fp/sqrttf2.c: Likewise.
19758 * soft-fp/subdf3.c: Likewise.
19759 * soft-fp/subsf3.c: Likewise.
19760 * soft-fp/subtf3.c: Likewise.
19761 * soft-fp/truncdfsf2.c: Likewise.
19762 * soft-fp/trunctfdf2.c: Likewise.
19763 * soft-fp/trunctfsf2.c: Likewise.
19764 * soft-fp/trunctfxf2.c: Likewise.
19765 * soft-fp/unorddf2.c: Likewise.
19766 * soft-fp/unordsf2.c: Likewise.
19767 * soft-fp/unordtf2.c: Likewise.
19768
17c48a60
OB
197692013-10-14 Ondřej Bílka <neleai@seznam.cz>
19770
19771 [BZ #15672]
19772 * misc/error.c (error_tail): Fix possible buffer overflow.
19773
cabba934
OB
197742013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19775
19776 [BZ #13028]
19777 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19778 address.
19779
94bf958a
PM
197802013-10-14 P. J. McDermott <pj@pehjota.net>
19781
19782 [BZ #832]
19783 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19784 testing pipefail option.
19785
71b4dea7
JM
197862013-10-12 Joseph Myers <joseph@codesourcery.com>
19787
19788 * soft-fp/double.h: Indent preprocessor directives inside #if.
19789 * soft-fp/extended.h: Likewise.
19790 * soft-fp/op-2.h: Likewise.
19791 * soft-fp/op-4.h: Likewise.
19792 * soft-fp/op-common.h: Likewise.
19793 * soft-fp/quad.h: Likewise.
19794 * soft-fp/single.h: Likewise.
19795 * soft-fp/soft-fp.h: Likewise.
19796
55602758
YC
197972013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19798
19799 * iconv/iconv_prog.c: Fix typos.
19800 * stdio-common/psiginfo-data.h: Likewise.
19801
9cd83302
RT
198022013-10-12 Reuben Thomas <rrt@sc3d.org>
19803
19804 [BZ #15764]
19805 * locale/setlocale.c: Fix typo.
19806
99fd9f47
JM
198072013-10-12 Joseph Myers <joseph@codesourcery.com>
19808
b7ea74f0
JM
19809 [BZ #16036]
19810 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19811 signaling NaN arguments.
19812 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19813 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19814
8a509447
JM
19815 [BZ #14910]
19816 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19817 unordered operands.
19818 * soft-fp/gesf2.c (__gesf2): Likewise.
19819 * soft-fp/getf2.c (__getf2): Likewise.
19820 * soft-fp/ledf2.c (__ledf2): Likewise.
19821 * soft-fp/lesf2.c (__lesf2): Likewise.
19822 * soft-fp/letf2.c (__letf2): Likewise.
19823
98998e9f
JM
19824 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19825 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19826 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19827 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19828 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19829 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19830 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19831 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19832 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19833 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19834 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19835 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19836 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19837 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19838 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19839 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19840 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19841 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19842 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19843 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19844 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19845 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19846 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19847 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19848 * soft-fp/floattidf.c (__floattidf): Likewise.
19849 * soft-fp/floattisf.c (__floattisf): Likewise.
19850 * soft-fp/floattitf.c (__floattitf): Likewise.
19851 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19852 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19853 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19854 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19855 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19856 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19857 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19858 * soft-fp/gesf2.c (__gesf2): Likewise.
19859 * soft-fp/getf2.c (__getf2): Likewise.
19860 * soft-fp/ledf2.c (__ledf2): Likewise.
19861 * soft-fp/lesf2.c (__lesf2): Likewise.
19862 * soft-fp/letf2.c (__letf2): Likewise.
19863
8edc4a11
JM
19864 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19865 Undefine and redefine.
19866 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19867 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19868 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19869 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19870 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19871 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19872 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19873 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19874 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19875 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19876 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19877 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19878 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19879 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19880 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19881
8399acaf
JM
19882 [BZ #16032]
19883 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19884 without decrementing exponent if mantissa >= that for the
19885 denominator, not >.
19886 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19887 denominator, not >. Decrement exponent in < case instead of
19888 incrementing in >= case.
19889 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19890 without decrementing exponent if mantissa >= that for the
19891 denominator, not >.
19892
99fd9f47
JM
19893 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19894 computing saturated result for unsigned overflow.
19895
10e1cf6b
SP
198962013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19897 Jeff Law <law@redhat.com>
19898
19899 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19900 (atan2Mp): Add systemtap probe marker.
19901 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19902 (__ieee754_log): Add systemtap probe marker.
19903 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19904 (atanMp): Add systemtap probe marker.
19905 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19906 (tanMp): Add systemtap probe marker.
19907 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19908 (__slowexp): Add systemtap probe marker.
19909 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19910 (__slowpow): Add systemtap probe marker.
19911 * manual/probes.texi: Document probes.
19912
3d110c7c
EB
199132013-10-11 Eric Biggers <ebiggers3@gmail.com>
19914
19915 [BZ #15362]
19916 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19917 written.
19918 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19919 written.
19920 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19921 written to buffer but not flushed.
19922 * libio/iofwrite_u.c: Likewise.
19923 * libio/iopadn.c: Return bytes returned even if EOF was
19924 encountered.
19925 * libio/iowpadn.c: Likewise.
19926 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19927 if _IO_padn does not write the whole buffer.
19928 [!COMPILE_WPRINTF] (PAD): Likewise.
19929
75b4202a
DM
199302013-10-10 David S. Miller <davem@davemloft.net>
19931
19932 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19933 directory block.
19934
6c6352e6
JM
199352013-10-10 Joseph Myers <joseph@codesourcery.com>
19936
33b853c3
JM
19937 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19938 instead of FSF address.
19939 * soft-fp/fixdfti.c: Likewise.
19940 * soft-fp/fixsfti.c: Likewise.
19941 * soft-fp/fixtfti.c: Likewise.
19942 * soft-fp/fixunsdfti.c: Likewise.
19943 * soft-fp/fixunssfti.c: Likewise.
19944 * soft-fp/fixunstfti.c: Likewise.
19945 * soft-fp/floattidf.c: Likewise.
19946 * soft-fp/floattisf.c: Likewise.
19947 * soft-fp/floattitf.c: Likewise.
19948 * soft-fp/floatuntidf.c: Likewise.
19949 * soft-fp/floatuntisf.c: Likewise.
19950 * soft-fp/floatuntitf.c: Likewise.
19951 * soft-fp/trunctfxf2.c: Likewise.
19952
6c6352e6
JM
19953 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19954 * soft-fp/fixdfti.c: Likewise.
19955 * soft-fp/fixsfti.c: Likewise.
19956 * soft-fp/fixtfti.c: Likewise.
19957 * soft-fp/fixunsdfti.c: Likewise.
19958 * soft-fp/fixunssfti.c: Likewise.
19959 * soft-fp/fixunstfti.c: Likewise.
19960 * soft-fp/floattidf.c: Likewise.
19961 * soft-fp/floattisf.c: Likewise.
19962 * soft-fp/floattitf.c: Likewise.
19963 * soft-fp/floatuntidf.c: Likewise.
19964 * soft-fp/floatuntisf.c: Likewise.
19965 * soft-fp/floatuntitf.c: Likewise.
19966 * soft-fp/trunctfxf2.c: Likewise.
19967
3bf78b71
DM
199682013-10-10 David S. Miller <davem@davemloft.net>
19969
19970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19971
6f10289e
JM
199722013-10-10 Joseph Myers <joseph@codsourcery.com>
19973
bd878fc0
JM
19974 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19975 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19976 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19977 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19978 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19979 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19980 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19981
6f10289e
JM
19982 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19983 for NaNs before doing comparisons on argument.
19984 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19985 Likewise.
19986
321e2684
WN
199872013-10-10 Will Newton <will.newton@linaro.org>
19988
19989 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19990 passed to _int_memalign does not overflow.
19991
40fefba1
TR
199922013-10-10 Torvald Riegel <triegel@redhat.com>
19993
19994 * scripts/bench.pl: Add include-sources directive.
19995 * benchtests/README: Update documentation.
19996
2ae21ed2
JM
199972013-10-10 Joseph Myers <joseph@codesourcery.com>
19998
dcc2dd3f
JM
19999 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20000 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20001 instead of FP_INIT_ROUNDMODE.
20002 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20003 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20004
2ae21ed2
JM
20005 [BZ #16034]
20006 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
20007 copy class of input value.
20008 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
20009 not handle exceptions.
20010 * soft-fp/negsf2.c (__negsf2): Likewise.
20011 * soft-fp/negtf2.c (__negtf2): Likewise.
20012 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20013
cb8f9562
JM
200142013-10-09 Joseph Myers <joseph@codesourcery.com>
20015
20016 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20017 semicolon. From Linux kernel.
20018
5b60c59d
AB
200192013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
20020
20021 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20022
b86835ca
YC
200232013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
20024
20025 [BZ #156]
20026 * manual/socket.texi: Added statement about buffer
20027 for gethostbyname2_r.
20028
e7044ea7
OB
200292013-10-08 Ondřej Bílka <neleai@seznam.cz>
20030
20031 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20032 Use .p2align directive instead, throughout.
20033 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20034 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20035 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20036 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20037 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20038 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20039 * sysdeps/x86_64/strchr.S: Likewise.
20040 * sysdeps/x86_64/strrchr.S: Likewise.
20041
09544cbc
SP
200422013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20043
88576635
SP
20044 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20045
e7b2d1dd
SP
20046 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20047
09544cbc
SP
20048 * sysdeps/generic/math_private.h (__mpsin1): Remove
20049 declaration.
20050 (__mpcos1): Likewise.
20051 (__mpsin): New argument __range_reduce.
20052 (__mpcos): Likewise.
20053 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20054 (slow): Use __mpsin and __mpcos.
20055 (slow1): Likewise.
20056 (slow2): Likewise.
20057 (sloww): Likewise.
20058 (sloww1): Likewise.
20059 (sloww2): Likewise.
20060 (bsloww): Likewise.
20061 (bsloww1): Likewise.
20062 (bsloww2): Likewise.
20063 (cslow2): Likewise.
20064 (csloww): Likewise.
20065 (csloww1): Likewise.
20066 (csloww2): Likewise.
20067 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20068 range_reduce. Merge in __mpsin1.
20069 (__mpcos): Likewise.
20070 (__mpsin1): Remove.
20071 (__mpcos1): Likewise.
20072
7602d070
JM
200732013-10-07 Joseph Myers <joseph@codesourcery.com>
20074
20075 * locale/loadlocale.c (_nl_intern_locale_data): Use
20076 LOCFILE_ALIGNED_P.
20077 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20078 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20079 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20080 obstack data is appropriately aligned.
20081 (obstack_int32_grow_fast): Likewise.
20082 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20083 * locale/programs/locfile.c (add_locale_uint32): Likewise.
20084 (add_locale_uint32_array): Likewise.
20085
a357259b
SP
200862013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20087
20088 * benchtests/Makefile: Remove ARGLIST and RET variables.
20089 ($(objpfx)bench-%.c): Pass only function name to the script.
20090 * benchtests/README: Update documentation.
20091 * benchtests/acos-inputs: Add new directives.
20092 * benchtests/acosh-inputs: Likewise.
20093 * benchtests/asin-inputs: Likewise.
20094 * benchtests/asinh-inputs: Likewise.
20095 * benchtests/atan-inputs: Likewise.
20096 * benchtests/atanh-inputs: Likewise.
20097 * benchtests/cos-inputs: Likewise.
20098 * benchtests/cosh-inputs: Likewise.
20099 * benchtests/exp-inputs: Likewise.
20100 * benchtests/log-inputs: Likewise.
20101 * benchtests/pow-inputs: Likewise.
20102 * benchtests/rint-inputs: Likewise.
20103 * benchtests/sin-inputs: Likewise.
20104 * benchtests/sinh-inputs: Likewise.
20105 * benchtests/tan-inputs: Likewise.
20106 * benchtests/tanh-inputs: Likewise.
20107 * scripts/bench.pl: Add support for new directives.
20108
9ec1b13d
AM
201092013-10-07 Alan Modra <amodra@gmail.com>
20110
20111 * README: Fix careless merge.
20112
8b7d57cd
AM
201132013-10-05 Alan Modra <amodra@gmail.com>
20114
20115 * NEWS: Mention powerpc64le support and bugs fixed.
20116 * README: Both big-endian and little-endian powerpc64 supported.
20117
7b7bab13
ST
201182013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20119
57f41c40
AS
20120 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20121 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
20122 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20123 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20124
d39baad1
RA
201252013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
20126
20127 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20128 match prototype.
20129
cd78f7e7
JM
201302013-10-04 Joseph Myers <joseph@codesourcery.com>
20131
29d73d86
JM
20132 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20133 Move -mhard-float appending from
20134 ports/sysdeps/powerpc/powerpc32/Makefile.
20135 [$(with-fp) = yes] (ASFLAGS): Likewise.
20136 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20137 * sysdeps/powerpc/nofpu: Move directory from
20138 ports/sysdeps/powerpc/nofpu.
20139 * sysdeps/powerpc/soft-fp: Move directory from
20140 ports/sysdeps/powerpc/soft-fp.
20141 * sysdeps/powerpc/powerpc32/405: Move directory from
20142 ports/sysdeps/powerpc/powerpc32/405.
20143 * sysdeps/powerpc/powerpc32/440: Move directory from
20144 ports/sysdeps/powerpc/powerpc32/440.
20145 * sysdeps/powerpc/powerpc32/464: Move directory from
20146 ports/sysdeps/powerpc/powerpc32/464.
20147 * sysdeps/powerpc/powerpc32/476: Move directory from
20148 ports/sysdeps/powerpc/powerpc32/476.
20149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20150 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20152 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20154 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20156 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20158 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20159 * README: Update for powerpc-*-linux-gnu software floating point
20160 support in libc.
20161
e246b347
JM
20162 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20163 case to powerpc/powerpc32*.
20164 * sysdeps/unix/sysv/linux/configure: Regenerated.
20165
89c2003e
JM
20166 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20167 (_FPU_MASK_OM): Define as 0x04.
20168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20170 0x00c10080.
20171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20172 0x0000003c.
20173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20174
cd78f7e7
JM
20175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20176 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20177 getcontext_e500.
20178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20179 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20180 setcontext_e500.
20181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20182 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20183 and setcontext_e500.
20184
c755294d
CL
201852013-10-04 Chris Leonard <cjl@sugarlabs,.org>
20186
20187 * locale/iso-3166.def: Update iso-1366.def and related occurrences
20188
e16d221c
SP
201892013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20190
20191 * manual/threads.texi (Default Thread Attributes): Fix typo.
20192
215c7d43
WN
201932013-10-04 Will Newton <will.newton@linaro.org>
20194
20195 * malloc/Makefile: Add tst-memalign.
20196 * malloc/tst-memalign.c: New file.
20197
27d0461b
WN
20198 * malloc/tst-posix_memalign.c: Add comments.
20199 (do_test): Add comments and call free on all potentially
20200 allocated pointers. Add space after cast.
20201
1bc92709
WN
20202 * malloc/tst-pvalloc.c: Add comments.
20203 (do_test): Add comments and call free on all potentially
20204 allocated pointers. Remove duplicate check for NULL pointer.
20205 Add space after cast.
20206
66a9be9d
WN
20207 * malloc/tst-valloc.c: Add comments.
20208 (do_test): Add comments and call free on all potentially
20209 allocated pointers. Remove duplicate check for NULL pointer.
20210 Add space after cast.
20211
4cb81307
AM
202122013-10-04 Alan Modra <amodra@gmail.com>
20213
20214 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20215 Use stdint types in rather than __attribute__((mode())).
20216 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20217
f8e3e9f3
AM
202182013-10-04 Alan Modra <amodra@gmail.com>
20219
20220 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20221 Correct handling of unaligned relocs for little-endian.
20222 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20223
8f9ebb08
AM
202242013-10-04 Alan Modra <amodra@gmail.com>
20225
20226 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20227 * configure: Regenerate.
20228 * nptl/shlib-versions: Powerpc*le starts at 2.18.
20229 * shlib-versions: Likewise.
20230
0edf96c2
AM
202312013-10-04 Alan Modra <amodra@gmail.com>
20232
20233 * string/tester.c (test_memrchr): Increment reported test cycle.
20234
e0f7a380
AM
202352013-10-04 Alan Modra <amodra@gmail.com>
20236
20237 * string/test-memcpy.c (do_one_test): When reporting errors, print
20238 string address and don't overrun end of string.
20239
466b0393
AM
202402013-10-04 Alan Modra <amodra@gmail.com>
20241
20242 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20243 insrdi. Make better use of reg selection to speed exit slightly.
20244 Schedule entry path a little better. Remove useless "are we done"
20245 checks on entry to main loop. Handle wrapping around zero address.
20246 Correct main loop count. Handle single left-over word from main
20247 loop inline rather than by using loop_small. Remove extra word
20248 case in loop_small caused by wrong loop count. Add little-endian
20249 support.
20250 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20251 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
20252 cache hint.
20253 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20254 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20255 support. Avoid rlwimi.
20256 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20257
3be87c77
AM
202582013-10-04 Alan Modra <amodra@gmail.com>
20259
20260 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 20261 insrdi. Formatting.
3be87c77
AM
20262 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20263 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20264 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20265 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20266 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20267 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20268
759cfef3
AM
202692013-10-04 Alan Modra <amodra@gmail.com>
20270
20271 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20272 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20273 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20274 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20275 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20276 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20277 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20278 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20279 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
20280 use of regs. Use power7 mtocrf. Tidy function tails.
20281
fe6e95d7
AM
202822013-10-04 Alan Modra <amodra@gmail.com>
20283
20284 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20285 Formatting. Consistently use rXXX register defines or rN defines.
20286 Use early exit labels that avoid restoring unused non-volatile regs.
20287 Make cr field use more consistent with rWORDn compares. Rename
20288 regs used as shift registers for unaligned loop, using rN defines
20289 for short lifetime/multiple use regs.
20290 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20291 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
20292 addi 1,1,64 to pop stack frame. Simplify return value code.
20293 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20294
664318c3
AM
202952013-10-04 Alan Modra <amodra@gmail.com>
20296
20297 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20298 support. Correct typos, formatting. Optimize tail. Use insrdi
20299 rather than rlwimi.
20300 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20301 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20302 little-endian support. Correct typos.
20303 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
20304 rather than rlwimi.
20305 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
20306 in loop and entry code to keep "and." results.
20307 (strchr): Add little-endian support. Comment. Move cntlzd
20308 earlier in tail.
20309 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20310
43b84013
AM
203112013-10-04 Alan Modra <amodra@gmail.com>
20312
20313 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20314 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20315 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20316 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20317
8a7413f9
AM
203182013-10-04 Alan Modra <amodra@gmail.com>
20319
20320 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20321 (rTMP): Define as r11.
20322 (strcmp): Add little-endian support. Optimise tail.
20323 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20324 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20325 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20326 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20327 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20328 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20329 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20330
33ee81de
AM
203312013-10-04 Alan Modra <amodra@gmail.com>
20332
20333 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20334 little-endian support. Remove unnecessary "are we done" tests.
20335 Handle "s" wrapping around zero and extremely large "size".
20336 Correct main loop count. Handle single left-over word from main
20337 loop inline rather than by using small_loop. Correct comments.
20338 Delete "zero" tail, use "end_max" instead.
20339 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20340
db9b4570
AM
203412013-10-04 Alan Modra <amodra@gmail.com>
20342
20343 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20344 support. Don't branch over align.
20345 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20346 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20347 support. Rearrange tmp reg use to suit. Comment.
20348 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20349
f7c399cf
AM
203502013-10-04 Alan Modra <amodra@gmail.com>
20351
20352 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20353
0b2c2ace
AM
203542013-10-04 Alan Modra <amodra@gmail.com>
20355
20356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20357 conditional form of branch and link when obtaining pc.
20358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20359
02f04a6c
AM
203602013-10-04 Alan Modra <amodra@gmail.com>
20361
20362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20363 HIWORD/LOWORD.
20364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20366
9b874b2f
AM
203672013-10-04 Alan Modra <amodra@gmail.com>
20368
20369 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20370 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20371 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20372 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20373 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20374 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20375 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20376 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20377 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20378 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20379
be1e5d31
AB
203802013-10-04 Anton Blanchard <anton@au1.ibm.com>
20381 Alistair Popple <alistair@ozlabs.au.ibm.com>
20382 Alan Modra <amodra@gmail.com>
20383
20384 [BZ #15723]
20385 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20386 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20387 _dl_hwcap access for little-endian.
20388 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
20389 destroy vmx regs when saving unaligned.
20390 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20391 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20392 destroy vmx regs when saving unaligned.
20393
fef13a78
AM
203942013-10-04 Alan Modra <amodra@gmail.com>
20395
20396 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20397 Don't use a union to pack hi/low value.
20398
76a66d51
AB
203992013-10-04 Anton Blanchard <anton@au1.ibm.com>
20400
20401 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20402 for little-endian.
20403 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20404 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20405 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20406 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20407 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20408
6a31fe7f
AM
204092013-10-04 Alan Modra <amodra@gmail.com>
20410
20411 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20412 constants to usual value for .cst8 section, and remove redundant
20413 high address load.
20414 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20415 constant for 0x1p52. Load little-endian words of double from
20416 correct stack offsets.
20417
7b88401f
AM
204182013-10-04 Alan Modra <amodra@gmail.com>
20419
20420 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20421 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20422 words of double from correct stack offsets.
20423 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20424 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20425 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20426 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20427 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20428 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20429 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20430 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20431 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20432 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20433 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20434 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20435 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20436 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20437 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20438 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20439 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20440
9c008155
AM
204412013-10-04 Alan Modra <amodra@gmail.com>
20442
20443 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20444 64-bit int/double union.
20445 (_FPU_SETCW): Likewise.
20446 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20447 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20448
da13146d
AM
204492013-10-04 Alan Modra <amodra@gmail.com>
20450
20451 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20452 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20453
603e8410
AM
204542013-10-04 Alan Modra <amodra@gmail.com>
20455
20456 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20457 use vector int constants.
20458 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20459
4a28b3ca
AB
204602013-10-04 Anton Blanchard <anton@au1.ibm.com>
20461
20462 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20463 array with long long.
20464 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20465 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20466 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20467 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20468 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20469 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20470 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20471 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20472 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20473 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20474 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20475 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20476 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20477
2ca85d2b
AB
204782013-10-04 Anton Blanchard <anton@au1.ibm.com>
20479
20480 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20481 (__signbit): Likewise. Correct for little-endian.
20482 (__signbitl): Call __signbit.
20483 (lrint): Correct for little-endian.
20484 (lrintf): Call lrint.
20485
62a728ae
AM
204862013-10-04 Alan Modra <amodra@gmail.com>
20487
20488 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20489 union 32-bit int array member with 64-bit int array.
20490 (t515, tm256): Double rather than long double.
20491 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20492
32c301df
AM
204932013-10-04 Alan Modra <amodra@gmail.com>
20494
20495 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20496 Delete.
20497 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20498 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20499 version of math_ldbl.h.
20500
650ef4bd
AM
205012013-10-04 Alan Modra <amodra@gmail.com>
20502
20503 [BZ #15734], [BZ #15735]
20504 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20505 all uses of ieee875 long double macros and unions. Simplify test
20506 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20507 ldbl_extract_mantissa value for ix,iy exponents. Properly
20508 normalize after ldbl_extract_mantissa, and don't add hidden bit
20509 already handled. Don't treat low word of ieee854 mantissa like
20510 low word of IBM long double and mask off bit when testing for
20511 zero.
20512 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20513 all uses of ieee875 long double macros and unions. Simplify tests
20514 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20515 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20516 two1022, instead use their values. Recognise that tests for large
20517 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20518 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20519 Rewrite all uses of ieee875 long double macros and unions. Simplify
20520 test for 0.0L and nan. Correct negation.
20521 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20522 ieee875 long double macros and unions. Correct output for large
20523 magnitude x. Correct absolute value calculation.
20524 (__erfcl): Likewise.
20525 * math/libm-test.inc: Add tests for errors discovered in IBM long
20526 double versions of fmodl, remainderl, erfl and erfcl.
20527
765714ca
AM
205282013-10-04 Alan Modra <amodra@gmail.com>
20529
20530 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20531 all uses of ieee854 long double macros and unions. Simplify tests
20532 for long doubles that are fully specified by the high double.
20533 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20534 Likewise.
20535 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20536 Remove dead code too.
20537 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20538 (__ieee754_ynl): Likewise.
20539 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20540 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20541 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20542 Remove dead code too.
20543 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20544 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20545 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20546 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20547 Simplify.
20548 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20549 Simplify.
20550 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20551 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20552 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20553 Comment on variable precision.
20554 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20555 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20556 Likewise.
20557 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20558 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20559 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20560 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20561 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20562
4ebd120c
AM
205632013-10-04 Alan Modra <amodra@gmail.com>
20564
20565 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20566 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20567 all uses of ieee854 long double macros and unions.
20568 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20569 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20570 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20571 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20572 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20573 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20574 Likewise.
20575 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20576 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20577 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20578 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20579 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20580 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20581 Simplify sign and nan test too.
20582 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20583 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20584 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20585 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20586 Likewise.
20587 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20588 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20589 Likewise.
20590 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20591 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20592 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20593 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20594 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20595 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20596
1b6adf88
AM
205972013-10-04 Alan Modra <amodra@gmail.com>
20598
20599 * stdio-common/printf_size.c (__printf_size): Don't use
20600 union ieee854_long_double in fpnum union.
20601 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20602 signbit macro to retrieve sign from long double.
20603 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20604 retrieve sign from long double.
20605 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20606 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20607 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20608 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20609 * math/test-misc.c (main): Don't use union ieee854_long_double.
20610
4cf69995
AM
206112013-10-04 Alan Modra <amodra@gmail.com>
20612
20613 [BZ #15680]
20614 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20615 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20616 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20617 calculation. Remove unnecessary test for denormal exponent.
20618 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20619 Correct handling of denormals. Avoid undefined shift behaviour.
20620 Correct normalisation of low mantissa when low double is denormal.
20621 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20622 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20623 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20624 Correct normalisation of low mantissa. Test for overflow of high
20625 mantissa and normalise.
20626 (ldbl_nearbyint): Use more readable constant for two52.
20627 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20628 (__mpn_construct_long_double): Fix test for overflow of high
20629 mantissa and correct normalisation. Avoid undefined shift.
20630
9605ca6c
AM
206312013-10-04 Alan Modra <amodra@gmail.com>
20632
20633 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20634 (union ibm_extended_long_double): Define as an array of ieee754_double.
20635 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20636 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20637 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20638 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20639 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20640 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20641 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20642 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20643 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20644 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20645 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20646
975569d0
JM
206472013-10-03 Joseph Myers <joseph@codesourcery.com>
20648
d3d23756
JM
20649 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20650 page size instead of calling getpagesize.
20651
975569d0
JM
20652 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20653 (LOCFILE_ALIGN_MASK): Likewise.
20654 (LOCFILE_ALIGN_UP): Likewise.
20655 (LOCFILE_ALIGNED_P): Likewise.
20656 * locale/programs/ld-collate.c (collate_output): Use the new
20657 macros instead of __alignof__ (int32_t).
20658 * locale/weight.h (findidx): Likewise.
20659
b1fe1f2b
OB
206602013-10-03 Ondřej Bílka <neleai@seznam.cz>
20661
20662 [BZ #431]
20663 * manual/string.texi: Fix strncat and wcsncat.
20664
5f855e35
BM
206652013-10-03 Brooks Moses <bmoses@google.com>
20666
20667 [BZ #15915]
20668 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20669 * Makerules: ...here, and adjust associated comments.
20670
3cef6009
WN
206712013-10-02 Will Newton <will.newton@linaro.org>
20672
20673 * malloc/Makefile: Add tst-pvalloc.
20674 * malloc/tst-pvalloc.c: New file.
20675
7815420b
WN
206762013-10-02 Will Newton <will.newton@linaro.org>
20677
20678 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20679 improve test coverage.
20680
4868b204
WN
206812013-10-02 Will Newton <will.newton@linaro.org>
20682
20683 * malloc/Makefile: Add tst-posix_memalign.
20684 * malloc/tst-posix_memalign.c: New file.
20685
29c793b3
EB
206862013-10-01 Eric Blake <eblake@redhat.com>
20687
20688 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20689 Use __THROWNL rather than __THROW on static functions.
20690
fd967522
PM
206912013-09-30 Petr Machata <pmachata@redhat.com>
20692
20693 * elf/elf.h (R_AARCH64_ABS16): New macro.
20694 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20695 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20696 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20697 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20698 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20699 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20700 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20701 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20702 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20703 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20704 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20705 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20706 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20707 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20708 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20709 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20710 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20711 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20712 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20713 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20714 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20715 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20716 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20717 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20718 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20719 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20720 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20721 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20722 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20723 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20724 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20725 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20726 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20727 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20728 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20729 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20730 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20731 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20732 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20733 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20734 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20735 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20736 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20737 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20738 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20739 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20740 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20741 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20742 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20743 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20744 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20745 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20746 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20747 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20748 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20749 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20750 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20751 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20752 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20753 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20754 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20755 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20756 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20757 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20758 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20759 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20760 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20761 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20762 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20763 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20764 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20765 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20766 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20767 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20768 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20769 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20770 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20771 (R_AARCH64_TLSDESC_LDR): Likewise.
20772 (R_AARCH64_TLSDESC_ADD): Likewise.
20773 (R_AARCH64_TLSDESC_CALL): Likewise.
20774
b2179107
AS
207752013-09-30 Andreas Schwab <schwab@suse.de>
20776
20777 [BZ #15048]
20778 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20779 the nss database lookup.
20780 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20782
47f28d0a
MF
207832013-09-28 Mike Frysinger <vapier@gentoo.org>
20784
20785 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20786
207872013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
20788
20789 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20790 ${Bash-specific parameter/pattern/string} parameter expansion.
20791 * sysdeps/unix/make-syscalls.sh: Likewise.
20792
f4518a17
KK
207932013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20794
20795 * sysdeps/sh/stackguard-macros.h: New file.
20796
dc1a95c7
OB
207972013-09-26 Ondřej Bílka <neleai@seznam.cz>
20798
20799 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20800 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20801 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20802 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20803 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20804 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20805
5ebbff8f
AZ
208062013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20807
20808 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20809 Fix thread ID register.
20810
4fd2cf9f
JM
208112013-09-25 Joseph Myers <joseph@codesourcery.com>
20812
20813 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20814 [POSIX || UNIX98]: Require rather than permitting all symbols from
20815 <time.h>.
20816 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20817 element of struct sched_param.
20818 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20819 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20820 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20821 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20822 constant.
20823
12c22bc4
OL
208242013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20825
20826 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20827 argument calculation.
20828
a03d8ea7
JM
208292013-09-24 Joseph Myers <joseph@codesourcery.com>
20830
20831 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20832 Expect macro.
20833 [POSIX] (pthread_attr_t): Do not require type.
20834 [POSIX] (pthread_cond_t): Likewise.
20835 [POSIX] (pthread_condattr_t): Likewise.
20836 [POSIX] (pthread_key_t): Likewise.
20837 [POSIX] (pthread_mutex_t): Likewise.
20838 [POSIX] (pthread_mutexattr_t): Likewise.
20839 [POSIX] (pthread_once_t): Likewise.
20840 [POSIX] (pthread_t): Likewise.
20841 [POSIX-based standards] (pthread_atfork): Expect function.
20842
6055173a
JM
208432013-09-24 Joseph Myers <joseph@codesourcery.com>
20844 Richard Sandiford <richard@codesourcery.com>
20845
20846 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20847 (swap_endianness_p): New extern variable.
20848 (set_big_endian): New inline function.
20849 (maybe_swap_uint32): Likewise.
20850 (maybe_swap_uint32_array): Likewise.
20851 (maybe_swap_uint32_obstack): Likewise.
20852 * locale/programs/locfile.c: Include <stdbool.h>.
20853 (swap_endianness_p): New variable.
20854 (add_locale_uint32): Call maybe_swap_uint32.
20855 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20856 (write_locale_data): Call maybe_swap_uint32_array.
20857 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20858 maybe_swap_uint32.
20859 (obstack_int32_grow_fast): Likewise.
20860 (output_weightwc): Call maybe_swap_uint32_obstack.
20861 (collate_output): Likewise.
20862 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20863 (OPT_LITTLE_ENDIAN): Likewise.
20864 (options): Add --little-endian and --big-endian options.
20865 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20866 * locale/programs/locarchive.c: Include "locfile.h".
20867 (GET): New macro.
20868 (SET): Likewise.
20869 (INC): Likewise.
20870 (create_archive): Use the new macros to access fields of
20871 structures directly mapped from or written to locale archives.
20872 (oldlocrecentcmp): Likewise.
20873 (enlarge_archive): Likewise.
20874 (insert_name): Likewise.
20875 (add_alias): Likewise.
20876 (add_locale): Likewise.
20877 (delete_locales_from_archive): Likewise.
20878 (show_archive_content): Likewise.
20879 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20880 locale data.
20881
39bf0bb4
RM
208822013-09-24 Roland McGrath <roland@hack.frob.com>
20883
20884 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20885 http://www.gnu.org/doc/freemanuals.texi.
20886 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20887
f02eed10
WN
208882013-09-24 Will Newton <will.newton@linaro.org>
20889
20890 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20891 macro.
20892
a3a6c312
JM
208932013-09-23 Joseph Myers <joseph@codesourcery.com>
20894
20895 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20896 unsigned char.
20897
107375ac
MR
208982013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20899
20900 * manual/threads.texi (POSIX Threads): Fix a typo.
20901
141f3a77
SP
209022013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20903
303e567a
SP
20904 [BZ #14547]
20905 * string/tst-strcoll-overflow.c: New test case.
20906 * string/Makefile (xtests): Add tst-strcoll-overflow.
20907 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20908 cache if string sizes may cause integer overflow.
20909
141f3a77
SP
20910 [BZ #14547]
20911 * string/strcoll_l.c (coll_seq): New members rule, idx,
20912 save_idx and back_us.
20913 (get_next_seq_nocache): New function.
20914 (do_compare_nocache): New function.
20915 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20916 when malloc fails.
20917
c61b4d41
CD
209182013-09-23 Carlos O'Donell <carlos@redhat.com>
20919
0b1f8e35
CD
20920 [BZ #15754]
20921 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20922 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20923 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20924
c61b4d41
CD
20925 [BZ #15754]
20926 * elf/Makefile (tests): Add tst-ptrguard1.
20927 (tests-static): Add tst-ptrguard1-static.
20928 (tst-ptrguard1-ARGS): Define.
20929 (tst-ptrguard1-static-ARGS): Define.
20930 * elf/tst-ptrguard1.c: New file.
20931 * elf/tst-ptrguard1-static.c: New file.
20932 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20933 * sysdeps/i386/stackguard-macros.h: Likewise.
20934 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20935 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20936 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20937 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20938 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20939 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20940
209412013-09-23 Hector Marco <hecmargi@upv.es>
20942 Ismael Ripoll <iripoll@disca.upv.es>
20943 Carlos O'Donell <carlos@redhat.com>
20944
20945 [BZ #15754]
20946 * sysdeps/generic/stackguard-macros.h: Define
20947 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20948 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20949 Define __pointer_chk_guard_local.
20950 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20951 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20952
f5f4e7b4
VV
209532013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20954
20955 [BZ #15859]
20956 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20957
5bb43a43
AS
209582013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20959
20960 * include/string.h (__ffs): Declare as hidden.
20961 * string/ffs.c (__ffs): Define as hidden.
20962 * sysdeps/i386/ffs.c (__ffs): Likewise.
20963 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20964 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20965 * sysdeps/s390/ffs.c (__ffs): Likewise.
20966 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20967
3ea5be54
AO
209682013-09-20 Alexandre Oliva <aoliva@redhat.com>
20969
ffb89e53
AO
20970 * NEWS: Mention malloc probes.
20971
322dea08
AO
20972 * malloc/arena.c (new_heap): New memory_heap_new probe.
20973 (grow_heap): New memory_heap_more probe.
20974 (shrink_heap): New memory_heap_less probe.
20975 (heap_trim): New memory_heap_free probe.
20976 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20977 (systrim): New memory_sbrk_less probe.
20978 * manual/probes.texi: Document them.
20979
655673f3
AO
20980 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20981 * manual/probes.texi: Document it.
20982
35fed6f1
AO
20983 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20984 (__libc_realloc): Add memory_realloc_retry probe.
20985 (__libc_memalign): Add memory_memalign_retry probe.
20986 (__libc_valloc): Add memory_valloc_retry probe.
20987 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20988 (__libc_calloc): Add memory_calloc_retry probe.
20989 * manual/probes.texi: Document them.
20990
6999d38c
AO
20991 * malloc/arena.c (get_free_list): Add probe
20992 memory_arena_reuse_free_list.
20993 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20994 and memory_arena_reuse.
20995 (arena_get2) [!PER_THREAD]: Likewise.
20996 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20997 memory_arena_reuse_realloc.
20998 * manual/probes.texi: Document them.
20999
0653427f
AO
21000 * malloc/malloc.c (__libc_free): Add
21001 memory_mallopt_free_dyn_thresholds probe.
21002 (__libc_mallopt): Add multiple memory_mallopt probes.
21003 * manual/probes.texi: Document them.
21004
3ea5be54
AO
21005 * malloc/malloc.c: Include stap-probe.h.
21006 (__libc_mallopt): Add memory_mallopt probe.
21007 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21008 * manual/probes.texi: New.
21009 * manual/Makefile (chapters): Add probes.
21010 * manual/threads.texi: Set next node.
21011
e35696c3 210122013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 21013
e35696c3
CL
21014 [BZ #15963, #13985]
21015 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21016 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21017 Add `Chinese' to `nan' entry name.
21018
4aafb73c
SP
210192013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21020
21021 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21022 (POLYNOMIAL): Likewise.
21023 (TAYLOR_SINCOS): Likewise.
21024 (TAYLOR_SLOW): Likewise.
21025 (__sin): Use TAYLOR_SINCOS.
21026 (__cos): Likewise.
21027 (slow): Use TAYLOR_SLOW.
21028 (sloww): Likewise.
21029 (bsloww): Likewise.
21030 (csloww): Likewise.
21031
d84f25c7
LD
210322013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21033
21034 * stdlib/strtod_l.c: Fix buffer overrun.
21035
5eea0404
SP
210362013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21037
7849ff93
SP
21038 * benchtests/Makefile (bench): Add sincos.
21039 * benchtests/bench-sincos.c: New file.
21040
cfa3c886
SP
21041 * math/libm-test.inc (cos_test_data): New test inputs.
21042 (sin_test_data): Likewise.
21043
b348e1e3
SP
21044 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21045 macro.
21046 (__sin): Use it.
21047 (__cos): Likewise.
21048 (slow1): Likewise.
21049 (slow2): Likewise.
21050 (sloww1): Likewise.
21051 (sloww2): Likewise.
21052 (bsloww1): Likewise.
21053 (bsloww2): Likewise.
21054 (cslow2): Likewise.
21055 (csloww1): Likewise.
21056 (csloww2): Likewise.
21057
6cce25f8
SP
21058 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21059 function.
21060 (__sin): Use it.
21061 (__cos): Likewise.
21062
5eea0404
SP
21063 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21064 gotos.
21065 (__cos): Likewise.
21066
9c21573c
MR
210672013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
21068
21069 * config.h.in (HAVE_MIPS_NAN2008): New macro.
21070 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21071 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21072 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21073 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21074 * elf/cache.c (print_entry): Handle the new cache flags.
21075
24d22e65
JM
210762013-09-18 Joseph Myers <joseph@codesourcery.com>
21077 Aldy Hernandez <aldyh@redhat.com>
21078
21079 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21080 Change condition to [_SOFT_FLOAT].
21081 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21082 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21083 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21084 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21085 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21086 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21087 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21088 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21089 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21090 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21091 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21092 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21093 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21094 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21095 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21096 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21097 declaration.
21098
d13ef066
JM
210992013-09-18 Joseph Myers <joseph@codesourcery.com>
21100
2e071de0
JM
21101 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21102 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21103 (__longjmp): Use LOAD_GP to load saved GPRs.
21104 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21105 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21106 (__sigsetjmp): Use SAVE_GP to save GPRs.
21107
d13ef066
JM
21108 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21109 Do not append -msoft-float.
21110 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21111
97a0650b
SP
211122013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21113
21114 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21115
11ca09e9
JM
211162013-09-17 Joseph Myers <joseph@codesourcery.com>
21117
21118 [BZ #15966]
21119 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21120 (_FPU_GETCW): Use initial "__" on variable and field names but not
21121 on macro parameter name.
21122 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
21123 parentheses around reference to macro parameter.
21124
08ffcf34
RS
211252013-09-13 Richard Sandiford <richard@codesourcery.com>
21126
21127 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21128 prototype.
21129 (ctype_startup): Use uint32_t in cast and sizeof for
21130 ctype->charnames.
21131
ae7080d3
JL
211322013-09-11 Jia Liu <proljc@gmail.com>
21133
21134 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21135 __daddr_t_defined.
21136 [__FreeBSD__]: Likewise.
21137
5905e7b3
OB
211382013-09-11 Ondřej Bílka <neleai@seznam.cz>
21139
21140 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21141 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21142 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21143 (strchr): Remove __strchr_sse42 ifunc selection.
21144 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21145 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21146
b987c776
WN
211472013-09-11 Will Newton <will.newton@linaro.org>
21148
21149 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21150 parameter to RES. Remove hardcoded 1000 value.
21151 * benchtests/bench-skeleton.c (main): Pass RES parameter
21152 to TIMING_INIT and multiply result by 1000.
21153
ddf985af
AZ
211542013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21155
21156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21157
ffdd3181
AS
211582013-09-11 Andreas Schwab <schwab@suse.de>
21159
21160 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21161 if not defined.
21162 (O_TMPFILE) [__USE_GNU]: Define.
21163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21164 Define.
21165
b73ed247
WN
211662013-09-11 Will Newton <will.newton@linaro.org>
21167
21168 [BZ #15857]
21169 * malloc/malloc.c (__libc_memalign): Check the value of bytes
21170 does not overflow.
21171
55e17aad
WN
211722013-09-11 Will Newton <will.newton@linaro.org>
21173
21174 [BZ #15856]
21175 * malloc/malloc.c (__libc_valloc): Check the value of bytes
21176 does not overflow.
21177
1159a193
WN
211782013-09-11 Will Newton <will.newton@linaro.org>
21179
21180 [BZ #15855]
21181 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21182 does not overflow.
21183
5905e7b3 211842013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
21185
21186 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21187 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21188 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21189 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21190 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21191
cdfc721b
AM
211922013-09-10 Allan McRae <allan@archlinux.org>
21193
aa04af00
AM
21194 [BZ #15748]
21195 * manual/arith.texi (Parsing of Floats): Clarify
21196 cross-reference.
21197
cdfc721b
AM
21198 [BZ #15849]
21199 * manual/install.texi (Running make install): Mention
21200 --enable-pt-chown.
21201 * INSTALL: Regenerated.
21202
95e7cf29
MR
212032013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21204
21205 * csu/init-first.c (_init): Remove the !SHARED condition around
21206 FPU control word initialization.
21207 * elf/dl-support.c (_dl_fpu_control): New variable.
21208 (_dl_aux_init) <AT_FPUCW>: Initialize it.
21209 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21210 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21211 * math/test-fpucw-static.c: New file.
21212 * math/test-fpucw-ieee.c: New file.
21213 * math/test-fpucw-ieee-static.c: New file.
21214 * math/Makefile (tests): Add `test-fpucw-ieee' and
21215 `$(tests-static)'.
21216 (tests-static): New variable.
21217 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21218 dependency to...
21219 [($(build-shared),yes)]
21220 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21221 ... this.
21222 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21223 New dependency.
21224
83e43bf0
AM
212252013-09-09 Allan McRae <allan@archlinux.org>
21226
a9f5ce09
AM
21227 [BZ #15939]
21228 * manual/string.texi (Collation Functions): Fix typo in
21229 strcoll example.
21230 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21231
34829bc2
AM
21232 [BZ #15893]
21233 * stdlib/isomac.c (get_null_defines): Fix memory leak.
21234
3932737d
AM
21235 [BZ #15892]
21236 * libio/memstream.c (open_memstream): Fix memory leak.
21237 * libio/wmemstream.c (open_wmemstream): Likewise.
21238
83e43bf0
AM
21239 [BZ #15895]
21240 * nscd/netgroupcache.c: Fix nesting of ifdefs.
21241
0c66b8e9
WN
212422013-09-09 Will Newton <will.newton@linaro.org>
21243
21244 * malloc/Makefile: Add tst-realloc to tests.
21245 * malloc/tst-realloc.c: New file.
21246
f6b00fd1
AM
212472013-09-09 Allan McRae <allan@archlinux.org>
21248
21249 [BZ #15844]
21250 * COPYING: Update from GNU website to fix FSF address.
21251 * COPYING.LIB: Likewise.
21252
eec55e16
DM
212532013-09-06 David S. Miller <davem@davemloft.net>
21254
21255 * po/zh_TW.po: Update Chinese (traditional) translation from
21256 translation project.
21257
1ecbb381
RS
212582013-09-06 Richard Sandiford <richard@codesourcery.com>
21259 Joseph Myers <joseph@codesourcery.com>
21260
21261 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21262 "localeinfo.h".
21263 (obstack_chunk_alloc): New macro.
21264 (obstack_chunk_free): Likewise.
21265 (record_offset): New function.
21266 (init_locale_data): Likewise.
21267 (align_locale_data): Likewise.
21268 (add_locale_empty): Likewise.
21269 (add_locale_raw_data): Likewise.
21270 (add_locale_raw_obstack): Likewise.
21271 (add_locale_string): Likewise.
21272 (add_locale_wstring): Likewise.
21273 (add_locale_uint32): Likewise.
21274 (add_locale_uint32_array): Likewise.
21275 (add_locale_char): Likewise.
21276 (start_locale_structure): Likewise.
21277 (end_locale_structure): Likewise.
21278 (start_locale_prelude): Likewise.
21279 (end_locale_prelude): Likewise.
21280 (write_locale_data): Take locale_file structure rather than an
21281 iovec.
21282 * locale/programs/locfile.h: Include "obstack.h".
21283 (struct locale_file): Change to store locale file contents instead
21284 of header.
21285 (init_locale_data): New prototype.
21286 (align_locale_data): Likewise.
21287 (add_locale_empty): Likewise.
21288 (add_locale_raw_data): Likewise.
21289 (add_locale_raw_obstack): Likewise.
21290 (add_locale_string): Likewise.
21291 (add_locale_wstring): Likewise.
21292 (add_locale_uint32): Likewise.
21293 (add_locale_uint32_array): Likewise.
21294 (add_locale_char): Likewise.
21295 (start_locale_structure): Likewise.
21296 (end_locale_structure): Likewise.
21297 (start_locale_prelude): Likewise.
21298 (end_locale_prelude): Likewise.
21299 (write_locale_data): Update prototype.
21300 * locale/programs/3level.h (struct TABLE): Remove result field.
21301 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21302 Use new locale_file interface.
21303 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21304 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21305 * locale/programs/ld-address.c (address_output): Use new
21306 locale_file interface.
21307 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21308 NO_ADD_LOCALE.
21309 (collate_finish): Don't call collseq_table_finalize.
21310 (collate_output): Use new locale_file interface.
21311 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21312 in file.
21313 (NO_FINALIZE): Change to NO_ADD_LOCALE.
21314 (TABLE): Move defines earlier in file.
21315 (ELEMENT): Likewise.
21316 (DEFAULT): Likewise.
21317 (wctrans_table_add): Move macro and inline function earlier in
21318 file.
21319 (struct wctype_table): Move type earlier in file.
21320 (add_locale_wctype_table): New static prototype.
21321 (struct locale_ctype_t): Use logical types instead of struct iovec
21322 pointers for members.
21323 (ctype_output): Use new locale_file interface.
21324 (wctype_table_finalize): Change to add_locale_wctype_table. Use
21325 new locale_file interface.
21326 (allocate_arrays): Update for use of new locale_file interface.
21327 * locale/programs/ld-identification.c (identification_output): Use
21328 new locale_file interface.
21329 * locale/programs/ld-measurement.c (measurement_output): Likewise.
21330 * locale/programs/ld-messages.c (messages_output): Likewise.
21331 * locale/programs/ld-monetary.c (monetary_output): Likewise.
21332 * locale/programs/ld-name.c (name_output): Likewise.
21333 * locale/programs/ld-numeric.c (numeric_output): Likewise.
21334 * locale/programs/ld-paper.c (paper_output): Likewise.
21335 * locale/programs/ld-telephone.c (telephone_output): Likewise.
21336 * locale/programs/ld-time.c (time_output): Likewise.
21337
e029e2e5
AZ
213382013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21339
21340 * benchtests/Makefile: Add memrchr benchmark.
21341 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21342 benchmark as memrchr.
21343 * benchtests/bench-memrchr-ifunc.c: New file.
21344 * benchtests/bench-memrchr.c: New file.
21345
bbf6e8e4
WN
213462013-09-06 Will Newton <will.newton@linaro.org>
21347
21348 * benchtests/Makefile (string-bench): Add memcpy.
21349
6c82a2f8
CD
213502013-09-05 Carlos O'Donell <carlos@redhat.com>
21351 Cong Wang <amwang@redhat.com>
21352
e732c5f0 21353 [BZ #15850]
6c82a2f8
CD
21354 * sysdeps/unix/sysv/linux/bits/in.h
21355 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21356 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21357 before __USE_KERNEL_IPV6_DEFS uses.
21358 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21359 IPPROTO_BEETPH.
21360 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21361 sockaddr_in6, or ipv6_mreq.
21362
5430fc65
AZ
213632013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21364
21365 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21366 memory access for final bytes in some large inputs.
21367 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21368
4660856c
AZ
213692013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21370
21371 * string/test-memrchr.c: New file.
21372 * string/test-memrchr-ifunc.c: New file.
21373 * string/Makefile: Add new memrchr testcase.
21374
bb8ea713
MF
213752013-09-05 Mike Frysinger <vapier@gentoo.org>
21376
21377 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21378 fanotify_init returns EPERM.
21379
b92a20b5
JM
213802013-09-04 Joseph Myers <joseph@codesourcery.com>
21381
21382 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21383 errors.
21384 (top level): Treat second token from macro or constant entries for
21385 allowed headers as allowed.
21386 * include/complex.h: Condition internal declarations on
21387 [!_ISOMAC].
21388 * include/fenv.h: Condition include of <stdbool.h> and internal
21389 declarations on [!_ISOMAC].
7447ccd9
CL
21390
213912013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21392
3e181dda 21393 [BZ #15923]
7447ccd9
CL
21394 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21395
3f2e46a4
JM
213962013-09-04 Joseph Myers <joseph@codesourcery.com>
21397
21398 * configure.in (--enable-versioning): Remove configure option.
21399 (libc_cv_asm_symver_directive): Remove configure test.
21400 (libc_cv_ld_version_script_option): Likewise.
21401 (VERSIONING): Remove variable and AC_SUBST.
21402 (DO_VERSIONING): Remove AC_DEFINE.
21403 * configure: Regenerated.
21404 * config.h.in (DO_VERSIONING): Remove macro.
21405 * Makerules [$(versioning) = yes]: Change conditionals to
21406 [$(build-shared) = yes].
21407 * config.make.in (versioning): Remove variable.
21408 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21409 [$(build-shared) = yes].
21410 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21411 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21412 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21413 [$(build-shared) = yes].
21414 * extra-lib.mk [$(versioning) = yes]: Likewise.
21415 * hurd/Makefile [$(versioning) = yes]: Likewise.
21416 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21417 [SHARED].
21418 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21419 [SHARED].
21420 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21421 [SHARED && !NO_HIDDEN].
21422 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21423 [SHARED].
21424 [SHARED && DO_VERSIONING]: Likewise..
21425 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21426 [$(build-shared) = yes].
21427 * manual/install.texi (--disable-versioning): Remove
21428 documentation.
21429 * INSTALL: Regenerated.
21430 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21431 to [SHARED].
21432 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21433 [$(build-shared) = yes].
21434 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21435 * sysdeps/i386/i686/multiarch/strstr-c.c
21436 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21437 [SHARED && !NO_HIDDEN].
21438 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21439 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21440 * sysdeps/powerpc/powerpc32/dl-machine.c
21441 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21442 * sysdeps/powerpc/powerpc32/sysdep.h
21443 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21444 to [SHARED && PIC && !NO_HIDDEN].
21445 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21446 conditional to [SHARED].
21447
44558701
WN
214482013-09-04 Will Newton <will.newton@linaro.org>
21449
21450 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21451 * benchtests/bench-string.h: Include bench-timing.h instead
21452 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21453 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21454 call to HP_TIMING_DIFF_INIT.
21455 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21456 instead of hp-timing.h macros.
21457 * benchtests/bench-memchr.c: Likewise.
21458 * benchtests/bench-memcmp.c: Likewise.
21459 * benchtests/bench-memcpy.c: Likewise.
21460 * benchtests/bench-memmem.c: Likewise.
21461 * benchtests/bench-memmove.c: Likewise.
21462 * benchtests/bench-memset.c: Likewise.
21463 * benchtests/bench-rawmemchr.c: Likewise.
21464 * benchtests/bench-strcasecmp.c: Likewise.
21465 * benchtests/bench-strcasestr.c: Likewise.
21466 * benchtests/bench-strcat.c: Likewise.
21467 * benchtests/bench-strchr.c: Likewise.
21468 * benchtests/bench-strcmp.c: Likewise.
21469 * benchtests/bench-strcpy.c: Likewise.
21470 * benchtests/bench-strcpy_chk.c: Likewise.
21471 * benchtests/bench-strlen.c: Likewise.
21472 * benchtests/bench-strncasecmp.c: Likewise.
21473 * benchtests/bench-strncat.c: Likewise.
21474 * benchtests/bench-strncmp.c: Likewise.
21475 * benchtests/bench-strncpy.c: Likewise.
21476 * benchtests/bench-strnlen.c: Likewise.
21477 * benchtests/bench-strpbrk.c: Likewise.
21478 * benchtests/bench-strrchr.c: Likewise.
21479 * benchtests/bench-strspn.c: Likewise.
21480 * benchtests/bench-strstr.c: Likewise.
21481
cae16d66
WN
214822013-09-04 Will Newton <will.newton@linaro.org>
21483
21484 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21485
ffa3cd7f
JM
214862013-09-03 Joseph Myers <joseph@codesourcery.com>
21487
21488 [BZ #15427]
21489 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21490 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21491 * math/libm-test.inc (lgamma_test_data): Add more tests.
21492 * sysdeps/i386/fpu/libm-test-ulps: Update.
21493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21494
8f02859f
OB
214952013-09-03 Ondřej Bílka <neleai@seznam.cz>
21496
21497 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21498 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21499 Add ifunc.
21500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21501 Add strcmp-sse2-unaligned
21502 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21503
18d43716
MF
215042013-09-02 Mike Frysinger <vapier@gentoo.org>
21505
21506 * Versions.def (libc): Add GLIBC_2.19.
21507
ac444012
MF
215082013-09-02 Mike Frysinger <vapier@gentoo.org>
21509
21510 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21511 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21512
b7835e32
JM
215132013-09-02 Joseph Myers <joseph@codesourcery.com>
21514
21515 [BZ #14155]
21516 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21517 intermediate calculations in recurrence.
21518 (__ieee754_ynf): Likewise.
21519 * math/libm-test.inc (jn_test_data): Do not allow spurious
21520 underflow exception. Add more tests.
21521 (yn_test_data): Add more tests.
21522 * sysdeps/i386/fpu/libm-test-ulps: Update.
21523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21524
8220f4f0
OB
215252013-09-02 Ondřej Bílka <neleai@seznam.cz>
21526
21527 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21528
f24a6d08
OB
215292013-08-30 Ondřej Bílka <neleai@seznam.cz>
21530
21531 * csu/init-first.c: Fix then/than typos.
21532 * locale/programs/ld-collate.c: Likewise.
21533 * locale/programs/linereader.h: Likewise.
21534 * manual/charset.texi: Likewise.
21535 * manual/filesys.texi: Likewise.
21536 * manual/stdio.texi: Likewise.
21537 * manual/string.texi: Likewise.
21538 * stdlib/fmtmsg.c: Likewise.
21539 * sysdeps/i386/stpncpy.S: Likewise.
21540 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21541 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21542 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21543 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21544
382466e0
OB
215452013-08-30 Ondřej Bílka <neleai@seznam.cz>
21546
21547 * elf/dl-open.c: Fix typos.
21548 * iconvdata/gbbig5.c: Likewise.
21549 * iconvdata/iso-2022-jp.c: Likewise.
21550 * iconv/gconv_int.h: Likewise.
21551 * iconv/loop.c: Likewise.
21552 * nis/rpcsvc/nis.h: Likewise.
21553 * resolv/ns_name.c: Likewise.
21554 * stdio-common/vfscanf.c: Likewise.
21555 * streams/stropts.h: Likewise.
21556 * sunrpc/rpc_thread.c: Likewise.
21557 * sysdeps/i386/strpbrk.S: Likewise.
21558 * sysdeps/ieee754/k_standard.c: Likewise.
21559 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21560 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21561 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21562 * sysdeps/mach/hurd/profil.c: Likewise.
21563 * sysdeps/s390/dl-procinfo.h: Likewise.
21564 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21565 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21566 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21567 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21568 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21569
0186c6e9
OB
215702013-08-30 Ondřej Bílka <neleai@seznam.cz>
21571
21572 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21573 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21574
d4e16af1
OB
215752013-08-29 Ondřej Bílka <neleai@seznam.cz>
21576
21577 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21578 aix specific files.
21579 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21580 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21581 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21582 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21583 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21584 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21585 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21586 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21587
88335980
TS
215882013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21589 Roland McGrath <roland@hack.frob.com>
21590
21591 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21592 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21593
ed479b02
ST
215942013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21595
21596 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21597 __executable_start symbol instead of _start.
21598
f1cc4c86
TS
215992013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21600
d821f07c
TS
21601 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21602 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21603 Move macros to...
21604 * sysdeps/gnu/ldsodefs.h: ... this new file.
21605
c54290cf
TS
21606 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21607 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21608 instead of ELFOSABI_LINUX.
21609
0007fc9b 21610 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
21611 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21612 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21613 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21614 Likewise.
21615 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21616 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21617 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21618 Likewise.
21619 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21620 (ibm_extended_long_double): Add ieee_nan member.
21621 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21622 (do_test): New function.
21623
f1cc4c86
TS
21624 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21625 TEST_TRUNC.
21626 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21627 functions, renamed from truncdfsf_test, trunctfsf_test,
21628 trunctfdf_test.
21629 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21630 functions.
21631 (do_test): Run all these.
21632
6f65e668
OB
216332013-08-29 Ondřej Bílka <neleai@seznam.cz>
21634
21635 * argp/argp-help.c: Fix typos.
21636 * argp/argp-parse.c: Likewise.
21637 * debug/backtracesyms.c: Likewise.
21638 * elf/elf.h: Likewise.
21639 * malloc/malloc.c: Likewise.
21640 * nis/nis_print.c: Likewise.
21641 * resolv/res_comp.c: Likewise.
21642 * stdlib/stdlib.h: Likewise.
21643 * sunrpc/clnt_tcp.c: Likewise.
21644 * sunrpc/clnt_udp.c: Likewise.
21645 * sunrpc/clnt_unix.c: Likewise.
21646 * sysdeps/unix/bsd/ptsname.c: Likewise.
21647 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21648 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
21649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21650 Likewise.
21651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21652 Likewise.
21653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21654 Likewise.
6f65e668
OB
21655 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21656
3a309239
SP
216572013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21658
21659 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21661
3b813b29
MF
216622013-08-27 Mike Frysinger <vapier@gentoo.org>
21663
21664 [BZ #15897]
21665 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21666 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21667 ($(objpfx)bug-dl-leaf): New rule.
21668 ($(objpfx)bug-dl-leaf.so): Likewise.
21669 ($(objpfx)bug-dl-leaf.out): Likewise.
21670 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21671 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21672 * dlfcn/bug-dl-leaf.c: New test.
21673 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21674 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21675 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21676 (dlclose): Likewise.
21677 (dlmopen): Likewise.
21678
8cc3269f
RM
216792013-08-27 Roland McGrath <roland@hack.frob.com>
21680
7f9d0034
RM
21681 * include/netdb.h [!_ISOMAC]:
21682 Don't include <tls.h>.
21683 (h_errno, __libc_h_errno): Move declaration and macros out of
21684 [_LIBC_REENTRANT].
21685
fb431262
RM
21686 * include/resolv.h [_RESOLV_H_]:
21687 Don't include <tls.h>.
21688 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21689 * resolv/res_libc.c: Don't include <tls.h>.
21690 (_res): Use __attribute__ ((nocommon)) in place of
21691 __attribute__ ((section (".bss"))).
21692
bd81123a
RM
21693 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21694 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21695
c4e42566
RM
21696 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21697
f890a59b
RM
21698 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21699 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21700
21701 * resolv/res_mkquery.c: Include <sys/time.h>.
21702
5d1f0a09
RM
21703 * inet/ifreq.c: Moved to ...
21704 * sysdeps/unix/ifreq.c: ... here.
21705 * inet/ifreq.c: New file, true stub version.
21706
6fcf28b3
RM
21707 * socket/sa_len.c: New file.
21708 * socket/Makefile (aux): Add it.
21709 * sysdeps/unix/sysv/linux/Makefile
21710 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21711 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21712 and #include <socket/sa_len.c>.
21713 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21714 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21715
e041fb8b
RM
21716 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21717 * bits/socket.h: ... here.
21718
8cc3269f
RM
21719 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21720 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21721 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21722
5d228a43
AS
217232013-08-27 Andreas Schwab <schwab@suse.de>
21724
45b8accc
AS
21725 [BZ #15736]
21726 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21727 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21728 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21729 * string/test-strcasecmp.c (test_main): Run tests in several
21730 locales.
21731 * string/test-strncasecmp.c (test_main): Likewise.
21732
5d228a43
AS
21733 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21734 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21735 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21736 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21737 (__strncasecmp_ssse3) [PIC]: Likewise.
21738
59d112a4
RM
217392013-08-26 Roland McGrath <roland@hack.frob.com>
21740
53234cc3
RM
21741 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21742
59d112a4
RM
21743 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21744 instead of explicitly declaring xdecrypt.
21745 * nis/nss_nis/nis-publickey.c: Likewise.
21746
595aba70
SP
217472013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21748
21749 [BZ #15890]
21750 * nscd/aicache.c: Include res_hconf.h.
21751 (addhstaiX): Initialize res_hconf.
21752
ffabd393
AS
217532013-08-26 Andreas Schwab <schwab@suse.de>
21754
21755 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21756 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21757
e0a69f5c
SP
217582013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21759
21760 * nscd/aicache.c (addhstaiX): Fix indentation.
21761
8c12f01d
MF
217622013-08-25 Mike Frysinger <vapier@gentoo.org>
21763
21764 * configure.ac: Quote $build_pt_chown test.
21765 * configure: Regenerated.
21766
8fe89494
JM
217672013-08-23 Joseph Myers <joseph@codesourcery.com>
21768
21769 [BZ #15532]
21770 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21771 * math/s_cexpf.c (__cexpf): Likewise.
21772 * math/s_cexpl.c (__cexpl): Likewise.
21773 * math/libm-test.inc (cexp_test_data): Correct expected return
21774 value for NaN + i0. Add another test.
21775
75b181d6
DM
217762013-08-22 David S. Miller <davem@davemloft.net>
21777
21778 * po/ca.po: Update Catalan translation from translation project.
936241e4 21779 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 21780
acd06bb1
JM
217812013-08-21 Joseph Myers <joseph@codesourcery.com>
21782
21783 [BZ #15797]
21784 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21785 is infinite, not alongside NaN test.
21786 * math/s_fdimf.c (__fdimf): Likewise.
21787 * math/s_fdiml.c (__fdiml): Likewise.
21788 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21789 errno is unchanged.
21790
c0c3f78a
OB
217912013-08-21 Ondřej Bílka <neleai@seznam.cz>
21792
21793 * argp/argp-help.c: Fix typos.
21794 * crypt/speeds.c: Likewise.
21795 * csu/check_fds.c: Likewise.
21796 * elf/dl-load.c: Likewise.
21797 * elf/dl-open.c: Likewise.
21798 * elf/reldep3.c: Likewise.
21799 * elf/reldep.c: Likewise.
21800 * elf/sprof.c: Likewise.
21801 * iconv/iconv_charmap.c: Likewise.
21802 * iconv/skeleton.c: Likewise.
21803 * iconv/strtab.c: Likewise.
21804 * io/lockf64.c: Likewise.
21805 * libio/libioP.h: Likewise.
21806 * resolv/gai_notify.c: Likewise.
21807 * resolv/ns_name.c: Likewise.
21808 * resolv/ns_samedomain.c: Likewise.
21809 * resolv/res_send.c: Likewise.
21810 * stdlib/random.c: Likewise.
21811 * sunrpc/rpc/xdr.h: Likewise.
21812 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21813 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21814 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21815 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21816 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21817 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21818 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21819 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21820 * sysdeps/mach/hurd/check_fds.c: Likewise.
21821 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21822 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21823 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21824 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21825 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21826 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21827 * sysdeps/pthread/aio_notify.c: Likewise.
21828 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21829 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21830 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21831 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21832 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21833
46ed1038
LD
218342013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21835
21836 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21837 version if bit_Slow_SSE4_2 is set.
21838 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21839 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21840
d400dcac
AZ
218412013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21842
21843 [BZ #15867]
21844 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21845 trampoline stack frame information.
21846 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21847 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21848 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21849 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21850 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21851 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21852 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21853 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21854 sa_flags value.
21855 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21856 interrupting a syscall and set with option SA_SIGINFO.
21857
42c8fdd8
JM
218582013-08-20 Joseph Myers <joseph@codesourcery.com>
21859
c980f2f4
JM
21860 [BZ #15531]
21861 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21862 argument is infinite.
21863 * math/s_cprojf.c (__cprojf): Likewise.
21864 * math/s_cprojl.c (__cprojl): Likewise.
21865 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21866 * math/libm-test.inc (cproj_test_data): Add more tests.
21867
0716c4fc
JM
21868 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21869
42c8fdd8
JM
21870 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21871 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21872 size. Use __ffs to determine corresponding shift.
21873
b31469d0
JM
218742013-08-20 Joseph Myers <joseph@codesourcery.com>
21875 Roland McGrath <roland@hack.frob.com>
21876
21877 * Makefile (INSTALL): Remove trailing blank lines from output of
21878 makeinfo.
21879
4e39af6e
AK
218802013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21881
21882 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21883 Align 32 bit compat elf_greg to 8 bytes.
21884
f315524e
AA
218852013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21886
21887 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21888
1326ba1a
SP
218892013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21890
21891 * string/strcoll_l.c (coll_seq): New structure.
21892 (get_next_seq_cached): New function.
21893 (get_next_seq): New function.
21894 (do_compare): New function.
21895 (STRCOLL): Use GNU style definition. Simplify implementation
21896 by using get_next_seq, get_next_seq_cached and do_compare.
21897
91ce4085
FW
218982013-08-16 Florian Weimer <fweimer@redhat.com>
21899
21900 [BZ #14699]
21901 CVE-2013-4237
21902 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21903 member.
21904 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21905 member.
21906 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21907 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21908 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21909 conditional.
21910 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21911 GETDENTS_64BIT_ALIGNED.
21912 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21913 * manual/filesys.texi (Reading/Closing Directory): Document
21914 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21915 strongly.
21916 * manual/conf.texi (Limits for Files): Add portability note to
21917 NAME_MAX, PATH_MAX.
21918 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21919
ca0a6bc4
AS
219202013-08-13 Andreas Schwab <schwab@suse.de>
21921
21922 [BZ #15749]
21923 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21924 of fabs.
21925 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21926 LDBL_MAX_EXP >= 16384]: Add tests for it.
21927
6c1fd795
DM
219282013-08-12 David S. Miller <davem@davemloft.net>
21929
21930 * version.h (RELEASE): Set to "development".
21931 (VERSION): Set to "2.18.90".
21932 * NEWS: Add 2.19 section.
21933
31ad488d
DM
219342013-08-03 David S. Miller <davem@davemloft.net>
21935
21936 * po/ko.po: Update Korean translation from translation project.
21937
db24e684
DM
219382013-08-01 David S. Miller <davem@davemloft.net>
21939
21940 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21941 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21942 Bilka.
21943
f723285b
DM
219442013-07-30 David S. Miller <davem@davemloft.net>
21945
21946 * po/fr.po: Update French translation from translation project.
21947
3cbc52db
DM
219482013-07-28 David S. Miller <davem@davemloft.net>
21949
30bbc0cc
DM
21950 * po/cs.po: Update Czech translation from translation project.
21951
3cbc52db
DM
21952 * po/sv.po: Update Swedish translation from translation project.
21953
d492e6d0
DM
219542013-07-27 David S. Miller <davem@davemloft.net>
21955
f1a7f492
DM
21956 * po/eo.po: Update Esperanto translation from translation project.
21957
90e62a4a
DM
21958 * po/vi.po: Update Vietnamese translation from translation project.
21959
d492e6d0
DM
21960 * po/de.po: Update German translation from translation project.
21961
d4baa62d
DM
219622013-07-26 David S. Miller <davem@davemloft.net>
21963
641aa7b4
DM
21964 * po/bg.po: Update Bulgarian translation from translation project.
21965
d4baa62d
DM
21966 * po/nl.po: Update Dutch translation from translation project.
21967 * po/pl.po: Update Polish translation from translation project.
21968 * po/ru.po: Update Russian translation from translation project.
21969
61a9dcb9
DM
219702013-07-24 David S. Miller <davem@davemloft.net>
21971
21972 * po/libc.pot: Update.
21973
7b1f8b58
AZ
219742013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21975
21976 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21977 variable page size.
21978 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21979 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21980 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21981
a8fc7a03
AK
219822013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21983
21984 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21985
e4608715
CD
219862013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21987 Andreas Schwab <schwab@suse.de>
21988 Roland McGrath <roland@hack.frob.com>
21989 Joseph Myers <joseph@codesourcery.com>
21990 Carlos O'Donell <carlos@redhat.com>
21991
21992 [BZ #15755]
21993 * config.h.in: Define HAVE_PT_CHOWN.
21994 * config.make.in (build-pt-chown): New variable.
21995 * configure.in (--enable-pt_chown): New configure option.
21996 * configure: Regenerate.
21997 * login/Makefile: Include Makeconfig. Build pt_chown only if
21998 build-pt-chown is enabled.
21999 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22000 pt_chown to fix pty ownership.
22001 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22002 CLOSE_ALL_FDS.
22003 * manual/install.texi (Configuring and compiling): Mention
22004 --enable-pt_chown. Add @findex for grantpt.
22005 * INSTALL: Regenerate.
22006
da2d62df
DM
220072013-07-20 David S. Miller <davem@davemloft.net>
22008
22009 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22010 difference between 32-bit and 64-bit.
22011
d7e06450
CD
220122013-07-15 Carlos O'Donell <carlos@redhat.com>
22013
22014 [BZ #15711]
22015 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22016 Avoid system header dependency with -ffreestanding.
22017 ($(objpfx)bits/syscall%d): Likewise.
22018
f959cfd7
DM
220192013-07-13 David S. Miller <davem@davemloft.net>
22020
22021 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22022 underflows from atanl/atan2l due to bug 15319.
22023 (casinh_test_data): Likewise.
22024
c61f8513
DM
220252013-07-07 David S. Miller <davem@davemloft.net>
22026
22027 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22028
72c90ed0
JA
220292013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
22030
22031 * sysdeps/i386/fpu/libm-test-ulps: Update.
22032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22033
52dfbe13
SP
220342013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22035
22036 * configure.in (--enable-lock-elision): Fix message text.
22037 * INSTALL: Regenerate.
22038 * configure: Regenerate.
22039
3f169543
AZ
220402013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22041
22042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22043
521c6785
AJ
220442013-07-03 Andreas Jaeger <aj@suse.de>
22045
22046 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22047 define.
22048 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22049 (ptrace_peeksiginfo_args): Add.
22050 (__ptrace_peeksiginfo_flags): Add.
22051 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22052 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22053 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22054
d2cc15cb
AM
220552013-07-03 Allan McRae <allan@archlinux.org>
22056
22057 * sysdeps/i386/fpu/libm-test-ulps: Update.
22058
3aaeeca7
DM
220592013-07-02 David S. Miller <davem@davemloft.net>
22060
22061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22062
5314ed1a
MT
220632013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
22064
22065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22066
67338156
JM
220672013-07-02 Joseph Myers <joseph@codesourcery.com>
22068
22069 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22071
1717da59
AK
220722013-07-02 Andi Kleen <ak@linux.intel.com>
22073
22074 * config.h.in (ENABLE_LOCK_ELISION): Add.
22075 * configure.in (--enable-lock-elision): Add option.
22076 * manual/install.texi: Document --enable lock elision.
22077 * configure: Regenerate
22078 * INSTALL: Regenerate.
22079
1c81621c
L
220802013-07-02 H.J. Lu <hongjiu.lu@intel.com>
22081
22082 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22083 SSE4.2 strcasecmp for libc.a.
22084 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22085
77f01ab5
JM
220862013-07-02 Joseph Myers <joseph@codesourcery.com>
22087
22088 [BZ #13304]
22089 * soft-fp/op-common.h (_FP_FMA): New macro.
22090 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22091 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
22092 (_FP_MUL_MEAT_1_imm): ... here.
22093 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
22094 (_FP_MUL_MEAT_1_wide): ... here.
22095 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
22096 (_FP_MUL_MEAT_1_hard): ... here.
22097 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22098 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
22099 (_FP_MUL_MEAT_2_wide): ... here.
22100 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
22101 (_FP_MUL_MEAT_2_wide_3mul): ... here.
22102 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
22103 (_FP_MUL_MEAT_2_gmp): ... here.
22104 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22105 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
22106 (_FP_MUL_MEAT_4_wide): ... here.
22107 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
22108 (_FP_MUL_MEAT_4_gmp): ... here.
22109 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22110 (_FP_WFRACBITS_DW_S): Likewise.
22111 (_FP_WFRACXBITS_DW_S): Likewise.
22112 (_FP_HIGHBIT_DW_S): Likewise.
22113 (FP_FMA_S): Likewise.
22114 (_FP_FRAC_HIGH_DW_S): Likewise.
22115 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22116 (_FP_WFRACBITS_DW_D): Likewise.
22117 (_FP_WFRACXBITS_DW_D): Likewise.
22118 (_FP_HIGHBIT_DW_D): Likewise.
22119 (FP_FMA_D): Likewise.
22120 (_FP_FRAC_HIGH_DW_D): Likewise.
22121 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22122 (_FP_WFRACBITS_DW_E): Likewise.
22123 (_FP_WFRACXBITS_DW_E): Likewise.
22124 (_FP_HIGHBIT_DW_E): Likewise.
22125 (FP_FMA_E): Likewise.
22126 (_FP_FRAC_HIGH_DW_E): Likewise.
22127 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22128 (_FP_WFRACBITS_DW_Q): Likewise.
22129 (_FP_WFRACXBITS_DW_Q): Likewise.
22130 (_FP_HIGHBIT_DW_Q): Likewise.
22131 (FP_FMA_Q): Likewise.
22132 (_FP_FRAC_HIGH_DW_Q): Likewise.
22133 * soft-fp/fmasf4.c: New file.
22134 * soft-fp/fmadf4.c: Likewise.
22135 * soft-fp/fmatf4.c: Likewise.
22136
6308fd9a
LD
221372013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22138
22139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22140 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22141 Silvermont.
22142 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22143 macro.
22144 (index_Slow_SSE4_2): Likewise.
22145 (index_Prefer_PMINUB_for_stringop): Likewise.
22146 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22147 bit_Slow_SSE4_2 is set.
22148 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22149 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22150
89cd9569
RA
221512013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22152
22153 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22154 rtld_global._dl_hwcap2.
22155 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22156 POWER8.
22157 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22158 POWER8 feature descriptions defined in _dl_hwcap2.
22159 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22160 string handling for POWER8 feature bits.
22161 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22162 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22163 _dl_powerpc_cap_flags.
22164 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22165 * sysdeps/powerpc/rtld-global-offsets.sym
22166 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22167 _dl_hwcap2 in the rtld_global_ro structure.
22168
1ae8bfe0
RA
221692013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22170
22171 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22172 hardware capabilities in support of AT_HWCAP2.
22173 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22174 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22175 GLRO(dl_hwcap2).
22176 (_dl_show_auxv): Add support for calling _dl_procinfo to display
22177 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
22178 explicitly the unknown a_type display mechanism is used.
22179 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22180 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22181 struct member.
22182 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22183 to macro prototype for AT_HWCAP2 support.
22184 * sysdeps/i386/dl-procinfo.h: Likewise.
22185 * sysdeps/s390/dl-procinfo.h: Likewise.
22186 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22187 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
22188 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
22189 return -1 for unknown a_type display fallback.
22190 * sysdeps/sparc/dl-procinfo.h: Likewise.
22191 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22192 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22193
8fbec010
JM
221942013-06-28 Joseph Myers <joseph@codesourcery.com>
22195
22196 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22197 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22198
0432680e
PY
221992013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
22200
22201 [BZ #12492]
22202 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22203 mprotect making __stack_prot writable.
22204
ce61a2ad
NF
222052013-06-28 Nathan Froyd <froydnj@codesourcery.com>
22206 Joseph Myers <joseph@codesourcery.com>
22207
22208 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22209 as being properly aligned.
22210
f91f1c0f
MR
222112013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
22212
3d0f5d0c
MR
22213 * dlfcn/modstatic5.c: New file.
22214 * dlfcn/tststatic5.c: New file.
22215 * dlfcn/Makefile (tests): Add tststatic5.
22216 (tests-static): Likewise.
22217 (modules-names): Add modstatic5.
22218 (tststatic5-ENV): New variable.
22219 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22220
f91f1c0f
MR
22221 [BZ #15022]
22222 * elf/dl-support.c (_dl_main_map): New variable.
22223 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22224 (_dl_nns, _dl_load_adds): Set to 1.
22225 (_dl_initial_searchlist): Refer to _dl_main_map.
22226 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22227 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22228 call to _dl_get_origin.
22229 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22230 around call_map.
22231 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22232 * dlfcn/modstatic3.c: New file.
22233 * dlfcn/tststatic3.c: New file.
22234 * dlfcn/tststatic4.c: New file.
22235 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22236 (tests-static): Likewise.
22237 (modules-names): Add modstatic3.
22238 (tststatic3-ENV, tststatic4-ENV): New variables.
22239 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22240 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22241
cbe7d24b
JM
222422013-06-26 Joseph Myers <joseph@codesourcery.com>
22243
22244 * configure.in (CC): Require GCC version 4.4 or later.
22245 * configure: Regenerated.
22246 * manual/install.texi (Tools for Compilation): Update GCC version
22247 requirement.
22248 * INSTALL: Regenerated.
22249
11b8a0e1
LD
222502013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22251
22252 [BZ #15674]
bb5bb87c
L
22253 * string/test-memcmp.c (check2): New.
22254 (main): Call check2.
22255
11b8a0e1
LD
22256 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22257
b0037103
MR
222582013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
22259
22260 [BZ #15022]
22261 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22262 over to...
22263 (dl_open_worker) [!SHARED]: ... here.
22264
c18c701d
RA
222652013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22266
22267 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22268
1d17fa5f
RH
222692013-06-25 Richard Henderson <rth@redhat.com>
22270
22271 * locale/programs/locarchive.c: Include <libc-internal.h>
22272
8fcb833a
JM
222732013-06-25 Joseph Myers <joseph@codesourcery.com>
22274
22275 * manual/texinfo.tex: Update to version 2013-06-21.17, with
22276 trailing whitespace removed.
22277
17db6e8d
MF
222782013-06-24 Mike Frysinger <vapier@gentoo.org>
22279
22280 [BZ #10283]
17db6e8d
MF
22281 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22282 * locale/programs/locarchive.c: Include libc-mmap.h.
22283 (prepare_address_space): Take two new outputs (the mmap base and len).
22284 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
22285 values.
22286 (create_archive): Declare new mmap base and len values for
22287 prepare_address_space, and store the result in ah.
22288 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22289 (enlarge_archive): If ah->mmap_base is not NULL, use that and
22290 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22291 Declare new mmap base and len values for
22292 prepare_address_space, and store the result in new_ah.
22293 (open_archive): Declare new mmap base and len values for
22294 prepare_address_space, and store the result in ah.
22295 (close_archive): If ah->mmap_base is not NULL, use that and
22296 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22297 * sysdeps/generic/libc-mmap.h: New file.
22298
d605071e
MF
222992013-06-24 Mike Frysinger <vapier@gentoo.org>
22300
22301 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22302 (ALIGN_UP): Likewise.
22303 (PTR_ALIGN_DOWN): Likewise.
22304 (PTR_ALIGN_UP): Likewise.
22305
2f063a6e
RA
223062013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22307
22308 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22309 entry mapped to PPC_PLATFORM_POWER8.
22310 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22311 POWER8.
22312 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22313 (_dl_string_platform): Add case for exporting platform position for
22314 POWER8.
22315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22316 search path to sysdeps/powerpc/powerpc32/power8 directory.
22317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22318 search path to sysdeps/powerpc/powerpc64/power8 directory.
22319 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22320 power7 directories.
22321 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22322 power7 directories.
22323
a31ee4b3
SP
223242013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22325
a74ca98f
SP
22326 * INSTALL: Regenerate.
22327
a31ee4b3
SP
22328 * nscd/connections.c (nscd_init): Fix comment.
22329
695c378f
JM
223302013-06-22 Joseph Myers <joseph@codesourcery.com>
22331
d8412221
JM
22332 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22333
695c378f
JM
22334 [BZ #15667]
22335 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22336 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22337
d1d54715
MR
223382013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22339
22340 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22341 DL_DST_REQ_STATIC.
22342 (DL_DST_REQ_STATIC): Remove macro.
22343
8fdda7af
JM
223442013-06-21 Joseph Myers <joseph@codesourcery.com>
22345
22346 [BZ #7006]
22347 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22348 with a shift of 0 bits.
22349
f3bc5e5a
MR
223502013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22351
22352 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22353 $(tststatic-ENV).
22354
be09e8c9
KK
223552013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22356
22357 [BZ #15655]
22358 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22359
85c2e611
AZ
223602013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22361
22362 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22363 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22364 accepts -fno-tree-loop-distribute-patterns.
22365 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22366 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22367 recursive call.
22368 * string/memset.c (memset): Likewise.
22369 * string/test-memmove.c (simple_memmove): Disable loop transformation
22370 to library calls.
22371 * string/test-memset.c (simple_memset): Likewise.
22372 * benchtests/bench-memmove.c (simple_memmove): Likewise.
22373 * benchtests/bench-memset.c (simple_memset): Likewise.
22374 * configure: Regenerated.
22375
c91e0825
JM
223762013-06-20 Joseph Myers <joseph@codesourcery.com>
22377
b8c792af
JM
22378 * math/test-misc.c (main): Ignore fesetround failure when failures
22379 of subsequent rounding tests would be ignored.
22380
c91e0825
JM
22381 [BZ #15654]
22382 * math/fedisblxcpt.c (fedisableexcept): Return 0.
22383 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22384 * math/fegetenv.c (__fegetenv): Return 0.
22385 * math/fegetexcept.c (fegetexcept): Return 0.
22386 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22387 FE_TONEAREST.
22388 * math/feholdexcpt.c (feholdexcept): Return 0.
22389 * math/fesetenv.c (__fesetenv): Return 0.
22390 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22391 argument FE_TONEAREST.
22392 * math/feupdateenv.c (__feupdateenv): Return 0.
22393 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22394
bfcacbde
RM
223952013-06-18 Roland McGrath <roland@hack.frob.com>
22396
22397 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22398 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22399 ($(objpfx)rtld-%.os rules): Use them.
22400
e55a9b25
AZ
224012013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22402
22403 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22404 fields.
22405
346d65b3
RM
224062013-06-17 Roland McGrath <roland@hack.frob.com>
22407
12086fb4
RM
22408 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22409 length of target pattern, then descending length of dependency pattern.
22410 * configure.in (AWK): Require gawk 3.1.2 or newer.
22411 * manual/install.texi (Tools for Compilation): Say that we do.
22412 * configure: Regenerated.
22413
346d65b3
RM
22414 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22415 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22416 * scripts/sysd-rules.awk: ... this new script.
22417 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22418 than a glob-style pattern.
22419
1a846317
JM
224202013-06-17 Joseph Myers <joseph@codesourcery.com>
22421
22422 * math/test-misc.c (main): Do not treat incorrectly rounded
22423 conversions as failure unless ROUNDING_TESTS passes.
22424
8fc75e6f
JM
224252013-06-15 Joseph Myers <joseph@codesourcery.com>
22426
3711a167
JM
22427 [BZ #15631]
22428 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22429 restore exception state around main square root computation, then
22430 check for inexactness explicitly.
22431
8fc75e6f
JM
22432 * math/libm-test.inc (fma_test_data): Add another test.
22433
61dd6208
SP
224342013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22435
adf23d2c
SP
22436 * manual/threads.texi (Non-POSIX Extensions): New document
22437 node. Document pthread_getattr_default_np and
22438 pthread_setattr_default_np.
22439
61dd6208
SP
22440 * Versions.def (libpthread): Add GLIBC_2.18.
22441 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22443 Likewise.
22444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22445 Likewise.
22446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22447 Likewise.
22448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22449 Likewise.
22450 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22451 Likewise.
22452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22453 Likewise.
22454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22455 Likewise.
22456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22457 Likewise.
22458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22459 Likewise.
22460
d086fc7b
LD
224612013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22462
22463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22464 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22465
747ef469
SP
224662013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22467 H.J. Lu <hjl.tools@gmail.com>
22468
22469 [BZ #15627]
22470 * sysdeps/x86_64/rtld-memset.c: Remove file.
22471 * sysdeps/x86_64/rtld-memset.S: New file.
22472
1b2feed2
JM
224732013-06-14 Joseph Myers <joseph@codesourcery.com>
22474
22475 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22476 (test_in_one_mode): Take arguments for whether the rounding mode
22477 is supported for each floating-point type.
22478 (do_test): Pass new arguments to test_in_one_mode using
22479 ROUNDING_TESTS.
22480
a58ad3f8
RM
224812013-06-13 Roland McGrath <roland@hack.frob.com>
22482
22483 * posix/tst-waitid.c (do_test): Distinguish different instances of
22484 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22485 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22486 before entering the kernel for waitpid.
22487
c204ab28
SP
224882013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22489
22490 * NEWS: Fix note on clock function precision. Text by Roland
22491 McGrath.
22492
f4a29fba
RM
224932013-06-13 Roland McGrath <roland@hack.frob.com>
22494
22495 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22496 it into place only when and if the sanity check passes.
22497
1f24b9ad
JM
224982013-06-13 Joseph Myers <joseph@codesourcery.com>
22499
22500 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22501 output for whether conversion result is exact. Take argument
22502 indicating whether type is IBM long double.
22503 (round_for_all): Change need_exact field to ibm_ld.
22504 * stdlib/tst-strtod-round.c (struct exactness): New type.
22505 (struct test): Change bool ld_ok field to struct exactness exact.
22506 (TEST): Update all definitions for change to field.
22507 (tests): Regenerate array contents.
22508 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22509 field value. Check for IBM long double here.
22510 (do_test): Update calls to test_in_one_mode.
22511
58206c68
SP
225122013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22513
22514 [BZ #12515]
22515 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22516 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22517
2d6f4c5b 225182013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
22519
22520 [BZ #15605]
22521 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22522 generated by the compiler on loop optimizations.
22523 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22524 general definitions.
22525
94f2c076
JM
225262013-06-12 Joseph Myers <joseph@codesourcery.com>
22527
22528 * math/bug-nextafter.c: Include <math-tests.h>.
22529 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22530 the relevant type.
22531 * math/bug-nexttoward.c: Include <math-tests.h>.
22532 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22533 the relevant type.
22534 * math/test-misc.c: Include <math-tests.h>.
22535 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22536 the relevant type.
22537
e0e50a0a
AJ
225382013-06-12 Andreas Jaeger <aj@suse.de>
22539
22540 * po/ia.po: Update Interlingua translation from translation
22541 project.
22542
25061094
SP
225432013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22544
22545 * include/fenv.h: Include stdbool.h.
22546 (struct rm_ctx): New structure.
22547 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22548 Define macro.
22549 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22550 (SET_RESTORE_ROUNDF): Likewise.
22551 (SET_RESTORE_ROUNDL): Likewise.
22552 (SET_RESTORE_ROUND_NOEX): Likewise.
22553 (SET_RESTORE_ROUND_NOEXF): Likewise.
22554 (SET_RESTORE_ROUND_NOEXL): Likewise.
22555 (SET_RESTORE_ROUND_53BIT): Likewise.
22556 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22557 (libc_feresetround_noexf_ctx): Likewise.
22558 (libc_feresetround_noexl_ctx): Likewise.
22559 (libc_feholdsetround_53bit_ctx): Likewise.
22560 (libc_feresetround_53bit_ctx): Likewise.
22561 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22562 (libc_feholdexcept_setround_sse_ctx): New function.
22563 (libc_fesetenv_sse_ctx): Likewise.
22564 (libc_feupdateenv_sse_ctx): Likewise.
22565 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22566 (libc_feholdexcept_setround_387_ctx): Likewise.
22567 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22568 (libc_feholdsetround_387_prec_ctx): Likewise.
22569 (libc_feholdsetround_387_ctx): Likewise.
22570 (libc_feholdsetround_387_53bit_ctx): Likewise.
22571 (libc_feholdsetround_sse_ctx): Likewise.
22572 (libc_feresetround_sse_ctx): Likewise.
22573 (libc_feresetround_387_ctx): Likewise.
22574 (libc_feupdateenv_387_ctx): Likewise.
22575 (libc_feholdexcept_setroundf_ctx): Define macro.
22576 (libc_fesetenvf_ctx): Likewise.
22577 (libc_feupdateenvf_ctx): Likewise.
22578 (libc_feholdsetroundf_ctx): Likewise.
22579 (libc_feresetroundf_ctx): Likewise.
22580 (libc_feholdexcept_setround_ctx): Likewise.
22581 (libc_fesetenv_ctx): Likewise.
22582 (libc_feupdateenv_ctx): Likewise.
22583 (libc_feholdsetround_ctx): Likewise.
22584 (libc_feresetround_ctx): Likewise.
22585 (libc_feholdexcept_setroundl_ctx): Likewise.
22586 (libc_feupdateenvl_ctx): Likewise.
22587 (libc_feholdsetroundl_ctx): Likewise.
22588 (libc_feresetroundl_ctx): Likewise.
22589 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22590 (libc_feresetround_53bit_ctx): Likewise.
22591
59b30555
SP
225922013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22593
22594 * locale/iso-639.def: Convert to UTF-8.
22595
f1d73d30
JM
225962013-06-11 Joseph Myers <joseph@codesourcery.com>
22597
22598 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22599 (EXCEPTION_TESTS_double): Likewise.
22600 (EXCEPTION_TESTS_long_double): Likewise.
22601 (EXCEPTION_TESTS): Likewise.
22602 * math/libm-test.inc (test_exceptions): Only test exceptions if
22603 EXCEPTION_TESTS (FLOAT).
22604
94aca5e7
SP
226052013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22606
22607 * benchtests/Makefile (string-bench): Add strcpy_chk and
22608 stpcpy_chk.
22609 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22610 * benchtests/bench-stpcpy_chk.c: New file.
22611 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22612 * benchtests/bench-strcpy_chk.c: New file.
22613 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22614 code.
22615 (do_test): Likewise.
22616
fac0c5f2
RA
226172013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22618
22619 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22620 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22621 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22622 with tabs where appropriate.
22623 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22624 dl-procinfo.h.
22625 [PPC_PLATFORM_PPC440]: Likewise.
22626 [PPC_PLATFORM_PPC464]: Likewise.
22627 [PPC_PLATFORM_PPC476]: Likewise.
22628 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22629 ppc464, and ppc476 platform strings merging from ports/
22630 dl-procinfo.h.
22631
f22bc486
AS
226322013-06-11 Andreas Schwab <schwab@suse.de>
22633
22634 [BZ #14991]
22635 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22636 (from_ucs4_idx): Regenerate.
22637 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22638 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22639 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22640 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22641 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22642 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22643 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22644 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22645 from FROM_LOOP and TO_LOOP specific macros.
22646 (BODY): Handle combining characters.
22647 * iconvdata/BIG5HKSCS.irreversible: Update.
22648 * iconvdata/BIG5HKSCS.precomposed: New file.
22649 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22650 characters.
22651 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22652
c1f75dc3
SP
226532013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22654
4eacded2
SP
22655 * include/sys/time.h: Fix indentation and add copyright header.
22656
fec799f8
SP
22657 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22658 (do_test): Likewise.
22659 * string/test-memchr.c (do_one_test): Likewise.
22660 (do_test): Likewise.
22661 * string/test-memcmp.c (do_one_test): Likewise.
22662 (do_test): Likewise.
22663 * string/test-memcpy.c (do_one_test): Likewise.
22664 (do_test): Likewise.
22665 * string/test-memmem.c (do_one_test): Likewise.
22666 (do_test): Likewise.
22667 (do_random_tests): Likewise.
22668 * string/test-memmove.c (do_one_test): Likewise.
22669 (do_test): Likewise.
22670 * string/test-memset.c (do_one_test): Likewise.
22671 (do_test): Likewise.
22672 * string/test-rawmemchr.c (do_one_test): Likewise.
22673 (do_test): Likewise.
22674 * string/test-strcasecmp.c (do_one_test): Likewise.
22675 (do_test): Likewise.
22676 * string/test-strcasestr.c (do_one_test): Likewise.
22677 (do_test): Likewise.
22678 * string/test-strcat.c (do_one_test): Likewise.
22679 (do_test): Likewise.
22680 * string/test-strchr.c (do_one_test): Likewise.
22681 (do_test): Likewise.
22682 * string/test-strcmp.c (do_one_test): Likewise.
22683 (do_test): Likewise.
22684 * string/test-strcpy.c (do_one_test): Likewise.
22685 (do_test): Likewise.
22686 * string/test-string.h: Likewise.
22687 (test_init): Likewise.
22688 * string/test-strlen.c (do_one_test): Likewise.
22689 (do_test): Likewise.
22690 * string/test-strncasecmp.c (do_one_test): Likewise.
22691 (do_test): Likewise.
22692 * string/test-strncat.c (do_one_test): Likewise.
22693 (do_test): Likewise.
22694 * string/test-strncmp.c (do_one_test): Likewise.
22695 (do_test_limit): Likewise.
22696 (do_test): Likewise.
22697 * string/test-strncpy.c (do_one_test): Likewise.
22698 (do_test): Likewise.
22699 * string/test-strnlen.c (do_one_test): Likewise.
22700 (do_test): Likewise.
22701 * string/test-strpbrk.c (do_one_test): Likewise.
22702 (do_test): Likewise.
22703 * string/test-strrchr.c (do_one_test): Likewise.
22704 (do_test): Likewise.
22705 * string/test-strspn.c (do_one_test): Likewise.
22706 (do_test): Likewise.
22707 * string/test-strstr.c (do_one_test): Likewise.
22708 (do_test): Likewise.
22709
97020474
SP
22710 * benchtests/Makefile (string-bench): Add string benchmarks.
22711 * benchtests/bench-bcopy-ifunc.c: New file.
22712 * benchtests/bench-bcopy.c: New file.
22713 * benchtests/bench-bzero-ifunc.c: New file.
22714 * benchtests/bench-bzero.c: New file.
22715 * benchtests/bench-memccpy-ifunc.c: New file.
22716 * benchtests/bench-memccpy.c: New file.
22717 * benchtests/bench-memchr-ifunc.c: New file.
22718 * benchtests/bench-memchr.c: New file.
22719 * benchtests/bench-memcmp-ifunc.c: New file.
22720 * benchtests/bench-memcmp.c: New file.
22721 * benchtests/bench-memmem-ifunc.c: New file.
22722 * benchtests/bench-memmem.c: New file.
22723 * benchtests/bench-memmove-ifunc.c: New file.
22724 * benchtests/bench-memmove.c: New file.
22725 * benchtests/bench-mempcpy-ifunc.c: New file.
22726 * benchtests/bench-mempcpy.c: New file.
22727 * benchtests/bench-memset-ifunc.c: New file.
22728 * benchtests/bench-memset.c: New file.
22729 * benchtests/bench-rawmemchr-ifunc.c: New file.
22730 * benchtests/bench-rawmemchr.c: New file.
22731 * benchtests/bench-stpcpy-ifunc.c: New file.
22732 * benchtests/bench-stpcpy.c: New file.
22733 * benchtests/bench-stpncpy-ifunc.c: New file.
22734 * benchtests/bench-stpncpy.c: New file.
22735 * benchtests/bench-strcasecmp-ifunc.c: New file.
22736 * benchtests/bench-strcasecmp.c: New file.
22737 * benchtests/bench-strcasestr-ifunc.c: New file.
22738 * benchtests/bench-strcasestr.c: New file.
22739 * benchtests/bench-strcat-ifunc.c: New file.
22740 * benchtests/bench-strcat.c: New file.
22741 * benchtests/bench-strchr-ifunc.c: New file.
22742 * benchtests/bench-strchr.c: New file.
22743 * benchtests/bench-strchrnul-ifunc.c: New file.
22744 * benchtests/bench-strchrnul.c: New file.
22745 * benchtests/bench-strcmp-ifunc.c: New file.
22746 * benchtests/bench-strcmp.c: New file.
22747 * benchtests/bench-strcpy-ifunc.c: New file.
22748 * benchtests/bench-strcpy.c: New file.
22749 * benchtests/bench-strcspn-ifunc.c: New file.
22750 * benchtests/bench-strcspn.c: New file.
22751 * benchtests/bench-strlen-ifunc.c: New file.
22752 * benchtests/bench-strlen.c: New file.
22753 * benchtests/bench-strncasecmp-ifunc.c: New file.
22754 * benchtests/bench-strncasecmp.c: New file.
22755 * benchtests/bench-strncat-ifunc.c: New file.
22756 * benchtests/bench-strncat.c: New file.
22757 * benchtests/bench-strncmp-ifunc.c: New file.
22758 * benchtests/bench-strncmp.c: New file.
22759 * benchtests/bench-strncpy-ifunc.c: New file.
22760 * benchtests/bench-strncpy.c: New file.
22761 * benchtests/bench-strnlen-ifunc.c: New file.
22762 * benchtests/bench-strnlen.c: New file.
22763 * benchtests/bench-strpbrk-ifunc.c: New file.
22764 * benchtests/bench-strpbrk.c: New file.
22765 * benchtests/bench-strrchr-ifunc.c: New file.
22766 * benchtests/bench-strrchr.c: New file.
22767 * benchtests/bench-strspn-ifunc.c: New file.
22768 * benchtests/bench-strspn.c: New file.
22769 * benchtests/bench-strstr-ifunc.c: New file.
22770 * benchtests/bench-strstr.c: New file.
22771
c1f75dc3
SP
22772 * benchtests/Makefile: Disable parallel execution of targets.
22773 (string-bench): Add memcpy.
22774 (benchset): New variable to store a list of benchmark sets.
22775 (bench-func): Renamed from bench.
22776 (bench-set): New target.
22777 (bench): Depend on bench-func and bench-set.
22778 * benchtests/README: Add section on benchmark sets.
22779 * benchtests/bench-memcpy-ifunc.c: New file.
22780 * benchtests/bench-memcpy.c: New file.
22781 * benchtests/bench-string.h: New file.
22782
50fd745b
AS
227832013-06-11 Andreas Schwab <schwab@suse.de>
22784
22785 [BZ #15577]
22786 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22787 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22788 values in the triple.
22789 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22790 terminator in the group key.
22791
3ee7e9fe
AJ
227922013-06-11 Andreas Jaeger <aj@suse.de>
22793
22794 * po/zh_TW.po: Update Chinese (traditional) translation from
22795 translation project.
22796
89fb6835
SP
227972013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22798
22799 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22800 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22801 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22802 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22803 (clock_getcpuclockid): Likewise.
22804 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22805 Add weak_alias and libc_hidden_def.
22806 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22807 * rt/clock_gettime.c (clock_gettime): Rename to
22808 __clock_gettime. Add weak_alias and libc_hidden_def.
22809 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22810 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22811 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22812 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22813 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22814 Likewise.
22815 * rt/clock_settime.c (clock_settime): Rename to
22816 __clock_settime. Add weak_alias and libc_hidden_def.
22817 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22818
0efa6f8b
JM
228192013-06-10 Joseph Myers <joseph@codesourcery.com>
22820
b8c61b4b
JM
22821 * mach/err_boot.sub: Remove trailing whitespace.
22822 * mach/err_ipc.sub: Likewise.
22823 * mach/err_mach.sub: Likewise.
22824
0efa6f8b
JM
22825 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22826 (ROUNDING_TESTS_double): Likewise.
22827 (ROUNDING_TESTS_long_double): Likewise.
22828 (ROUNDING_TESTS): Likewise.
22829 * math/libm-test.inc: Include <math-tests.h>.
22830 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22831 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22832 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22833 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22834
50b818bf
SP
228352013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22836
22837 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22838 of assigning.
22839
60d2f8f3
JM
228402013-06-08 Joseph Myers <joseph@codesourcery.com>
22841
4902d2c3
JM
22842 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22843 otherwise empty TRANS lines.
22844 * sysdeps/gnu/errlist.c: Regenerated.
22845
60d2f8f3
JM
22846 * catgets/gencat.c (error_print): Use (void) in function
22847 definition.
22848 * crypt/crypt_util.c (__init_des): Likewise.
22849 * crypt/speeds.c (Stop): Likewise.
22850 (main): Likewise.
22851 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22852 * inet/ruserpass.c (token): Likewise.
22853 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22854 * intl/localealias.c (extend_alias_table): Likewise.
22855 * intl/plural-exp.c (init_germanic_plural): Likewise.
22856 * libio/fcloseall.c (__fcloseall): Likewise.
22857 * libio/genops.c (_IO_flush_all): Likewise.
22858 (_IO_flush_all_linebuffered): Likewise.
22859 (_IO_cleanup): Likewise.
22860 (_IO_iter_begin): Likewise.
22861 (_IO_iter_end): Likewise.
22862 (_IO_list_lock): Likewise.
22863 (_IO_list_unlock): Likewise.
22864 (_IO_list_resetlock): Likewise.
22865 * libio/getchar.c (getchar): Likewise.
22866 * libio/getchar_u.c (getchar_unlocked): Likewise.
22867 * libio/getwchar.c (getwchar): Likewise.
22868 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22869 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22870 * login/getpt.c (__getpt): Likewise.
22871 * login/tst-utmp.c (main): Likewise.
22872 * malloc/hooks.c (__malloc_check_init): Likewise.
22873 * malloc/malloc.c (__malloc_stats): Likewise.
22874 * malloc/mtrace.c (tr_break): Likewise.
22875 (mtrace): Likewise.
22876 (muntrace): Likewise.
22877 * misc/fstab.c (endfsent): Likewise.
22878 * misc/getclktck.c (__getclktck): Likewise.
22879 * misc/getdtsz.c (__getdtablesize): Likewise.
22880 * misc/gethostid.c (gethostid): Likewise.
22881 * misc/getpagesize.c (__getpagesize): Likewise.
22882 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22883 (__get_nprocs): Likewise.
22884 (__get_phys_pages): Likewise.
22885 (__get_avphys_pages): Likewise.
22886 * misc/getttyent.c (getttyent): Likewise.
22887 (setttyent): Likewise.
22888 (endttyent): Likewise.
22889 * misc/getusershell.c (getusershell): Likewise.
22890 (endusershell): Likewise.
22891 (setusershell): Likewise.
22892 (initshells): Likewise.
22893 * misc/hsearch.c (__hdestroy): Likewise.
22894 * misc/sync.c (sync): Likewise.
22895 * misc/syslog.c (closelog_internal): Likewise.
22896 (closelog): Likewise.
22897 * misc/ttyslot.c (ttyslot): Likewise.
22898 * misc/vhangup.c (vhangup): Likewise.
22899 * posix/fork.c (__fork): Likewise.
22900 * posix/getegid.c (__getegid): Likewise.
22901 * posix/geteuid.c (__geteuid): Likewise.
22902 * posix/getgid.c (__getgid): Likewise.
22903 * posix/getpid.c (__getpid): Likewise.
22904 * posix/getppid.c (__getppid): Likewise.
22905 * posix/getuid.c (__getuid): Likewise.
22906 * posix/pause.c (pause): Likewise.
22907 * posix/setpgrp.c (setpgrp): Likewise.
22908 * posix/setsid.c (__setsid): Likewise.
22909 * posix/test-vfork.c (noop): Likewise.
22910 * resolv/gethnamaddr.c (_endhtent): Likewise.
22911 (_gethtent): Likewise.
22912 (ht_endhostent): Likewise.
22913 (gethostent): Likewise.
22914 (dns_service): Likewise.
22915 * stdlib/drand48.c (drand48): Likewise.
22916 * stdlib/lrand48.c (lrand48): Likewise.
22917 * stdlib/mrand48.c (mrand48): Likewise.
22918 * stdlib/rand.c (rand): Likewise.
22919 * stdlib/random.c (__random): Likewise.
22920 * stdlib/setenv.c (clearenv): Likewise.
22921 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22922 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22923 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22924 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22925 (__get_nprocs): Likewise.
22926 (__get_phys_pages): Likewise.
22927 (__get_avphys_pages): Likewise.
22928 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22929 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22930 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22931 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22932 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22933 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22934 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22935 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22936 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22937 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22938 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22939 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22940 * sysdeps/posix/clock.c (clock): Likewise.
22941 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22942 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22943 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22944 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22945 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22946 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22947 (__get_nprocs_conf): Likewise.
22948 (__get_phys_pages): Likewise.
22949 (__get_avphys_pages): Likewise.
22950 * time/clock.c (clock): Likewise.
22951 * time/tzset.c (__tzname_max): Likewise.
22952
2e09a79a
JM
229532013-06-07 Joseph Myers <joseph@codesourcery.com>
22954
22955 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22956 (__bswap_32): Do not use "register".
22957 * crypt/crypt.c (_ufc_doit_r): Likewise.
22958 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22959 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22960 * gmon/gmon.c (__monstartup): Likewise.
22961 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22962 * hurd/hurdmalloc.c (more_memory): Likewise.
22963 (malloc): Likewise.
22964 (free): Likewise.
22965 (realloc): Likewise.
22966 (malloc_fork_prepare): Likewise.
22967 (malloc_fork_parent): Likewise.
22968 (malloc_fork_child): Likewise.
22969 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22970 (_svcauth_des): Likewise.
22971 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22972 * inet/inet_net.c (inet_network): Likewise.
22973 * inet/inet_netof.c (inet_netof): Likewise.
22974 * inet/rcmd.c (__validuser2_sa): Likewise.
22975 * io/fts.c (fts_open): Likewise.
22976 (fts_load): Likewise.
22977 (fts_close): Likewise.
22978 (fts_read): Likewise.
22979 (fts_children): Likewise.
22980 (fts_build): Likewise.
22981 (fts_stat): Likewise.
22982 (fts_sort): Likewise.
22983 (fts_alloc): Likewise.
22984 (fts_lfree): Likewise.
22985 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22986 (_IO_file_xsgetn): Likewise.
22987 (_IO_file_xsgetn_mmap): Likewise.
22988 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22989 (_IO_cookie_write): Likewise.
22990 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22991 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22992 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22993 * malloc/obstack.c (_obstack_begin): Likewise.
22994 (_obstack_begin_1): Likewise.
22995 (_obstack_newchunk): Likewise.
22996 (_obstack_allocated_p): Likewise.
22997 (obstack_free): Likewise.
22998 (_obstack_memory_used): Likewise.
22999 * misc/getttyent.c (getttynam): Likewise.
23000 (getttyent): Likewise.
23001 (skip): Likewise.
23002 (value): Likewise.
23003 * misc/getusershell.c (initshells): Likewise.
23004 * misc/syslog.c (__vsyslog_chk): Likewise.
23005 * misc/ttyslot.c (ttyslot): Likewise.
23006 * nis/nis_hash.c (__nis_hash): Likewise.
23007 * posix/fnmatch_loop.c (FCT): Likewise.
23008 * posix/getconf.c (print_all): Likewise.
23009 (main): Likewise.
23010 * posix/getopt.c (exchange): Likewise.
23011 * posix/glob.c (globfree): Likewise.
23012 (prefix_array): Likewise.
23013 (__glob_pattern_type): Likewise.
23014 * resolv/arpa/nameser.h (NS_GET16): Likewise.
23015 (NS_GET32): Likewise.
23016 (NS_PUT16): Likewise.
23017 (NS_PUT32): Likewise.
23018 * resolv/gethnamaddr.c (getanswer): Likewise.
23019 (gethostbyname2): Likewise.
23020 (gethostbyaddr): Likewise.
23021 (_gethtent): Likewise.
23022 (_gethtbyname2): Likewise.
23023 (_gethtbyaddr): Likewise.
23024 * resolv/ns_print.c (dst_s_get_int16): Likewise.
23025 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23026 * resolv/res_init.c (__res_vinit): Likewise.
23027 (net_mask): Likewise.
23028 * resolv/res_mkquery.c (outchar): Likewise.
23029 (PRINT): Likewise.
23030 * stdio-common/printf_fp.c (outchar): Likewise.
23031 (PRINT): Likewise.
23032 * stdio-common/printf_fphex.c (outchar): Likewise.
23033 (PRINT): Likewise.
23034 * stdio-common/printf_size.c (outchar): Likewise.
23035 (PRINT): Likewise.
23036 * stdio-common/test_rdwr.c (main): Likewise.
23037 * stdio-common/tfformat.c (matches): Likewise.
23038 * stdio-common/vfprintf.c (outchar): Likewise.
23039 (printf_unknown): Likewise.
23040 (buffered_vfprintf): Likewise.
23041 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23042 * stdio-common/xbug.c (AppendToBuffer): Likewise.
23043 (ReadFile): Likewise.
23044 * stdlib/qsort.c (SWAP): Likewise.
23045 (_quicksort): Likewise.
23046 * stdlib/setenv.c (__add_to_environ): Likewise.
23047 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23048 * stdlib/strtol_l.c (__strtol_l): Likewise.
23049 * stdlib/tst-strtod.c (main): Likewise.
23050 * stdlib/tst-strtol.c (main): Likewise.
23051 * stdlib/tst-strtoll.c (main): Likewise.
23052 * string/bits/string2.h (__strcmp_cc): Likewise.
23053 (__strcmp_cg): Likewise.
23054 (__strcspn_c1): Likewise.
23055 (__strcspn_c2): Likewise.
23056 (__strcspn_c3): Likewise.
23057 (__strspn_c1): Likewise.
23058 (__strspn_c2): Likewise.
23059 (__strspn_c3): Likewise.
23060 (__strsep_1c): Likewise.
23061 (__strsep_2c): Likewise.
23062 (__strsep_3c): Likewise.
23063 * string/memccpy.c (__memccpy): Likewise.
23064 * string/stpcpy.c (__stpcpy): Likewise.
23065 * string/strcmp.c (strcmp): Likewise.
23066 * string/strrchr.c (strrchr): Likewise.
23067 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23068 Likewise.
23069 * sysdeps/mach/hurd/getcwd.c
23070 (_hurd_canonicalize_directory_name_internal): Likewise.
23071 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23072 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23073 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23074 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23075 Likewise, in both definitions.
23076 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23077 definitions.
23078 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23079 64] (__bswap_64): Likewise.
23080 * time/test_time.c (main): Likewise.
23081 * time/tzfile.c (__tzfile_read): Likewise.
23082 (__tzfile_compute): Likewise.
23083 * time/tzset.c (__tzset_parse_tz): Likewise.
23084 (tzset_internal): Likewise.
23085 (compute_change): Likewise.
23086 * wcsmbs/wcscat.c (__wcscat): Likewise.
23087 * wcsmbs/wcschr.c (wcschr): Likewise.
23088 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23089 * wcsmbs/wcscspn.c (wcscspn): Likewise.
23090 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23091 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23092 * wcsmbs/wcsspn.c (wcsspn): Likewise.
23093 * wcsmbs/wcsstr.c (wcsstr): Likewise.
23094 * wcsmbs/wmemchr.c (wmemchr): Likewise.
23095 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23096 * wcsmbs/wmemset.c (wmemset): Likewise.
23097
9e54314b
JM
230982013-06-06 Joseph Myers <joseph@codesourcery.com>
23099
23100 * scripts/config.guess: Update to version 2013-05-16.
23101 * scripts/config.sub: Update to version 2013-04-24.
23102 * scripts/install-sh: Update to version 2011-11-20.07.
23103 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23104 * scripts/move-if-change: Update to version 2012-01-06 07:23.
23105
350635a5
OB
231062013-06-06 Ondřej Bílka <neleai@seznam.cz>
23107
23108 * debug/fgetws_u_chk.c: Fix leading whitespaces.
23109 * elf/sln.c: Likewise.
23110 * hurd/hurd/ioctl.h: Likewise.
23111 * hurd/hurdmalloc.c: Likewise.
23112 * hurd/xattr.c: Likewise.
23113 * include/shlib-compat.h: Likewise.
23114 * inet/ruserpass.c: Likewise.
23115 * libio/iofgets_u.c: Likewise.
23116 * libio/iofgetws_u.c: Likewise.
23117 * locale/programs/ld-identification.c: Likewise.
23118 * locale/programs/ld-time.c: Likewise.
23119 * mach/msg-destroy.c: Likewise.
23120 * nss/nss_files/files-netgrp.c: Likewise.
23121 * resolv/res_data.c: Likewise.
23122 * soft-fp/op-1.h: Likewise.
23123 * soft-fp/op-2.h: Likewise.
23124 * soft-fp/op-4.h: Likewise.
23125 * soft-fp/op-common.h: Likewise.
23126 * stdio-common/printf_fphex.c: Likewise.
23127 * stdlib/strtod_l.c: Likewise.
23128 * sunrpc/rpc/clnt.h: Likewise.
23129 * sysdeps/generic/framestate.c: Likewise.
23130 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23131 * sysdeps/i386/bsd-setjmp.S: Likewise.
23132 * sysdeps/i386/__longjmp.S: Likewise.
23133 * sysdeps/i386/setjmp.S: Likewise.
23134 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23135 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23136 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23137 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23138 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23139 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23140 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23141 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23142 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23143 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23144 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23145 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23146 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23147 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23148 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23149 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23150 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23151 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23152 * sysdeps/ieee754/support.c: Likewise.
23153 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23154 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23155 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23156 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23157 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23158 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23159 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23160 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23161 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23162 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23163 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23164 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23165 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23166 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23167 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23168 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23169 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23171
44a988af
OB
231722013-06-05 Ondřej Bílka <neleai@seznam.cz>
23173
25506f09 23174 * posix/transbug.c: Remove executable mode.
44a988af 23175
9c84384c
JM
231762013-06-05 Joseph Myers <joseph@codesourcery.com>
23177
23178 * crypt/speeds.c: Remove trailing whitespace.
23179 * dlfcn/default.c: Likewise.
23180 * elf/ifuncdep2.c: Likewise.
23181 * elf/ifuncmain1.c: Likewise.
23182 * elf/ifuncmain1vis.c: Likewise.
23183 * elf/testobj.h: Likewise.
23184 * elf/tst-stackguard1.c: Likewise.
23185 * gmon/sys/gmon.h: Likewise.
23186 * hurd/hurdmsg.c: Likewise.
23187 * hurd/new-fd.c: Likewise.
23188 * hurd/ports-get.c: Likewise.
23189 * iconvdata/ibm1008_420.c: Likewise.
23190 * inet/tst-getni1.c: Likewise.
23191 * inet/tst-getni2.c: Likewise.
23192 * libio/ioungetc.c: Likewise.
23193 * libio/wfiledoalloc.c: Likewise.
23194 * manual/libm-err-tab.pl: Likewise.
23195 * math/w_dremf.c: Likewise.
23196 * misc/ftruncate.c: Likewise.
23197 * posix/bug-glob2.c: Likewise.
23198 * posix/tst-pcre.c: Likewise.
23199 * posix/wait4.c: Likewise.
23200 * resolv/README: Likewise.
23201 * resolv/res_debug.h: Likewise.
23202 * resolv/tst-inet_ntop.c: Likewise.
23203 * setjmp/bug269-setjmp.c: Likewise.
23204 * soft-fp/extended.h: Likewise.
23205 * soft-fp/op-1.h: Likewise.
23206 * soft-fp/op-2.h: Likewise.
23207 * soft-fp/op-4.h: Likewise.
23208 * soft-fp/op-8.h: Likewise.
23209 * soft-fp/testit.c: Likewise.
23210 * stdio-common/bug16.c: Likewise.
23211 * stdlib/random.c: Likewise.
23212 * sunrpc/rpcsvc/rquota.x: Likewise.
23213 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23214 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23215 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23216 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23217 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23218 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23219 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23220 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23221 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23222 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23223 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23224 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23225 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23226 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23227 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23228 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23229 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23230 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23231 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23232 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23233 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23234 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23235 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23236 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23237 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23238 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23239 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23240 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23241 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23242 * sysdeps/ieee754/s_lib_version.c: Likewise.
23243 * sysdeps/mach/hurd/check_fds.c: Likewise.
23244 * sysdeps/mach/hurd/getsockname.c: Likewise.
23245 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23246 * sysdeps/mach/hurd/recvfrom.c: Likewise.
23247 * sysdeps/powerpc/bits/link.h: Likewise.
23248 * sysdeps/powerpc/dl-procinfo.c: Likewise.
23249 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23250 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23251 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23252 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23253 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23254 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23255 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23256 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23257 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23258 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23259 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23260 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23261 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23262 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23263 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23264 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23265 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23266 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23267 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23268 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23269 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23270 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23271 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23272 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23273 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23274 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23275 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23276 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23277 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23278 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23279 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23280 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23281 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23282 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23283 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23284 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23285 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23286 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23287 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23288 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23289 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23290 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23291 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23292 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23293 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23294 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23295 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23296 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23297 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23300 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23301 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23302 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23303 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23304 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23305 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23306 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23307 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23308 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23309 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23310 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23311 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23312 * sysdeps/powerpc/sysdep.h: Likewise.
23313 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23314 * sysdeps/s390/s390-64/sub_n.S: Likewise.
23315 * sysdeps/sh/dl-trampoline.S: Likewise.
23316 * sysdeps/sh/memset.S: Likewise.
23317 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23318 * sysdeps/sh/strlen.S: Likewise.
23319 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23320 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23321 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23322 * sysdeps/sparc/sparc32/rem.S: Likewise.
23323 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23324 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23325 * sysdeps/sparc/sparc32/strchr.S: Likewise.
23326 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23327 * sysdeps/sparc/sparc32/urem.S: Likewise.
23328 * sysdeps/sparc/sparc64/add_n.S: Likewise.
23329 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23330 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23331 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23332 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23333 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23334 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23335 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23336 * sysdeps/unix/bsd/times.c: Likewise.
23337 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23338 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23342 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23343 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23344 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23345 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23346 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23347 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23348 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23349 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23350 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23351 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23352 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23353 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23354 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23355 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23356 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23357 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23358 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23359 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23360 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23361 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23362 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23363 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23364 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23365 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23366 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23367 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23368 * sysdeps/x86_64/strcspn.S: Likewise.
23369
869378a5
RA
233702013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23371
23372 * locale/C-translit.h: Revert #include <stdint.h> because this is a
23373 generated file. Regenerate properly from gen-translit.pl.
23374 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
23375 locale/C-translit.h.
23376
840e2943
AS
233772013-06-05 Andreas Schwab <schwab@suse.de>
23378
23379 [BZ #15100]
23380 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23381 week as 6 instead of -1.
23382 * time/tst-strptime.c (day_tests): Add test case.
23383
4c60cb0c
SP
233842013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23385
23386 * sysdeps/generic/math_private.h
23387 (libc_feholdexcept_setround_53bit): Replace with
23388 libc_feholdsetround_53bit.
23389 (libc_feupdateenv_53bit): Replace with
23390 libc_feresetround_53bit.
23391 (SET_RESTORE_ROUND_53BIT): Adjust.
23392
d180203e
SP
233932013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23394
96df079a
SP
23395 * string/test-strchrnul.c: Add copyright header.
23396
d180203e
SP
23397 * posix/tst-getaddrinfo4.c: Increase test timeout.
23398
8b0ccb2d
CD
233992013-06-03 Carlos O'Donell <carlos@redhat.com>
23400
23401 [BZ #15536]
23402 * math/libm-test.inc (MAX_EXP): Remove
23403 (MIN_EXP): Define.
23404 (ulp): Use MIN_EXP - MANT_DIG.
23405 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23406
3b3c4d40
CD
234072013-05-31 Carlos O'Donell <carlos@redhat.com>
23408
23409 * po/be.po: Revert last change.
23410 * po/zh_CN.po: Likewise.
23411 * po/header.pot: Likewise.
23412
fab7ce3f
JM
234132013-05-31 Joseph Myers <joseph@codesourcery.com>
23414
23415 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23416 link-libc-deps to empty as target-specific variable.
23417 * Makerules (link-libc-args): New variable.
23418 (libc-for-link): Likewise.
23419 (link-libc-deps): Likewise.
23420 (lib%.so): Depend on $(link-libc-deps). Link with
23421 $(link-libc-args).
23422 (build-module): Link with $(link-libc-args).
23423 (build-module-asneeded): Likewise.
23424 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23425 list of objects.
23426 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23427 target-specific variable.
23428 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23429 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23430 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23431 libc.
23432 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23433 libc and ld.so.
23434 ($(objpfx)libpcprofile.so): Likewise.
23435 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23436 libc_nonshared.a.
23437 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23438 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23439 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23440 $(link-libc-deps).
23441 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23442 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23443 * login/Makefile ($(objpfx)libutil.so): Likewise.
23444 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23445 * math/Makefile ($(objpfx)libm.so): Likewise.
23446 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23447 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23448 variable instead of depending directly on libc.
23449 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23450 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23451 $(link-libc-deps).
23452 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23453 libc.
23454 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23455 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23456 ($(objpfx)libanl.so): Likewise.
23457 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23458 ld.so.
23459 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23460 $(link-libc-deps).
23461 * sysdeps/i386/fpu/Makefile: Remove file.
23462 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23463 ($(objpfx)libm.so): Remove dependency on ld.so.
23464
eca5920c
PF
234652013-05-30 Patsy Franklin <pfrankli@redhat.com>
23466
23467 [BZ # 15553]
23468 * nis/yp_xdr.c (XDRMAXNAME): Define.
23469 (XDRMAXRECORD): Define.
23470 (xdr_domainname): Use XDRMAXNAME.
23471 (xdr_mapname): Likewise.
23472 (xdr_peername): Likewise.
23473 (xdr_keydat): Use XDRMAXRECORD.
23474 (xdr_valdat): Likewise.
23475
234762013-05-30 Jeff Law <law@redhat.com>
96945714
JL
23477
23478 [BZ #14256]
23479 * manual/errno.texi (ESTALE): Update to account for more than
23480 just NFS file systems.
23481 * sysdeps/gnu/errlist.c: Regenerated.
23482
b9375348
SP
234832013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23484
23485 [BZ #15465]
23486 * elf/Makefile (tests): Add tst-null-argv.
23487 (modules-names): Add tst-null-argv-lib.
23488 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23489 (tst-null-argv-ENV): Set environment for tst-null-argv.
23490 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23491 (RTLD_PROGNAME): New macro.
23492 * elf/tst-null-argv.c: New test case.
23493 * elf/tst-null-argv-lib.c: Library for test case.
23494 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23495 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23496 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23497 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23498 * elf/dl-init.c (call_init): Likewise.
23499 (_dl_init): Likewise.
23500 * elf/dl-load.c (print_search_path): Likewise.
23501 (_dl_map_object): Likewise.
23502 * elf/dl-lookup.c (do_lookup_x): Likewise.
23503 (add_dependency): Likewise.
23504 (_dl_lookup_symbol_x): Likewise.
23505 (_dl_debug_bindings): Likewise.
23506 * elf/dl-open.c (_dl_show_scope): Likewise.
23507 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23508 * elf/dl-version.c (match_symbol): Likewise.
23509 (_dl_check_map_versions): Likewise.
23510 * elf/rtld.c (dl_main): Likewise.
23511 (print_unresolved): Use RTLD_PROGNAME.
23512 (print_missing_version): Likewise.
23513 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23514 (elf_machine_rela): Likewise.
23515 * sysdeps/powerpc/powerpc32/dl-machine.c
23516 (__process_machine_rela): Likewise.
23517 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23518 Likewise.
23519 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23520 Likewise.
23521 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23522 Likewise.
23523 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23524 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23525 Likewise.
23526 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23527 Likewise.
23528 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23529
8a9f20c8
CD
235302013-05-28 Carlos O'Donell <carlos@redhat.com>
23531
23532 * po/be.po: Add descriptive title.
23533 * po/zh_CN.po: Likewise.
23534 * po/header.pot: Likewise.
23535
0e60d68e
MF
235362013-05-28 Mike Frysinger <vapier@gentoo.org>
23537
23538 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23539 error message.
23540 (enlarge_archive): Likewise.
23541
56b672e9
BN
235422013-05-28 Ben North <ben@redfrontdoor.org>
23543
23544 * manual/arith.texi (frexp): It is the magnitude of the return
23545 value which lies in [0.5, 1), not the return value itself.
23546
5e056687
AZ
235472013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23548
23549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23550
2b66ef5d
TS
235512013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23552
528c2405
TS
23553 * stdio-common/bug26.c (main): Correct fscanf template.
23554
07b4c13d
TS
23555 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23556 declare _dl_skip_args.
23557
ec9dd97c
TS
23558 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23559 Don't declare.
23560
2b66ef5d
TS
23561 * manual/platform.texi: Add missing @end deftypefun.
23562
4f8dfe27
JM
235632013-05-24 Joseph Myers <joseph@codesourcery.com>
23564
0323d086
JM
23565 [BZ #15529]
23566 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23567 bit of mantissa of 2^16382.
23568 * math/libm-test.inc (hypot_test_data): Add more tests.
23569
dd4259b9
JM
23570 * math/libm-test.inc: Add drem and pow10 to list of tested
23571 functions.
23572 (pow10_test): New function.
23573 (drem_test): Likewise.
23574 (drem_test_tonearest): Likewise.
23575 (drem_test_towardzero): Likewise.
23576 (drem_test_downward): Likewise.
23577 (drem_test_upward): Likewise.
23578 (main): Call the new functions.
23579
4f8dfe27
JM
23580 * math/libm-test.inc (finite_test_data): Remove.
23581 (finite_test): Run tests from isfinite_test_data.
23582 (gamma_test_data): Remove.
23583 (gamma_test): Run tests from lgamma_test_data.
23584 * sysdeps/i386/fpu/libm-test-ulps: Update.
23585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23586
d116b7c4
AZ
235872013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23588
23589 * manual/platform.texi: Add PowerPC PPR function set documentation.
23590 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23591 implementation.
23592
e96e3767
CD
235932013-05-24 Carlos O'Donell <carlos@redhat.com>
23594
23595 * math/libm-test.inc (MAX_EXP): Define.
23596 (ULPDIFF): Define.
23597 (ulp): New function.
23598 (check_float_internal): Use ULPDIFF.
23599 (cpow_test): Disable failing test.
23600 (check_ulp): Test ulp() implemetnation.
23601 (main): Call check_ulp before starting tests.
23602
b679a606
JM
236032013-05-24 Joseph Myers <joseph@codesourcery.com>
23604
e8bdba36
JM
23605 * math/gen-libm-test.pl (generate_testfile): Do not handle
23606 START_DATA and END_DATA.
23607 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23608 END_DATA.
23609 (acos_tonearest_test_data): Likewise.
23610 (acos_towardzero_test_data): Likewise.
23611 (acos_downward_test_data): Likewise.
23612 (acos_upward_test_data): Likewise.
23613 (acosh_test_data): Likewise.
23614 (asin_test_data): Likewise.
23615 (asin_tonearest_test_data): Likewise.
23616 (asin_towardzero_test_data): Likewise.
23617 (asin_downward_test_data): Likewise.
23618 (asin_upward_test_data): Likewise.
23619 (asinh_test_data): Likewise.
23620 (atan_test_data): Likewise.
23621 (atanh_test_data): Likewise.
23622 (atan2_test_data): Likewise.
23623 (cabs_test_data): Likewise.
23624 (cacos_test_data): Likewise.
23625 (cacosh_test_data): Likewise.
23626 (carg_test_data): Likewise.
23627 (casin_test_data): Likewise.
23628 (casinh_test_data): Likewise.
23629 (catan_test_data): Likewise.
23630 (catanh_test_data): Likewise.
23631 (cbrt_test_data): Likewise.
23632 (ccos_test_data): Likewise.
23633 (ccosh_test_data): Likewise.
23634 (ceil_test_data): Likewise.
23635 (cexp_test_data): Likewise.
23636 (cimag_test_data): Likewise.
23637 (clog_test_data): Likewise.
23638 (clog10_test_data): Likewise.
23639 (conj_test_data): Likewise.
23640 (copysign_test_data): Likewise.
23641 (cos_test_data): Likewise.
23642 (cos_tonearest_test_data): Likewise.
23643 (cos_towardzero_test_data): Likewise.
23644 (cos_downward_test_data): Likewise.
23645 (cos_upward_test_data): Likewise.
23646 (cosh_test_data): Likewise.
23647 (cosh_tonearest_test_data): Likewise.
23648 (cosh_towardzero_test_data): Likewise.
23649 (cosh_downward_test_data): Likewise.
23650 (cosh_upward_test_data): Likewise.
23651 (cpow_test_data): Likewise.
23652 (cproj_test_data): Likewise.
23653 (creal_test_data): Likewise.
23654 (csin_test_data): Likewise.
23655 (csinh_test_data): Likewise.
23656 (csqrt_test_data): Likewise.
23657 (ctan_test_data): Likewise.
23658 (ctan_tonearest_test_data): Likewise.
23659 (ctan_towardzero_test_data): Likewise.
23660 (ctan_downward_test_data): Likewise.
23661 (ctan_upward_test_data): Likewise.
23662 (ctanh_test_data): Likewise.
23663 (ctanh_tonearest_test_data): Likewise.
23664 (ctanh_towardzero_test_data): Likewise.
23665 (ctanh_downward_test_data): Likewise.
23666 (ctanh_upward_test_data): Likewise.
23667 (erf_test_data): Likewise.
23668 (erfc_test_data): Likewise.
23669 (exp_test_data): Likewise.
23670 (exp_tonearest_test_data): Likewise.
23671 (exp_towardzero_test_data): Likewise.
23672 (exp_downward_test_data): Likewise.
23673 (exp_upward_test_data): Likewise.
23674 (exp10_test_data): Likewise.
23675 (exp2_test_data): Likewise.
23676 (expm1_test_data): Likewise.
23677 (fabs_test_data): Likewise.
23678 (fdim_test_data): Likewise.
23679 (finite_test_data): Likewise.
23680 (floor_test_data): Likewise.
23681 (fma_test_data): Likewise.
23682 (fma_towardzero_test_data): Likewise.
23683 (fma_downward_test_data): Likewise.
23684 (fma_upward_test_data): Likewise.
23685 (fmax_test_data): Likewise.
23686 (fmin_test_data): Likewise.
23687 (fmod_test_data): Likewise.
23688 (fpclassify_test_data): Likewise.
23689 (frexp_test_data): Likewise.
23690 (gamma_test_data): Likewise.
23691 (hypot_test_data): Likewise.
23692 (ilogb_test_data): Likewise.
23693 (isfinite_test_data): Likewise.
23694 (isgreater_test_data): Likewise.
23695 (isgreaterequal_test_data): Likewise.
23696 (isinf_test_data): Likewise.
23697 (isless_test_data): Likewise.
23698 (islessequal_test_data): Likewise.
23699 (islessgreater_test_data): Likewise.
23700 (isnan_test_data): Likewise.
23701 (isnormal_test_data): Likewise.
23702 (issignaling_test_data): Likewise.
23703 (isunordered_test_data): Likewise.
23704 (j0_test_data): Likewise.
23705 (j1_test_data): Likewise.
23706 (jn_test_data): Likewise.
23707 (ldexp_test_data): Likewise.
23708 (lgamma_test_data): Likewise.
23709 (lrint_test_data): Likewise.
23710 (lrint_tonearest_test_data): Likewise.
23711 (lrint_towardzero_test_data): Likewise.
23712 (lrint_downward_test_data): Likewise.
23713 (lrint_upward_test_data): Likewise.
23714 (llrint_test_data): Likewise.
23715 (llrint_tonearest_test_data): Likewise.
23716 (llrint_towardzero_test_data): Likewise.
23717 (llrint_downward_test_data): Likewise.
23718 (llrint_upward_test_data): Likewise.
23719 (log_test_data): Likewise.
23720 (log10_test_data): Likewise.
23721 (log1p_test_data): Likewise.
23722 (log2_test_data): Likewise.
23723 (logb_test_data): Likewise.
23724 (logb_downward_test_data): Likewise.
23725 (lround_test_data): Likewise.
23726 (llround_test_data): Likewise.
23727 (modf_test_data): Likewise.
23728 (nearbyint_test_data): Likewise.
23729 (nextafter_test_data): Likewise.
23730 (nexttoward_test_data): Likewise.
23731 (pow_test_data): Likewise.
23732 (pow_tonearest_test_data): Likewise.
23733 (pow_towardzero_test_data): Likewise.
23734 (pow_downward_test_data): Likewise.
23735 (pow_upward_test_data): Likewise.
23736 (remainder_test_data): Likewise.
23737 (remainder_tonearest_test_data): Likewise.
23738 (remainder_towardzero_test_data): Likewise.
23739 (remainder_downward_test_data): Likewise.
23740 (remainder_upward_test_data): Likewise.
23741 (remquo_test_data): Likewise.
23742 (rint_test_data): Likewise.
23743 (rint_tonearest_test_data): Likewise.
23744 (rint_towardzero_test_data): Likewise.
23745 (rint_downward_test_data): Likewise.
23746 (rint_upward_test_data): Likewise.
23747 (round_test_data): Likewise.
23748 (scalb_test_data): Likewise.
23749 (scalbn_test_data): Likewise.
23750 (scalbln_test_data): Likewise.
23751 (signbit_test_data): Likewise.
23752 (sin_test_data): Likewise.
23753 (sin_tonearest_test_data): Likewise.
23754 (sin_towardzero_test_data): Likewise.
23755 (sin_downward_test_data): Likewise.
23756 (sin_upward_test_data): Likewise.
23757 (sincos_test_data): Likewise.
23758 (sinh_test_data): Likewise.
23759 (sinh_tonearest_test_data): Likewise.
23760 (sinh_towardzero_test_data): Likewise.
23761 (sinh_downward_test_data): Likewise.
23762 (sinh_upward_test_data): Likewise.
23763 (sqrt_test_data): Likewise.
23764 (tan_test_data): Likewise.
23765 (tan_tonearest_test_data): Likewise.
23766 (tan_towardzero_test_data): Likewise.
23767 (tan_downward_test_data): Likewise.
23768 (tan_upward_test_data): Likewise.
23769 (tanh_test_data): Likewise.
23770 (tgamma_test_data): Likewise.
23771 (trunc_test_data): Likewise.
23772 (y0_test_data): Likewise.
23773 (y1_test_data): Likewise.
23774 (yn_test_data): Likewise.
23775 (significand_test_data): Likewise.
23776
b679a606
JM
23777 * math/gen-libm-test.pl (@functions): Remove variable.
23778 (generate_testfile): Don't handle START and END lines.
23779 * math/libm-test.inc (START): New macro.
23780 (END): Likewise.
23781 (END_COMPLEX): Likewise.
23782 (acos_test): Use END macro without arguments.
23783 (acos_test_tonearest): Likewise.
23784 (acos_test_towardzero): Likewise.
23785 (acos_test_downward): Likewise.
23786 (acos_test_upward): Likewise.
23787 (acosh_test): Likewise.
23788 (asin_test): Likewise.
23789 (asin_test_tonearest): Likewise.
23790 (asin_test_towardzero): Likewise.
23791 (asin_test_downward): Likewise.
23792 (asin_test_upward): Likewise.
23793 (asinh_test): Likewise.
23794 (atan_test): Likewise.
23795 (atanh_test): Likewise.
23796 (atan2_test): Likewise.
23797 (cabs_test): Likewise.
23798 (cacos_test): Use END_COMPLEX macro without arguments.
23799 (cacosh_test): Likewise.
23800 (carg_test): Use END macro without arguments.
23801 (casin_test): Use END_COMPLEX macro without arguments.
23802 (casinh_test): Likewise.
23803 (catan_test): Likewise.
23804 (catanh_test): Likewise.
23805 (cbrt_test): Use END macro without arguments.
23806 (ccos_test): Use END_COMPLEX macro without arguments.
23807 (ccosh_test): Likewise.
23808 (ceil_test): Use END macro without arguments.
23809 (cexp_test): Use END_COMPLEX macro without arguments.
23810 (cimag_test): Use END macro without arguments.
23811 (clog_test): Use END_COMPLEX macro without arguments.
23812 (clog10_test): Likewise.
23813 (conj_test): Likewise.
23814 (copysign_test): Use END macro without arguments.
23815 (cos_test): Likewise.
23816 (cos_test_tonearest): Likewise.
23817 (cos_test_towardzero): Likewise.
23818 (cos_test_downward): Likewise.
23819 (cos_test_upward): Likewise.
23820 (cosh_test): Likewise.
23821 (cosh_test_tonearest): Likewise.
23822 (cosh_test_towardzero): Likewise.
23823 (cosh_test_downward): Likewise.
23824 (cosh_test_upward): Likewise.
23825 (cpow_test): Use END_COMPLEX macro without arguments.
23826 (cproj_test): Likewise.
23827 (creal_test): Use END macro without arguments.
23828 (csin_test): Use END_COMPLEX macro without arguments.
23829 (csinh_test): Likewise.
23830 (csqrt_test): Likewise.
23831 (ctan_test): Likewise.
23832 (ctan_test_tonearest): Likewise.
23833 (ctan_test_towardzero): Likewise.
23834 (ctan_test_downward): Likewise.
23835 (ctan_test_upward): Likewise.
23836 (ctanh_test): Likewise.
23837 (ctanh_test_tonearest): Likewise.
23838 (ctanh_test_towardzero): Likewise.
23839 (ctanh_test_downward): Likewise.
23840 (ctanh_test_upward): Likewise.
23841 (erf_test): Use END macro without arguments.
23842 (erfc_test): Likewise.
23843 (exp_test): Likewise.
23844 (exp_test_tonearest): Likewise.
23845 (exp_test_towardzero): Likewise.
23846 (exp_test_downward): Likewise.
23847 (exp_test_upward): Likewise.
23848 (exp10_test): Likewise.
23849 (exp2_test): Likewise.
23850 (expm1_test): Likewise.
23851 (fabs_test): Likewise.
23852 (fdim_test): Likewise.
23853 (finite_test): Likewise.
23854 (floor_test): Likewise.
23855 (fma_test): Likewise.
23856 (fma_test_towardzero): Likewise.
23857 (fma_test_downward): Likewise.
23858 (fma_test_upward): Likewise.
23859 (fmax_test): Likewise.
23860 (fmin_test): Likewise.
23861 (fmod_test): Likewise.
23862 (fpclassify_test): Likewise.
23863 (frexp_test): Likewise.
23864 (gamma_test): Likewise.
23865 (hypot_test): Likewise.
23866 (ilogb_test): Likewise.
23867 (isfinite_test): Likewise.
23868 (isgreater_test): Likewise.
23869 (isgreaterequal_test): Likewise.
23870 (isinf_test): Likewise.
23871 (isless_test): Likewise.
23872 (islessequal_test): Likewise.
23873 (islessgreater_test): Likewise.
23874 (isnan_test): Likewise.
23875 (isnormal_test): Likewise.
23876 (issignaling_test): Likewise.
23877 (isunordered_test): Likewise.
23878 (j0_test): Likewise.
23879 (j1_test): Likewise.
23880 (jn_test): Likewise.
23881 (ldexp_test): Likewise.
23882 (lgamma_test): Likewise.
23883 (lrint_test): Likewise.
23884 (lrint_test_tonearest): Likewise.
23885 (lrint_test_towardzero): Likewise.
23886 (lrint_test_downward): Likewise.
23887 (lrint_test_upward): Likewise.
23888 (llrint_test): Likewise.
23889 (llrint_test_tonearest): Likewise.
23890 (llrint_test_towardzero): Likewise.
23891 (llrint_test_downward): Likewise.
23892 (llrint_test_upward): Likewise.
23893 (log_test): Likewise.
23894 (log10_test): Likewise.
23895 (log1p_test): Likewise.
23896 (log2_test): Likewise.
23897 (logb_test): Likewise.
23898 (logb_test_downward): Likewise.
23899 (lround_test): Likewise.
23900 (llround_test): Likewise.
23901 (modf_test): Likewise.
23902 (nearbyint_test): Likewise.
23903 (nextafter_test): Likewise.
23904 (nexttoward_test): Likewise.
23905 (pow_test): Likewise.
23906 (pow_test_tonearest): Likewise.
23907 (pow_test_towardzero): Likewise.
23908 (pow_test_downward): Likewise.
23909 (pow_test_upward): Likewise.
23910 (remainder_test): Likewise.
23911 (remainder_test_tonearest): Likewise.
23912 (remainder_test_towardzero): Likewise.
23913 (remainder_test_downward): Likewise.
23914 (remainder_test_upward): Likewise.
23915 (remquo_test): Likewise.
23916 (rint_test): Likewise.
23917 (rint_test_tonearest): Likewise.
23918 (rint_test_towardzero): Likewise.
23919 (rint_test_downward): Likewise.
23920 (rint_test_upward): Likewise.
23921 (round_test): Likewise.
23922 (scalb_test): Likewise.
23923 (scalbn_test): Likewise.
23924 (scalbln_test): Likewise.
23925 (signbit_test): Likewise.
23926 (sin_test): Likewise.
23927 (sin_test_tonearest): Likewise.
23928 (sin_test_towardzero): Likewise.
23929 (sin_test_downward): Likewise.
23930 (sin_test_upward): Likewise.
23931 (sincos_test): Likewise.
23932 (sinh_test): Likewise.
23933 (sinh_test_tonearest): Likewise.
23934 (sinh_test_towardzero): Likewise.
23935 (sinh_test_downward): Likewise.
23936 (sinh_test_upward): Likewise.
23937 (sqrt_test): Likewise.
23938 (tan_test): Likewise.
23939 (tan_test_tonearest): Likewise.
23940 (tan_test_towardzero): Likewise.
23941 (tan_test_downward): Likewise.
23942 (tan_test_upward): Likewise.
23943 (tanh_test): Likewise.
23944 (tgamma_test): Likewise.
23945 (trunc_test): Likewise.
23946 (y0_test): Likewise.
23947 (y1_test): Likewise.
23948 (yn_test): Likewise.
23949 (significand_test): Likewise.
23950
bae143d2
OB
239512013-05-24 Ondřej Bílka <neleai@seznam.cz>
23952
23953 [BZ #15381]
23954 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23955
9323d39b
EM
239562013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23957
d4ea44a0 23958 [BZ #14894]
9323d39b
EM
23959 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23960 __ppc_mdoio and __ppc_mdoom.
23961 * manual/platform.texi: Document new functions __ppc_yield,
23962 __ppc_mdoio and __ppc_mdoom.
23963
13e23af7
CD
239642013-05-22 Carlos O'Donell <carlos@redhat.com>
23965
23966 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23967 (main): Mention "tls" pseudo-hwcap is legacy.
23968 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23969
351fe550
JM
239702013-05-22 Joseph Myers <joseph@codesourcery.com>
23971
23972 * math/gen-libm-test.pl (parse_args): Output only string of
23973 arguments as text for test name, not full call or descriptions of
23974 tests for extra outputs.
23975 (generate_testfile): Do not pass function name to parse_args.
23976 Generate this_func variable from START.
23977 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23978 field to arg_str.
23979 (struct test_ff_f_data): Likewise.
23980 (test_ff_f_data_nexttoward): Likewise.
23981 (struct test_fi_f_data): Likewise.
23982 (struct test_fl_f_data): Likewise.
23983 (struct test_if_f_data): Likewise.
23984 (struct test_fff_f_data): Likewise.
23985 (struct test_c_f_data): Likewise.
23986 (struct test_f_f1_data): Likewise. Remove field extra_name.
23987 (struct test_fF_f1_data): Likewise.
23988 (struct test_ffI_f1_data): Likewise.
23989 (struct test_c_c_data): Rename test_name field to arg_str.
23990 (struct test_cc_c_data): Likewise.
23991 (struct test_f_i_data): Likewise.
23992 (struct test_ff_i_data): Likewise.
23993 (struct test_f_l_data): Likewise.
23994 (struct test_f_L_data): Likewise.
23995 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23996 and extra2_name.
23997 (COMMON_TEST_SETUP): New macro.
23998 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23999 (COMMON_TEST_CLEANUP): Likewise.
24000 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24001 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
24002 macros.
24003 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24004 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
24005 macros.
24006 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24007 (RUN_TEST_fff_f): Take argument string. Call new setup and
24008 cleanup macros.
24009 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24010 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
24011 macros.
24012 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24013 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
24014 macros.
24015 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24016 (RUN_TEST_fF_f1): Take argument string. Call new setup and
24017 cleanup macros.
24018 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24019 (RUN_TEST_fI_f1): Take argument string. Call new setup and
24020 cleanup macros.
24021 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24022 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
24023 cleanup macros.
24024 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24025 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
24026 macros.
24027 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24028 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
24029 macros.
24030 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24031 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
24032 macros.
24033 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24034 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
24035 cleanup macros.
24036 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24037 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
24038 cleanup macros.
24039 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24040 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
24041 macros.
24042 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24043 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
24044 cleanup macros.
24045 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24046 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
24047 macros.
24048 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24049 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
24050 macros.
24051 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24052 (RUN_TEST_fFF_11): Take argument string. Call new setup and
24053 cleanup macros.
24054 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24055
85118d4d
EBM
240562013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24057
24058 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24059 to _sifields.sigfault.
24060 (si_addr_lsb): Define new macro.
24061 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24062 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24063 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24064
7a44c18f
CD
240652013-05-03 Carlos O'Donell <carlos at redhat.com>
24066
24067 [BZ #15441]
24068 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24069 returns -1.
24070 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24071 null return -1.
24072 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24073 loading the domain.
24074
b50a7181
JM
240752013-05-22 Joseph Myers <joseph@codesourcery.com>
24076
24077 * math/gen-libm-test.pl (parse_args): Do not include expected
24078 result in test name.
24079 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24080 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24081 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24082 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24083 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24085
051063c8
SP
240862013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24087
3ce9e010
SP
24088 * benchtests/Makefile: Sort function entries.
24089
051063c8
SP
24090 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24091 tanh, asinh, acosh, atanh.
24092 * benchtests/acos-inputs: New file.
24093 * benchtests/acosh-inputs: New file.
24094 * benchtests/asin-inputs: New file.
24095 * benchtests/asinh-inputs: New file.
24096 * benchtests/atanh-inputs: New file.
24097 * benchtests/cosh-inputs: New file.
24098 * benchtests/log-inputs: New file.
24099 * benchtests/sinh-inputs: New file.
24100 * benchtests/tanh-inputs: New file.
24101
47c22455
DL
241022013-05-21 Dmitry V. Levin <ldv@altlinux.org>
24103
24104 [BZ #15339]
24105 * posix/tst-getaddrinfo4.c: New test.
24106 * posix/Makefile (tests): Add it.
24107
3d04f5db
SP
241082013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24109
24110 [BZ #15339]
24111 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24112 when no services were used.
24113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24114 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24115
d5dd6189
AS
241162013-05-21 Andreas Schwab <schwab@suse.de>
24117
24118 [BZ #15014]
24119 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24120 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24121 successful.
24122 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24123 redundant variable declarations and reallocation of buffer when
24124 parsing as IPv6 address. Always set NSS status when called from
24125 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
24126 buffer too small. Correct computation of needed size.
24127 * nss/Makefile (tests): Add test-digits-dots.
24128 * nss/test-digits-dots.c: New test.
24129
fef94eab
SP
241302013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24131
24132 * benchtests/Makefile: Remove instructions for adding
24133 benchmark tests.
24134 * benchtests/README: New file to explain how to execute and
24135 enhance the benchmark tests.
24136
e39adf43
AS
241372013-05-21 Andreas Schwab <schwab@suse.de>
24138
24139 [BZ #15493]
24140 * setjmp/Makefile (tests): Add tst-sigsetjmp.
24141 * setjmp/tst-sigsetjmp.c: New test.
24142
b2b671b6
OB
241432013-05-20 Ondřej Bílka <neleai@seznam.cz>
24144
24145 * sysdeps/x86_64/memset.S (memset): New implementation.
24146 (__bzero): Likewise.
24147 (__memset_tail): New function.
24148
2d48b41c
OB
241492013-05-20 Ondřej Bílka <neleai@seznam.cz>
24150
24151 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24152 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24153 __memcpy_sse2_unaligned ifunc selection.
24154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24155 Add memcpy-sse2-unaligned.S.
24156 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24157 Add: __memcpy_sse2_unaligned.
24158
f16cc3eb
JM
241592013-05-19 Joseph Myers <joseph@codesourcery.com>
24160
3e694268
JM
24161 [BZ #15490]
24162 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24163 math_force_eval before restoring floating-point envrionment.
24164 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24165 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24166 Likewise.
24167 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24168 <math_private.h>.
24169 (__nearbyintl): Use math_force_eval before restoring
24170 floating-point environment.
24171 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24172
db62a907
JM
24173 * math/gen-libm-test.pl (special_functions): Remove.
24174 (parse_args): Don't handle TEST_extra. Handle functions with no
24175 return value.
24176 * math/libm-test.inc (struct test_sincos_data): Replace with
24177 struct test_fFF_11_data.
24178 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24179 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24180 (sincos_test_data): Change element type to struct
24181 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
24182 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24183 RUN_TEST_LOOP_sincos.
24184 * math/README.libm-test: Don't mention special handling of
24185 individual functions.
24186 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24187 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24188 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24189 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24190 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24192
f16cc3eb
JM
24193 * math/gen-libm-test.pl (get_variable): Remove function.
24194 (parse_args): Don't show pointer parameters to call in test
24195 names. Use "extra output N" in test names for extra outputs
24196 rather than naming variables.
24197
3779b5b6
JM
241982013-05-18 Joseph Myers <joseph@codesourcery.com>
24199
2ee094ff
JM
24200 [BZ #15488]
24201 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24202 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24203 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24204 double tests.
24205 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24206 disable.
24207 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24208 check_long_double.
24209
3779b5b6
JM
24210 * math/gen-libm-test.pl (@tests): Remove variable.
24211 ($count): Likewise.
24212 (new_test): Remove function.
24213 (show_exceptions): New function.
24214 (special_functions): Use show_exceptions instead of new_test.
24215 (parse_args): Likewise.
24216 (generate_testfile): Pass only function name in generated call to
24217 print_max_error or print_complex_max_error.
24218 (get_ulps): Do not handle complex tests specially.
24219 (output_test): Rename to ...
24220 (get_all_ulps_for_test): ... this. Return a string rather than
24221 printing to a file. Require ulps to be present.
24222 (output_ulps): Generate arrays rather than #defines.
24223 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24224 (struct ulp_data): New type.
24225 (BUILD_COMPLEX_ULP): Remove macro.
24226 (compare_ulp_data): New function.
24227 (find_ulps): Likewise.
24228 (find_test_ulps): Likewise.
24229 (find_function_ulps): Likewise.
24230 (find_complex_function_ulps): Likewise.
24231 (print_max_error): Determine allowed ulps using
24232 find_function_ulps.
24233 (print_complex_max_error): Determine allowed ulps using
24234 find_complex_function_ulps.
24235 (check_float_internal): Determine max ulps using find_test_ulps.
24236 (check_float): Do not take max_ulp parameter. Update call to
24237 check_float_internal.
24238 (check_complex): Likewise.
24239 (check_int): Do not take max_ulp parameter.
24240 (check_long): Likewise.
24241 (check_bool): Likewise.
24242 (check_longlong): Likewise.
24243 (struct test_f_f_data): Remove max_ulp field.
24244 (struct test_ff_f_data): Likewise.
24245 (struct test_ff_f_data_nexttoward): Likewise.
24246 (struct test_fi_f_data): Likewise.
24247 (struct test_fl_f_data): Likewise.
24248 (struct test_if_f_data): Likewise.
24249 (struct test_fff_f_data): Likewise.
24250 (struct test_c_f_data): Likewise.
24251 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24252 (struct test_fF_f1_data): Likewise.
24253 (struct test_ffI_f1_data): Likewise.
24254 (struct test_c_c_data): Remove max_ulp field.
24255 (struct test_cc_c_data): Likewise.
24256 (struct test_f_i_data): Likewise.
24257 (struct test_ff_i_data): Likewise.
24258 (struct test_f_l_data): Likewise.
24259 (struct test_f_L_data): Likewise.
24260 (struct test_sincos_data): Likewise.
24261 (RUN_TEST_f_f): Do not handle ulps.
24262 (RUN_TEST_LOOP_f_f): Likewise.
24263 (RUN_TEST_2_f): Likewise.
24264 (RUN_TEST_LOOP_2_f): Likewise.
24265 (RUN_TEST_fff_f): Likewise.
24266 (RUN_TEST_LOOP_fff_f): Likewise.
24267 (RUN_TEST_c_f): Likewise.
24268 (RUN_TEST_LOOP_c_f): Likewise.
24269 (RUN_TEST_f_f1): Likewise.
24270 (RUN_TEST_LOOP_f_f1): Likewise.
24271 (RUN_TEST_fF_f1): Likewise.
24272 (RUN_TEST_LOOP_fF_f1): Likewise.
24273 (RUN_TEST_fI_f1): Likewise.
24274 (RUN_TEST_LOOP_fI_f1): Likewise.
24275 (RUN_TEST_ffI_f1): Likewise.
24276 (RUN_TEST_LOOP_ffI_f1): Likewise.
24277 (RUN_TEST_c_c): Likewise.
24278 (RUN_TEST_LOOP_c_c): Likewise.
24279 (RUN_TEST_cc_c): Likewise.
24280 (RUN_TEST_LOOP_cc_c): Likewise.
24281 (RUN_TEST_f_i): Likewise.
24282 (RUN_TEST_LOOP_f_i): Likewise.
24283 (RUN_TEST_f_i_tg): Likewise.
24284 (RUN_TEST_LOOP_f_i_tg): Likewise.
24285 (RUN_TEST_ff_i_tg): Likewise.
24286 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24287 (RUN_TEST_f_b): Likewise.
24288 (RUN_TEST_LOOP_f_b): Likewise.
24289 (RUN_TEST_f_b_tg): Likewise.
24290 (RUN_TEST_LOOP_f_b_tg): Likewise.
24291 (RUN_TEST_f_l): Likewise.
24292 (RUN_TEST_LOOP_f_l): Likewise.
24293 (RUN_TEST_f_L): Likewise.
24294 (RUN_TEST_LOOP_f_L): Likewise.
24295 (RUN_TEST_sincos): Likewise.
24296 (RUN_TEST_LOOP_sincos): Likewise.
24297
8269107f
JM
242982013-05-17 Joseph Myers <joseph@codesourcery.com>
24299
bb38759d
JM
24300 [BZ #15480]
24301 [BZ #15485]
24302 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24303 main case of finite arguments, set rounding mode to FE_TONEAREST
24304 and discard exceptions.
24305 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24306 exceptions.
24307 (remainder_tonearest_test_data): New variable.
24308 (remainder_test_tonearest): New function.
24309 (remainder_towardzero_test_data): New variable.
24310 (remainder_test_towardzero): New function.
24311 (remainder_downward_test_data): New variable.
24312 (remainder_test_downward): New function.
24313 (remainder_upward_test_data): New variable.
24314 (remainder_test_upward): New function.
24315 (main): Call the new test functions.
24316
a00bdcf0
JM
24317 * math/libm-test.inc (struct test_f_f1_data): Remove field
24318 extra_init.
24319 (struct test_fF_f1_data): Likewise.
24320 (struct test_ffI_f1_data): Likewise.
24321 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
24322 based on value of EXTRA_EXPECTED.
24323 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24324 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
24325 EXTRA_VAR based on value of EXTRA_EXPECTED.
24326 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24327 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
24328 EXTRA_VAR based on value of EXTRA_EXPECTED.
24329 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24330 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
24331 EXTRA_VAR based on value of EXTRA_EXPECTED.
24332 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24333 * math/gen-libm-test.pl (parse_args): Don't output initializers
24334 for extra output values.
24335
de407f79
JM
24336 * math/libm-test.inc (check_int): Expect result to be exactly
24337 equal to expected value and do not handle ulps.
24338 (check_long): Likewise.
24339 (check_longlong): Likewise.
24340
8269107f
JM
24341 * math/libm-test.inc (ceil_test_data): Test for "inexact"
24342 exceptions.
24343 (cimag_test_data): Likewise.
24344 (conj_test_data): Likewise.
24345 (copysign_test_data): Likewise.
24346 (cproj_test_data): Likewise.
24347 (creal_test_data): Likewise.
24348 (fabs_test_data): Likewise.
24349 (fdim_test_data): Likewise.
24350 (finite_test_data): Likewise.
24351 (floor_test_data): Likewise.
24352 (fmax_test_data): Likewise.
24353 (fmin_test_data): Likewise.
24354 (fmod_test_data): Likewise.
24355 (fpclassify_test_data): Likewise.
24356 (frexp_test_data): Likewise.
24357 (ilogb_test_data): Likewise.
24358 (isfinite_test_data): Likewise.
24359 (isgreater_test_data): Likewise.
24360 (isgreaterequal_test_data): Likewise.
24361 (isinf_test_data): Likewise.
24362 (isless_test_data): Likewise.
24363 (islessequal_test_data): Likewise.
24364 (islessgreater_test_data): Likewise.
24365 (isnan_test_data): Likewise.
24366 (isnormal_test_data): Likewise.
24367 (issignaling_test_data): Likewise.
24368 (isunordered_test_data): Likewise.
24369 (ldexp_test_data): Likewise.
24370 (lrint_test_data): Likewise.
24371 (lrint_test_data) [TEST_FLOAT]: Disable one test.
24372 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24373 (lrint_tonearest_test_data): Test for "inexact" exceptions.
24374 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24375 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24376 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24377 test input.
24378 (lrint_towardzero_test_data): Test for "inexact" exceptions.
24379 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24380 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24381 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24382 that test input.
24383 (lrint_downward_test_data): Test for "inexact" exceptions.
24384 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24385 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24386 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24387 test input.
24388 (lrint_upward_test_data): Test for "inexact" exceptions.
24389 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24390 test input.
24391 (llrint_test_data): Test for "inexact" exceptions.
24392 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24393 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24394 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24395 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24396 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24397 (llrint_downward_test_data): Test for "inexact" exceptions.
24398 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24399 (llrint_upward_test_data): Test for "inexact" exceptions.
24400 (logb_test_data): Likewise.
24401 (logb_downward_test_data): Likewise.
24402 (nextafter_test_data): Likewise.
24403 (nexttoward_test_data): Likewise.
24404 (remainder_test_data): Likewise.
24405 (remquo_test_data): Likewise.
24406 (scalbn_test_data): Likewise.
24407 (scalbln_test_data): Likewise.
24408 (signbit_test_data): Likewise.
24409 (sqrt_test_data): Likewise.
24410 (significand_test_data): Likewise.
24411
48a18de1
SP
244122013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24413
24414 [BZ #15424]
24415 * benchtests/bench-modf.c (struct args): Mark arg0 as
24416 volatile.
24417 * scripts/bench.pl: Mark members of struct args as volatile.
24418
13d3b41a
AZ
244192013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24420
68191c1d 24421 [BZ # 15497]
13d3b41a
AZ
24422 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24423 negative infinity on POWER6 or lower.
24424 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24425
2848b105
MR
244262013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24427
24428 [BZ #15442]
24429 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24430 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24431 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24432 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24433 (_FP_SETQNAN): New macro.
24434 (_FP_SETQNAN_SEMIRAW): Likewise.
24435 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24436 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24437 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24438 (FP_EXTEND): Use _FP_FRAC_SNANP.
24439 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24440 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24441 into account.
24442 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24443 New macro.
24444 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24445 Likewise.
24446
323e5cb7
JM
244472013-05-16 Joseph Myers <joseph@codesourcery.com>
24448
c58b274f
JM
24449 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24450 with DIVIDE_BY_ZERO_EXCEPTION.
24451 (gamma_test_data): Likewise.
24452 (lgamma_test_data): Likewise.
24453 (log_test_data): Likewise.
24454 (log10_test_data): Likewise.
24455 (log2_test_data): Likewise.
24456 (tgamma_test_data): Likewise.
24457
0ab34904
JM
24458 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24459 (acos_test_tonearest): Likewise.
24460 (acos_test_towardzero): Likewise.
24461 (acos_test_downward): Likewise.
24462 (acos_test_upward): Likewise.
24463 (acosh_test): Likewise.
24464 (asin_test): Likewise.
24465 (asin_test_tonearest): Likewise.
24466 (asin_test_towardzero): Likewise.
24467 (asin_test_downward): Likewise.
24468 (asin_test_upward): Likewise.
24469 (asinh_test): Likewise.
24470 (atan_test): Likewise.
24471 (atanh_test): Likewise.
24472 (atan2_test): Likewise.
24473 (cabs_test): Likewise.
24474 (cacos_test): Likewise.
24475 (cacosh_test): Likewise.
24476 (casin_test): Likewise.
24477 (casinh_test): Likewise.
24478 (catan_test): Likewise.
24479 (catanh_test): Likewise.
24480 (cbrt_test): Likewise.
24481 (ccos_test): Likewise.
24482 (ccosh_test): Likewise.
24483 (cexp_test): Likewise.
24484 (clog_test): Likewise.
24485 (clog10_test): Likewise.
24486 (cos_test): Likewise.
24487 (cos_test_tonearest): Likewise.
24488 (cos_test_towardzero): Likewise.
24489 (cos_test_downward): Likewise.
24490 (cos_test_upward): Likewise.
24491 (cosh_test): Likewise.
24492 (cosh_test_tonearest): Likewise.
24493 (cosh_test_towardzero): Likewise.
24494 (cosh_test_downward): Likewise.
24495 (cosh_test_upward): Likewise.
24496 (cpow_test): Likewise.
24497 (csin_test): Likewise.
24498 (csinh_test): Likewise.
24499 (csqrt_test): Likewise.
24500 (ctan_test): Likewise.
24501 (ctan_test_tonearest): Likewise.
24502 (ctan_test_towardzero): Likewise.
24503 (ctan_test_downward): Likewise.
24504 (ctan_test_upward): Likewise.
24505 (ctanh_test): Likewise.
24506 (ctanh_test_tonearest): Likewise.
24507 (ctanh_test_towardzero): Likewise.
24508 (ctanh_test_downward): Likewise.
24509 (ctanh_test_upward): Likewise.
24510 (erf_test): Likewise.
24511 (erfc_test): Likewise.
24512 (exp_test): Likewise.
24513 (exp_test_tonearest): Likewise.
24514 (exp_test_towardzero): Likewise.
24515 (exp_test_downward): Likewise.
24516 (exp_test_upward): Likewise.
24517 (exp10_test): Likewise.
24518 (exp2_test): Likewise.
24519 (expm1_test): Likewise.
24520 (fmod_test): Likewise.
24521 (gamma_test): Likewise.
24522 (hypot_test): Likewise.
24523 (j0_test): Likewise.
24524 (j1_test): Likewise.
24525 (jn_test): Likewise.
24526 (lgamma_test): Likewise.
24527 (log_test): Likewise.
24528 (log10_test): Likewise.
24529 (log1p_test): Likewise.
24530 (log2_test): Likewise.
24531 (logb_test_downward): Likewise.
24532 (pow_test): Likewise.
24533 (pow_test_tonearest): Likewise.
24534 (pow_test_towardzero): Likewise.
24535 (pow_test_downward): Likewise.
24536 (pow_test_upward): Likewise.
24537 (remainder_test): Likewise.
24538 (remquo_test): Likewise.
24539 (sin_test): Likewise.
24540 (sin_test_tonearest): Likewise.
24541 (sin_test_towardzero): Likewise.
24542 (sin_test_downward): Likewise.
24543 (sin_test_upward): Likewise.
24544 (sincos_test): Likewise.
24545 (sinh_test): Likewise.
24546 (sinh_test_tonearest): Likewise.
24547 (sinh_test_towardzero): Likewise.
24548 (sinh_test_downward): Likewise.
24549 (sinh_test_upward): Likewise.
24550 (sqrt_test): Likewise.
24551 (tan_test): Likewise.
24552 (tan_test_tonearest): Likewise.
24553 (tan_test_towardzero): Likewise.
24554 (tan_test_downward): Likewise.
24555 (tan_test_upward): Likewise.
24556 (tanh_test): Likewise.
24557 (tgamma_test): Likewise.
24558 (y0_test): Likewise.
24559 (y1_test): Likewise.
24560 (yn_test): Likewise.
24561
323e5cb7
JM
24562 * math/gen-libm-test.pl (adjust_arg): Remove function.
24563 (special_function): Remove argument $in_func. Only handle
24564 generating output for tables of tests, not inside functions.
24565 (parse_args): Likewise.
24566 (generate_testfile): Remove variable $in_func. Update call to
24567 parse_args.
24568 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24569 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24570 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24571 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24572 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24573 (MAX_VALUE_INIT): Rename macro to max_value.
24574 (MIN_VALUE_INIT): Rename macro to min_value.
24575 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24576 (plus_zero): Remove variable.
24577 (minus_zero): Likewise.
24578 (plus_infty): Likewise.
24579 (minus_infty): Likewise.
24580 (qnan_value): Likewise.
24581 (max_value): Likewise.
24582 (min_value): Likewise.
24583 (min_subnorm_value): Likewise.
24584
e054f494
RA
245852013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24586
24587 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24588 uint64_t or uint32_t usage.
24589 * crypt/sha256-block.c: Likewise.
24590 * crypt/sha256-crypt.c: Likewise.
24591 * crypt/sha256.c: Likewise.
24592 * crypt/sha512-block.c: Likewise.
24593 * crypt/sha512-crypt.c: Likewise.
24594 * crypt/sha512.c: Likewise.
24595 * debug/backtrace-tst.c: Likewise.
24596 * debug/pcprofiledump.c: Likewise.
24597 * elf/cache.c: Likewise.
24598 * elf/dl-cache.c: Likewise.
24599 * elf/dl-misc.c: Likewise.
24600 * elf/dl-profile.c: Likewise.
24601 * elf/dl-support.c: Likewise.
24602 * elf/ldconfig.c: Likewise.
24603 * elf/sprof.c: Likewise.
24604 * iconv/dummy-repertoire.c: Likewise.
24605 * iconv/iconv_charmap.c: Likewise.
24606 * iconv/skeleton.c: Likewise.
24607 * iconvdata/8bit-generic.c: Likewise.
24608 * iconvdata/cp737.h: Likewise.
24609 * iconvdata/cp775.h: Likewise.
24610 * iconvdata/ibm1008.h: Likewise.
24611 * iconvdata/ibm1025.h: Likewise.
24612 * iconvdata/ibm1046.h: Likewise.
24613 * iconvdata/ibm1097.h: Likewise.
24614 * iconvdata/ibm1112.h: Likewise.
24615 * iconvdata/ibm1122.h: Likewise.
24616 * iconvdata/ibm1123.h: Likewise.
24617 * iconvdata/ibm1124.h: Likewise.
24618 * iconvdata/ibm1129.h: Likewise.
24619 * iconvdata/ibm1130.h: Likewise.
24620 * iconvdata/ibm1132.h: Likewise.
24621 * iconvdata/ibm1133.h: Likewise.
24622 * iconvdata/ibm1137.h: Likewise.
24623 * iconvdata/ibm1140.h: Likewise.
24624 * iconvdata/ibm1141.h: Likewise.
24625 * iconvdata/ibm1142.h: Likewise.
24626 * iconvdata/ibm1143.h: Likewise.
24627 * iconvdata/ibm1144.h: Likewise.
24628 * iconvdata/ibm1145.h: Likewise.
24629 * iconvdata/ibm1146.h: Likewise.
24630 * iconvdata/ibm1147.h: Likewise.
24631 * iconvdata/ibm1148.h: Likewise.
24632 * iconvdata/ibm1149.h: Likewise.
24633 * iconvdata/ibm1153.h: Likewise.
24634 * iconvdata/ibm1154.h: Likewise.
24635 * iconvdata/ibm1155.h: Likewise.
24636 * iconvdata/ibm1156.h: Likewise.
24637 * iconvdata/ibm1157.h: Likewise.
24638 * iconvdata/ibm1158.h: Likewise.
24639 * iconvdata/ibm1160.h: Likewise.
24640 * iconvdata/ibm1161.h: Likewise.
24641 * iconvdata/ibm1162.h: Likewise.
24642 * iconvdata/ibm1163.h: Likewise.
24643 * iconvdata/ibm1164.h: Likewise.
24644 * iconvdata/ibm1166.h: Likewise.
24645 * iconvdata/ibm1167.h: Likewise.
24646 * iconvdata/ibm12712.h: Likewise.
24647 * iconvdata/ibm1390.h: Likewise.
24648 * iconvdata/ibm1399.h: Likewise.
24649 * iconvdata/ibm16804.h: Likewise.
24650 * iconvdata/ibm4517.h: Likewise.
24651 * iconvdata/ibm4899.h: Likewise.
24652 * iconvdata/ibm4909.h: Likewise.
24653 * iconvdata/ibm4971.h: Likewise.
24654 * iconvdata/ibm5347.h: Likewise.
24655 * iconvdata/ibm803.h: Likewise.
24656 * iconvdata/ibm856.h: Likewise.
24657 * iconvdata/ibm901.h: Likewise.
24658 * iconvdata/ibm902.h: Likewise.
24659 * iconvdata/ibm9030.h: Likewise.
24660 * iconvdata/ibm9066.h: Likewise.
24661 * iconvdata/ibm921.h: Likewise.
24662 * iconvdata/ibm922.h: Likewise.
24663 * iconvdata/ibm9448.h: Likewise.
24664 * iconvdata/isiri-3342.h: Likewise.
24665 * iconvdata/jis0201.h: Likewise.
24666 * include/link.h: Likewise.
24667 * include/netdb.h: Likewise.
24668 * inet/check_native.c: Likewise.
24669 * inet/check_pf.c: Likewise.
24670 * inet/getipv4sourcefilter.c: Likewise.
24671 * inet/getnameinfo.c: Likewise.
24672 * inet/getsourcefilter.c: Likewise.
24673 * inet/htonl.c: Likewise.
24674 * inet/setipv4sourcefilter.c: Likewise.
24675 * inet/setsourcefilter.c: Likewise.
24676 * inet/test-inet6_opt.c: Likewise.
24677 * inet/tst-network.c: Likewise.
24678 * locale/C-collate.c: Likewise.
24679 * locale/C-ctype.c: Likewise.
24680 * locale/C-time.c: Likewise.
24681 * locale/C-translit.h: Likewise.
24682 * locale/loadarchive.c: Likewise.
24683 * locale/programs/3level.h: Likewise.
24684 * locale/programs/charmap.c: Likewise.
24685 * locale/programs/charmap.h: Likewise.
24686 * locale/programs/ld-address.c: Likewise.
24687 * locale/programs/ld-collate.c: Likewise.
24688 * locale/programs/ld-ctype.c: Likewise.
24689 * locale/programs/ld-identification.c: Likewise.
24690 * locale/programs/ld-measurement.c: Likewise.
24691 * locale/programs/ld-messages.c: Likewise.
24692 * locale/programs/ld-monetary.c: Likewise.
24693 * locale/programs/ld-name.c: Likewise.
24694 * locale/programs/ld-numeric.c: Likewise.
24695 * locale/programs/ld-paper.c: Likewise.
24696 * locale/programs/ld-telephone.c: Likewise.
24697 * locale/programs/ld-time.c: Likewise.
24698 * locale/programs/linereader.c: Likewise.
24699 * locale/programs/locale.c: Likewise.
24700 * locale/programs/locarchive.c: Likewise.
24701 * locale/programs/locfile.h: Likewise.
24702 * locale/programs/repertoire.c: Likewise.
24703 * locale/programs/simple-hash.c: Likewise.
24704 * locale/programs/simple-hash.h: Likewise.
24705 * malloc/memusage.c: Likewise.
24706 * malloc/memusagestat.c: Likewise.
24707 * nis/nis_defaults.c: Likewise.
24708 * nis/nis_hash.c: Likewise.
24709 * nis/nis_print.c: Likewise.
24710 * nis/nis_xdr.c: Likewise.
24711 * nscd/connections.c: Likewise.
24712 * nscd/hstcache.c: Likewise.
24713 * nscd/nscd_gethst_r.c: Likewise.
24714 * nscd/nscd_getserv_r.c: Likewise.
24715 * nscd/nscd_helper.c: Likewise.
24716 * nscd/servicescache.c: Likewise.
24717 * nss/makedb.c: Likewise.
24718 * nss/nss_db/db-XXX.c: Likewise.
24719 * nss/nss_db/db-initgroups.c: Likewise.
24720 * nss/nss_db/db-netgrp.c: Likewise.
24721 * nss/nss_files/files-network.c: Likewise.
24722 * nss/nss_files/files-parse.c: Likewise.
24723 * posix/bug-regex5.c: Likewise.
24724 * posix/fnmatch_loop.c: Likewise.
24725 * posix/regcomp.c: Likewise.
24726 * posix/regexec.c: Likewise.
24727 * posix/tst-rfc3484-2.c: Likewise.
24728 * posix/tst-rfc3484-3.c: Likewise.
24729 * posix/tst-rfc3484.c: Likewise.
24730 * resolv/nss_dns/dns-canon.c: Likewise.
24731 * resolv/nss_dns/dns-network.c: Likewise.
24732 * resolv/res_init.c: Likewise.
24733 * resolv/res_mkquery.c: Likewise.
24734 * resolv/tst-aton.c: Likewise.
24735 * stdlib/cxa_atexit.c: Likewise.
24736 * stdlib/cxa_finalize.c: Likewise.
24737 * stdlib/gen-fpioconst.c: Likewise.
24738 * stdlib/strtol_l.c: Likewise.
24739 * string/tst-endian.c: Likewise.
24740 * sunrpc/auth_des.c: Likewise.
24741 * sunrpc/clnt_udp.c: Likewise.
24742 * sunrpc/rtime.c: Likewise.
24743 * sunrpc/svcauth_des.c: Likewise.
24744 * sunrpc/xdr.c: Likewise.
24745 * sunrpc/xdr_intXX_t.c: Likewise.
24746 * sunrpc/xdr_rec.c: Likewise.
24747 * sysdeps/generic/ldconfig.h: Likewise.
24748 * sysdeps/generic/ldsodefs.h: Likewise.
24749 * sysdeps/generic/memusage.h: Likewise.
24750 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24751 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24752 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24753 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24754 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24755 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24756 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24757 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24758 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24759 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24760 * sysdeps/posix/getaddrinfo.c: Likewise.
24761 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24762 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24763 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24764 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24765 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24766 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24767 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24768 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24769 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24770 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24771 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24772 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24773 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24774 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24775 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24776 * sysdeps/x86_64/dl-tls.h: Likewise.
24777 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24778 * time/alt_digit.c: Likewise.
24779 * time/era.c: Likewise.
24780 * wcsmbs/tst-c16c32-1.c: Likewise.
24781
8c75f674
JM
247822013-05-16 Joseph Myers <joseph@codesourcery.com>
24783
24784 * math/libm-test.inc (struct test_sincos_data): New type.
24785 (RUN_TEST_LOOP_sincos): New macro.
24786 (sincos_test_data): New variable.
24787 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24788
e6e49e59
RH
247892013-05-16 Richard Henderson <rth@redhat.com>
24790
24791 * math/atest-exp2.c (LIMB64): New macro.
24792 (CONSTSZ): New macro.
24793 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24794 (hexdig): Move ...
24795 (print_mpn_fp): ... to function scope.
24796 (read_mpn_hex): Remove.
24797 (get_log2): Remove.
24798 (exp2_mpn): Use mp_log2.
24799 (main): Use mp_exp1.
24800
15c7c18d
JM
248012013-05-16 Joseph Myers <joseph@codesourcery.com>
24802
105a07df
JM
24803 * math/libm-test.inc: Remove comment about not testing "inexact"
24804 exceptions.
24805 (INEXACT_EXCEPTION): New macro.
24806 (NO_INEXACT_EXCEPTION): Likewise.
24807 (INVALID_EXCEPTION_OK): Update value.
24808 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24809 (OVERFLOW_EXCEPTION_OK): Likewise.
24810 (UNDERFLOW_EXCEPTION_OK): Likewise.
24811 (IGNORE_ZERO_INF_SIGN): Likewise.
24812 (ERRNO_UNCHANGED): Likewise.
24813 (ERRNO_EDOM): Likewise.
24814 (ERRNO_ERANGE): Likewise.
24815 (test_exceptions): Handle testing "inexact" exceptions.
24816 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24817 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24818 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24819 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24820 INEXACT_EXCEPTION.
24821 (rint_towardzero_test_data): Likewise.
24822 (rint_downward_test_data): Likewise.
24823 (rint_upward_test_data): Likewise.
24824
e9eee333
JM
24825 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24826 with OVERFLOW_EXCEPTION.
24827 (exp10_test_data): Likewise.
24828 (exp2_test_data): Likewise.
24829 (expm1_test_data): Likewise.
24830 (lgamma_test_data): Likewise.
24831 (pow_test_data): Likewise.
24832 (tgamma_test_data): Likewise.
24833 (yn_test_data): Remove duplicate test of overflow.
24834
1c38ff73
JM
24835 * math/libm-test.inc (struct test_cc_c_data): New type.
24836 (RUN_TEST_LOOP_cc_c): New macro.
24837 (cpow_test_data): New variable.
24838 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24839
15c7c18d
JM
24840 * math/libm-test.inc (struct test_f_L_data): New type.
24841 (RUN_TEST_LOOP_f_L): New macro.
24842 (llrint_test_data): New variable.
24843 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24844 (llrint_tonearest_test_data): New variable.
24845 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24846 (llrint_towardzero_test_data): New variable.
24847 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24848 (llrint_downward_test_data): New variable.
24849 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24850 (llrint_upward_test_data): New variable.
24851 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24852 (llround_test_data): New variable.
24853 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24854
f137ff13
PC
248552013-05-13 Peter Collingbourne <pcc@google.com>
24856
24857 * math/atest-exp2.c (get_log2): Remove const attribute.
24858
3608cb24
JM
248592013-05-15 Joseph Myers <joseph@codesourcery.com>
24860
24861 * math/libm-test.inc (struct test_f_l_data): New type.
24862 (RUN_TEST_LOOP_f_l): New macro.
24863 (lrint_test_data): New variable.
24864 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24865 (lrint_tonearest_test_data): New variable.
24866 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24867 (lrint_towardzero_test_data): New variable.
24868 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24869 (lrint_downward_test_data): New variable.
24870 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24871 (lrint_upward_test_data): New variable.
24872 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24873 (lround_test_data): New variable.
24874 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24875
39b1f617
PC
248762013-05-15 Peter Collingbourne <pcc@google.com>
24877
1deff3dc
PC
24878 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24879 (EXTRACT_WORDS64) Use where appropriate.
24880 (INSERT_WORDS64) Likewise.
24881
791f3ba0
PC
24882 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24883 constraints with x constraints.
24884 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24885
39b1f617
PC
24886 * malloc/obstack.c (_obstack_compat): Add initializer.
24887
12fba011
EM
248882013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24889
24890 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24891 si_trapno and add si_addr_lsb to _sifields.sigfault.
24892 (si_trapno): Remove macro.
24893 (si_addr_lsb): Define new macro.
24894 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24895
d369f531
JM
248962013-05-15 Joseph Myers <joseph@codesourcery.com>
24897
b861c6c4
JM
24898 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24899 instead of TEST_f_l.
24900 (llrint_test_tonearest): Likewise.
24901 (llrint_test_towardzero): Likewise.
24902 (llrint_test_downward): Likewise.
24903 (llrint_test_upward): Likewise.
24904 (llround_test): Likewise.
24905
7abeee12
JM
24906 * math/libm-test.inc (struct test_f_i_data): Add comment.
24907 (RUN_TEST_LOOP_f_b): New macro.
24908 (RUN_TEST_LOOP_f_b_tg): Likewise.
24909 (finite_test_data): New variable.
24910 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24911 (isfinite_test_data): New variable.
24912 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24913 (isinf_test_data): New variable.
24914 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24915 (isnan_test_data): New variable.
24916 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24917 (isnormal_test_data): New variable.
24918 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24919 (issignaling_test_data): New variable.
24920 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24921 (signbit_test_data): New variable.
24922 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24923
cbe8c4d3
JM
24924 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24925 with INVALID_EXCEPTION.
24926 (acosh_test_data): Likewise.
24927 (asin_test_data): Likewise.
24928 (atanh_test_data): Likewise.
24929 (fmod_test_data): Likewise.
24930 (log_test_data): Likewise.
24931 (log10_test_data): Likewise.
24932 (log2_test_data): Likewise.
24933 (pow_test_data): Likewise.
24934 (sqrt_test_data): Likewise.
24935 (y0_test_data): Likewise.
24936 (y1_test_data): Likewise.
24937 (yn_test_data): Likewise.
24938
5575c0e5
JM
24939 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24940 function contents.
24941
d369f531
JM
24942 * math/libm-test.inc (struct test_ff_i_data): New type.
24943 (RUN_TEST_LOOP_ff_i_tg): New macro.
24944 (isgreater_test_data): New variable.
24945 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24946 (isgreaterequal_test_data): New variable.
24947 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24948 (isless_test_data): New variable.
24949 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24950 (islessequal_test_data): New variable.
24951 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24952 (islessgreater_test_data): New variable.
24953 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24954 (isunordered_test_data): New variable.
24955 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24956
781fd748
DM
249572013-05-14 David S. Miller <davem@davemloft.net>
24958
24959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24960
87aa21df
JM
249612013-05-14 Joseph Myers <joseph@codesourcery.com>
24962
5e908270
JM
24963 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24964
f71172e5
JM
24965 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24966 extra_test to int.
24967 (struct test_f_i_data): Change type of max_ulp to int.
24968
8cfa635a
JM
24969 * math/libm-test.inc (test_ffI_f1_data): New type.
24970 (RUN_TEST_LOOP_ffI_f1): New macro.
24971 (remquo_test_data): New variable.
24972 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24973
2bcb36b2
JM
24974 * setjmp/tst-setjmp-fp.c: New file.
24975 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24976 (link-libm): New variable.
24977 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24978
acbd839a
JM
24979 * math/libm-test.inc (struct test_f_i_data): New type.
24980 (RUN_TEST_LOOP_f_i): New macro.
24981 (RUN_TEST_LOOP_f_i_tg): Likewise.
24982 (fpclassify_test_data): New variable.
24983 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24984 (ilogb_test_data): New variable.
24985 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24986
e414d745
JM
24987 * math/libm-test.inc (scalbln_test): Correct function name in END
24988 call.
24989
d9c2a0fd
JM
24990 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24991 (RUN_TEST_LOOP_fI_f1): New macro.
24992 (frexp_test_data): New variable.
24993 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24994
9dc9095d
JM
24995 * math/libm-test.inc (struct test_fF_f1_data): New type.
24996 (RUN_TEST_LOOP_fF_f1): New macro.
24997 (modf_test_data): New variable.
24998 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24999
87aa21df
JM
25000 * math/libm-test.inc (struct test_f_f1_data): New type.
25001 (RUN_TEST_LOOP_f_f1): New macro.
25002 (gamma_test_data): New variable.
25003 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25004 (lgamma_test_data): New variable.
25005 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25006
141af660
CD
250072013-05-13 Carlos O'Donell <carlos@redhat.com>
25008
25009 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25010 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25011 (main): Comment "tls" pseudo-hwcap.
25012
6d33265c
JM
250132013-05-13 Joseph Myers <joseph@codesourcery.com>
25014
68fc074c
JM
25015 * math/libm-test.inc (struct test_fl_f_data): New type.
25016 (RUN_TEST_LOOP_fl_f): New variable.
25017 (scalbln_test_data): New variable.
25018 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25019
243216e1
JM
25020 * math/libm-test.inc (struct test_fi_f_data): New type.
25021 (RUN_TEST_LOOP_fi_f): New macro.
25022 (ldexp_test_data): New variable.
25023 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25024 (scalbn_test_data): New variable.
25025 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25026
6a1992e2
JM
25027 * math/libm-test.inc (struct test_c_f_data): New type.
25028 (RUN_TEST_LOOP_c_f): New macro.
25029 (cabs_test_data): New variable.
25030 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25031 (carg_test_data): New variable.
25032 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25033 (cimag_test_data): New variable.
25034 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25035 (creal_test_data): New variable.
25036 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25037
0e400df5
JM
25038 * math/libm-test.inc (struct test_if_f_data): New type.
25039 (RUN_TEST_LOOP_if_f): New macro.
25040 (jn_test_data): New variable.
25041 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25042 (yn_test_data): New variable.
25043 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25044
6d33265c
JM
25045 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25046
f98ece5f
AZ
250472013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25048
25049 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25050 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25051
0f7d347b
SP
250522013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25053
43fe811b
SP
25054 * benchtests/Makefile (CPPFLAGS-nonlib): Add
25055 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25056 (bench-deps): Add bench-timing.h.
25057 * benchtests-bench-skeleton.c: Include bench-timing.h.
25058 (main): Use TIMING_* macros instead of clock_gettime.
25059 * benchtests/bench-timing.h: New file.
25060
0f7d347b
SP
25061 [BZ #14582]
25062 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25063 Renamed from _LIB_VERSION.
25064 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25065
601a3a5f
JM
250662013-05-12 Joseph Myers <joseph@codesourcery.com>
25067
4f184d30
JM
25068 * math/libm-test.inc (struct test_fff_f_data): New type.
25069 (RUN_TEST_LOOP_fff_f): New macro.
25070 (fma_test_data): New variable.
25071 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25072 (fma_towardzero_test_data): New variable.
25073 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25074 (fma_downward_test_data): New variable.
25075 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25076 (fma_upward_test_data): New variable.
25077 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25078
08198877
JM
25079 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25080 (struct test_c_c_data): New type.
25081 (RUN_TEST_LOOP_c_c): New macro.
25082 (cacos_test_data): New variable.
25083 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25084 (cacosh_test_data): New variable.
25085 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25086 (casin_test_data): New variable.
25087 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25088 (casinh_test_data): New variable.
25089 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25090 (catan_test_data): New variable.
25091 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25092 (catanh_test_data): New variable.
25093 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25094 (ccos_test_data): New variable.
25095 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25096 (ccosh_test_data): New variable.
25097 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25098 (cexp_test_data): New variable.
25099 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25100 (clog_test_data): New variable.
25101 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25102 (clog10_test_data): New variable.
25103 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25104 (conj_test_data): New variable.
25105 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25106 (cproj_test_data): New variable.
25107 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25108 (csin_test_data): New variable.
25109 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25110 (csinh_test_data): New variable.
25111 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25112 (csqrt_test_data): New variable.
25113 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25114 (ctan_test_data): New variable.
25115 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25116 (ctan_tonearest_test_data): New variable.
25117 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25118 (ctan_towardzero_test_data): New variable.
25119 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25120 (ctan_downward_test_data): New variable.
25121 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25122 (ctan_upward_test_data): New variable.
25123 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25124 (ctanh_test_data): New variable.
25125 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25126 (ctanh_tonearest_test_data): New variable.
25127 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25128 (ctanh_towardzero_test_data): New variable.
25129 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25130 (ctanh_downward_test_data): New variable.
25131 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25132 (ctanh_upward_test_data): New variable.
25133 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25134 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25135 of BUILD_COMPLEX.
25136
601a3a5f
JM
25137 * math/libm-test.inc (struct test_ff_f_data): New type.
25138 (struct test_ff_f_data_nexttoward): Likewise.
25139 (RUN_TEST_LOOP_2_f): New macro.
25140 (RUN_TEST_LOOP_ff_f): Likewise.
25141 (atan2_test_data): New variable.
25142 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25143 (copysign_test_data): New variable.
25144 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25145 (fdim_test_data): New variable.
25146 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25147 (fmax_test_data): New variable.
25148 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25149 (fmin_test_data): New variable.
25150 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25151 (fmod_test_data): New variable.
25152 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25153 (hypot_test_data): New variable.
25154 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25155 (nextafter_test_data): New variable.
25156 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25157 (nexttoward_test_data): New variable.
25158 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25159 (pow_test_data): New variable.
25160 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25161 (pow_tonearest_test_data): New variable.
25162 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25163 (pow_towardzero_test_data): New variable.
25164 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25165 (pow_downward_test_data): New variable.
25166 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25167 (pow_upward_test_data): New variable.
25168 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25169 (remainder_test_data): New variable.
25170 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25171 (scalb_test_data): New variable.
25172 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25173 * sysdeps/i386/fpu/libm-test-ulps: Update.
25174
74c57478
JM
251752013-05-11 Joseph Myers <joseph@codesourcery.com>
25176
8329e4da
JM
25177 * math/libm-test.inc (fma_test): Use max_value instead of local
25178 variable fltmax.
25179 (nextafter_test): Likewise.
25180
74c57478
JM
25181 * math/libm-test.inc (acos_towardzero_test_data): New variable.
25182 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25183 (acos_downward_test_data): New variable.
25184 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25185 (acos_upward_test_data): New variable.
25186 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25187 (acosh_test_data): New variable.
25188 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25189 (asin_test_data): New variable.
25190 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25191 (asin_tonearest_test_data): New variable.
25192 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25193 (asin_towardzero_test_data): New variable.
25194 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25195 (asin_downward_test_data): New variable.
25196 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25197 (asin_upward_test_data): New variable.
25198 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25199 (asinh_test_data): New variable.
25200 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25201 (atan_test_data): New variable.
25202 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25203 (atanh_test_data): New variable.
25204 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25205 (cbrt_test_data): New variable.
25206 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25207 (ceil_test_data): New variable.
25208 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25209 (cos_test_data): New variable.
25210 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25211 (cos_tonearest_test_data): New variable.
25212 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25213 (cos_towardzero_test_data): New variable.
25214 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25215 (cos_downward_test_data): New variable.
25216 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25217 (cos_upward_test_data): New variable.
25218 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25219 (cosh_test_data): New variable.
25220 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25221 (cosh_tonearest_test_data): New variable.
25222 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25223 (cosh_towardzero_test_data): New variable.
25224 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25225 (cosh_downward_test_data): New variable.
25226 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25227 (cosh_upward_test_data): New variable.
25228 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25229 (erf_test_data): New variable.
25230 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25231 (erfc_test_data): New variable.
25232 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25233 (exp_test_data): New variable.
25234 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25235 (exp_tonearest_test_data): New variable.
25236 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25237 (exp_towardzero_test_data): New variable.
25238 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25239 (exp_downward_test_data): New variable.
25240 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25241 (exp_upward_test_data): New variable.
25242 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25243 (exp10_test_data): New variable.
25244 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25245 (exp2_test_data): New variable.
25246 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25247 (expm1_test_data): New variable.
25248 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25249 (fabs_test_data): New variable.
25250 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25251 (floor_test_data): New variable.
25252 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25253 (j0_test_data): New variable.
25254 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25255 (j1_test_data): New variable.
25256 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25257 (log_test_data): New variable.
25258 (log_test): Run tests with RUN_TEST_LOOP_f_f.
25259 (log10_test_data): New variable.
25260 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25261 (log1p_test_data): New variable.
25262 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25263 (log2_test_data): New variable.
25264 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25265 (logb_test_data): New variable.
25266 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25267 (logb_downward_test_data): New variable.
25268 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25269 (nearbyint_test_data): New variable.
25270 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25271 (rint_test_data): New variable.
25272 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25273 (rint_tonearest_test_data): New variable.
25274 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25275 (rint_towardzero_test_data): New variable.
25276 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25277 (rint_downward_test_data): New variable.
25278 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25279 (rint_upward_test_data): New variable.
25280 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25281 (round_test_data): New variable.
25282 (round_test): Run tests with RUN_TEST_LOOP_f_f.
25283 (sin_test_data): New variable.
25284 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25285 (sin_tonearest_test_data): New variable.
25286 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25287 (sin_towardzero_test_data): New variable.
25288 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25289 (sin_downward_test_data): New variable.
25290 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25291 (sin_upward_test_data): New variable.
25292 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25293 (sinh_test_data): New variable.
25294 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25295 (sinh_tonearest_test_data): New variable.
25296 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25297 (sinh_towardzero_test_data): New variable.
25298 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25299 (sinh_downward_test_data): New variable.
25300 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25301 (sinh_upward_test_data): New variable.
25302 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25303 (sqrt_test_data): New variable.
25304 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25305 (tan_test_data): New variable.
25306 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25307 (tan_tonearest_test_data): New variable.
25308 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25309 (tan_towardzero_test_data): New variable.
25310 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25311 (tan_downward_test_data): New variable.
25312 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25313 (tan_upward_test_data): New variable.
25314 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25315 (tanh_test_data): New variable.
25316 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25317 (tgamma_test_data): New variable.
25318 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25319 (trunc_test_data): New variable.
25320 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25321 (y0_test_data): New variable.
25322 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25323 (y1_test_data): New variable.
25324 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25325 (significand_test_data): New variable.
25326 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25327
7187d844
CG
253282013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
25329
25330 [BZ #12387]
25331 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25332
f63fae73
PT
253332013-05-10 Pino Toscano <toscano.pino@tiscali.it>
25334
25335 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25336
8a67a4b3
AJ
253372013-05-10 Andreas Jaeger <aj@suse.de>
25338
25339 [BZ #15448]
25340 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25341 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25342
51df539d
JM
253432013-05-10 Joseph Myers <joseph@codesourcery.com>
25344
25345 * math/gen-libm-test.pl (adjust_arg): New function.
25346 (special_functions): Handle generating output in both functions
25347 and arrays.
25348 (parse_args): Likewise.
25349 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
25350 $in_func argument to parse_args.
25351 * math/libm-test.inc (struct test_f_f_data): New type.
25352 (IF_ROUND_INIT_): New macro.
25353 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25354 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25355 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25356 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25357 (ROUND_RESTORE_): Likewise.
25358 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25359 (ROUND_RESTORE_FE_TONEAREST): Likewise.
25360 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25361 (ROUND_RESTORE_FE_UPWARD): Likewise.
25362 (RUN_TEST_LOOP_f_f): New macro.
25363 (acos_test_data): New variable.
25364 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25365 (acos_tonearest_test_data): New variable.
25366 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25367
5c637fe5
SP
253682013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25369
25370 * benchtests/bench-skeleton.c (startup): Fix coding style.
25371
ab2b9461
JM
253722013-05-10 Joseph Myers <joseph@codesourcery.com>
25373
25374 [BZ #6809]
25375 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25376 negative infinity argument.
25377 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25378 negative infinity argument.
25379 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25380 negative infinity argument.
25381 * math/libm-test.inc (tgamma_test): Expect errno to be set for
25382 domain errors.
25383
4c0fe6fe
FW
253842013-05-10 Florian Weimer <fweimer@redhat.com>
25385
25386 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25387 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25388 * iconv/iconv_prog.c (main): Likewise.
25389 * locale/programs/charmap-dir.c (charmap_readdir)
25390 (fopen_uncompressed): Likewise.
25391 * locale/programs/locfile.c (siblings_uncached)
25392 (write_locale_data): Use lstat64 instead of lstat.
25393 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25394 stat.
25395
a3375d29
AJ
253962013-05-10 Andreas Jaeger <aj@suse.de>
25397
25398 [BZ #15395]
25399 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25400 localization.
25401 Include <locale.h>.
25402
36129722
CD
254032013-05-09 Carlos O'Donell <carlos@redhat.com>
25404
25405 * elf/dl-close.c (_dl_close_worker): Add comments.
25406
faa7f811
JM
254072013-05-09 Joseph Myers <joseph@codesourcery.com>
25408
ed41ffef
JM
25409 [BZ #15359]
25410 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25411 high part of pi/2.
25412 (__ieee754_rem_pio2l): Update comments.
25413
d0213cd0
JM
25414 [BZ #15429]
25415 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25416 high part of pi/2.
25417 (__ieee754_rem_pio2l): Update comments.
25418
0d3e777a
JM
25419 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25420 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25421
24f56066
JM
25422 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25423 M_PI_4l.
25424
faa7f811
JM
25425 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25426 (M_PI_34_LOG10El): Likewise.
25427 (M_PI2_LOG10El): Likewise.
25428 (M_PI4_LOG10El): Likewise.
25429 (M_PI_LOG10El): Likewise.
25430
e9a5e0fd
AZ
254312013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25432
25433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25434
d8cd06db
JM
254352013-05-08 Joseph Myers <joseph@codesourcery.com>
25436
a0d9f9d7
JM
25437 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25438 (MINUS_ZERO_INIT): Likewise.
25439 (PLUS_INFTY_INIT): Likewise.
25440 (MINUS_INFTY_INIT): Likewise.
25441 (QNAN_VALUE_INIT): Likewise.
25442 (MAX_VALUE_INIT): Likewise.
25443 (MIN_VALUE_INIT): Likewise.
25444 (MIN_SUBNORM_VALUE_INIT): Likewise.
25445 (plus_zero): Initialize with PLUS_ZERO_INIT.
25446 (minus_zero): Initialize with MINUS_ZERO_INIT.
25447 (plus_infty): Initialize with PLUS_INFTY_INIT.
25448 (minus_infty): Initialize with MINUS_INFTY_INIT.
25449 (qnan_value): Initialize with QNAN_VALUE_INIT.
25450 (max_value): Initialize with MAX_VALUE_INIT.
25451 (min_value): Initialize with MIN_VALUE_INIT.
25452 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25453
ae08db3b
JM
25454 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25455 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25456 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25457 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25458
f44bf14a
JM
25459 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25460 (RUN_TEST_2_f): Likewise.
25461 (RUN_TEST_ff_f): Likewise.
25462 (RUN_TEST_fi_f): Likewise.
25463 (RUN_TEST_fl_f): Likewise.
25464 (RUN_TEST_fff_f): Likewise.
25465 (RUN_TEST_c_f): Likewise.
25466 (RUN_TEST_f_f1): Likewise.
25467 (RUN_TEST_fF_f1): Likewise.
25468 (RUN_TEST_fI_f1): Likewise.
25469 (RUN_TEST_ffI_f1): Likewise.
25470 (RUN_TEST_c_c): Likewise.
25471 (RUN_TEST_cc_c): Likewise.
25472 (RUN_TEST_f_i): Likewise.
25473 (RUN_TEST_f_i_tg): Likewise.
25474 (RUN_TEST_ff_i_tg): Likewise.
25475 (RUN_TEST_f_b): Likewise.
25476 (RUN_TEST_f_b_tg): Likewise.
25477 (RUN_TEST_f_l): Likewise.
25478 (RUN_TEST_f_L): Likewise.
25479 (RUN_TEST_sincos): Likewise.
25480 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25481 whether to show exceptions. Do not include ");\n" in return
25482 value.
25483 (special_functions): Output call to RUN_TEST_sincos instead of
25484 check_float calls. Update calls to new_test.
25485 (parse_args): Output call to single RUN_TEST_* macro instead of
25486 check_* calls and other assignments. Update calls to new_test.
25487
d8cd06db
JM
25488 [BZ #2546]
25489 [BZ #2560]
25490 [BZ #5159]
25491 [BZ #15426]
25492 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25493 input to result for tgamma overflow.
25494 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25495 (gamma_coeff): New variable.
25496 (NCOEFF): New macro.
25497 (gamma_positive): New function.
25498 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25499 underflow here. Use gamma_positive instead of exp (lgamma) for
25500 other arguments.
25501 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25502 (gamma_coeff): New variable.
25503 (NCOEFF): New macro.
25504 (gammaf_positive): New function.
25505 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25506 underflow here. Use gamma_positive instead of exp (lgamma) for
25507 other arguments.
25508 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25509 (gamma_coeff): New variable.
25510 (NCOEFF): New macro.
25511 (gammal_positive): New function.
25512 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25513 underflow here. Use gamma_positive instead of exp (lgamma) for
25514 other arguments.
25515 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25516 (gamma_coeff): New variable.
25517 (NCOEFF): New macro.
25518 (gammal_positive): New function.
25519 (__ieee754_gammal_r): Handle positive infinity, overflow and
25520 underflow here. Handle NaN the same as positive infinity. Remove
25521 check x < 0xffffffff for negative integers. Use gamma_positive
25522 instead of exp (lgamma) for other arguments.
25523 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25524 (gamma_coeff): New variable.
25525 (NCOEFF): New macro.
25526 (gammal_positive): New function.
25527 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25528 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25529 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25530 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25531 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25532 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25533 * sysdeps/generic/math_private.h (__gamma_productf): New
25534 prototype.
25535 (__gamma_product): Likewise.
25536 (__gamma_productl): Likewise.
25537 * math/Makefile (libm-calls): Add gamma_product.
25538 * math/libm-test.inc (tgamma_test): Add more tests.
25539 * sysdeps/i386/fpu/libm-test-ulps: Update.
25540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25541
bb7cf681
OB
255422013-05-08 Ondřej Bílka <neleai@seznam.cz>
25543
25544 * benchtests/bench-skeleton.c (main): Preheat CPU.
25545
ba853947
AJ
255462013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25547
25548 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25549
8347c74c
RM
255502013-05-07 Roland McGrath <roland@hack.frob.com>
25551
25552 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25553 and _dl_skip_args_internal.
25554
e8dd4791
CD
255552013-05-07 Carlos O'Donell <carlos@redhat.com>
25556
25557 * manual/message.texi (Message Translation): Talk about users.
25558 Message to key mapping impacts design.
25559
c7405830
RM
255602013-05-06 Roland McGrath <roland@hack.frob.com>
25561
a9173057
RM
25562 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25563
976e2f03
RM
25564 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25565
9723ffc5
RM
25566 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25567 * sysdeps/wordsize-64/glob64.c: ... here.
25568
962e6658
RM
25569 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25570 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25571 New macros.
25572
ee586a6d
RM
25573 * debug/getlogin_r_chk.c: Moved to ...
25574 * login/getlogin_r_chk.c: ... here.
25575 * debug/Makefile (routines): Move getlogin_r_chk to ...
25576 * login/Makefile (routines): ... here.
25577 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25578 * login/Versions (libc: GLIBC_2.4): ... here.
25579
355f9165
RM
25580 * io/poll.c (__poll): Renamed from poll.
25581 Add libc_hidden_def.
25582 (poll): Define as weak alias.
25583
bd9ffde6
RM
25584 * debug/ptsname_r_chk.c: Moved to ...
25585 * login/ptsname_r_chk.c: ... here.
25586 * debug/Makefile (routines): Move ptsname_r_chk to ...
25587 * login/Makefile (routines): ... here.
25588 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25589 * login/Versions (libc: GLIBC_2.4): ... here.
25590
8fb16a04
RM
25591 * posix/getlogin.c: Moved to ...
25592 * login/getlogin.c: ... here.
25593 * posix/getlogin_r.c: Moved to ...
25594 * login/getlogin_r.c: ... here.
25595 * posix/getlogin_r.c: Moved to ...
25596 * login/getlogin_r.c: ... here.
25597 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25598 * login/Makefile (routines): ... here.
25599 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25600 * login/Versions (libc: GLIBC_2.0): ... here.
25601
b99b892f
RM
25602 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25603 (setrlimit): Define as weak alias.
25604
c7405830
RM
25605 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25606 Call __ names for open, ftruncate, and close.
25607 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25608 (truncate): Define as weak alias.
25609
5bf96de5
JM
256102013-05-06 Joseph Myers <joseph@codesourcery.com>
25611
9ea3513c
JM
25612 * math/gen-libm-test.pl (parse_args): Initialize x before each
25613 test of frexp, modf and remquo.
25614
5bf96de5
JM
25615 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25616 test signgam value.
25617
16e616a7
AZ
256182013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25619
25620 [BZ #15418]
25621 [BZ #15419]
25622 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25623 internal tests.
25624 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25625
d5e82754
RM
256262013-05-06 Roland McGrath <roland@hack.frob.com>
25627
25628 * elf/dl-writev.h: New file.
25629 * elf/dl-misc.c: Include it.
25630 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25631 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25632
a7548d41
JM
256332013-05-04 Joseph Myers <joseph@codesourcery.com>
25634
b7dab1e4
JM
25635 * math/libm-test.inc (noXFails): Remove variable.
25636 (noXPasses): Likewise.
25637 (BUILD_COMPLEX_INT): Remove macro.
25638 (print_screen): Remove xfail argument.
25639 (print_screen_max_error): Likewise.
25640 (update_stats): Likewise.
25641 (print_max_error): Likewise. Update calls to other affected
25642 functions.
25643 (print_complex_max_error): Likewise.
25644 (test_single_exception): Update calls to print_screen.
25645 (test_single_errno): Likewise.
25646 (check_float_internal): Remove xfail argument. Update calls to
25647 other affected functions.
25648 (check_float): Likewise.
25649 (check_complex): Likewise.
25650 (check_int): Likewise.
25651 (check_long): Likewise.
25652 (check_bool): Likewise.
25653 (check_longlong): Likewise.
25654 (main): Don't print noXFails and noXPasses.
25655 * math/gen-libm-test.pl (top level): Don't mention expected
25656 failure handling in comment.
25657 (new_test): Don't handle expected failures.
25658 (parse_args): Don't mention expected failure handling in comment.
25659 (generate_testfile): Don't handle expected failures.
25660 (parse_ulps): Likewise.
25661 (print_ulps_file): Likewise.
25662 (get_failure): Remove function.
25663 (output_test): Don't handle expected failures.
25664 * make/README.libm-test: Don't mention expected failure handling.
25665
a7548d41
JM
25666 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25667 (minus_zero): Likewise.
25668 (plus_infty): Likewise.
25669 (minus_infty): Likewise.
25670 (qnan_value): Likewise.
25671 (max_value): Likewise.
25672 (min_value): Likewise.
25673 (min_subnorm_value): Likewise.
25674 (initialize): Do not initialize those variables dynamically.
25675
60bfd54c
RM
256762013-05-03 Roland McGrath <roland@hack.frob.com>
25677
cc0e6ed8
RM
25678 * io/open.c (__open_2): Moved to ...
25679 * io/open_2.c: ... this new file.
25680 * io/open64.c (__open64_2): Moved to ...
25681 * io/open64_2.c: ... this new file.
25682 * io/openat.c (__openat_2): Moved to ...
25683 * io/openat_2.c: ... this new file.
25684 * io/openat64.c (__openat64_2): Moved to ...
25685 * io/openat64_2.c: ... this new file.
25686 * io/Makefile (routines): Add them.
25687 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25688 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25689 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25690 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25691 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25692 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25693 (__openat64): Add hidden_ver.
25694 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25695 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25696
60bfd54c
RM
25697 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25698 Separately conditionalize setting of GLRO(dl_sysinfo) so
25699 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25700 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25701
83e7640f
AZ
257022013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25703
25704 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25705 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25706 definition.
25707 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25708 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25709 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25710 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25711 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25712
d5dc2af3
JM
257132013-05-03 Joseph Myers <joseph@codesourcery.com>
25714
c31a5b1e
JM
25715 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25716 test signgam value.
25717
d5dc2af3
JM
25718 * math/libm-test.inc (hypot_test): Do not use
25719 IGNORE_ZERO_INF_SIGN.
25720
164fd39d
AJ
257212013-05-03 Andreas Jaeger <aj@suse.de>
25722
25723 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25724 Linux 3.9.
25725 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25726 (PF_MAX): Adjust for VSOCK change.
25727
8237f48c
AZ
257282013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25729
25730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25731
9df02941
CD
257322013-05-02 Carlos O'Donell <carlos@redhat.com>
25733
25734 [BZ #15264]
25735 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25736 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25737 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25738
d422395e
DM
257392013-05-02 David S. Miller <davem@davemloft.net>
25740
25741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25742
a07c5731
OB
257432013-05-01 Ondřej Bílka <neleai@seznam.cz>
25744
25745 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25746
1324e37f
RM
257472013-05-01 Roland McGrath <roland@hack.frob.com>
25748
25749 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25750
0695940b
RS
257512013-05-01 Richard Smith <richard@metafoo.co.uk>
25752
bb5f27ad 25753 [BZ #14952]
0695940b
RS
25754 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25755 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25756 Use __attribute__ ((__gnu_inline__)).
25757 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25758 Don't use __attribute__ ((__gnu_inline__)).
25759
10de07f5
JM
257602013-05-01 Joseph Myers <joseph@codesourcery.com>
25761
25762 [BZ #15423]
25763 * math/s_catan.c (__catan): Handle small real or imaginary part of
25764 input specially to avoid spurious underflow.
25765 * math/s_catanf.c (__catanf): Likewise.
25766 * math/s_catanh.c (__catanh): Likewise.
25767 * math/s_catanhf.c (__catanhf): Likewise.
25768 * math/s_catanhl.c (__catanhl): Likewise.
25769 * math/s_catanl.c (__catanl): Likewise.
25770 * math/libm-test.inc (catan_test): Add more tests.
25771 (catanh_test): Likewise.
25772 * sysdeps/i386/fpu/libm-test-ulps: Update.
25773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25774
cb4d5414
AZ
257752013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25776
25777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25778
caf84319
JM
257792013-04-30 Joseph Myers <joseph@codesourcery.com>
25780
25781 [BZ #15416]
25782 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25783 accurately for denominator in atan2.
25784 * math/s_catanf.c (__catanf): Likewise.
25785 * math/s_catanh.c (__catanh): Likewise.
25786 * math/s_catanhf.c (__catanhf): Likewise.
25787 * math/s_catanhl.c (__catanhl): Likewise.
25788 * math/s_catanl.c (__catanl): Likewise.
25789 * math/libm-test.inc (catan_test): Add more tests.
25790 (catanh_test): Likewise.
25791 * sysdeps/i386/fpu/libm-test-ulps: Update.
25792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25793
d569c6ee
SP
257942013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25795
6dbe713d
SP
25796 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25797
f0ee064b
SP
25798 * benchtests/Makefile (bench): Remove slow benchmarks.
25799 * benchtests/atan-inputs: Add slow benchmark inputs.
25800 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25801 (BENCH_FUNC): Accept variant offset.
25802 (VARIANT): Define.
25803 * benchtests/bench-skeleton.c (main): Run benchmark for each
25804 variant.
25805 * benchtests/cos-inputs: Add slow benchmark inputs.
25806 * benchtests/exp-inputs: Likewise.
25807 * benchtests/pow-inputs: Likewise.
25808 * benchtests/sin-inputs: Likewise.
25809 * benchtests/slowatan-inputs: Remove.
25810 * benchtests/slowatan.c: Remove.
25811 * benchtests/slowcos-inputs: Remove.
25812 * benchtests/slowcos.c: Remove.
25813 * benchtests/slowexp-inputs: Remove.
25814 * benchtests/slowexp.c: Remove.
25815 * benchtests/slowpow-inputs: Remove.
25816 * benchtests/slowpow.c: Remove.
25817 * benchtests/slowsin-inputs: Remove.
25818 * benchtests/slowsin.c: Remove.
25819 * benchtests/slowtan-inputs: Remove.
25820 * benchtests/slowtan.c: Remove.
25821 * benchtests/tan-inputs: Add slow benchmark inputs.
25822 * scripts/bench.pl: Parse comments and directives.
25823
d569c6ee
SP
25824 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25825 in CPPFLAGS.
25826 ($(objpfx)bench-%.c): Remove *-ITER.
25827 * benchtests/bench-modf.c: Remove definition of ITER.
25828 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25829 (main): Loop for DURATION seconds instead of fixed number of
25830 iterations.
25831 * scripts/bench.pl: Don't expect iterations in parameters.
25832
a6a242fe
RM
258332013-04-29 Roland McGrath <roland@hack.frob.com>
25834
25835 * io/fchdir.c (__fchdir): Renamed from fchdir.
25836 (fchdir): Define as weak alias.
25837
f2da7793
JM
258382013-04-29 Joseph Myers <joseph@codesourcery.com>
25839
25840 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25841 (ERRNO_EDOM): Likewise.
25842 (ERRNO_ERANGE): Likewise.
25843 (noErrnoTests): New variable.
25844 (init_max_error): Set errno to 0.
25845 (test_single_errno): New function.
25846 (test_errno): Likewise.
25847 (check_float_internal): Call test_errno. Set errno to 0.
25848 (check_complex): Refer to errno tests in comment.
25849 (check_int): Call test_errno. Set errno to 0.
25850 (check_long): Likewise.
25851 (check_bool): Likewise.
25852 (check_longlong): Likewise.
25853 (cos_test): Use ERRNO_* flags for errno tests instead of
25854 check_int.
25855 (expm1_test): Likewise.
25856 (fmod_test): Likewise.
25857 (ilogb_test): Likewise.
25858 (lgamma_test): Likewise.
25859 (pow_test): Likewise.
25860 (remainder_test): Likewise.
25861 (sin_test): Likewise.
25862 (tan_test): Likewise.
25863 (yn_test): Likewise.
25864 (initialize): Set errno to 0.
25865 (main): Print number of errno tests.
25866 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25867
b1a36ceb
AJ
258682013-04-29 Andreas Jaeger <aj@suse.de>
25869
c3ed8088
AJ
25870 [BZ #15084]
25871 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25872 and RES_USEVC.
25873
f1a24198
AJ
25874 [BZ #15085]
25875 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25876 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25877 unimplemented.
25878
9ce3b2cb
AJ
25879 [BZ #15380]
25880 * stdlib/random.c (__initstate): Return NULL if
25881 __initstate fails.
25882
f1a24198 25883 [BZ #15086]
b1a36ceb
AJ
25884 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25885 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25886 RES_SNGLKUPREOP.
25887
7e7b6f36
AZ
258882013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25889
25890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25891
4d14f449
JM
258922013-04-29 Joseph Myers <joseph@codesourcery.com>
25893
25894 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25895 of individual tests.
25896 (casin_test): Likewise.
25897 (casinh_test): Likewise.
25898
5b4217d7
JM
258992013-04-27 Joseph Myers <joseph@codesourcery.com>
25900
25901 [BZ #15409]
25902 * math/s_catan.c (__catan): Handle arguments with large real or
25903 imaginary part separately without squaring.
25904 * math/s_catanf.c (__catanf): Likewise.
25905 * math/s_catanh.c (__catanh): Likewise.
25906 * math/s_catanhf.c (__catanhf): Likewise.
25907 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25908 and redefine.
25909 (__catanhl): Handle arguments with large real or imaginary part
25910 separately without squaring.
25911 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25912 and redefine.
25913 (__catanl): Handle arguments with large real or imaginary part
25914 separately without squaring.
25915 * math/libm-test.inc (catan_test): Add more tests.
25916 (catanh_test): Likewise.
25917 * sysdeps/i386/fpu/libm-test-ulps: Update.
25918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25919
4220c3ef
AJ
259202013-04-27 Andreas Jaeger <aj@suse.de>
25921
25922 [BZ #15007]
25923 * stdlib/stdlib.h: Update guards for qecvt.
25924 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25925 <stdlib.h>.
25926
4721b2d1
AM
259272013-04-27 Allan McRae <allan@archlinux.org>
25928
25929 * sysdeps/i386/fpu/libm-test-ulps: Update.
25930
f0302940
JM
259312013-04-26 Joseph Myers <joseph@codesourcery.com>
25932
9457fd95
JM
25933 [BZ #15406]
25934 * math/s_catan.c: Include <float.h>.
25935 (__catan): Ensure underflow exception occurs for underflowed
25936 result.
25937 * math/s_catanf.c: Include <float.h>.
25938 (__catanf): Ensure underflow exception occurs for underflowed
25939 result.
25940 * math/s_catanh.c: Include <float.h>.
25941 (__catanh): Ensure underflow exception occurs for underflowed
25942 result.
25943 * math/s_catanhf.c: Include <float.h>.
25944 (__catanhf): Ensure underflow exception occurs for underflowed
25945 result.
25946 * math/s_catanhl.c: Include <float.h>.
25947 (__catanhl): Ensure underflow exception occurs for underflowed
25948 result.
25949 * math/s_catanl.c: Include <float.h>.
25950 (__catanl): Ensure underflow exception occurs for underflowed
25951 result.
25952 * math/libm-test.inc (catan_test): Add more tests.
25953 (catanh_test): Likewise.
25954
f0302940
JM
25955 [BZ #15405]
25956 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25957 underflowed result.
25958 * math/s_ccoshf.c (__ccoshf): Likewise.
25959 * math/s_ccoshl.c (__ccoshl): Likewise.
25960 * math/s_csin.c (__csin): Likewise.
25961 * math/s_csinf.c (__csinf): Likewise.
25962 * math/s_csinh.c (__csinh): Likewise.
25963 * math/s_csinhf.c (__csinhf): Likewise.
25964 * math/s_csinhl.c (__csinhl): Likewise.
25965 * math/s_csinl.c (__csinl): Likewise.
25966 * math/libm-test.inc (ccos_test): Add more tests.
25967 (ccosh_test): Likewise.
25968 (csin_test): Likewise.
25969 (csinh_test): Likewise.
25970
aa630f59
AZ
259712013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25972
25973 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25974 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25975 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25976 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25977 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25978 powerpc/power5+/fpu folders.
25979 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25980
25981
1b835983
MT
259822013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25983
25984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25985
73709b26
JM
259862013-04-25 Joseph Myers <joseph@codesourcery.com>
25987
25988 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25989 additions to variable.
25990 [$(config-machine) = x86_64] (modules-names): Likewise.
25991 ($(objpfx)tst-audit3): Remove dependency.
25992 ($(objpfx)tst-audit3.out): Likewise.
25993 ($(objpfx)tst-audit4): Likewise.
25994 ($(objpfx)tst-audit4.out): Likewise.
25995 ($(objpfx)tst-audit5): Likewise.
25996 ($(objpfx)tst-audit5.out): Likewise.
25997 ($(objpfx)tst-audit6): Likewise.
25998 ($(objpfx)tst-audit6.out): Likewise.
25999 ($(objpfx)tst-audit7): Likewise.
26000 ($(objpfx)tst-audit7.out): Likewise.
26001 (tst-audit3-ENV): Remove variable.
26002 (tst-audit4-ENV): Likewise.
26003 (tst-audit5-ENV): Likewise.
26004 (tst-audit6-ENV): Likewise.
26005 (tst-audit7-ENV): Likewise.
26006 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26007 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26008 addition to variable.
26009 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26010 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26011 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26012 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26013 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26014 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26015 tst-audit3, tst-audit4 and tst-audit5.
26016 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26017 tst-audit6 and tst-audit7.
26018 [$(subdir) = elf] (modules-names): Add audit modules for those
26019 tests.
26020 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26021 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26022 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26023 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26024 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26025 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26026 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26027 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26028 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26029 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26030 [$(subdir) = elf] (tst-audit3-ENV): New variable.
26031 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26032 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26033 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26034 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26035 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26036 Likewise.
26037 [$(subdir) = elf && $(config-cflags-avx) = yes]
26038 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26039 [$(subdir) = elf && $(config-cflags-avx) = yes]
26040 (CFLAGS-tst-auditmod4a.c): Likewise.
26041 [$(subdir) = elf && $(config-cflags-avx) = yes]
26042 (CFLAGS-tst-auditmod4b.c): Likewise.
26043 [$(subdir) = elf && $(config-cflags-avx) = yes]
26044 (CFLAGS-tst-auditmod6b.c): Likewise.
26045 [$(subdir) = elf && $(config-cflags-avx) = yes]
26046 (CFLAGS-tst-auditmod6c.c): Likewise.
26047 [$(subdir) = elf && $(config-cflags-avx) = yes]
26048 (CFLAGS-tst-auditmod7b.c): Likewise.
26049 * elf/tst-audit3.c: Move to ...
26050 * sysdeps/x86_64/tst-audit3.c: ... here.
26051 * elf/tst-audit4.c: Move to ...
26052 * sysdeps/x86_64/tst-audit4.c: ... here.
26053 * elf/tst-audit5.c: Move to ...
26054 * sysdeps/x86_64/tst-audit5.c: ... here.
26055 * elf/tst-audit6.c: Move to ...
26056 * sysdeps/x86_64/tst-audit6.c: ... here.
26057 * elf/tst-audit7.c: Move to ...
26058 * sysdeps/x86_64/tst-audit7.c: ... here.
26059 * elf/tst-auditmod3a.c: Move to ...
26060 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26061 * elf/tst-auditmod3b.c: Move to ...
26062 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26063 * elf/tst-auditmod4a.c: Move to ...
26064 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26065 * elf/tst-auditmod4b.c: Move to ...
26066 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26067 * elf/tst-auditmod5a.c: Move to ...
26068 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26069 * elf/tst-auditmod5b.c: Move to ...
26070 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26071 * elf/tst-auditmod6a.c: Move to ...
26072 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26073 * elf/tst-auditmod6b.c: Move to ...
26074 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26075 * elf/tst-auditmod6c.c: Move to ...
26076 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26077 * elf/tst-auditmod7a.c: Move to ...
26078 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26079 * elf/tst-auditmod7b.c: Move to ...
26080 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26081
1ef74943
PP
260822013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26083
26084 [BZ #15366]
26085 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26086 define unconditionally.
26087 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26088 define unconditionally.
26089 (INT8_C, INT16_C, etc.): Likewise.
26090
93fd48c5
MR
260912013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
26092
ae9552cf
MR
26093 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26094 __ehdr_start with hidden visibility.
26095
93fd48c5
MR
26096 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26097
418601aa
CD
260982013-04-24 Carlos O'Donell <carlos@redhat.com>
26099
26100 * math/libm-test.inc (cos_test): Use accurate hex constants.
26101 (sincost_test): Likewise.
26102
2f38fbfe
JM
261032013-04-24 Joseph Myers <joseph@codesourcery.com>
26104
5e221800
JM
26105 * math/libm-test.inc (catan_test): Add more tests.
26106 (catanh_test): Likewise.
26107
77f143fd
JM
26108 * math/s_catanf.c (__catanf): Use suffixed floating-point
26109 constants.
26110 * math/s_catanhf.c (__catanhf): Likewise.
26111 * math/s_catanhl.c (__catanhl): Likewise.
26112 * math/s_catanl.c (__catanl): Likewise.
26113
2f38fbfe
JM
26114 [BZ #15394]
26115 * math/s_catan.c (__catan): Calculate imaginary part of result
26116 with log1p not log unless computing log of number close to 0.
26117 * math/s_catanf.c (__catanf): Likewise.
26118 * math/s_catanl.c (__catanl): Likewise.
26119 * math/s_catanh.c (__catanh): Calculate real part of result with
26120 log1p not log unless computing log of number close to 0.
26121 * math/s_catanhf.c (__catanhf): Likewise.
26122 * math/s_catanhl.c (__catanhl): Likewise.
26123 * math/libm-test.inc (catan_test): Add more tests.
26124 (catanh_test): Likewise.
26125 * sysdeps/i386/fpu/libm-test-ulps: Update.
26126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26127
45d69176
SP
261282013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26129
26130 * benchtests/Makefile: Mention files in which fast and slow
26131 paths of math functions are implemented.
26132
87f51853
RM
261332013-04-23 Roland McGrath <roland@hack.frob.com>
26134
26135 * sysdeps/posix/timespec_get.c: New file.
26136
3c026539
AZ
261372013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26138
26139 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26140 POWER.
26141 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26142 for POWER.
26143 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26144 powerpc/power5/fpu folders.
26145 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26146 * benchtests/Makefile: Add modf testcase.
26147 * benchtests/bench-modf.c: New file: Benchmark test for mo
26148
ff491d14
SP
261492013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26150
26151 [BZ #14888]
26152 * time/Makefile (tests): Add tst-strptime-whitespace.
26153 * time/strptime_l.c (get_number): Use ISSPACE.
26154 (__strptime_internal): Likewise.
26155 * time/tst-strptime-whitespace.c: New test case.
26156
7ed3f4e8
AS
261572013-04-23 Andreas Schwab <schwab@linux-m68k.org>
26158
26159 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26160 member.
26161 (_nss_files_init): Set it here.
26162
5c95f7b6
HC
261632013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
26164
26165 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26166 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26167 unsigned.
26168
d34c9158
JBG
261692013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
26170
26171 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26172
2169712d
SP
261732013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26174
26175 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26176 size just once.
26177
29c5de99
DM
261782013-04-21 David S. Miller <davem@davemloft.net>
26179
26180 * po/ru.po: Update Russion translation from translation project.
26181
ccdad15d
AC
261822013-04-17 Adam Conrad <adconrad@0c3.net>
26183
26184 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26185 and setfsgid.
26186
0f122b8d
CD
261872013-04-17 Carlos O'Donell <carlos@redhat.com>
26188
5c5b07da 26189 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 26190 * configure: Regenerate.
5c5b07da 26191 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
26192 Add example to error message.
26193 * sysdeps/i386/configure: Regenerate.
26194
037714dd
SP
261952013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26196
26197 * benchtests/Makefile (bench): Add cos, tan, slowcos and
26198 slowtan.
26199 * benchtests/cos-inputs: New file.
26200 * benchtests/slowcos-inputs: New file.
26201 * benchtests/slowcos.c: New file.
26202 * benchtests/slowtan-inputs: New file.
26203 * benchtests/slowtan.c: New file.
26204 * benchtests/tan-inputs: New file.
26205
e913141d
RM
262062013-04-16 Roland McGrath <roland@hack.frob.com>
26207
26208 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26209 considered kosher.
26210
a2964074
SP
262112013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26212
4856bcd2
SP
26213 * benchtests/Makefile: Include cppflags-iterator.mk to add
26214 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26215
a2964074
SP
26216 * Makefile.in (bench-clean): New target.
26217 * benchtests/Makefile (bench-clean): Likewise.
26218
9fbf9aca
DH
262192013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
26220
26221 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26222
207d1e2a
TS
262232013-04-15 Thomas Schwinge <thomas@codesourcery.com>
26224
26225 * stdio-common/tstdiomisc.c: Fix coding-style violation.
26226
306dfba9
AS
262272013-04-15 Andreas Schwab <schwab@suse.de>
26228
26229 * nscd/grpcache.c (cache_addgr): Properly check for short write.
26230 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26231 * nscd/pwdcache.c (cache_addpw): Likewise.
26232 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
26233 more than recsize.
26234
206a6699
SP
262352013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26236
26237 * benchtests/Makefile (bench): Write all output to
26238 bench-out.tmp together.
26239
0582f6b3
AS
262402013-04-15 Andreas Schwab <schwab@suse.de>
26241
26242 * nscd/nscd.c (main): Don't fork again after closing files.
26243
acb4325f
SP
262442013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26245
5cb26d0a
SP
26246 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26247
acb4325f
SP
26248 * benchtests/Rules (bench-deps): Collect dependencies into a
26249 single variable. Add Makefile to dependencies.
26250 ($(objpfx)bench-%.c): Depend on bench-deps.
26251
47792506
RM
262522013-04-12 Roland McGrath <roland@hack.frob.com>
26253 Xavier Roche <roche+kml2@exalead.com>
26254
26255 [BZ #15361]
26256 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26257 just that it's a file descriptor.
26258 * manual/llio.texi (Synchronizing AIO Operations): Update description
26259 for EBADF error from aio_fsync.
26260
8fc1bee5
SP
262612013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26262
26263 * Rules (bench): Move target definition...
26264 * benchtests/Makefile: ... here.
26265
aba5e333
CD
262662013-04-11 Carlos O'Donell <carlos@redhat.com>
26267
26268 * math/libm-test.inc (cos_test): Fix PI/2 test.
26269 (sincos_test): Likewise.
26270 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26271 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26272
273cdee8
AS
262732013-04-11 Andreas Schwab <schwab@suse.de>
26274
6ecec3b6
AS
26275 [BZ #13988]
26276 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26277 accept exponent character only when digits were seen.
26278 * stdio-common/Makefile (tests): Add bug26.
26279 * stdio-common/bug26.c: New file.
26280
273cdee8
AS
26281 [BZ #14293]
26282 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26283 non-freeable.
26284
8da491f5
SP
262852013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26286
01dc6df9
SP
26287 * Makeconfig (rtld-prefix): Define built linker prefix.
26288 * Rules (run-bench): Use it.
26289 * math/Makefile (run-regen-ulps): Likewise.
26290
8da491f5
SP
26291 * Rules (bench): Remove eval.
26292
abe7f530
SP
262932013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26294 Roland McGrath <roland@hack.frob.com>
26295 Ondrej Bilka <neleai@seznam.cz>
26296
26297 [BZ #15346]
26298 * time/getdate.c: Include ctype.h and alloca.h.
26299 (__getdate_r): Trim leading and trailing spaces of input.
26300 * time/tst-getdate.c (tests): Add tests with leading and
26301 trailing spaces.
26302
61c23e62
RM
263032013-04-08 Roland McGrath <roland@hack.frob.com>
26304
26305 [BZ #14280]
26306 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26307 when computing value.
26308
7208a313
CD
263092013-04-06 Carlos O'Donell <carlos@redhat.com>
26310
085b2d41
CD
26311 * math/README.libm-test (How can I generate "libm-test-ulps"?):
26312 Use testrun.sh to run libm tests.
26313
7208a313
CD
26314 [BZ #15309]
26315 * elf/dl-open.c (dl_open_worker): memset all of seen array.
26316
872c0acd
MM
263172013-04-06 Marko Myllynen <myllynen@redhat.com>
26318
26319 [BZ #15264]
26320 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26321
26510bdd
CD
263222013-04-06 Carlos O'Donell <carlos@redhat.com>
26323
26324 * Makefile.in (regen-ulps): New target.
26325 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26326 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26327 [ifneq (no,$(PERL)] (regen-ulps): New target.
26328 [ifeq (no,$(PERL)] (regen-ulps): New target.
26329 * math/libm-test.inc (ulps_file_name): Define.
26330 (output_dir): New variable.
26331 (options): Add "output-dir" option.
26332 (parse_opt): Handle 'o' case.
26333 (main): If output_dir is non-NULL use it as a prefix
26334 otherwise use "".
26335 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26336
a01f19c8
CD
263372013-04-06 Carlos O'Donell <carlos@redhat.com>
26338
26339 [BZ #10060, #10062]
26340 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26341 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26342 fail configure if __sync_val_compare_and_swap is not inlined.
26343 * sysdeps/i386/configure: Regenerate.
26344 * configure.in: Build for i686 when configured for i386.
26345 * configure: Regenerate.
26346 * README: Remove i386 reference.
26347
b7a329a5
CD
263482013-04-06 Carlos O'Donell <carlos@redhat.com>
26349
26350 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26351 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26352
bf0f50df
TS
263532013-04-05 Thomas Schwinge <thomas@codesourcery.com>
26354
ee091edf
TS
26355 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26356 (lmsnanval): New variables.
26357 (F): Add conversion tests.
26358 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26359 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26360
a8b792d6
TS
26361 * stdio-common/tstdiomisc.c (F): Properly collect individual
26362 tests' results.
26363
a1cbf437
TS
26364 [BZ #14686, #15336]
26365 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26366 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26367 Instead, use input NaN values or generate a qNaN by arithmetic
26368 operation. Also fix bugs to comply with the standard.
26369 * math/libm-test.inc (remainder_test): Add more tests.
26370
8b43a0c9
TS
26371 [BZ #15335, #15342]
26372 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26373 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26374 input NaN values or generate a qNaN by arithmetic operation.
26375
d91da4ce
TS
26376 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26377 unreachable code.
26378
bf0f50df
TS
26379 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26380 definitions.
26381
05e166c8
JM
263822013-04-03 Joseph Myers <joseph@codesourcery.com>
26383
26384 [BZ #14478]
26385 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26386 underflowed result.
26387 * math/s_cexpf.c (__cexpf): Likewise.
26388 * math/s_cexpl.c (__cexpl): Likewise.
26389 * math/libm-test.inc (cexp_test): Add more tests.
26390
1cef1b19
AS
263912013-04-03 Andreas Schwab <schwab@suse.de>
26392
26393 [BZ #15330]
26394 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26395 order arrays from heap if bigger than alloca cutoff.
26396
74d87055
TS
263972013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26398
26399 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26400 (SNAN_TESTS_double): Refer to GCC PR56831.
26401 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26402 GCC PR56828.
26403
d755bba4
SP
264042013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26405
90d5d5bb
SP
26406 * Rules (bench): Move bench.out after the run is complete.
26407
73e0cd5d
SP
26408 * Rules (bench): Echo currently running benchmark.
26409
64aabd4b
SP
26410 * benchtests/Makefile (bench): Add atan and slowatan.
26411 * benchtests/atan-inputs: New file.
26412 * benchtests/slowatan-inputs: New file.
26413 * benchtests/slowatan.c: New file.
26414
c871eccd
SP
26415 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26416 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26417 its value.
26418
d755bba4
SP
26419 [BZ #15305]
26420 * sysdeps/unix/sysv/linux/kernel-features.h
26421 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26422 __ASSUME_XFS_RESTRICTED_CHOWN.
26423 * sysdeps/unix/sysv/linux/pathconf.c
26424 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26425 Save and restore errno.
26426
52ce4860
JM
264272013-04-02 Joseph Myers <joseph@codesourcery.com>
26428
26429 [BZ #15327]
26430 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26431 arguments using __kernel_casinh.
26432 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26433 arguments using __kernel_casinhf.
26434 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26435 arguments using __kernel_casinhl.
26436 * math/libm-test.inc (cacosh_test): Add more tests.
26437 * sysdeps/i386/fpu/libm-test-ulps: Update.
26438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26439
81f311c2
SP
264402013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26441
e7906a47
SP
26442 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26443 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26444
92e3664b
SP
26445 * bench/Makefile (bench): Add sin and slowsin.
26446 * benchtests/sin-inputs: New file.
26447 * benchtests/slowsin-inputs: New file.
26448 * benchtests/slowsin.c: New file.
26449
81f311c2
SP
26450 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26451 (bench): Add slowexp and slowpow.
26452 (exp-ITER): Increase iterations.
26453 (pow-ITER): Likewise.
26454 * benchtests/exp-inputs: Change input.
26455 * benchtests/pow-inputs: Likewise.
26456 * benchtests/slowexp-inputs: New file.
26457 * benchtests/slowexp.c: New file.
26458 * benchtests/slowpow-inputs: New file.
26459 * benchtests/slowpow.c: New file.
26460
ab0f1aa9
AZ
264612013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26462
26463 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26464 instructions.
26465 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26466 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26467 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26468 * benchtests/Makefile: Add rint benchtest.
26469 * benchtests/rint-inputs: Input for rint benchtest.
26470
57267616
TS
264712013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26472
26473 * Versions.def (libm): Add GLIBC_2.18.
26474 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26475 hidden libm prototypes.
26476 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26477 * math/Makefile (libm-calls): Add s_issignaling.
26478 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26479 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26480 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26481 declaration.
26482 * math/math.h [__USE_GNU] (issignaling): New macro.
26483 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26484 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26485 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26486 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26487 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26488 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26489 * manual/arith.texi (issignaling): New section.
26490 * manual/libm-err-tab.pl (@all_functions): Update comment.
26491 * math/gen-libm-test.pl (parse_args): Apply special handling for
26492 issignaling.
26493 * math/libm-test.inc (print_float, issignaling_test): New
26494 functions.
26495 (check_float_internal): Add issignaling checks.
26496 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26497 default definition.
26498 * sysdeps/powerpc/math-tests.h: New file.
26499 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26500 tests.
26501 * math/test-snan.c (TEST_FUNC): Likewise.
26502
6142896d
DM
265032013-03-30 David S. Miller <davem@davemloft.net>
26504
26505 * po/de.po: Update from translation team.
26506
ccc8cadf
JM
265072013-03-30 Joseph Myers <joseph@codesourcery.com>
26508
26509 [BZ #10357]
26510 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26511 imaginary part less than 1.0 and real part less than 0.5
26512 specially.
26513 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26514 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26515 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26516 (cacos_test): Add more tests.
26517 (casin_test): Likewise.
26518 (casinh_test): Likewise.
26519 * sysdeps/i386/fpu/libm-test-ulps: Update.
26520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26521
0f6a8d4b
SP
265222013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26523
0d1029de
SP
26524 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26525 ONE with its value.
26526
c2d94018
SP
26527 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26528 (__pow_mp): Replace ONE and MONE with their values.
26529 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26530 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26531 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26532 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26533 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26534 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26535
27ec37f1
SP
26536 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26537
a64d7e0e
SP
26538 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26539 (__pow_mp): Replace ZERO and MZERO with their values.
26540 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26541 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26542 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26543 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26544 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26545 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26546 (__sqr): Likewise.
26547
d26dd3eb
SP
26548 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26549
0f6a8d4b
SP
26550 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26551
e57b0c61
RM
265522013-03-28 Roland McGrath <roland@hack.frob.com>
26553
26554 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26555 Declare with __attribute__ ((weak)).
26556 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26557 Call __call_tls_dtors only if it's not NULL.
26558
356b3480
RM
265592013-03-28 Roland McGrath <roland@hack.frob.com>
26560
288f7d79
RM
26561 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26562 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26563 magic __ehdr_start linker symbol if it's defined.
26564 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26565 them up here if it was already done.
26566
dc0a0263
RM
26567 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26568 (_dl_aux_init): Use const in cast when setting it.
26569 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26570 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26571 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26572
3d3436ae
RM
26573 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26574 Declare them here.
26575 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26576 * csu/libc-tls.c: Nor here.
26577 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26578
356b3480
RM
26579 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26580 (__libc_message): Never call vsyslog.
26581
b0f1246a
AM
265822013-03-28 Alan Modra <amodra@gmail.com>
26583
26584 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26585 Define as empty.
26586 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26587 Likewise.
26588
fbbe2b9a
AZ
265892013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26590
26591 [BZ #15214]
26592 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26593 underflow.
26594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26595
1728ab37
SP
265962013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26597
7a86be6e
SP
26598 [BZ #15304]
26599 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26600 Don't add gid passed as argument.
26601
1728ab37
SP
26602 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26603
3a7182a1
JM
266042013-03-27 Joseph Myers <joseph@codesourcery.com>
26605
26606 [BZ #15307]
26607 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26608 imaginary part between 1.0 and 1.5 and real part less than 0.5
26609 specially.
26610 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26611 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26612 * math/libm-test.inc (cacos_test): Add more tests.
26613 (casin_test): Likewise.
26614 (casinh_test): Likewise.
26615 * sysdeps/i386/fpu/libm-test-ulps: Update.
26616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26617
6f2e90e7
SP
266182013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26619
5739f705
SP
26620 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26621 constants.
26622 (norm): Likewise.
26623 (denorm): Likewise.
26624 (__dbl_mp): Likewise.
26625 (add_magnitudes): Likewise.
26626 (sub_magnitudes): Likewise.
26627 (__add): Likewise.
26628 (__sub): Likewise.
26629 (__mul): Likewise.
26630 (__sqr): Likewise.
26631 (__inv): Likewise.
26632 (__dvd): Likewise.
26633
e375e83d
SP
26634 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26635 commented code.
26636 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26637 (__dubcos): Likewise.
26638 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26639 (__ieee754_acos): Likewise.
26640 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26641 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26642 (__exp1): Likewise.
26643 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26644 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26645 (log1): Likewise.
26646 (my_log2): Likewise.
26647 (checkint): Likewise.
26648 * sysdeps/ieee754/dbl-64/e_remainder.c
26649 (__ieee754_remainder): Likewise.
26650 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26651 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26652 (bsloww): Likewise.
26653 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26654
6f2e90e7
SP
26655 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26656 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26657 MANTISSA_STORE_T to store computations on mantissa. Use
26658 macros for rounding and division.
26659 (denorm): Likewise.
26660 (__dbl_mp): Likewise.
26661 (add_magnitudes): Likewise.
26662 (sub_magnitudes): Likewise.
26663 (__mul): Likewise.
26664 (__sqr): Likewise.
26665 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26666 powers of two in terms of TWOPOW macro.
26667 (mp_no): Make type of mantissa as MANTISSA_T.
26668 [!RADIXI]: Define RADIXI.
26669 [!TWO52]: Define TWO52.
26670 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26671
fce14d4e
AZ
266722013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26673
26674 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26675 llroundl symbol when building for PPC32.
26676
9ad027fb
MW
266772013-03-24 Mark H Weaver <mhw@netris.org>
26678
26679 * manual/arith.texi (Normalization Functions): Fix prototypes for
26680 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26681
e42a38dd
AZ
266822013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26683
26684 [BZ #13889]
26685 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26686 high value to check if expl overflow.
26687 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26688 to check for underflow and overflow.
26689 * math/libm-test.inc: Add exp test.
26690
2e0fb521
DL
266912013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26692
26693 [BZ #11120]
26694 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26695 with NOT_IN_libc.
26696
b5784d95
AZ
266972013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26698
26699 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26700 symbol.
26701
5aa4a1a1
TS
267022013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26703
bdef0be7
TS
26704 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26705 wrap blocks consisting of several statements.
26706
5aa4a1a1
TS
26707 * sysdeps/generic/math-tests.h: New file.
26708 * sysdeps/i386/fpu/math-tests.h: Likewise.
26709 * math/test-snan.c: Include it.
26710 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26711
98c48fe5
JM
267122013-03-21 Joseph Myers <joseph@codesourcery.com>
26713
26714 [BZ #15285]
26715 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26716 (__ieee754_j0l): Do not improve calculations using cos of twice
26717 input for inputs above LDBL_MAX / 2.0L.
26718 (__ieee754_y0l): Likewise.
26719 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26720 (__ieee754_j1l): Do not improve calculations using cos of twice
26721 input for inputs above LDBL_MAX / 2.0L.
26722 (__ieee754_y1l): Likewise.
26723 * math/libm-test.inc (j0_test): Add another test.
26724 (j1_test): Likewise.
26725 (y0_test): Likewise.
26726 (y1_test): Likewise.
26727 * sysdeps/i386/fpu/libm-test-ulps: Update.
26728
3775a8bc
SP
267292013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26730
26731 * Rules ($(objpfx)bench-%.c): Include code from a C source
26732 file.
26733
0a1b2ae6
JM
267342013-03-21 Joseph Myers <joseph@codesourcery.com>
26735
26736 [BZ #15287]
26737 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26738 imaginary part 1.0 and real part less than 0.5 specially.
26739 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26740 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26741 * math/libm-test.inc (cacos_test): Add more tests.
26742 (casin_test): Likewise.
26743 (casinh_test): Likewise.
26744 * sysdeps/i386/fpu/libm-test-ulps: Update.
26745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26746
b33d4ce4
SP
267472013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26748
26749 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26750 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26751
bef0b507
JM
267522013-03-20 Joseph Myers <joseph@codesourcery.com>
26753
26754 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26755 * config.make.in (config-cflags-sse4): Remove variable.
26756 (config-cflags-avx): Likewise.
26757 (config-cflags-sse2avx): Likewise.
26758 (config-cflags-novzeroupper): Likewise.
26759 (config-asflags-i686): Likewise.
26760 (have-mfma4): Likewise.
26761 (have-as-vis3): Likewise.
26762 (MIG): Likewise.
26763 * configure.in (MIG): Do not AC_SUBST.
26764 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26765 (libc_cv_cc_sse4): Do not AC_SUBST.
26766 (libc_cv_cc_avx): Likewise.
26767 (libc_cv_cc_sse2avx): Likewise.
26768 (libc_cv_cc_novzeroupper): Likewise.
26769 (libc_cv_cc_fma4): Likewise.
26770 (libc_cv_as_i686): Likewise.
26771 (libc_cv_sparc_as_vis3): Likewise.
26772 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26773 LIBC_CONFIG_VAR.
26774 (config-asflags-i686): Likewise.
26775 (config-cflags-avx): Likewise.
26776 (config-cflags-sse2avx): Likewise.
26777 (have-mfma4): Likewise.
26778 (config-cflags-novzeroupper): Likewise.
26779 * sysdeps/mach/configure.in (MIG): Likewise.
26780 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26781 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26782 LIBC_CONFIG_VAR.
26783 (config-cflags-avx): Likewise.
26784 (config-cflags-sse2avx): Likewise.
26785 (have-mfma4): Likewise.
26786 (config-cflags-novzeroupper): Likewise.
26787 * configure: Regenerated.
26788 * sysdeps/i386/configure: Likewise.
26789 * sysdeps/mach/configure: Likewise.
26790 * sysdeps/sparc/configure: Likewise.
26791 * sysdeps/x86_64/configure: Likewise.
26792
912cc4b3
RM
267932013-03-20 Roland McGrath <roland@hack.frob.com>
26794
26795 [BZ #14812]
26796 * locale/programs/localedef.c (options): Put N_ translation marker
26797 on argument names, not just descriptions.
26798
04eed2b0
MS
267992013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26800
26801 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26802
a065ceff
OB
268032013-03-20 Ondřej Bílka <neleai@seznam.cz>
26804
9bb2a810 26805 [BZ #14176]
a065ceff
OB
26806 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26807
a600e5ce
RM
268082013-03-19 Roland McGrath <roland@hack.frob.com>
26809
26810 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26811 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26812 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26813 [!BEFORE_ABORT] (before_abort): New function.
26814 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26815 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26816 (writev_for_fatal): New function.
26817 (WRITEV_FOR_FATAL): New macro; call that.
26818 (backtrace_and_maps): New function.
26819 (BEFORE_ABORT): New macro; call that.
26820 (struct str_list): Type removed.
26821 (__libc_message, __libc_fatal): Functions removed.
26822 Include <sysdeps/posix/libc_fatal.c> instead.
26823
6b18bea6
JM
268242013-03-19 Joseph Myers <joseph@codesourcery.com>
26825
26826 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26827 constants.
26828 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26829 double constants.
26830
aaa8cb4b
AS
268312013-03-19 Andreas Schwab <schwab@suse.de>
26832
44673770
AS
26833 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26834 * sysdeps/gnu/configure: Regenerate.
26835
aaa8cb4b
AS
26836 * configure.in: Substitute libc_cv_rtlddir.
26837 * configure: Regenerate.
26838 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26839 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26840 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26841 * elf/Makefile (install-others, CFLAGS-interp.c)
26842 (ldso_install, common-ldd-rewrite): Likewise.
26843 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26844 $(inst_slibdir)/$(rtld-installed-name).
26845 * scripts/rellns-sh: Add -p option.
26846 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26847 for source.
26848
d3cfc668
SP
268492013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26850
26851 * manual/nptl.texi: Renamed to ...
26852 * manual/threads.texi: ... this.
26853 * manual/Makefile (chapters): Update.
26854
0e2b9cdd
RM
268552013-03-18 Roland McGrath <roland@hack.frob.com>
26856
26857 [BZ #14812]
26858 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26859 on argument names, not just descriptions.
0e2b9cdd
RM
26860 * malloc/memusagestat.c (options): Likewise.
26861 * nss/getent.c (options): Likewise.
63270c24
RM
26862
268632013-03-18 Benno Schulenberg <bensberg@justemail.net>
26864
26865 [BZ #14812]
26866 * iconv/iconv_prog.c (options): Put N_ translation marker
26867 on argument names, not just descriptions.
26868 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 26869
b2e1393c
OB
268702013-03-18 Ondrej Bilka <neleai@seznam.cz>
26871
26872 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26873 implementation which is faster on all x86_64 architectures.
26874 Tested on AMD, Intel Nehalem, SNB, IVB.
26875 * sysdeps/x86_64/strnlen.S: Likewise.
26876
26877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26878 Remove all multiarch strlen and strnlen versions.
26879 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26880 Remove strlen and strnlen related parts.
26881
26882 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26883 Inline strlen part.
26884 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26885
26886 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26887 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26888 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26889 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26890 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26891 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26892
ec4ff04d
CD
268932013-03-17 Carlos O'Donell <carlos@redhat.com>
26894
26895 * manual/memory.texi (Malloc Tunable Parameters):
26896 Sort parameters alphabetically. Add comments for missing entries.
26897
cd18e90a
DM
268982013-03-17 David S. Miller <davem@davemloft.net>
26899
26900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26901
2a185d32
JM
269022013-03-16 Joseph Myers <joseph@codesourcery.com>
26903
d2f9799e
JM
26904 [BZ #15283]
26905 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26906 for arguments at most half maximum finite value.
26907 * math/libm-test.inc (j0_test): Add more tests.
26908 (j1_test): Likewise.
26909 (y0_test): Likewise.
26910 (y1_test): Likewise.
26911 * sysdeps/i386/fpu/libm-test-ulps: Update.
26912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26913
2a185d32
JM
26914 [BZ #14155]
26915 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26916 1 / x and functions P and Q for arguments above 0x1p256L.
26917 (__ieee754_y0l): Likewise.
26918 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26919 (__ieee754_y1l): Likewise.
26920 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26921 (j1_test): Likewise.
26922 (y0_test): Likewise.
26923 (y1_test): Likewise.
26924
6cbec759
TS
269252013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26926
26927 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26928 variable.
26929
bc16e260
RM
269302013-03-15 Roland McGrath <roland@hack.frob.com>
26931
aefc9b8c
RM
26932 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26933 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26934 zero since it's initialized to EXEC_PAGESIZE.
26935
bc16e260
RM
26936 * sysdeps/unix/sysv/linux/ldsodefs.h
26937 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26938 * sysdeps/generic/ldsodefs.h: ... here.
26939
a57da955
TS
269402013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26941
af00a34d
TS
26942 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26943
495ded2c
TS
26944 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26945 math/test-snan.c.
26946 * math/test-snan.c: Renamed from
26947 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26948 * math/Makefile (tests): Add test-snan.
26949 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26950 test-powerpc-snan.
26951
777b0332
TS
26952 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26953 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26954 functions.
26955 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26956 __builtin_nan family of functions.
26957 * math/libm-test.inc (initialize): Initialize qnan_value with
26958 __builtin_nan family of functions.
26959 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26960 Remove variables.
26961 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26962 Remove functions.
26963 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26964 storage class. Initialize qNaN_var and sNaN_var with
26965 __builtin_nan and __builtin_nans families of functions,
26966 respectively.
26967
64d063b8
TS
26968 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26969 (sqrt_test): Remove duplicate test with qNaN input.
26970 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26971 (round_test, signbit_test, significand_test): Note missing +/-Inf
26972 as well as qNaN tests.
26973
67e971f1
TS
26974 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26975 qNaN_var. Fix a few strings, too.
26976 * math/libm-test.inc (nan_value): Rename to qnan_value.
26977 * math/gen-libm-test.pl (%beautify): Adjust to that.
26978 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26979 * math/test-misc.c (main): Likewise.
26980 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26981 to __qnan_bytes, and __qnan_union, respectively.
26982 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26983 Likewise.
26984 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26985 and lqnanval, respectively.
26986 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26987 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26988 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26989 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26990
64487e12
TS
26991 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26992 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26993 doubles.
26994
e015e27b
TS
26995 * math/test-misc.c (main): Fix copy'n'pastos.
26996 * misc/tst-efgcvt.c (special): Likewise.
26997
a57da955
TS
26998 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26999 Remove declarations.
27000
1e380345
SP
270012013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27002
27003 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27004 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27005 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27006 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27007
ef26eece
AZ
270082013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27009
27010 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27011 macro to return vdso values correctly in IFUNC implementations.
27012 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27013 Optimization by using IFUNC.
27014
8cfdb7e0
SP
270152013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27016 Richard Henderson <rth@redhat.com>
27017 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27018
27019 * Makefile.in (bench): New target.
27020 * NEWS: Mention the benchmark framework.
27021 * Rules (bench): Likewise.
27022 (binaries-bench): Generate binaries for functions to
27023 benchmark.
27024 * benchtests/Makefile: New makefile for benchmark tests.
27025 * benchtests/bench-skeleton.c: New skeleton file for benchmark
27026 programs.
27027 * benchtests/exp-inputs: New input file for EXP function.
27028 * benchtests/pow-inputs: New input file for POW function.
27029 * scripts/bench.pl: New script to generate source files for
27030 benchmark programs.
27031
bcda9880
SP
270322013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27033
d22ca8cd
SP
27034 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27035 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27036 computations on mantissa. Use macros for rounding and
27037 division.
27038 (denorm): Likewise.
27039 (__dbl_mp): Likewise.
27040 (add_magnitudes): Likewise.
27041 (sub_magnitudes): Likewise.
27042 (__mul): Likewise.
27043 (__sqr): Likewise.
27044 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27045 powers of two in terms of TWOPOW macro.
27046 (mp_no): Make type of mantissa as MANTISSA_T.
27047 [!RADIXI]: Define RADIXI.
27048 [!TWO52]: Define TWO52.
27049 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27050
bcda9880
SP
27051 * manual/nptl.texi (cindex): Modify threads to pthreads.
27052
06d5adfb
JM
270532013-03-15 Joseph Myers <joseph@codesourcery.com>
27054
27055 * sysdeps/x86_64/preconfigure: Regenerated.
27056
41c7328e
JM
270572013-03-14 Joseph Myers <joseph@codesourcery.com>
27058
27059 [BZ #14155]
27060 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27061 0x1p28 and above.
27062 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27063 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27064 0x1p28 and above.
27065 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27066 * math/libm-test.inc (j0_test): Do not allow one spurious
27067 underflow exception.
27068 (y1_test): Likewise.
27069
e25cfa60
SP
270702013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27071
0409959c
SP
27072 * manual/Makefile (chapters): Add nptl.
27073 * manual/debug.texi (Debugging Support): Add link to Threads
27074 chapter.
27075 * manual/nptl.texi: New file.
27076
e25cfa60
SP
27077 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27078
58a1335e
PB
270792013-03-14 Petr Baudis <pasky@ucw.cz>
27080
27081 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27082 for non-NULL pointer before the memory validity test. Pointed
27083 out by Holger Brunck <holger.brunck@keymile.com>.
27084
9dc7c64f
AS
270852013-03-13 Andreas Schwab <schwab@suse.de>
27086
27087 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27088 instead of .os.
27089
54206aa6
JM
270902013-03-13 Joseph Myers <joseph@codesourcery.com>
27091
27092 * timezone/zic.c: Update from tzcode 2013b.
27093
e98cdb38
CD
270942013-03-12 Carlos O'Donell <carlos@redhat.com>
27095
27096 * manual/install.texi (Configuring and compiling):
27097 Mention i686 and i586.
27098 * INSTALL: Regenerate.
27099
9967e003
RM
271002013-03-12 Roland McGrath <roland@hack.frob.com>
27101
27102 * sysdeps/init_array/elf-init.c: New file.
27103 * csu/elf-init.c
27104 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27105 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27106
27107 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27108 __gmon_start__ as global, but as static with a .preinit_array pointer.
27109 * sysdeps/init_array/gmon-start.c: New file. Use that.
27110 * sysdeps/init_array/crti.S: New file, empty except for comments.
27111 * sysdeps/init_array/crtn.S: Likewise.
27112
e6b5a293 271132013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
27114
27115 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27116 definining bcopy.
80f844c9
OB
27117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27118 Remove Prefer_SSE_for_memop.
27119 * sysdeps/x86_64/multiarch/init-arch.h: Remove
27120 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27121 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
27122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27123 memset-x86-64.
80f844c9 27124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 27125 Remove bzero, memset ifunc support.
80f844c9
OB
27126 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27127 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27128 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27129 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27130
fb6b0fcb
AS
271312013-03-11 Andreas Schwab <schwab@suse.de>
27132
27133 [BZ #15234]
27134 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27135 by SHLIB_COMPAT.
27136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27137 (GLIBC_2.16): Remove pthread_atfork.
27138
3e6bd4b1
PP
271392013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27140
27141 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27142 (ptestcases.h): Likewise.
27143
222d7f00
RM
271442013-03-08 Roland McGrath <roland@hack.frob.com>
27145
27146 * Makeconfig ($(common-objpfx)config.status): Depend on
27147 sysdeps/*/preconfigure{,.in} too.
27148
1ba4f030
JM
271492013-03-08 Joseph Myers <joseph@codesourcery.com>
27150
a222d91a
JM
27151 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27152 (__free_hook): Use void * instead of __malloc_ptr_t.
27153 (__malloc_hook): Likewise.
27154 (__realloc_hook): Likewise.
27155 (__memalign_hook): Likewise.
27156 (__after_morecore_hook): Likewise.
27157 * malloc/arena.c (save_malloc_hook): Likewise.
27158 (save_free_hook): Likewise.
27159 * malloc/hooks.c (malloc_hook_ini): Likewise.
27160 (realloc_hook_ini): Likewise.
27161 (memalign_hook_ini): Likewise.
27162 * malloc/malloc.c (malloc_hook_ini): Likewise.
27163 (realloc_hook_ini): Likewise.
27164 (memalign_hook_ini): Likewise.
27165 (__free_hook): Likewise.
27166 (__malloc_hook): Likewise.
27167 (__realloc_hook): Likewise.
27168 (__memalign_hook): Likewise.
27169 (__libc_malloc): Likewise.
27170 (__libc_free): Likewise.
27171 (__libc_realloc): Likewise.
27172 (__libc_memalign): Likewise.
27173 (__libc_valloc): Likewise.
27174 (__libc_pvalloc): Likewise.
27175 (__libc_calloc): Likewise.
27176 (__posix_memalign): Likewise.
27177 * malloc/morecore.c (__sbrk): Likewise.
27178 (__default_morecore): Likewise.
27179
5cc45e10
JM
27180 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27181
dd54b864
JM
27182 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27183 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27184 __malloc_ptrdiff_t.
27185
1ba4f030
JM
27186 * malloc/malloc.h (__malloc_size_t): Remove macro.
27187 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27188 __malloc_size_t.
27189 (old_memalign_hook): Likewise.
27190 (old_realloc_hook): Likewise.
27191 (struct hdr): Likewise.
27192 (flood): Likewise.
27193 (mallochook): Likewise.
27194 (memalignhook): Likewise.
27195 (reallochook): Likewise.
27196 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27197 (tr_old_realloc_hook): Likewise.
27198 (tr_old_memalign_hook): Likewise.
27199 (tr_mallochook): Likewise.
27200 (tr_reallochook): Likewise.
27201 (tr_memalignhook): Likewise.
27202
edf66e57
AZ
272032013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27204
27205 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27206 default_ldbl_pack and using as default implementation.
27207 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27208 implementation.
27209 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27210 redundant definition.
27211 (ldbl_insert_mantissa): Likewise.
27212 (ldbl_canonicalize): Likewise.
27213 (ldbl_nearbyint): Likewise.
27214 (ldbl_pack): Rename to ldbl_pack_ppc.
27215 (ldbl_unpack): Rename to ldbl_unpack_ppc.
27216 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27217 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27218
6d9145d8
SP
272192013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27220
27221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27222 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27223 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27224 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27226 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27227 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27228 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27229
4dd4e157
AJ
272302013-03-07 Andreas Jaeger <aj@suse.de>
27231
27232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27233 bits/mman-linux.h.
27234
adbb8027
SP
272352013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27236
ce544b5b
SP
27237 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27238 Include mpa.h and declare __MPEXP.
27239 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27240 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27241 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27242 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27243 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27244 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27245 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27246
4cc149fd
SP
27247 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27248 (__slowpow): Use long double EXPL and LOGL functions to
27249 compute POW.
27250 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27251 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27252 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27253 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27254 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27255 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27256
e6ebd4a7
SP
27257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27258 intermediate variable to calculate exponent.
27259 (__sqr): Likewise.
27260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27261 Likewise.
27262 (__sqr): Likewise.
27263
82a9811d
SP
27264 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27265 [!NO__SQR]: Define __sqr.
27266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27267 and NO__SQR. Remove all code except __mul and __sqr. Include
27268 sysdeps/ieee754/dbl-64/mpa.c.
27269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27270
adbb8027
SP
27271 [BZ #12723]
27272 * posix/Makefile (tests): Add tst-pathconf.
27273 * posix/tst-pathconf.c: New test case.
27274 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27275 _PC_PIPE_BUF.
27276 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27277
39120df9
PF
272782013-03-06 Patsy Franklin <pfrankli@redhat.com>
27279
27280 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27281
67525cb8
AJ
272822013-03-06 Andreas Jaeger <aj@suse.de>
27283
664a9ce4
AJ
27284 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27285 definition via __MAP_ANONYMOUS.
27286
8e39047d
AJ
27287 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27288 it's not part of Linux headers.
27289
67525cb8
AJ
27290 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27291 (MAP_HUGE_MASK): Define.
27292
27293 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27294 Define.
27295 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27296 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27297 Define.
27298 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27299 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27300 Define.
27301 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27302 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27303 Define.
27304 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27305
27306 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27307 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27308 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27309 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27310 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27311 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27312
27313 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27314 Handle f2fs.
27315
27316 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27317 Handle f2fs and efivarfs.
27318
27319 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27320 f2fs.
27321
27322 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27323 (EFIVARFS_MAGIC): Add.
27324 (F2FS_LINK_MAX): Add.
27325
e1b42695
PP
273262013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27327
27328 * stdio-common/vfprintf.c: Replace __builtin_expect with
27329 __glibc_unlikely.
27330
2d67d91a
JM
273312013-03-06 Joseph Myers <joseph@codesourcery.com>
27332
27333 [BZ #13550]
27334 * sysdeps/generic/bp-sym.h: Remove file.
27335 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27336 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27337 <bp-sym.h> and <bp-asm.h>.
27338 (__longjmp): Don't use BP_SYM.
27339 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27340 and <bp-asm.h>.
27341 (memcpy): Don't use BP_SYM.
27342 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27343 <bp-sym.h> and <bp-asm.h>.
27344 (memcpy): Don't use BP_SYM.
27345 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27346 <bp-asm.h>.
27347 (memcpy): Don't use BP_SYM.
27348 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27349 <bp-asm.h>.
27350 (memset): Don't use BP_SYM.
27351 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27352 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27353 (__bzero): Don't use BP_SYM.
27354 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27355 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27356 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27357 <bp-sym.h> and <bp-asm.h>.
27358 (memcmp): Don't use BP_SYM. Remove comment about bounded
27359 pointers.
27360 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27361 <bp-sym.h> and <bp-asm.h>.
27362 (memcpy): Don't use BP_SYM.
27363 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27364 <bp-sym.h> and <bp-asm.h>.
27365 (memset): Don't use BP_SYM.
27366 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27367 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27368 (__bzero): Don't use BP_SYM.
27369 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27370 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27371 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27372 <bp-sym.h> and <bp-asm.h>.
27373 (strncmp): Don't use BP_SYM. Remove comment about bounded
27374 pointers.
27375 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27376 <bp-sym.h> and <bp-asm.h>.
27377 (memcpy): Don't use BP_SYM.
27378 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27379 <bp-sym.h> and <bp-asm.h>.
27380 (memset): Don't use BP_SYM.
27381 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27382 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27383 (__bzero): Don't use BP_SYM.
27384 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27385 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27386 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27387 <bp-sym.h> and <bp-asm.h>.
27388 (__memchr): Don't use BP_SYM.
27389 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27390 <bp-sym.h> and <bp-asm.h>.
27391 (memcmp): Don't use BP_SYM. Remove comment about bounded
27392 pointers.
27393 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27394 <bp-sym.h> and <bp-asm.h>.
27395 (memcpy): Don't use BP_SYM.
27396 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27397 <bp-sym.h> and <bp-asm.h>.
27398 (__mempcpy): Don't use BP_SYM.
27399 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27400 <bp-sym.h> and <bp-asm.h>.
27401 (__memrchr): Don't use BP_SYM.
27402 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27403 <bp-sym.h> and <bp-asm.h>.
27404 (memset): Don't use BP_SYM.
27405 (__bzero): Likewise.
27406 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27407 <bp-sym.h> and <bp-asm.h>.
27408 (__rawmemchr): Don't use BP_SYM.
27409 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27410 <bp-sym.h> and <bp-asm.h>.
27411 (__STRCMP): Don't use BP_SYM.
27412 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27413 <bp-sym.h> and <bp-asm.h>.
27414 (strchr): Don't use BP_SYM.
27415 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27416 <bp-sym.h> and <bp-asm.h>.
27417 (__strchrnul): Don't use BP_SYM.
27418 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27419 <bp-sym.h> and <bp-asm.h>.
27420 (strlen): Don't use BP_SYM.
27421 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27422 <bp-sym.h> and <bp-asm.h>.
27423 (strncmp): Don't use BP_SYM. Remove comment about bounded
27424 pointers.
27425 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27426 <bp-sym.h> and <bp-asm.h>.
27427 (__strnlen): Don't use BP_SYM.
27428 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27429 <bp-sym.h> and <bp-asm.h>.
27430 (__GI__setjmp): Don't use BP_SYM.
27431 (_setjmp): Likewise.
27432 (__sigsetjmp): Likewise.
27433 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27434 (L(start_addresses)): Don't use BP_SYM.
27435 (_start): Likewise.
27436 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27437 <bp-asm.h>.
27438 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27439 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27440 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27441 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27442 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27443 <bp-asm.h>.
27444 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27445 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27446 about bounded pointers.
27447 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27448 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27449 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27450 <bp-asm.h>.
27451 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27452 about bounded pointers. Remove GKM FIXME comments.
27453 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27454 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27455 <bp-asm.h>.
27456 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27457 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27458 Remove GKM FIXME comments.
27459 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27460 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27461 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27462 <bp-asm.h>.
27463 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27464 about bounded pointers. Remove GKM FIXME comment.
27465 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27466 and <bp-asm.h>.
27467 (strncmp): Don't use BP_SYM. Remove comment about bounded
27468 pointers.
27469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27470 <bp-sym.h> and <bp-asm.h>.
27471 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27473 <bp-sym.h> and <bp-asm.h>.
27474 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27475 comment.
27476
cdcf361f
PP
274772013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27478
27479 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27480 call free(NULL).
27481
3c4a2b15
DM
274822013-03-05 David S. Miller <davem@davemloft.net>
27483
27484 * po/es.po: Update from translation team.
27485
cdcf361f 274862013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
27487
27488 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27489 <bits/mman-linux.h>.
27490 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27491 is fine.
27492 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27493 <bits/mman-linux.h> to end of file.
27494 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27495 is fine.
27496 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27497 <bits/mman-linux.h> to end of file.
27498 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27499 is fine.
27500 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27501 <bits/mman-linux.h> to end of file.
27502
27503 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27504 (MCL_CURRENT, MCL_FUTURE): Define here.
27505
5f67c04f
AK
275062013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27507
8a4473cc 27508 [BZ #15232]
5f67c04f
AK
27509 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27510 attribute_hidden.
27511 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27512
c3e94a95
AK
275132013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27514
27515 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27516 fourth parameter needed for rt_sigprocmask syscall.
27517 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27518 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27519 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27520 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27521 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27522 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27523
cfb6382a
JM
275242013-03-04 Joseph Myers <joseph@codesourcery.com>
27525
27526 [BZ #13550]
27527 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27528 comment about bounded pointers.
27529 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27530 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27531
539d8e01
AJ
275322013-03-04 Andreas Jaeger <aj@suse.de>
27533
27534 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27535 common definitions.
27536
27537 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27538 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27539 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27540 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27541 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
27542 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27543
2e167a70 275442013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
27545
27546 [BZ #15055]
27547 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27548 __ieee754_sqrl instead of __sqrl.
27549
68508633
JM
275502013-03-01 Joseph Myers <joseph@codesourcery.com>
27551
27552 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27553 * sysdeps/powerpc/fpu_control.h: ... here.
27554 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27555 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27556 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27557 * sysdeps/powerpc/bits/mathinline.h: ... here.
27558
7775448e
RM
275592013-03-01 Roland McGrath <roland@hack.frob.com>
27560
27561 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27562 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27563 to just [NEED_DL_SYSINFO_DSO].
27564 * elf/dl-support.c: Likewise.
27565 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27566 * elf/rtld.c (dl_main): Likewise.
27567 * elf/setup-vdso.h (setup_vdso): Likewise.
27568 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27569 * sysdeps/unix/sysv/linux/dl-sysdep.c
27570 (_dl_discover_osversion): Likewise.
27571
4e9b5995
CD
275722013-03-01 Carlos O'Donell <carlos@redhat.com>
27573
27574 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27575 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27576
e23872c8
SP
275772013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27578
e5c74c63
SP
27579 * NEWS: Mention libm performance improvements and non-x86 PI
27580 futex support.
27581
e23872c8
SP
27582 * csu/libc-start.c (__pthread_initialize_minimal): Change
27583 function arguments.
27584 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27585
b5510883
JM
275862013-02-28 Joseph Myers <joseph@codesourcery.com>
27587
27588 [BZ #13550]
27589 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27590 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27591 <bp-sym.h> and <bp-asm.h>.
27592 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27593 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27594 and <bp-asm.h>.
27595 (memcpy): Don't use BP_SYM.
27596 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27597 <bp-asm.h>.
27598 (__mpn_add_n): Don't use BP_SYM.
27599 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27600 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27601 and <bp-asm.h>.
27602 (__mpn_addmul_1): Don't use BP_SYM.
27603 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27604 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27605 <bp-sym.h>.
27606 (_setjmp): Don't use BP_SYM.
27607 (__novmx_setjmp): Likewise.
27608 (__GI__setjmp): Likewise.
27609 (__vmx_setjmp): Likewise.
27610 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27611 <bp-sym.h>.
27612 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27613 (__bzero): Don't use BP_SYM.
27614 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27615 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27616 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27617 <bp-sym.h> and <bp-asm.h>.
27618 (memcpy): Don't use BP_SYM.
27619 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27620 <bp-sym.h> and <bp-asm.h>.
27621 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27622 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27623 <bp-sym.h> and <bp-asm.h>.
27624 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27625 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27626 <bp-asm.h>.
27627 (__mpn_lshift): Don't use BP_SYM.
27628 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27629 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27630 <bp-asm.h>.
27631 (memset): Don't use BP_SYM.
27632 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27633 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27634 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27635 <bp-asm.h>.
27636 (__mpn_mul_1): Don't use BP_SYM.
27637 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27638 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27639 <bp-sym.h> and <bp-asm.h>.
27640 (memcmp): Don't use BP_SYM.
27641 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27642 <bp-sym.h> and <bp-asm.h>.
27643 (memcpy): Don't use BP_SYM.
27644 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27645 <bp-sym.h> and <bp-asm.h>.
27646 (memset): Don't use BP_SYM.
27647 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27648 <bp-sym.h> and <bp-asm.h>.
27649 (strncmp): Don't use BP_SYM.
27650 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27651 <bp-sym.h> and <bp-asm.h>.
27652 (memcpy): Don't use BP_SYM.
27653 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27654 <bp-sym.h> and <bp-asm.h>.
27655 (memset): Don't use BP_SYM.
27656 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27657 <bp-sym.h> and <bp-asm.h>.
27658 (__memchr): Don't use BP_SYM.
27659 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27660 <bp-sym.h> and <bp-asm.h>.
27661 (memcmp): Don't use BP_SYM.
27662 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27663 <bp-sym.h> and <bp-asm.h>.
27664 (memcpy): Don't use BP_SYM.
27665 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27666 <bp-sym.h> and <bp-asm.h>.
27667 (__mempcpy): Don't use BP_SYM.
27668 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27669 <bp-sym.h> and <bp-asm.h>.
27670 (__memrchr): Don't use BP_SYM.
27671 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27672 <bp-sym.h> and <bp-asm.h>.
27673 (memset): Don't use BP_SYM.
27674 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27675 <bp-sym.h> and <bp-asm.h>.
27676 (__rawmemchr): Don't use BP_SYM.
27677 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27678 <bp-sym.h> and <bp-asm.h>.
27679 (__STRCMP): Don't use BP_SYM.
27680 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27681 <bp-sym.h> and <bp-asm.h>.
27682 (strchr): Don't use BP_SYM.
27683 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27684 <bp-sym.h> and <bp-asm.h>.
27685 (__strchrnul): Don't use BP_SYM.
27686 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27687 <bp-sym.h> and <bp-asm.h>.
27688 (strlen): Don't use BP_SYM.
27689 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27690 <bp-sym.h> and <bp-asm.h>.
27691 (strncmp): Don't use BP_SYM.
27692 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27693 <bp-sym.h> and <bp-asm.h>.
27694 (__strnlen): Don't use BP_SYM.
27695 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27696 <bp-asm.h>.
27697 (__mpn_rshift): Don't use BP_SYM.
27698 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27699 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27700 <bp-sym.h> and <bp-asm.h>.
27701 (__sigsetjmp): Don't use BP_SYM.
27702 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27703 (L(start_addresses)): Don't use BP_SYM.
27704 (_start): Likewise.
27705 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27706 <bp-asm.h>.
27707 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27708 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27709 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27710 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27711 <bp-asm.h>.
27712 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27713 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27714 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27715 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27716 <bp-asm.h>.
27717 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27718 comments.
27719 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27720 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27721 <bp-asm.h>.
27722 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27723 FIXME comments.
27724 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27725 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27726 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27727 <bp-asm.h>.
27728 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27729 comment.
27730 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27731 and <bp-asm.h>.
27732 (strncmp): Don't use BP_SYM,
27733 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27734 <bp-asm.h>.
27735 (__mpn_sub_n): Don't use BP_SYM.
27736 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27737 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27738 and <bp-asm.h>.
27739 (__mpn_submul_1): Don't use BP_SYM.
27740 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27742 <bp-sym.h> and <bp-asm.h>.
27743 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27745 <bp-sym.h> and <bp-asm.h>.
27746 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27747 comment.
27748
8d19fe64
SP
277492013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27750
27751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27752 Use ZK to minimize writes to Z.
27753 (sub_magnitudes): Simplify code a bit.
27754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27755 Use ZK to minimize writes to Z.
27756 (sub_magnitudes): Simplify code a bit.
27757
85bd816a
RM
277582013-02-27 Roland McGrath <roland@hack.frob.com>
27759
27760 * csu/gmon-start.c: Add special exception to license text.
27761
b5977bf2
RH
277622013-02-27 Richard Henderson <rth@redhat.com>
27763
27764 * scripts/config.guess: Update from config.git.
27765 * scripts/config.sub: Likewise.
27766
11d6e2f2
SP
277672013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27768
09c14ed2
SP
27769 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27770
a688864e
SP
27771 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27772
6295157a
SP
27773 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27774
b8de2202
SP
27775 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27776
11d6e2f2
SP
27777 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27778
7e80ddb8
RM
277792013-02-26 Roland McGrath <roland@hack.frob.com>
27780
27781 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27782 [$(build-shared = yes].
7e80ddb8 27783
7da6d9ed
SP
277842013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27785
45f05884
SP
27786 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27787 (__mul): Reduce iterations for calculating mantissa.
27788
2236d359
SP
27789 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27790 MPTWO.
27791 (__mpranred): Likewise.
27792
7da6d9ed
SP
27793 [BZ #15160]
27794 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27795 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27796
b7688c42
PE
277972013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27798
27799 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27800 Define __attribute__.
27801
53a5c423
SP
278022013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27803
27804 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27805 unused.
27806 * posix/regex_internal.h (__attribute): Remove.
27807 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27808 (re_string_context_at): Likewise.
27809 (bitset_not): Use __attribute__ and mark function as possibly
27810 unused.
27811 (bitset_merge): Likewise.
27812 (bitset_mask): Likewise.
27813 (re_string_char_size_at): Likewise.
27814 (re_string_wchar_at): Likewise.
27815 (re_string_elem_size_at): Likewise.
27816
60f5a8b5
SP
278172013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27818
2a983a2e
SP
27819 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27820 code.
27821 (cc32): Likewise.
27822
e69804d1
SP
27823 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27824 (__acr): Likewise.
27825 (__cpy): Likewise.
27826 (norm): Likewise.
27827 (denorm): Likewise.
27828 (__dbl_mp): Likewise.
27829 (add_magnitudes): Likewise.
27830 (sub_magnitudes): Likewise.
27831 (__mul): Likewise.
27832 (__inv): Likewise.
27833
2f22a1e8
SP
27834 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27835 style.
27836
8930ddc7
SP
27837 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27838 style.
27839
dc60cb11
SP
27840 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27841 code.
27842
60f5a8b5
SP
27843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27844 up changes with default code.
27845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27846 Likewise.
27847
b4d1fd33
AM
278482013-02-24 Allan McRae <allan@archlinux.org>
27849
faf6f8bc
AM
27850 * manual/socket.texi (The Internet Namespace): Order menu items
27851 to match that in the file.
27852
b4d1fd33
AM
27853 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27854 node listing of the info page menu.
27855
2366713d
JM
278562013-02-21 Joseph Myers <joseph@codesourcery.com>
27857
27858 [BZ #13550]
27859 * sysdeps/i386/bp-asm.h: Remove file.
27860 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27861 (PARMS): Do not use macros from bp-asm.h.
27862 (S1): Likewise.
27863 (S2): Likewise.
27864 (SIZE): Likewise.
27865 (__mpn_add_n): Do not use BP_SYM
27866 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27867 "bp-asm.h".
27868 (PARMS): Do not use macros from bp-asm.h.
27869 (S1): Likewise.
27870 (SIZE): Likewise.
27871 (__mpn_addmul_1): Do not use BP_SYM
27872 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27873 "bp-asm.h".
27874 (PARMS): Do not use macros from bp-asm.h.
27875 (SIGMSK): Likewise.
27876 (_setjmp): Likewise. Do not use BP_SYM.
27877 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27878 "bp-asm.h".
27879 (PARMS): Do not use macros from bp-asm.h.
27880 (SIGMSK): Likewise.
27881 (setjmp): Likewise. Do not use BP_SYM.
27882 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27883 "bp-asm.h".
27884 (PARMS): Do not use macros from bp-asm.h.
27885 (__frexp): Do not use BP_SYM.
27886 (frexp): Likewise.
27887 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27888 "bp-asm.h".
27889 (PARMS): Do not use macros from bp-asm.h.
27890 (__frexpf): Do not use BP_SYM.
27891 (frexpf): Likewise.
27892 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27893 "bp-asm.h".
27894 (PARMS): Do not use macros from bp-asm.h.
27895 (__frexpl): Do not use BP_SYM.
27896 (frexpl): Likewise.
27897 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27898 "bp-asm.h".
27899 (PARMS): Do not use macros from bp-asm.h.
27900 (__remquo): Do not use BP_SYM.
27901 (remquo): Likewise.
27902 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27903 "bp-asm.h".
27904 (PARMS): Do not use macros from bp-asm.h.
27905 (__remquof): Do not use BP_SYM.
27906 (remquof): Likewise.
27907 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27908 "bp-asm.h".
27909 (PARMS): Do not use macros from bp-asm.h.
27910 (__remquol): Do not use BP_SYM.
27911 (remquol): Likewise.
27912 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27913 "bp-asm.h".
27914 (PARMS): Do not use macros from bp-asm.h.
27915 (DEST): Likewise.
27916 (SRC): Likewise.
27917 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27918 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27919 "bp-asm.h".
27920 (PARMS): Do not use macros from bp-asm.h.
27921 (strlen): Do not use BP_SYM.
27922 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27923 "bp-asm.h".
27924 (PARMS): Do not use macros from bp-asm.h.
27925 (S1): Likewise.
27926 (S2): Likewise.
27927 (SIZE): Likewise.
27928 (__mpn_add_n): Do not use BP_SYM.
27929 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27930 "bp-asm.h".
27931 (PARMS): Do not use macros from bp-asm.h.
27932 (S1): Likewise.
27933 (SIZE): Likewise.
27934 (__mpn_addmul_1): Do not use BP_SYM.
27935 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27936 weak_alias.
27937 (bzero): Likewise.
27938 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27939 "bp-asm.h".
27940 (PARMS): Do not use macros from bp-asm.h.
27941 (S): Likewise.
27942 (SIZE): Likewise.
27943 (__mpn_lshift): Do not use BP_SYM.
27944 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27945 "bp-asm.h".
27946 (PARMS): Do not use macros from bp-asm.h.
27947 (DEST): Likewise.
27948 (SRC): Likewise.
27949 (LEN): Likewise.
27950 (memcpy): Likewise. Do not use BP_SYM.
27951 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27952 libc_hidden_def and weak_alias.
27953 (mempcpy): Do not use BP_SYM in weak_alias.
27954 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27955 "bp-asm.h".
27956 (PARMS): Do not use macros from bp-asm.h.
27957 (DEST): Likewise.
27958 (LEN): Likewise.
27959 [!BZERO_P] (CHR): Likewise.
27960 (memset): Likewise. Do not use BP_SYM.
27961 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27962 "bp-asm.h".
27963 (PARMS): Do not use macros from bp-asm.h.
27964 (S1): Likewise.
27965 (SIZE): Likewise.
27966 (__mpn_mul_1): Do not use BP_SYM.
27967 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27968 "bp-asm.h".
27969 (PARMS): Do not use macros from bp-asm.h.
27970 (S): Likewise.
27971 (SIZE): Likewise.
27972 (__mpn_rshift): Do not use BP_SYM.
27973 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27974 "bp-asm.h".
27975 (PARMS): Do not use macros from bp-asm.h.
27976 (STR): Likewise.
27977 (CHR): Likewise.
27978 (strchr): Likewise. Do not use BP_SYM.
27979 (index): Do not use BP_SYM in weak_alias.
27980 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27981 "bp-asm.h".
27982 (PARMS): Do not use macros from bp-asm.h.
27983 (DEST): Likewise.
27984 (SRC): Likewise.
27985 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27986 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27987 "bp-asm.h".
27988 (PARMS): Do not use macros from bp-asm.h.
27989 (strlen): Do not use BP_SYM.
27990 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27991 "bp-asm.h".
27992 (PARMS): Do not use macros from bp-asm.h.
27993 (S1): Likewise.
27994 (S2): Likewise.
27995 (SIZE): Likewise.
27996 (__mpn_sub_n): Do not use BP_SYM.
27997 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27998 "bp-asm.h".
27999 (PARMS): Do not use macros from bp-asm.h.
28000 (S1): Likewise.
28001 (SIZE): Likewise.
28002 (__mpn_submul_1): Do not use BP_SYM.
28003 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28004 "bp-asm.h".
28005 (PARMS): Do not use macros from bp-asm.h.
28006 (S1): Likewise.
28007 (S2): Likewise.
28008 (SIZE): Likewise.
28009 (__mpn_add_n): Do not use BP_SYM.
28010 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28011 weak_alias.
28012 (bzero): Likewise.
28013 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28014 "bp-asm.h".
28015 (PARMS): Do not use macros from bp-asm.h.
28016 (BLK2): Likewise.
28017 (LEN): Likewise.
28018 (memcmp): Do not use BP_SYM.
28019 (bcmp): Do not use BP_SYM in weak_alias.
28020 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28021 "bp-asm.h".
28022 (PARMS): Do not use macros from bp-asm.h.
28023 (DEST): Likewise.
28024 (SRC): Likewise.
28025 (LEN): Likewise.
28026 (memcpy): Likewise. Do not use BP_SYM.
28027 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28028 "bp-asm.h".
28029 (PARMS): Do not use macros from bp-asm.h.
28030 (DEST): Likewise.
28031 (SRC): Likewise.
28032 (LEN): Likewise.
28033 (memmove): Likewise. Do not use BP_SYM.
28034 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28035 "bp-asm.h".
28036 (PARMS): Do not use macros from bp-asm.h.
28037 (DEST): Likewise.
28038 (SRC): Likewise.
28039 (LEN): Likewise.
28040 (__mempcpy): Likewise. Do not use BP_SYM.
28041 (mempcpy): Do not use BP_SYM in weak_alias.
28042 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28043 "bp-asm.h".
28044 (PARMS): Do not use macros from bp-asm.h.
28045 (DEST): Likewise.
28046 (LEN): Likewise.
28047 [!BZERO_P] (CHR): Likewise.
28048 (memset): Likewise. Do not use BP_SYM.
28049 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28050 "bp-asm.h".
28051 (PARMS): Do not use macros from bp-asm.h.
28052 (STR2): Likewise.
28053 (strcmp): Do not use BP_SYM.
28054 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28055 "bp-asm.h".
28056 (PARMS): Do not use macros from bp-asm.h.
28057 (STR): Likewise.
28058 (DELIM): Likewise.
28059 [USE_AS_STRTOK_R] (SAVE): Likewise.
28060 (FUNCTION): Likewise. Do not use BP_SYM.
28061 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28062 aliases.
28063 (strtok_r): Likewise.
28064 (__GI___strtok_r): Likewise.
28065 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28066 (PARMS): Do not use macros from bp-asm.h.
28067 (S): Likewise.
28068 (SIZE): Likewise.
28069 (__mpn_lshift): Do not use BP_SYM.
28070 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28071 (PARMS): Do not use macros from bp-asm.h.
28072 (STR): Likewise.
28073 (CHR): Likewise.
28074 (__memchr): Do not use BP_SYM.
28075 (memchr): Do not use BP_SYM in weak_alias.
28076 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28077 (PARMS): Do not use macros from bp-asm.h.
28078 (BLK2): Likewise.
28079 (LEN): Likewise.
28080 (memcmp): Do not use BP_SYM.
28081 (bcmp): Do not use BP_SYM in weak_alias.
28082 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28083 (PARMS): Do not use macros from bp-asm.h.
28084 (S1): Likewise.
28085 (SIZE): Likewise.
28086 (__mpn_mul_1): Do not use BP_SYM.
28087 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28088 "bp-asm.h".
28089 (PARMS): Do not use macros from bp-asm.h.
28090 (STR): Likewise.
28091 (CHR): Likewise.
28092 (__rawmemchr): Do not use BP_SYM.
28093 (rawmemchr): Do not use BP_SYM in weak_alias.
28094 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28095 (PARMS): Do not use macros from bp-asm.h.
28096 (S): Likewise.
28097 (SIZE): Likewise.
28098 (__mpn_rshift): Do not use BP_SYM.
28099 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28100 (PARMS): Do not use macros from bp-asm.h.
28101 (SIGMSK): Likewise.
28102 (__sigsetjmp): Likewise. Do not use BP_SYM.
28103 * sysdeps/i386/start.S: Do not include "bp-sym.h".
28104 (_start): Do not use BP_SYM.
28105 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28106 (PARMS): Do not use macros from bp-asm.h.
28107 (DEST): Likewise.
28108 (SRC): Likewise.
28109 (__stpcpy): Likewise. Do not use BP_SYM.
28110 (stpcpy): Do not use BP_SYM in weak_alias.
28111 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28112 "bp-asm.h".
28113 (PARMS): Do not use macros from bp-asm.h.
28114 (DEST): Likewise.
28115 (SRC): Likewise.
28116 (LEN): Likewise.
28117 (__stpncpy): Likewise. Do not use BP_SYM.
28118 (stpncpy): Do not use BP_SYM in weak_alias.
28119 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28120 (PARMS): Do not use macros from bp-asm.h.
28121 (STR): Likewise.
28122 (CHR): Likewise.
28123 (strchr): Likewise. Do not use BP_SYM.
28124 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28125 "bp-asm.h".
28126 (PARMS): Do not use macros from bp-asm.h.
28127 (STR): Likewise.
28128 (CHR): Likewise.
28129 (__strchrnul): Likewise. Do not use BP_SYM.
28130 (strchrnul): Do not use BP_SYM in weak_alias.
28131 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28132 "bp-asm.h".
28133 (PARMS): Do not use macros from bp-asm.h.
28134 (STOP): Likewise.
28135 (strcspn): Do not use BP_SYM.
28136 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28137 "bp-asm.h".
28138 (PARMS): Do not use macros from bp-asm.h.
28139 (STR): Likewise.
28140 (STOP): Likewise.
28141 (strpbrk): Likewise. Do not use BP_SYM.
28142 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28143 "bp-asm.h".
28144 (PARMS): Do not use macros from bp-asm.h.
28145 (STR): Likewise.
28146 (CHR): Likewise.
28147 (strrchr): Likewise. Do not use BP_SYM.
28148 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28149 (PARMS): Do not use macros from bp-asm.h.
28150 (SKIP): Likewise.
28151 (strspn): Do not use BP_SYM.
28152 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28153 (PARMS): Do not use macros from bp-asm.h.
28154 (STR): Likewise.
28155 (DELIM): Likewise.
28156 (SAVE): Likewise.
28157 (FUNCTION): Likewise. Do not use BP_SYM.
28158 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28159 aliases.
28160 (strtok_r): Likewise.
28161 (__GI___strtok_r): Likewise.
28162 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28163 (PARMS): Do not use macros from bp-asm.h.
28164 (S1): Likewise.
28165 (S2): Likewise.
28166 (SIZE): Likewise.
28167 (__mpn_sub_n): Do not use BP_SYM.
28168 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28169 "bp-asm.h".
28170 (PARMS): Do not use macros from bp-asm.h.
28171 (S1): Likewise.
28172 (SIZE): Likewise.
28173 (__mpn_submul_1): Do not use BP_SYM.
28174 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28175 <bp-sym.h>.
28176 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28177 and <bp-asm.h>.
28178 (PARMS): Do not use macros from bp-asm.h.
28179 (FLAGS): Likewise.
28180 (PTID): Likewise.
28181 (TLS): Likewise.
28182 (CTID): Likewise.
28183 (__clone): Do not use BP_SYM.
28184 (clone): Do not use BP_SYM in weak_alias.
28185 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28186 and <bp-asm.h>.
28187 (PARMS): Do not use macros from bp-asm.h.
28188 (LEN): Likewise.
28189 (__mmap64): Do not use BP_SYM.
28190 (mmap64): Do not use BP_SYM in weak_alias.
28191 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28192 <bp-sym.h> and <bp-asm.h>.
28193 (PARMS): Do not use macros from bp-asm.h.
28194 (__posix_fadvise64_l64): Do not use BP_SYM.
28195 * sysdeps/unix/sysv/linux/i386/semtimedop.S
28196 (PARMS): Do not use macros from bp-asm.h.
28197 (NSOPS): Likewise.
28198 (semtimedop): Do not use BP_SYM.
28199 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28200 and <bp-asm.h>.
28201
582a3cff
AM
282022013-02-21 Allan McRae <allan@archlinux.org>
28203
28204 * manual/message.texi (Charset conversion in gettext):
28205 Move @end statement to beginning of line.
28206
bab8a695
SP
282072013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28208
80945231
SP
28209 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28210 static.
28211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28212 Likewise.
28213
bab8a695
SP
28214 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28215 (denorm): Likewise.
28216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28218
e21d7aa7
AK
282192013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28220
28221 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28222 tail-call to the resolved function if pltexit isn't needed.
28223
4c7a4263
SP
282242013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28225
28226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28227 or Y being zero as being unlikely.
28228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28229 Likewise.
28230
41f49342
CD
282312013-02-20 Carlos O'Donell <carlos@redhat.com>
28232
28233 * manual/nss.texi (System Databases and Name Service Switch):
28234 Remove frobnicate @pxref.
28235
50022a93
TS
282362013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28237
28238 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28239 __attribute__ ((unused)) to __attribute__ ((__unused__)).
28240
08cbd996
PM
282412013-02-20 Petr Machata <pmachata@redhat.com>
28242
28243 * elf/elf.h (R_ARM_TARGET1): New macro.
28244 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28245 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28246 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28247 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28248 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28249 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28250 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28251 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28252 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28253 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28254 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28255 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28256 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28257 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28258 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28259 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28260 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28261 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28262 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28263 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28264 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28265 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28266 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28267 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28268 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28269 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28270 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28271 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28272 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28273 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28274 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28275 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28276 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28277 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28278 (R_ARM_THM_GOT_BREL12): Likewise.
28279 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28280 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28281 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28282 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28283 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28284 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28285 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28286 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28287 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28288
c7b275d6
TS
282892013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28290
28291 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28292 __attribute_used__ to __attribute__ ((unused)).
28293
20cd7fb3
SP
282942013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28295
28296 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28297 powerpc mpa.c.
28298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28299 comment formatting.
28300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28301
92945b52
JM
283022013-02-19 Joseph Myers <joseph@codesourcery.com>
28303
28304 [BZ #13550]
28305 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28306 Remove macro.
28307 (ENTER): Remove both macro definitions.
28308 (LEAVE): Likewise.
28309 (CHECK_BOUNDS_LOW): Likewise.
28310 (CHECK_BOUNDS_HIGH): Likewise.
28311 (CHECK_BOUNDS_BOTH): Likewise.
28312 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28313 (RETURN_BOUNDED_POINTER): Likewise.
28314 (RETURN_NULL_BOUNDED_POINTER): Likewise.
28315 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28316 (POP_ERRNO_LOCATION_RETURN): Likewise.
28317 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28318 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28319 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28320 macros.
28321 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28322 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28323 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28324 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28325 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28326 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28327 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28328 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28329 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28330 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28331 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28332 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28333 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28334 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28335 removed macros.
28336 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28337 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28338 macros.
28339 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28340 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28341 * sysdeps/i386/i586/memset.S (memset): Likewise.
28342 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28343 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28344 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28345 macros.
28346 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28347 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28348 Change uses of L(2) to L(out).
28349 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28350 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28351 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28352 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28353 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28354 removed macros.
28355 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28356 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28357 macros.
28358 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28359 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28360 (RETURN): Do not use macro LEAVE.
28361 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28362 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28363 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28364 * sysdeps/i386/i686/memset.S (memset): Likewise.
28365 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28366 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28367 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28368 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28369 Likewise.
28370 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28371 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
28372 L(1_2) and L(1_3) into L(1).
28373 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28374 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28375 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28376 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28377 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28378 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28379 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28380 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28381 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28382 macros.
28383 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28384 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28385 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28386 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28387 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28388 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28389 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28390 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28391 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28392 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28393 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28394 * sysdeps/i386/strspn.S (strspn): Likewise.
28395 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28396 conditional code.
28397 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28398 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28399 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28400 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28401 L(1_3) into L(1_1).
28402 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28403 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28404 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28405 macros.
28406 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28407
2389741a
JJ
284082013-02-19 Jakub Jelinek <jakub@redhat.com>
28409
28410 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28411 macro.
28412
2016b3cd
SP
284132013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28414
e4f22324
SP
28415 * math/atest-exp.c (exp_mpn): Remove ROUND.
28416 * math/atest-exp2.c (exp_mpn): Likewise.
28417 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28418
2016b3cd
SP
28419 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28420 * stdlib/tst-tls-atexit-lib.c: Likewise.
28421 * stdlib/tst-tls-atexit.c: Likewise.
28422
4be9b544
MF
284232013-02-18 Mike Frysinger <vapier@gentoo.org>
28424
28425 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28426 and __attribute_alloc_size__.
28427
2f62b9ee
MF
284282013-02-18 Mike Frysinger <vapier@gentoo.org>
28429
28430 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28431 __attribute_alloc_size__.
28432 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28433 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28434
6ff444c4
MF
284352013-02-18 Mike Frysinger <vapier@gentoo.org>
28436
28437 * include/programs/xmalloc.h: New file.
28438 * catgets/gencat.c: Include it.
28439 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28440 * elf/pldd.c: Likewise.
28441 * iconv/iconv_charmap.c: Likewise.
28442 * iconv/iconvconfig.c: Likewise.
28443 * iconv/strtab.c: Likewise.
28444 * locale/programs/locale.c: Likewise.
28445 * locale/programs/localedef.h: Likewise.
28446 * locale/programs/simple-hash.c: Likewise.
28447 * nscd/nscd.h: Likewise.
28448 * nss/makedb.c: Likewise.
28449 * sysdeps/generic/ldconfig.h: Likewise.
28450
be179c8a
SP
284512013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28452
ba384f6e
SP
28453 * Versions.def: Add GLIBC_2.18.
28454 * include/link.h (struct link_map): New member l_tls_dtor_count.
28455 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28456 (__call_tls_dtors): Likewise.
28457 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28458 __cxa_thread_atexit_impl.
28459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28460 Likewise.
28461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28462 Likewise.
28463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28464 Likewise.
28465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28466 Likewise.
28467 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28469 Likewise.
28470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28471 Likewise.
28472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28474 Likewise.
28475 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28476 (tests): Add test case tst-tls-atexit.
28477 (modules-names): Add shared library for tst-tls-atexit.
85891aca 28478 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
28479 (GLIBC_PRIVATE): Add __call_tls_dtors.
28480 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28481 for libstdc++.
28482 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28483 * stdlib/tst-tls-atexit.c: New test case.
28484 * stdlib/tst-tls-atexit-lib.c: New test case.
28485
ffaa74cf 28486 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 28487
be179c8a
SP
28488 * elf/Versions (ld): Add _dl_find_dso_for_object.
28489 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28490 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28491 (dl_open_worker): Use _dl_find_dso_for_object.
28492 * elf/dl-sym.c (do_sym): Likewise.
28493 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28494
f78b5caa
AK
284952013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28496
28497 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28498 Syntactic changes only.
28499 (_dl_runtime_profile): Do a tail-call to the resolved function.
28500
29691210
JM
285012013-02-17 Joseph Myers <joseph@codesourcery.com>
28502
28503 [BZ #13550]
28504 * sysdeps/x86_64/bp-asm.h: Remove file.
28505 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28506 <bp-sym.h> and <bp-asm.h>.
28507 (__clone): Do not use BP_SYM.
28508 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28509 <bp-sym.h> and <bp-asm.h>.
28510 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28511 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28512 "bp-asm.h".
28513 (_setjmp): Do not use BP_SYM.
28514 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28515 "bp-asm.h".
28516 (setjmp): Do not use BP_SYM.
28517 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28518 libc_hidden_def.
28519 (mempcpy): Do not use BP_SYM in weak_alias.
28520 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28521 "bp-asm.h".
28522 (strchr): Do not use BP_SYM.
28523 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28524 "bp-asm.h".
28525 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28526 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28527 (_start): Do not use BP_SYM.
28528 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28529 "bp-asm.h".
28530 (strcat): Do not use BP_SYM.
28531 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28532 "bp-asm.h".
28533 (STRCMP): Do not use BP_SYM.
28534 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28535 "bp-asm.h".
28536 (STRCPY): Do not use BP_SYM.
28537 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28538 "bp-asm.h".
28539 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28540 "bp-asm.h".
28541 (FUNCTION): Do not use BP_SYM.
28542 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28543 weak_alias.
28544 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28545
f238fd19
AJ
285462013-02-17 Andreas Jaeger <aj@suse.de>
28547
28548 * time/Versions: Sort entries.
28549 * string/Versions: Likewise.
28550 * resolv/Versions: Likewise.
28551 * posix/Versions: Likewise.
28552 * iconv/Versions: Likewise.
28553 * elf/Versions: Likewise.
28554 * wcsmbs/Versions: Likewise.
28555
bd07f23c 285562013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 28557
22af19f9
SP
28558 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28559 loop termination condition.
28560
4709fe76
SP
28561 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28562 variable to calculate EZ.
28563 (__sqr): Likewise.
2d0e0f29
SP
28564
28565 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28566 the lower precision input.
28567
daaa7713
JM
285682013-02-15 Joseph Myers <joseph@codesourcery.com>
28569
28570 [BZ #13550]
28571 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28572 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28573 (run-via-rtld-prefix): Do not handle %-bp tests.
28574 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28575 (all-object-suffixes): Remove .ob.
28576 (bppfx): Remove variable.
28577 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28578 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28579 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28580 [$(build-bounded) = yes] (libtype.ob): Likewise.
28581 * Makerules (elide-routines.ob): Remove variable.
28582 (do-tests-clean): Do not handle *-bp.out.
28583 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28584 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28585 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28586 (tests): Do not include $(tests-bp.out).
28587 (xtests): Do not include $(xtests-bp.out).
28588 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28589 [$(build-bounded) = yes] ($(addprefix
28590 $(objpfx),$(binaries-bounded))): Remove rule.
28591 ($(objpfx)%-bp.out): Remove rule.
28592 * config.make.in (build-bounded): Remove variable.
28593 * crypt/Makefile [$(build-bounded) = yes]
28594 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28595 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28596 append to variable.
28597 [$(build-bounded) = yes] (install-lib): Likewise.
28598 [$(build-bounded) = yes] (generated): Likewise.
28599 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28600 Remove rule.
28601 * intl/Makefile [$(build-bounded) = yes]
28602 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28603 * math/Makefile [$(build-bounded) = yes]
28604 ($(tests:%=$(objpfx)%-bp): Likewise.
28605 * misc/Makefile [$(build-bounded) = yes]
28606 ($(objpfx)tst-tsearch-bp): Likewise.
28607 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28608 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28609 Remove dependency.
28610 * string/Makefile (o-objects.ob): Remove variable.
28611 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28612 (CFLAGS-.ob): Remove variable.
28613 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28614 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28615 both definitions of variable.
28616 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28617 (ASFLAGS-.ob): Remove variable.
28618
e97ed6dd
JM
286192013-02-14 Joseph Myers <joseph@codesourcery.com>
28620
2bdd4ca6
JM
28621 [BZ #13550]
28622 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28623 Remove __BOUNDED_POINTERS__ from condition.
28624 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28625 * string/bits/string2.h [!__NO_STRING_INLINES &&
28626 !__BOUNDED_POINTERS__]: Likewise.
28627 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28628 Likewise.
28629 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28630 Remove conditional code.
28631 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28632 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28633 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28634 condition.
28635
e97ed6dd
JM
28636 [BZ #13550]
28637 * csu/libc-start.c: Do not include <bp-sym.h>.
28638 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28639 * elf/dl-open.c: Do not include <bp-sym.h>.
28640 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28641 * math/fegetenv.c: Do not include <bp-sym.h>.
28642 (fegetenv): Do not use BP_SYM in versioned symbols.
28643 * nptl/sysdeps/pthread/bits/libc-lockP.h
28644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28645 <bp-sym.h>.
28646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28647 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28649 (__pthread_mutex_destroy): Likewise.
28650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28651 (__pthread_mutex_lock): Likewise.
28652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28653 (__pthread_mutex_trylock): Likewise.
28654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28655 (__pthread_mutex_unlock): Likewise.
28656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28657 (__pthread_mutexattr_init): Likewise.
28658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28659 (__pthread_mutexattr_destroy): Likewise.
28660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28661 (__pthread_mutexattr_settype): Likewise.
28662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28663 (__pthread_rwlock_init): Likewise.
28664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28665 (__pthread_rwlock_destroy): Likewise.
28666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28667 (__pthread_rwlock_rdlock): Likewise.
28668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28669 (__pthread_rwlock_tryrdlock): Likewise.
28670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28671 (__pthread_rwlock_wrlock): Likewise.
28672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28673 (__pthread_rwlock_trywrlock): Likewise.
28674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28675 (__pthread_rwlock_unlock): Likewise.
28676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28677 (__pthread_key_create): Likewise.
28678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28679 (__pthread_setspecific): Likewise.
28680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28681 (__pthread_getspecific): Likewise.
28682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28683 Likewise.
28684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28685 (_pthread_cleanup_push_defer): Likewise.
28686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28687 (_pthread_cleanup_pop_restore): Likewise.
28688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28689 (pthread_setcancelstate): Likewise.
28690 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28691 <bp-sym.h>.
28692 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28693 (memchr): Do not use BP_SYM in weak_alias.
28694 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28695 (fegetenv): Do not use BP_SYM in versioned symbols.
28696 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28697 (fesetenv): Do not use BP_SYM in versioned symbols.
28698 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28699 (feupdateenv): Do not use BP_SYM in versioned symbols.
28700 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28701 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28702 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28703 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28704 (open64): Do not use BP_SYM in weak_alias.
28705 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28706 (fegetenv): Do not use BP_SYM in versioned symbols.
28707 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28708 (fesetenv): Do not use BP_SYM in versioned symbols.
28709 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28710 (feupdateenv): Do not use BP_SYM in versioned symbols.
28711 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28712 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28713 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28714 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28715 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28716 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28717 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28718 <bp-sym.h>.
28719 (__libc_start_main): Do not use BP_SYM.
28720
d6752ccd
SP
287212013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28722
cb57ce60
SP
28723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28724 redundant return line.
28725 (norm): Likewise.
28726 (denorm): Likewise.
28727 (dbl_mp): Likewise.
28728 (sub_magnitudes): Likewise.
28729 (__add): Likewise.
28730 (__sub): Likewise.
28731 (__mul): Likewise.
28732 (__inv): Likewise.
28733 (__dvd): Likewise.
28734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28735 (norm): Likewise.
28736 (denorm): Likewise.
28737 (dbl_mp): Likewise.
28738 (sub_magnitudes): Likewise.
28739 (__add): Likewise.
28740 (__sub): Likewise.
28741 (__mul): Likewise.
28742 (__inv): Likewise.
28743 (__dvd): Likewise.
28744
f414520d
SP
28745 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28746 instead of __mul.
28747 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28748 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28749 (cc32): Likewise.
28750
d6752ccd
SP
28751 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28752 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28753 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28754 of __mul for squares.
28755 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28756 function
28757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28758 Likewise.
28759 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28760 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28761
70d9946a
JM
287622013-02-13 Joseph Myers <joseph@codesourcery.com>
28763
28764 [BZ #13550]
28765 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28766 code.
28767 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28768 prototype or function definition. Rename ubp_* variables and
28769 parameters. Remove argv definitions conditional on
28770 [__BOUNDED_POINTERS__].
28771 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28772 * elf/dl-runtime.c (_dl_fixup): Likewise.
28773 * include/set-hooks.h (RUN_HOOK): Likewise.
28774 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28775 definition.
28776 * string/strcpy.c (strcpy): Do not use __unbounded.
28777 * sysdeps/generic/frame.h (struct layout): Likewise.
28778 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28779 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28780 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28781 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28782 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28783 (__backtrace): Likewise.
28784 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28785 use __ptrvalue.
28786 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28787 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28788 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28789 Likewise.
28790 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28791 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28792 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28793 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28794 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28795 Do not use __unbounded.
28796 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28797 Rename __unboundedrlimits parameter to rlimits in prototype.
28798 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28799 Do not use __unbounded.
28800 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28801 not use __ptrvalue.
28802 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28803 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28804 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28805 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28806 __ptrvalue or __unbounded.
28807 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28808 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28809 use __unbounded.
28810 (__new_msgctl): Do not use __ptrvalue.
28811 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28812 __unbounded.
28813 (__libc_msgrcv): Do not use __ptrvalue.
28814 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28815 startup_info): Do not use __unbounded.
28816 (__libc_start_main): Likewise. Rename ubp_* variables and
28817 parameters. Remove argv definitions conditional on
28818 [__BOUNDED_POINTERS__].
28819 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28820 __ptrvalue.
28821 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28822 use __unbounded.
28823 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28824 or __ptrvalue.
28825 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28826 use __unbounded.
28827 (__new_shmctl): Do not use __ptrvalue.
28828 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28829 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28830 Likewise.
28831 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28832 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28833 (__libc_sigaction): Likewise.
28834 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28835 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28836 Likewise.
28837 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28838
cc7834d6
OB
288392013-02-13 Ondřej Bílka <neleai@seznam.cz>
28840
ffb1ec7b 28841 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
28842
28843 * string/mempcpy.c: Implement by calling memcpy.
28844
bdf02814
SP
288452013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28846
c2af38aa
SP
28847 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28848
4e92d59e
SP
28849 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28850 evaluation.
28851
909279a5
SP
28852 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28853 values in the mantissa.
28854
bdf02814
SP
28855 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28856 minimize writes to Z.
28857 (sub_magnitudes): Simplify code a bit.
28858
cd525923
RM
288592013-02-12 Roland McGrath <roland@hack.frob.com>
28860
28861 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28862 from the message. The linker prefixes all warnings with that already.
28863
7e2f0d2d
AS
288642013-02-12 Andreas Schwab <schwab@suse.de>
28865
a445af0b
AS
28866 [BZ #15078]
28867 * posix/regexec.c (extend_buffers): Add parameter min_len.
28868 (check_matching): Pass minimum needed length.
28869 (clean_state_log_if_needed): Likewise.
28870 (get_subexp): Likewise.
28871 * posix/Makefile (tests): Add bug-regex34.
28872 (bug-regex34-ENV): Define.
28873 * posix/bug-regex34.c: New file.
28874
7e2f0d2d
AS
28875 [BZ #11561]
28876 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28877 elements compare against the byte sequence of it, not its name.
28878 * posix/Makefile (tests): Add bug-regex35.
28879 (bug-regex35-ENV): Define.
28880 * posix/bug-regex35.c: New file.
28881
a175b684
TV
288822013-02-11 Tom de Vries <tom@codesourcery.com>
28883
28884 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28885 comment.
28886 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28887 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28888 (CHECK_EOL): Add undef.
28889
310998fe 288902013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
28891
28892 * bits/stdlib-bsearch.h: New file.
28893 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 28894 * stdlib/stdlib.h: Likewise.
41eda41d 28895
8ded91fb
RM
288962013-02-11 Roland McGrath <roland@hack.frob.com>
28897
28898 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28899 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28900 declaration.
28901 * manual/search.texi (Array Search Function): Add missing const in
28902 lfind prototype.
28903 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28904 declaration to use rlim_t.
28905 (Basic Scheduling Functions): Remove erroneous const from
28906 sched_getparam prototype. Remove erroneous * from
28907 sched_get_priority_max and sched_get_priority_min prototypes.
28908 (Resource Usage): Fix summary @comment on vtimes to refer to
28909 sys/vtimes.h rather than vtimes.h.
28910 Add missing *s in vtimes prototype.
28911 (Limits on Resources): Fix ulimit prototype to return long int.
28912 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28913 prototypes to use long int rather than double.
28914 (BSD Random): Fix initstate and setstate to use char *, not void *.
28915 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28916 prototype to make second argument 'struct aiocb64 *const[]'.
28917 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28918 (Status of AIO Operations): Remove erroneous const in aio_return and
28919 aio_return64 prototypes.
28920 (Synchronizing I/O): Fix sync prototype to return void.
28921 * manual/startup.texi (Suboptions): Remove an erroneous const in
28922 getsubopt prototype.
28923 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28924 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28925 use size_t rather than int.
28926 (Scanning All Users): Likewise for getpwent_r.
28927 (Setting Groups): Add missing const to setgroups prototype.
28928 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28929 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28930 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28931 'const void *' rather than 'const char *'.
28932 (Host Address Functions): Likewise for inet_ntop.
28933 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28934 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28935 ssize_t for return value.
28936 (Sending Data): Likewise for send, sendto, sendmsg.
28937 (Socket Option Functions): Add a missing const in setsockopt prototype.
28938 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28939 use wchar_t for the argument.
28940 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28941 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28942 take no arguments.
28943 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28944 double/float/long double for second argument.
28945 Fix return types of significand, significandf, significandl.
28946 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28947 argument in fchmod prototype.
28948 (File Owner): Use uid_t and gid_t in fchown prototype.
28949 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28950 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28951 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28952 use 'const struct dirent **' as argument types to CMP function pointer
28953 argument.
28954 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28955 (File Times): Fix summary magic @comment for struct utimbuf and utime
28956 to refer to utime.h, not time.h.
28957 * manual/string.texi (Argz Functions): Add missing const in
28958 argz_extract and argz_next prototypes.
28959 (Finding Tokens in a String): Likewise for basename.
28960 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28961 (Copying and Concatenation): Fix typo in wmemmove prototype.
28962 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28963 (Signal Stack): Remove erroneous const in sigstack prototype.
28964 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28965 prototype.
28966 (Simple Calendar Time): Likewise for stime.
28967 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28968 prototype.
28969 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28970 say sys/sysctl.h instead.
28971 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28972 and vsyslog prototypes.
28973
fe77fe6d
TV
289742013-02-11 Tom de Vries <tom@codesourcery.com>
28975
28976 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28977 Remove.
28978
3a09b620
RM
289792013-02-11 Roland McGrath <roland@hack.frob.com>
28980
28981 * misc/sys/mman.h: Fix typo in mremap comment.
28982
550a0b89
RM
289832013-02-08 Roland McGrath <roland@hack.frob.com>
28984
28985 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28986 the '\0' terminator.
28987
a2da1673
JM
289882013-02-08 Joseph Myers <joseph@codesourcery.com>
28989
28990 [BZ #13550]
28991 * debug/segfault.c: Don't include <bp-checks.h>.
28992 * sysdeps/generic/bp-checks.h: Remove file.
28993 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28994 (__GETDENTS): Don't use CHECK_N.
28995 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28996 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28997 (__getgroups): Don't use CHECK_N.
28998 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28999 (setgroups): Don't use CHECK_N.
29000 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29001 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29002 (__libc_msgrcv): Don't use CHECK_N.
29003 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29004 (__libc_msgsnd): Don't use CHECK_N.
29005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29006 <bp-checks.h>.
29007 (__libc_pread): Don't use CHECK_N.
29008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29009 include <bp-checks.h>.
29010 (__libc_pread64): Don't use CHECK_N.
29011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29012 include <bp-checks.h>.
29013 (__libc_pwrite): Don't use CHECK_N.
29014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29015 include <bp-checks.h>.
29016 (__libc_pwrite64): Don't use CHECK_N.
29017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29018 <bp-checks.h>.
29019 (__libc_pread): Don't use CHECK_N.
29020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29021 include <bp-checks.h>.
29022 (__libc_pread64): Don't use CHECK_N.
29023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29024 include <bp-checks.h>.
29025 (__libc_pwrite): Don't use CHECK_N.
29026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29027 include <bp-checks.h>.
29028 (__libc_pwrite64): Don't use CHECK_N.
29029 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29030 (do_pread): Don't use CHECK_N.
29031 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29032 (do_pread64): Don't use CHECK_N.
29033 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29034 (do_pwrite): Don't use CHECK_N.
29035 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29036 (do_pwrite64): Don't use CHECK_N.
29037 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29038 (__libc_readv): Don't use CHECK_N.
29039 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29040 (semop): Don't use CHECK_N.
29041 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29042 <bp-checks.h>.
29043 (semtimedop): Don't use CHECK_N.
29044 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29045 (__libc_pread): Don't use CHECK_N.
29046 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29047 <bp-checks.h>.
29048 (__libc_pread64): Don't use CHECK_N.
29049 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29050 <bp-checks.h>.
29051 (__libc_pwrite): Don't use CHECK_N.
29052 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29053 <bp-checks.h>.
29054 (__libc_pwrite64): Don't use CHECK_N.
29055 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29056 <bp-checks.h>.
29057 (__libc_msgrcv): Don't use CHECK_N.
29058 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29059 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
29060 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29061 (__libc_writev): Don't use CHECK_N.
29062
b84660a8
RM
290632013-02-08 Roland McGrath <roland@hack.frob.com>
29064
7f3e75f8
RM
29065 * string/strcpy.c: Removed unused variable.
29066
b84660a8
RM
29067 * Makeconfig (+sysdep-includes): Define with := rather than =.
29068 Use an existing include/ subdir of each sysdeps dir before it.
29069
471514d3
CD
290702013-02-08 Carlos O'Donell <carlos@redhat.com>
29071
29072 * nscd/connection.c (register_traced_file): Comment function.
29073 [HAVE_INOTIFY] (union __inev): Define.
29074 [HAVE_INOTIFY] (inotify_check_files): New function.
29075 [HAVE_INOTIFY] (clear_db_cache): Likewise.
29076 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29077 clear_db_cache.
29078 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29079
b2d3c3be
CD
290802013-02-08 Carlos O'Donell <carlos@redhat.com>
29081
29082 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29083 loaded if not already and that a failure is permanent.
29084
b39949d2
CD
290852013-02-08 Carlos O'Donell <carlos@redhat.com>
29086
ddacd1db 29087 [BZ #15006]
b39949d2
CD
29088 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29089 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29090
b2c9eff4
JM
290912013-02-08 Joseph Myers <joseph@codesourcery.com>
29092
f3aae3f3
JM
29093 [BZ #13550]
29094 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29095 (CHECK_1_NULL_OK): Likewise.
29096 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29097 (__fxstat): Do not use CHECK_1.
29098 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29099 <bp-checks.h>.
29100 (___fxstat64): Do not use CHECK_1.
29101 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29102 <bp-checks.h>.
29103 (__fxstatat): Do not use CHECK_1.
29104 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29105 <bp-checks.h>.
29106 (__fxstatat64): Do not use CHECK_1.
29107 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29108 <bp-checks.h>.
29109 (__fxstat): Do not use CHECK_1.
29110 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29111 <bp-checks.h>.
29112 (__fxstatat): Do not use CHECK_1.
29113 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29114 <bp-checks.h>.
29115 (__getresgid): Do not use CHECK_1.
29116 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29117 <bp-checks.h>.
29118 (__getresuid): Do not use CHECK_1.
29119 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29120 <bp-checks.h>.
29121 (__lxstat): Do not use CHECK_1.
29122 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29123 <bp-checks.h>.
29124 (__old_msgctl): Do not use CHECK_1.
29125 (__new_msgctl): Likewise.
29126 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29127 <bp-checks.h>.
29128 (__new_setrlimit): Do not use CHECK_1.
29129 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29130 <bp-checks.h>.
29131 (__old_shmctl): Do not use CHECK_1.
29132 (__new_shmctl): Likewise.
29133 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29134 <bp-checks.h>.
29135 (__xstat): Do not use CHECK_1.
29136 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29137 (__lxstat): Do not use CHECK_1.
29138 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29139 <bp-checks.h>.
29140 (___lxstat64): Do not use CHECK_1.
29141 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29142 (__old_msgctl): Do not use CHECK_1.
29143 (__new_msgctl): Likewise.
29144 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29145 <bp-checks.h>.
29146 (__gettimeofday): Do not use CHECK_1.
29147 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29148 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29149 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29150 <bp-checks.h>.
29151 (__gettimeofday): Do not use CHECK_1.
29152 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29153 (__old_shmctl): Do not use CHECK_1_NULL_OK.
29154 (__new_shmctl): Do not use CHECK_1.
29155 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29156 <bp-checks.h>.
29157 (do_sigtimedwait): Do not use CHECK_1.
29158 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29159 <bp-checks.h>.
29160 (do_sigwaitinfo): Do not use CHECK_1.
29161 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29162 <bp-checks.h>.
29163 (msgctl): Do not use CHECK_1.
29164 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29165 <bp-checks.h>.
29166 (shmctl): Do not use CHECK_1.
29167 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29168 (ustat): Do not use CHECK_1.
29169 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29170 <bp-checks.h>.
29171 (__fxstat): Do not use CHECK_1.
29172 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29173 <bp-checks.h>.
29174 (__fxstatat): Do not use CHECK_1.
29175 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29176 <bp-checks.h>.
29177 (__lxstat): Do not use CHECK_1.
29178 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29179 <bp-checks.h>.
29180 (__xstat): Do not use CHECK_1.
29181 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29182 (__xstat): Do not use CHECK_1.
29183 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29184 (___xstat64): Do not use CHECK_1.
29185
b2c9eff4
JM
29186 [BZ #13550]
29187 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29188 definitions.
29189 (CHECK_BOUNDS_HIGH): Likewise.
29190 * string/strcpy.c: Do not include <bp-checks.h>.
29191 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29192
f1d70dad
RM
291932013-02-07 Roland McGrath <roland@hack.frob.com>
29194
29195 * nscd/nscd-client.h (__nscd_drop_map_ref):
29196 Add __attribute__ ((unused)).
29197 * nis/nss-nisplus.h (niserr2nss): Likewise.
29198
29199 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29200 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29201
29202 * csu/libc-tls.c (init_static_tls, init_slotinfo):
29203 Remove inline keyword.
29204 * include/rounding-mode.h (round_away): Likewise.
29205 * libio/wfileops.c (adjust_wide_data): Likewise.
29206 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29207 (__m128i_strloadu_tolower): Likewise.
29208 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29209 (__m128i_strloadu_tolower): Likewise.
29210 * time/mktime.c (ydhms_diff): Likewise.
29211 * locale/elem-hash.h (elem_hash): Likewise.
29212 * locale/setlocale.c (setdata): Likewise.
29213 * posix/regex_internal.h (re_string_char_size_at): Likewise.
29214 (re_string_wchar_at): Likewise.
29215 (bitset_not, bitset_merge, bitset_mask): Likewise.
29216 [!(__GNUC__ > 3)] (inline): Remove macro.
29217 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29218 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29219 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29220 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29221 * string/memcmp.c (memcmp_bytes): Likewise.
29222 * locale/programs/locarchive.c (compute_hashval): Likewise.
29223 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29224 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29225 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29226 * nss/getent.c (print_rpc, print_protocols): Likewise.
29227 (print_passwd, print_group, print_aliases): Likewise.
29228 * nis/nss-nisplus.h (niserr2nss): Likewise.
29229 * nscd/connections.c (restart_p): Likewise.
29230 Change return type to bool.
29231
eab55bfb
RM
292322013-02-05 Roland McGrath <roland@hack.frob.com>
29233
7bd642f5
RM
29234 * Makeconfig (all-Depend-files): Add existing
29235 $(sorted-subdirs:=/Depend) files.
29236 (all-subdirs): Remove nss.
29237 * sysdeps/unix/inet/Subdirs: Add it here instead.
29238 * hesiod/Depend: New file.
29239
573c29b2
RM
29240 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29241 instead of calling alloca.
29242
b2e25af0
RM
29243 * io/lseek.c (__lseek): Rename to __libc_lseek.
29244 Define __lseek as an alias.
29245
eab55bfb
RM
29246 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29247
9a0d1941
CD
292482013-02-04 Carlos O'Donell <carlos@redhat.com>
29249
29250 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29251 else clause and remove check for non-standard endianness.
29252
b83bbec4
DM
292532013-02-04 David S. Miller <davem@davemloft.net>
29254
29255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29256
6277fdab
JM
292572013-02-04 Joseph Myers <joseph@codesourcery.com>
29258
29259 [BZ #13550]
29260 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29261 (__ubp_memchr): Remove prototype.
29262 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29263 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29264 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29265 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29266 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29267 Remove alias.
29268 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29269 (__ubp_memchr): Likewise.
29270 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29271 (__ubp_memchr): Likewise.
29272 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29273 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29274 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29275 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29276 CHECK_STRING.
29277 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29278 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29279 (__getcwd): Do not use CHECK_STRING.
29280 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29281 <bp-checks.h>.
29282 (__real_chown): Do not use CHECK_STRING.
29283 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29284 <bp-checks.h>.
29285 (fchownat): Do not use CHECK_STRING.
29286 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29287 CHECK_STRING.
29288 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29289 <bp-checks.h>.
29290 (__lchown): Do not use CHECK_STRING.
29291 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29292 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29293 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29294 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29296 include <bp-checks.h>.
29297 (truncate64): Do not use CHECK_STRING.
29298 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29299 <bp-checks.h>.
29300 (__real_chown): Do not use CHECK_STRING.
29301 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29302 <bp-checks.h>.
29303 (__lchown): Do not use CHECK_STRING.
29304 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29305 <bp-checks.h>.
29306 (__chown): Do not use CHECK_STRING.
29307 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29308 <bp-checks.h>.
29309 (truncate64): Do not use CHECK_STRING.
29310 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29311 Likewise.
29312 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29313 (__xmknod): Do not use CHECK_STRING.
29314 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29315 <bp-checks.h>.
29316 (__xmknodat): Do not use CHECK_STRING.
29317 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29318 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29319
903ae060
AS
293202013-02-04 Andreas Schwab <schwab@suse.de>
29321
29322 [BZ #14142]
29323 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29324 * include/netdb.h: Likewise for h_errno.
29325 * elf/tst-stackguard1.c: Include <tls.h>.
29326
542f9466
JK
293272013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
29328
29329 * elf/link.h (struct link_map): Extend the l_addr comment.
29330 * include/link.h (struct link_map): Likewise.
29331
e782a927
JM
293322013-02-01 Joseph Myers <joseph@codesourcery.com>
29333
29334 [BZ #13550]
29335 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29336 (BOUNDED_1): Remove macro.
29337 * debug/backtrace.c: Don't include <bp-checks.h>.
29338 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29339 (__backtrace): Likewise.
29340 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29341 <bp-checks.h>.
29342 (__backtrace): Don't use BOUNDED_1.
29343 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29344 <bp-checks.h>.
29345 (__backtrace): Don't use BOUNDED_1.
29346 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29347 (__backtrace): Don't use BOUNDED_1.
29348 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29349 (shmat): Don't use BOUNDED_N.
29350
8cf28c5e
JM
293512013-01-31 Joseph Myers <joseph@codesourcery.com>
29352
3a7ac8a0
JM
29353 [BZ #13550]
29354 * sysdeps/generic/bp-start.h: Remove file.
29355 * csu/libc-start.c: Don't include <bp-start.h>.
29356 (LIBC_START_MAIN): Set up __environ directly instead of using
29357 INIT_ARGV_and_ENVIRON.
29358 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29359 <bp-start.h>.
29360
f3499f95
JM
29361 [BZ #13550]
29362 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29363 definitions.
29364 (CHECK_FCNTL): Likewise.
29365 (CHECK_N_PAGES): Likewise.
29366
32a45bea
JM
29367 [BZ #13550]
29368 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29369 definitions.
29370 (CHECK_SIGSET_NULL_OK): Likewise.
29371 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29372 <bp-checks.h>.
29373 (sigpending): Don't use CHECK_SIGSET.
29374 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29375 <bp-checks.h>.
29376 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29377 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29378 <bp-checks.h>.
29379 (do_sigsuspend): Don't use CHECK_SIGSET.
29380 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29381 use CHECK_SIGSET.
29382 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29383 (do_sigwait): Don't use CHECK_SIGSET.
29384 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29385 use CHECK_SIGSET.
29386 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29387 include <bp-checks.h>.
29388 (sigpending): Don't use CHECK_SIGSET.
29389 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29390 include <bp-checks.h>.
29391 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29392 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29393 <bp-checks.h>.
29394 (sigpending): Don't use CHECK_SIGSET.
29395 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29396 <bp-checks.h>.
29397 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29398
2e8a5c8c
JM
29399 [BZ #13550]
29400 * sysdeps/generic/bp-semctl.h: Remove file.
29401 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29402 <bp-checks.h> and <bp-semctl.h>.
29403 (__old_semctl): Don't use CHECK_SEMCTL.
29404 (__new_semctl): Likewise.
29405 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29406 and <bp-semctl.h>.
29407 (__old_semctl): Don't use CHECK_SEMCTL.
29408 (__new_semctl): Likewise.
29409 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29410 <bp-checks.h> and <bp-semctl.h>.
29411 (__old_semctl): Don't use CHECK_SEMCTL.
29412 (__new_semctl): Likewise.
29413 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29414 <bp-checks.h> and <bp-semctl.h>.
29415 (semctl): Don't use CHECK_SEMCTL.
29416
c2d54929
JM
29417 [BZ #13550]
29418 * Makerules (elide-bp-thunks): Remove variable.
29419 (elide-routines.oS): Don't use $(elide-bp-thunks).
29420 (elide-routines.os): Likewise.
29421 (elide-routines.o): Likewise.
29422 (elide-routines.op): Likewise.
29423 (elide-routines.og): Likewise.
29424 (objects): Don't use $(bp-thunks).
29425 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29426 include.
29427 (common-generated): Do not add s-proto-bp.d.
29428 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29429 (int): Likewise.
29430 (typ): Likewise.
29431 Do not generate makefile rules for bounded-pointer thunks.
29432 * sysdeps/generic/bp-thunks.h: Remove file.
29433 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29434 * sysdeps/unix/s-proto-bp.S: Likewise.
29435
8cf28c5e
JM
29436 [BZ #15062]
29437 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29438 parts of result separately when argument is not close to line from
29439 -i to i and one part of argument is small.
29440 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29441 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29442 * math/libm-test.inc (cacos_test): Add more tests.
29443 (casin_test): Likewise.
29444 (casinh_test): Likewise.
29445 * sysdeps/i386/fpu/libm-test-ulps: Update.
29446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29447
c4e33b8d
DM
294482013-01-31 David S. Miller <davem@davemloft.net>
29449
29450 * po/de.po: Update from translation team.
29451
3b60b421
MK
294522013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29453
29454 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29455
bb931195
TS
294562013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29457
b5a5da23
TS
29458 * configure.in (_AC_PROG_CC_C89): New definition.
29459 * configure: Regenerate.
29460
bb931195
TS
29461 * configure.in (AC_PROG_CPP): New definition.
29462 * configure: Regenerate.
29463
8c53a12c
JM
294642013-01-23 Joseph Myers <joseph@codesourcery.com>
29465
29466 * debug/tst-backtrace.h: New file.
29467 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29468 (ret): Remove variable.
29469 (x): Likewise.
29470 (FAIL): Remove macro.
29471 (NO_INLINE): Likewise.
29472 (fn1): Use match function instead of strstr.
29473 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29474 (ret): Remove variable.
29475 (x): Likewise.
29476 (FAIL): Remove macro.
29477 (NO_INLINE): Likewise.
29478 (fn): Use match function instead of strstr.
29479 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29480 (ret): Remove variable.
29481 (x): Likewise.
29482 (FAIL): Remove macro.
29483 (NO_INLINE): Likewise.
29484 (handle_signal): Use match function instead of strstr.
29485 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29486 (ret): Remove variable.
29487 (x): Likewise.
29488 (FAIL): Remove macro.
29489 (NO_INLINE): Likewise.
29490 (handle_signal): Use match function instead of strstr.
29491
4858fa2a
RM
294922013-01-23 Roland McGrath <roland@hack.frob.com>
29493
29494 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29495
bae8e7f5
DM
294962013-01-23 David S. Miller <davem@davemloft.net>
29497
29498 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29499 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29500 argument of CAS if possible.
29501 * sysdeps/sparc/sparc64/bits/atomic.h
29502 (__arch_compare_and_exchange_val_32_acq): Likewise.
29503 (__arch_compare_and_exchange_val_64_acq): Likewise.
29504
9cbbc4ae
PT
295052013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29506
29507 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29508 * sysdeps/posix/ulimit.c: ... this.
92a601b8 29509 Include <limits.h>.
67b3f58c 29510 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 29511
5655a0b5
AC
295122013-01-23 Adam Conrad <adconrad@0c3.net>
29513
29514 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29515 (LDFLAGS-tst-array5): Likewise.
29516
052aff95
JM
295172013-01-23 Joseph Myers <joseph@codesourcery.com>
29518
29519 [BZ #15036]
29520 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29521 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29522 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29523 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29524
7c1e01aa
DM
295252013-01-21 David S. Miller <davem@davemloft.net>
29526
29527 * sysdeps/sparc/backtrace.c: New file.
29528 * sysdeps/sparc/sparc32/backtrace.h: New file.
29529 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29530 * sysdeps/sparc/sparc64/backtrace.h: New file.
29531 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29532 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29533 -funwind-tables.
29534
ab087e0a
AS
295352013-01-21 Andreas Schwab <schwab@suse.de>
29536
29537 [BZ #15020]
29538 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29539 closed its stdout.
29540
ed689c2f
AS
295412013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29542
29543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29544 "mpa2.h".
29545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29546
31d470ac
JM
295472013-01-18 Joseph Myers <joseph@codesourcery.com>
29548 Mark Mitchell <mark@codesourcery.com>
29549 Tom de Vries <tom@codesourcery.com>
29550 Paul Pluzhnikov <ppluzhnikov@google.com>
29551
29552 * debug/tst-backtrace2.c: New file.
29553 * debug/tst-backtrace3.c: Likewise.
29554 * debug/tst-backtrace4.c: Likewise.
29555 * debug/tst-backtrace5.c: Likewise.
29556 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29557 (CFLAGS-tst-backtrace3.c): Likewise.
29558 (CFLAGS-tst-backtrace4.c): Likewise.
29559 (CFLAGS-tst-backtrace5.c): Likewise.
29560 (LDFLAGS-tst-backtrace2): Likewise.
29561 (LDFLAGS-tst-backtrace3): Likewise.
29562 (LDFLAGS-tst-backtrace4): Likewise.
29563 (LDFLAGS-tst-backtrace5): Likewise.
29564 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29565 tst-backtrace4 and tst-backtrace5.
29566
90567f30 295672013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
29568 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29569
29570 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29571 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29572 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29573 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29575 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29576 "+r" and remove output regs list as redundant. Add explicit inline
29577 asm to specify register of return val to work around compiler codegen
29578 bug. Remove (int) cast on return value. Add return type parameter to
29579 use in macro so that this macro does not truncate return value for
29580 64-bit values.
29581 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29582 pass to INTERNAL_VSYSCALL_NCS.
29583 (INLINE_VSYSCALL): Add 'long int' as return type to
29584 INTERNAL_VSYSCALL_NCS macro invocation.
29585 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29586 INTERNAL_VSYSCALL_NCS macro invocation.
29587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29588
d3b9ea61
SP
295892013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29590
0b57daeb
SP
29591 [BZ #14496]
29592 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29593 Fix application of SIMD FP exception mask.
29594
caa99d06
SP
29595 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29596 mp_no from a power of two.
29597 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29598 __mpexp_twomm1. Use __pow_mp.
29599
d3b9ea61
SP
29600 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29601 multiplication.
29602
1dbaee3c
DM
296032013-01-17 David S. Miller <davem@davemloft.net>
29604
29605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29606
728d7b43
JM
296072013-01-17 Joseph Myers <joseph@codesourcery.com>
29608
29609 [BZ #15023]
29610 * include/complex.h: Condition contents on [!_COMPLEX_H].
29611 (__kernel_casinhf): New prototype.
29612 (__kernel_casinh): Likewise.
29613 (__kernel_casinhl): Likewise.
29614 * math/Makefile (libm_calls): Add k_casinh.
29615 * math/k_casinh.c: New file.
29616 * math/k_casinhf.c: Likewise.
29617 * math/k_casinhl.c: Likewise.
29618 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29619 finite nonzero arguments.
29620 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29621 finite nonzero arguments.
29622 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29623 finite nonzero arguments.
29624 * math/s_casinh.c: Do not include <float.h>.
29625 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29626 * math/s_casinhf.c: Do not include <float.h>.
29627 (__casinhf): Move code for finite nonzero arguments to
29628 k_casinhf.c.
29629 * math/s_casinhl.c: Do not include <float.h>.
29630 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29631 redefine.
29632 (__casinhl): Move code for finite nonzero arguments to
29633 k_casinhl.c.
29634 * math/libm-test.inc (cacos_test): Add more tests.
29635 * sysdeps/i386/fpu/libm-test-ulps: Update.
29636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29637
2a26ef3a
PT
296382013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29639
29640 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29641 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29642 [!HAVE_MREMAP]: Remove [defined linux] case.
29643 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29644
a897655d
SP
296452013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29646
29647 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29648
881ebe89 296492013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
29650
29651 * elf/elf.h (R_386_SIZE32): New relocation.
29652 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29653 R_386_SIZE32.
29654 (elf_machine_rela): Likewise.
29655 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29656 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29657
59981e9b
JM
296582013-01-17 Joseph Myers <joseph@codesourcery.com>
29659
29660 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29661 (FP_FAST_FMA): Do not define.
29662 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29663 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29664 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29665 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29666 !_SOFT_FLOAT]: Likewise.
29667 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29668 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29669 value.
29670 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29671 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29672 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29673 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29674 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29675 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29676 file.
29677
cfa8054f
AS
296782013-01-16 Andreas Schwab <schwab@suse.de>
29679
29680 [BZ #14327]
29681 * include/stdlib.h (__mktemp): Add declaration.
29682 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29683 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29684
dd930cc5
SP
296852013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29686
881ebe89
SP
29687 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29688 definitions.
29689 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29690 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29691 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29692 definitions here.
29693 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29694 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29695 definitions.
29696 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29697 and ONE.
29698 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29699 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29700 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29701 definitions.
29702 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29703 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29704 definitions.
29705 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 29706
dd930cc5
SP
29707 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29708
c19a9f89
DM
297092013-01-15 David S. Miller <davem@davemloft.net>
29710
1aa61767
DM
29711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29712 trunc{,f} to libm-sysdep_routes.
29713 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29715 file.
29716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29718 file.
29719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29720 file.
29721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29723 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29724 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29725 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29726 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29727 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29728 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29729
c42d5e98
DM
29730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29731 nearbyint{,f} to libm-sysdep_routes.
29732 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29734 New file.
29735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29736 file.
29737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29738 New file.
29739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29740 file.
29741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29743 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29744 file.
29745 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29746 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29747 file.
29748 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29749 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29750 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29751
c19a9f89
DM
29752 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29753 libc_feholdexcept and libc_fesetenv.
29754
357679d2
MF
297552013-01-15 Mike Frysinger <vapier@gentoo.org>
29756
29757 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29758
65a82e3d
DM
297592013-01-14 David S. Miller <davem@davemloft.net>
29760
8b954ab9
DM
29761 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29762 (SPARC_ASM_VIS2_IFUNC): Likewise.
29763 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29765 use of 'siam' instruction.
29766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29767 Likewise.
29768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29769 Likewise.
29770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29771 Likewise.
29772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29777 file.
29778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29779 file.
29780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29781 file.
29782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29783 file.
29784 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29786 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29787 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29789 new VIS2 routines.
29790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29793 Likewise.
29794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29795 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29797 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29799 routines to libm-sysdep_routines.
29800 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29801
65a82e3d
DM
29802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29803 fdim/fdimf to libm-sysdep_routines.
29804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29805 file.
29806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29808 file.
29809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29812 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29813 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29814 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29815 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29816
e34ab705
SP
298172013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29818
2a91b573
SP
29819 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29820 to optimize copies.
29821
1066a534
SP
29822 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29825
e34ab705
SP
29826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29827 local variable MPTWO.
29828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29829 Likewise.
29830
aba5e596
MF
298312013-01-13 Mike Frysinger <vapier@gentoo.org>
29832
29833 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29834 GLOB_NOESCAPE.
29835
e557e9e5
MF
298362013-01-13 Mike Frysinger <vapier@gentoo.org>
29837
29838 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29839
0428cec9
MF
298402013-01-13 Mike Frysinger <vapier@gentoo.org>
29841
29842 * manual/pattern.texi (glob_t): Document gl_flags.
29843 (glob64_t): Likewise.
29844
8794a964
DM
298452013-01-11 David S. Miller <davem@davemloft.net>
29846
66438c3f
RM
29847 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29848 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29849 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
29850 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29851 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29852 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29853 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29854 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29855 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29856 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29857 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29858 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29859 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29860
4ae4244d
DM
29861 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29862 sparc V9 rather than using V8 code.
29863 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29864 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29865
8794a964
DM
29866 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29867 Move to...
29868 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29869 Here.
29870
6270516e
RM
298712013-01-11 Roland McGrath <roland@hack.frob.com>
29872
29873 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29874 not in the main loop.
29875 * configure: Regenerated.
29876
6a57d931
JM
298772013-01-11 Joseph Myers <joseph@codesourcery.com>
29878
29879 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29880 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29881 to just #else.
29882 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29883 [!__GLIBC_HAVE_LONG_LONG] case.
29884 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29885 condition to just #else.
29886 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29887 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29888 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29889 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29890 unconditional.
29891 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29892 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29893 #elif condition to just #else.
29894 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29895 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29896 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29897 #elif condition to just #else.
29898
0e8529e9
SE
298992013-01-11 Steve Ellcey <sellcey@mips.com>
29900
29901 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29902 (EF_MIPS_ARCH_64): Fix value.
29903 (EF_MIPS_ARCH_32R2): New.
29904 (EF_MIPS_ARCH_64R2): New.
29905
740b3dbe
L
299062013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29907
29908 * Makeconfig (+link-pie-before-libc): New.
29909 (+link-pie-after-libc): Likewise.
29910 (+link-pie-tests): Likewise.
29911 (+link-pie): Rewritten.
29912 (link-before-libc): Remove $(config-LDFLAGS).
29913 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29914 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29915 (config-LDFLAGS): Renamed to ...
29916 (rtld-LDFLAGS): This.
29917 (rtld-tests-LDFLAGS): New macro.
29918 (link-libc-rpath-link): Likewise.
29919 (link-libc-tests-rpath-link): Likewise.
29920 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29921 (link-libc): Prepand $(link-libc-rpath-link).
29922 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29923 (test-program-prefix): New macro.
29924 (test-via-rtld-prefix): Likewise.
29925 (test-program-cmd): Likewise.
29926 (host-test-program-cmd): Likewise.
29927 * Makefile ($(common-objpfx)testrun.sh): Replace
29928 $(run-program-prefix) with $(test-program-prefix).
29929 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29930 $(rtld-LDFLAGS).
29931 ($(common-objpfx)shlib.lds): Likewise.
29932 (build-module-helper): Likewise.
29933 ($(common-objpfx)format.lds): Likewise.
29934 * Rules (binaries-pie-tests): New.
29935 (binaries-pie-notests): Likewise.
29936 (binaries-pie): Rewritten.
29937 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29938 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29939 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29940 (make-test-out): Replace $(host-built-program-cmd) with
29941 $(host-test-program-cmd).
29942 * config.make.in (build-hardcoded-path-in-tests): New variable.
29943 * configure.in (--enable-hardcoded-path-in-tests): New configure
29944 option.
29945 (hardcoded_path_in_tests): New AC_SUBST.
29946 * configure: Regenerated.
29947 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29948 $(built-program-cmd) with $(test-program-cmd).
29949 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29950 (test_program_cmd): This.
29951 * elf/Makefile ($(objpfx)order.out): Run test with
29952 $(test-program-prefix).
29953 ($(objpfx)order2.out): Likewise.
29954 ($(objpfx)tst-initorder.out): Likewise.
29955 ($(objpfx)tst-initorder2.out): Likewise.
29956 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29957 $(test-program-cmd).
29958 ($(objpfx)tst-array1-static.out): Likewise.
29959 ($(objpfx)tst-array2.out): Likewise.
29960 ($(objpfx)tst-array3.out): Likewise.
29961 ($(objpfx)tst-array4.out): Likewise.
29962 ($(objpfx)tst-array5.out): Likewise.
29963 ($(objpfx)tst-array5-static.out): Likewise.
29964 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29965 $(test-program-cmd).
29966 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29967 $(run-program-prefix) with $(test-program-prefix).
29968 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29969 (test_program_prefix): This.
29970 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29971 $(run-program-prefix) with $(test-program-prefix).
29972 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29973 (test_program_prefix): This.
29974 * iconvdata/tst-tables.sh: Likewise.
29975 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29976 $(run-program-prefix) with $(test-program-prefix).
29977 ($(objpfx)tst-translit.out): Likewise.
29978 ($(objpfx)tst-gettext2.out): Likewise.
29979 ($(objpfx)tst-gettext4.out): Likewise.
29980 ($(objpfx)tst-gettext6.out): Likewise.
29981 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29982 (test_program_prefix): This.
29983 * intl/tst-gettext2.sh: Likewise.
29984 * intl/tst-gettext4.sh Likewise.
29985 * intl/tst-gettext6.sh: Likewise.
29986 * intl/tst-translit.sh: Likewise.
29987 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29988 with $(test-program-cmd).
29989 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29990 $(run-program-prefix) with $(test-program-prefix).
29991 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29992 (test_program_prefix): This.
29993 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29994 $(run-program-prefix) with $(test-program-prefix).
29995 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29996 (test_program_prefix): This.
29997 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29998 * posix/Makefile ($(objpfx)globtest.out): Replace
29999 $(run-via-rtld-prefix) and $(test-wrapper) with
30000 $(test-program-prefix) and $(test-via-rtld-prefix).
30001 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30002 $(test-program-prefix).
30003 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30004 $(host-test-program-cmd).
30005 (tst-spawn-ARGS): Likewise.
30006 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30007 $(test-program-prefix).
30008 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30009 (test_via_rtld_prefix): This.
30010 (test_wrapper): Renamed to ...
30011 (test_program_prefix): This.
30012 (run_program_prefix): Replaced by test_program_prefix.
30013 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30014 (test_program_prefix): This.
30015 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30016 with $(host-test-program-cmd).
30017 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30018 $(run-program-prefix) with $(test-program-prefix).
30019 ($(objpfx)tst-printf.out): Likewise.
30020 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30021 $(test-program-cmd).
30022 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30023 (test_program_prefix): This.
30024 * stdio-common/tst-unbputc.sh: Likewise.
30025 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30026 $(run-program-prefix) with $(test-program-prefix).
30027 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30028 (test_program_prefix): This.
30029 * string/Makefile ($(objpfx)tst-svc.out): Replace
30030 $(built-program-cmd) with $(test-program-cmd).
30031
c6fe55cf
AJ
300322013-01-11 Andreas Jaeger <aj@suse.de>
30033
30034 [BZ #15003]
30035 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30036 value. Sync with Linux 3.7.
30037
9e6919c8
DM
300382013-01-10 David S. Miller <davem@davemloft.net>
30039
30040 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30041 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30042 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30043
1c9f1a02
RM
300442013-01-10 Roland McGrath <roland@hack.frob.com>
30045
30046 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30047 never set.
30048 * configure: Regenerated.
30049
b9de2dde
DM
300502013-01-10 David S. Miller <davem@davemloft.net>
30051
30052 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30053 sparc V9 rather than using V8 code.
30054 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30055 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30056
e7f68ef4
RM
300572013-01-10 Roland McGrath <roland@hack.frob.com>
30058
30059 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30060 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30061 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30062 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30063 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30064 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30065 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30066 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30067 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30068 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30069 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30070 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30071 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30072 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30073 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30074 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30075 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30076 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30077 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30078 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30079 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30080 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30081 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30082 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30083 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30084 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30085 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30086
5a47cc9c
DM
300872013-01-10 David S. Miller <davem@davemloft.net>
30088
30089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30090
4cf8f209
L
300912013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30092
30093 * posix/Makefile (tests-static): New variable.
30094 (tests): Add $(tests-static).
30095 (tst-exec-static-ARGS): New variable.
30096 (tst-spawn-static-ARGS): Likewise.
30097 * posix/tst-exec-static.c: New file.
30098 * posix/tst-spawn-static.c: Likewise.
30099 * posix/tst-exec.c: Support run directly.
30100 * posix/tst-spawn.c: Likewise.
30101
fed0faa1
JM
301022013-01-10 Joseph Myers <joseph@codesourcery.com>
30103
828beb13
JM
30104 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30105 long.
30106 * math/bits/mathcalls.h (llrint): Likewise.
30107 (llround): Likewise.
30108 * stdlib/stdlib.h (struct drand48_data): Likewise.
30109 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30110 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30111 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30112 Likewise.
30113 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30114 Likewise.
30115 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30116 (elf_greg_t): Likewise.
30117 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30118 (__jmp_buf): Likewise.
30119 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30120 definitions.
30121 (llrint): Likewise, for all definitions.
30122 (llrintl): Likewise.
30123
fed0faa1
JM
30124 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30125 Remove [__GNUC__] condition.
30126 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30127 condition to just [__USE_ISOC99].
30128 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30129
1a20cb20
L
301302013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30131
30132 [BZ #14200]
30133 * sysdeps/unix/sysv/linux/x86/bits/environments.h
30134 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30135 defined.
30136 (_POSIX_V6_ILP32_OFF32): Likewise.
30137 (_XBS5_ILP32_OFF32): Likewise.
30138 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30139 (__ILP32_OFFBIG_LDFLAGS): Likewise.
30140
751b85f7
SP
301412013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30142
7490eb81
SP
30143 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30144
751b85f7
SP
30145 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30146 doubles __mpexp_twomm1. Adjust usage.
30147 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30148 Remove.
30149
988197f0
AS
301502013-01-10 Andreas Schwab <schwab@suse.de>
30151
30152 [BZ #14964]
30153 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30154 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30155
e83d7298
DM
301562013-01-09 David S. Miller <davem@davemloft.net>
30157
034ed64b 30158 [BZ #15003]
57f41c40
AS
30159 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30160 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30161 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30162 (TCP_FASTOPEN): Define.
e83d7298
DM
30163 (tcp_repair_opt): New structure.
30164 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30165 enum values.
57f41c40
AS
30166 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30167 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30168 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
30169 (tcp_cookie_transactions): New structure.
30170
d5e0b9bd
AB
301712013-01-09 Anton Blanchard <anton@samba.org>
30172
30173 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30174 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30175 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30176 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30177
0c07e3ea
JM
301782013-01-09 Joseph Myers <joseph@codesourcery.com>
30179
30180 * include/features.h (__USE_ANSI): Remove.
30181
232f7002
RM
301822013-01-09 Roland McGrath <roland@hack.frob.com>
30183
ad98e30c
RM
30184 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30185
232f7002
RM
30186 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30187
950c99ca
SP
301882013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
30189
b5792741
SP
30190 * sysdeps/s390/fpu/libm-test-ulps: Update.
30191
47cf2278
SP
30192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30193
950c99ca
SP
30194 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30195 (__acr): Likewise.
30196 (__cpy): Likewise.
30197 (norm): Likewise.
30198 (denorm): Likewise.
30199 (__mp_dbl): Likewise.
30200 (__dbl_mp): Likewise.
30201 (add_magnitudes): Likewise.
30202 (sub_magnitudes): Likewise.
30203 (__add): Likewise.
30204 (__sub): Likewise.
30205 (__mul): Likewise.
30206 (__inv): Likewise.
30207 (__dvd): Likewise.
30208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30209 (__acr): Likewise.
30210 (__cpy): Likewise.
30211 (norm): Likewise.
30212 (denorm): Likewise.
30213 (__mp_dbl): Likewise.
30214 (__dbl_mp): Likewise.
30215 (add_magnitudes): Likewise.
30216 (sub_magnitudes): Likewise.
30217 (__add): Likewise.
30218 (__sub): Likewise.
30219 (__mul): Likewise.
30220 (__inv): Likewise.
30221 (__dvd): Likewise.
30222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30223 (__acr): Likewise.
30224 (__cpy): Likewise.
30225 (norm): Likewise.
30226 (denorm): Likewise.
30227 (__mp_dbl): Likewise.
30228 (__dbl_mp): Likewise.
30229 (add_magnitudes): Likewise.
30230 (sub_magnitudes): Likewise.
30231 (__add): Likewise.
30232 (__sub): Likewise.
30233 (__mul): Likewise.
30234 (__inv): Likewise.
30235 (__dvd): Likewise.
30236
eede9df9
JM
302372013-01-08 Joseph Myers <joseph@codesourcery.com>
30238
30239 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30240 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30241 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30242 2 && __USE_EXTERN_INLINES]: Likewise.
30243
c40ea3d9
AJ
302442013-01-08 Andreas Jaeger <aj@suse.de>
30245
30246 [BZ# 14985]
30247 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30248 Remove.
30249 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30250 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30251
2ccdea26
AB
302522013-01-07 Anton Blanchard <anton@samba.org>
30253
30254 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30255 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30256 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30257 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30258 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30259 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30260 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30261 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30263 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30264 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30265 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30266 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30267 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30268 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30269 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30270 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30271 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30272 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30273 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30274 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30275 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30276 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30277 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30278 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30279 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30280 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30281 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30282 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30283 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30284 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30286 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30287 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30288 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30289 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30290 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30291 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30292 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30293 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30294 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30295 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30296 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30297
a9708fed
JM
302982013-01-07 Joseph Myers <joseph@codesourcery.com>
30299
375607b9
JM
30300 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30301 (__MALLOC_PMT): Likewise.
30302 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30303 [__GNUC__], only on [_LIBC].
30304 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30305 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30306 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30307 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30308 forward declaration.
30309 (realloc_hook_ini): Likewise.
30310 (memalign_hook_ini): Likewise.
30311 (__libc_memalign): Do not use __MALLOC_PMT in variable
30312 declaration.
30313 (__libc_valloc): Likewise.
30314 (__libc_pvalloc): Likewise.
30315 (__libc_calloc): Likewise.
30316 (__posix_memalign): Likewise.
30317
a9708fed
JM
30318 [BZ #14996]
30319 * math/s_casinh.c: Include <float.h>.
30320 (__casinh): Do not do computation with squaring and square root
30321 for large arguments.
30322 * math/s_casinhf.c: Include <float.h>.
30323 (__casinhf): Do not do computation with squaring and square root
30324 for large arguments.
30325 * math/s_casinhl.c: Include <float.h>.
30326 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30327 (__casinhl): Do not do computation with squaring and square root
30328 for large arguments.
30329 * math/libm-test.inc (casin_test): Add more tests.
30330 (casinh_test): Likewise.
30331 * sysdeps/i386/fpu/libm-test-ulps: Update.
30332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30333
afec409a
L
303342013-01-04 H.J. Lu <hongjiu.lu@intel.com>
30335
30336 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30337 (__x86_64_raw_data_cache_size): Likewise.
30338 (__x86_64_data_cache_size_half): Likewise.
30339 (__x86_64_raw_data_cache_size_half): Likewise.
30340 (__x86_64_shared_cache_size): Likewise.
30341 (__x86_64_raw_shared_cache_size): Likewise.
30342 (__x86_64_shared_cache_size_half): Likewise.
30343 (__x86_64_raw_shared_cache_size_half): Likewise.
30344 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30345 to ...
30346 (__x86_data_cache_size): This.
30347 (__x86_64_raw_data_cache_size): Renamed to ...
30348 (__x86_raw_data_cache_size): This.
30349 (__x86_64_data_cache_size_half): Renamed to ...
30350 (__x86_data_cache_size_half): This.
30351 (__x86_64_raw_data_cache_size_half): Renamed to ...
30352 (__x86_raw_data_cache_size_half): This.
30353 (__x86_64_shared_cache_size): Renamed to ...
30354 (__x86_shared_cache_size): This.
30355 (__x86_64_raw_shared_cache_size): Renamed to ...
30356 (__x86_raw_shared_cache_size): This.
30357 (__x86_64_shared_cache_size_half): Renamed to ...
30358 (__x86_shared_cache_size_half): This.
30359 (__x86_64_raw_shared_cache_size_half): Renamed to ...
30360 (__x86_raw_shared_cache_size_half): This.
30361 * sysdeps/x86_64/memcpy.S: Updated.
30362 * sysdeps/x86_64/memset.S: Likewise.
30363 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30364 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30365 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30366
0b3986d0
DM
303672013-01-04 David S. Miller <davem@davemloft.net>
30368
30369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30370
e47686e9
AS
303712013-01-04 Andreas Schwab <schwab@linux-m68k.org>
30372
d643bac1
AS
30373 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30374 1 to avoid redefinition warning.
30375 (__USE_GNU): Don't define.
30376 (init_signaling_nan): Protoize.
30377
e47686e9
AS
30378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30379
b18decba
SP
303802013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30381
fffb407f
SP
30382 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30384 (__cpymn): Likewise.
30385 (norm): Remove commented code.
30386 (denorm): Likewise.
30387 (__mp_dbl): Likewise.
30388 (__inv): Likewise.
30389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30390 (__cpymn): Likewise.
30391 (norm): Remove commented code.
30392 (denorm): Likewise.
30393 (__mp_dbl): Likewise.
30394 (__inv): Likewise.
30395
b18decba
SP
30396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30397 mp_no value for 1.0 and 2.0.
30398 (norm): Use RADIXI instead of radixi.d.
30399 (denorm): Likewise.
30400 (__mul): Use 0.0 instead of zero.d.
30401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30402 mp_no value for 1.0 and 2.0.
30403 (norm): Use RADIXI instead of radixi.d.
30404 (denorm): Likewise.
30405 (__mul): Use 0.0 instead of zero.d.
30406
cdc1c96f
JM
304072013-01-04 Joseph Myers <joseph@codesourcery.com>
30408
30409 [BZ #14994]
30410 * math/s_casinh.c (__casinh): Reduce finite argument to first
30411 quadrant then set signs of results at the end.
30412 * math/s_casinhf.c (__casinhf): Likewise.
30413 * math/s_casinhl.c (__casinhl): Likewise.
30414 * math/libm-test.inc (casin_test): Add more tests.
30415 (casinh_test): Likewise.
30416 * sysdeps/i386/fpu/libm-test-ulps: Update.
30417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30418
302913e1
SP
304192013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30420
6420d207
SP
30421 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30422
a9e48ab4
SP
30423 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30424
b7837264
SP
30425 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30426 declarations.
30427 (denorm): Likewise.
30428 (__mp_dbl): Likewise.
30429 (__inv): Likewise.
30430
f8af25d2
SP
30431 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30432 and adjust the header comment.
30433
302913e1
SP
30434 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30435 variable name from declaration.
30436
5d7dd1ca
L
304372013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30438
30439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30440 Initialize COMMON_CPUID_INDEX_7 element.
30441 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30442 (CPUID_RTM): Likewise.
30443 (HAS_RTM): Likewise.
30444 (COMMON_CPUID_INDEX_7): New enum.
30445
2f5f40f4
AS
304462013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30447
30448 [BZ #14981]
30449 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30450 size is zero, record memory as freed.
30451
4056f4a0
AJ
304522013-01-03 Andreas Jaeger <aj@suse.de>
30453
30454 * po/ia.po: Add new Interlingua translation.
30455
ab15736f 304562012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
30457
30458 * locale/programs/localedef.c: Fix description of '--posix' flag.
30459
568035b7
JM
304602013-01-02 Joseph Myers <joseph@codesourcery.com>
30461
e6898b8d
JM
30462 * NEWS: Update dates in second copyright notice.
30463 * README: Update copyright dates in example.
30464 * manual/libc.texinfo: Update copyright dates.
30465 * scripts/test-installation.pl: Update copyright date in --version
30466 output.
30467
0e2f9562
JM
30468 * hurd/ctty-input.c: Fix copyright notice formatting.
30469 * hurd/ctty-output.c: Likewise.
30470 * hurd/dtable.c: Likewise.
30471 * hurd/hurd-raise.c: Likewise.
30472 * hurd/hurdprio.c: Likewise.
30473 * hurd/msgportdemux.c: Likewise.
30474 * misc/sys/file.h: Likewise.
30475 * misc/sys/ioctl.h: Likewise.
30476 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30477 * sysdeps/mach/hurd/chdir.c: Likewise.
30478 * sysdeps/mach/hurd/fchdir.c: Likewise.
30479 * sysdeps/mach/hurd/rename.c: Likewise.
30480 * sysdeps/mach/hurd/rmdir.c: Likewise.
30481 * sysdeps/mach/hurd/seekdir.c: Likewise.
30482 * sysdeps/mach/hurd/setsid.c: Likewise.
30483 * sysdeps/posix/wait3.c: Likewise.
30484
568035b7
JM
30485 * All files with FSF copyright notices: Update copyright dates
30486 using scripts/update-copyrights.
30487 * intl/plural.c: Regenerated.
30488 * locale/programs/charmap-kw.h: Likewise.
30489 * locale/programs/locfile-kw.h: Likewise.
30490
da08f647
SP
304912013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30492
0f5477af
SP
30493 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30494 four values.
30495
44e0d4c2
SP
30496 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30497 calculation loop and add branch prediction.
30498
4d55b4e5
SP
30499 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30500 check access beyond bounds of m1np.
30501
da08f647
SP
30502 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30503 MPTWO.
30504 (__inv): Remove local variable MPTWO to use the global
30505 constant.
30506 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30507 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30508 variable MPTWO.
30509 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30510 MP3HALFS static const.
30511
8e051029
DM
305122013-01-01 David S. Miller <davem@davemloft.net>
30513
30514 * po/ca.po: Update from translation team.
30515
f4cf5f2d
JM
305162013-01-01 Joseph Myers <joseph@codesourcery.com>
30517
30518 * scripts/update-copyrights: New file.
30519 * Makeconfig: Reformat copyright notice.
30520 * ctype/ctype.h: Likewise.
30521 * debug/swprintf_chk.c: Likewise.
30522 * elf/dl-cache.c: Likewise.
30523 * elf/dl-debug.c: Likewise.
30524 * elf/dl-object.c: Likewise.
30525 * grp/initgroups.c: Likewise.
30526 * hurd/Makefile: Likewise.
30527 * hurd/hurd/signal.h: Likewise.
30528 * hurd/hurdfault.c: Likewise.
30529 * hurd/hurdioctl.c: Likewise.
30530 * hurd/hurdlookup.c: Likewise.
30531 * hurd/intr-msg.c: Likewise.
30532 * iconv/gconv_open.c: Likewise.
30533 * libio/swprintf.c: Likewise.
30534 * locale/lc-ctype.c: Likewise.
30535 * locale/nl_langinfo.c: Likewise.
30536 * mach/Machrules: Likewise.
30537 * mach/Makefile: Likewise.
30538 * malloc/obstack.h: Likewise.
30539 * manual/Makefile: Likewise.
30540 * manual/tsort.awk: Likewise.
30541 * misc/bits/stab.def: Likewise.
30542 * nis/nis_print_group_entry.c: Likewise.
30543 * nis/nis_table.c: Likewise.
30544 * nis/nss_compat/compat-pwd.c: Likewise.
30545 * nis/nss_compat/compat-spwd.c: Likewise.
30546 * po/Makefile: Likewise.
30547 * posix/fnmatch.c: Likewise.
30548 * posix/regex.h: Likewise.
30549 * resolv/Makefile: Likewise.
30550 * resolv/nss_dns/dns-network.c: Likewise.
30551 * resolv/res_hconf.c: Likewise.
30552 * scripts/gen-sorted.awk: Likewise.
30553 * soft-fp/soft-fp.h: Likewise.
30554 * stdio-common/printf.h: Likewise.
30555 * stdlib/monetary.h: Likewise.
30556 * stdlib/random.c: Likewise.
30557 * stdlib/random_r.c: Likewise.
30558 * sysdeps/generic/Makefile: Likewise.
30559 * sysdeps/gnu/Makefile: Likewise.
30560 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30561 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30562 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30563 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30564 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30565 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30566 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30567 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30568 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30569 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30570 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30571 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30572 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30573 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30574 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30575 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30576 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30577 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30578 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30579 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30580 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30581 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30582 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30583 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30584 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30585 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30586 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30587 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30588 * sysdeps/mach/hurd/errnos.awk: Likewise.
30589 * sysdeps/mach/hurd/fork.c: Likewise.
30590 * sysdeps/mach/hurd/getcwd.c: Likewise.
30591 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30592 * sysdeps/mach/hurd/mmap.c: Likewise.
30593 * sysdeps/mach/hurd/utimes.c: Likewise.
30594 * sysdeps/mach/hurd/xmknod.c: Likewise.
30595 * sysdeps/posix/profil.c: Likewise.
30596 * sysdeps/posix/readdir_r.c: Likewise.
30597 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30598 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30599 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30600 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30602 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30603 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30604 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30605 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30606 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30607 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30608 * sysdeps/pthread/lio_listio.c: Likewise.
30609 * sysdeps/sparc/dl-procinfo.h: Likewise.
30610 * sysdeps/unix/i386/sysdep.S: Likewise.
30611 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30612 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30613 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30614 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30616 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30617 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30618 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30619 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30620 * sysdeps/wordsize-32/divdi3.c: Likewise.
30621 * time/sys/time.h: Likewise.
30622 * wcsmbs/Makefile: Likewise.
30623
0549fbba
DM
306242013-01-01 David S. Miller <davem@davemloft.net>
30625
a141f1a7
DM
30626 * po/fr.po: Update from translation team.
30627
0549fbba
DM
30628 * catgets/gencat.c: Update copyright year.
30629 * csu/version.c: Likewise.
30630 * debug/catchsegv.sh: Likewise.
30631 * debug/pcprofiledump.c: Likewise.
30632 * debug/xtrace.sh: Likewise.
30633 * elf/ldconfig.c: Likewise.
30634 * elf/ldd.bash.in: Likewise.
30635 * elf/pldd.c: Likewise.
30636 * elf/sotruss.ksh: Likewise.
30637 * elf/sprof.c: Likewise.
30638 * iconv/iconv_prog.c: Likewise.
30639 * iconv/iconvconfig.c: Likewise.
30640 * locale/programs/locale.c: Likewise.
30641 * locale/programs/localedef.c: Likewise.
30642 * login/programs/pt_chown.c: Likewise.
30643 * malloc/memusage.sh: Likewise.
30644 * malloc/memusagestat.c: Likewise.
30645 * malloc/mtrace.pl: Likewise.
30646 * nscd/nscd.c: Likewise.
30647 * nss/getent.c: Likewise.
30648 * nss/makedb.c: Likewise.
30649 * posix/getconf.c: Likewise.
30650
18ea052c
SP
306512012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30652
30653 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30654 numbers.
30655
9c89fca6
MF
306562012-12-30 Mike Frysinger <vapier@gentoo.org>
30657
30658 * math/bits/mathcalls.h (modf): Use __nonnull.
30659
085ec079
SP
306602012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30661
30662 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30663 (split): Use macro CN instead of the bare value.
30664 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30665 could be used.
30666 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30667 instead of the bare value.
30668 (power1): Likewise.
30669
6d9f97e1
SP
306702012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30671
d63f73be
SP
30672 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30673 __ATAN_TWOM.
30674 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30675
6d9f97e1
SP
30676 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30677 their values.
30678 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30679 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30680 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30681 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30682
4c4febf5
AJ
306832012-12-28 Andreas Jaeger <aj@suse.de>
30684
af5843ef
AJ
30685 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30686 values are from Linux 3.7.
30687
4c4febf5
AJ
30688 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30689 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30690
99136f82
SP
306912012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30692
2f216c3c 30693 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
30694 TRUE case.
30695
99136f82
SP
30696 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30697 (norm): Likewise.
30698 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30699 variables with preprocessor constants.
30700 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30701 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30702 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30703
7fffbdff
BH
307042012-12-27 Bruno Haible <bruno@clisp.org>
30705
30706 [BZ #14317]
30707 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30708 only if needed.
30709
b76eb5f0
SP
307102012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30711
31a7fe5c
SP
30712 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30713 and use variable directly.
30714 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30715
b76eb5f0
SP
30716 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30717 MPONE.
30718 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30719 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30720 variable MPONE.
30721 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30722 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30723 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30724 include directive. Remove local variable MPONE.
30725 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30726 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30727 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30728
2c8bfe7d
DM
307292012-12-25 David S. Miller <davem@davemloft.net>
30730
30731 * version.h (RELEASE): Set to "development".
30732 (VERSION): Set to "2.17.90".
30733 * NEWS: Add 2.18 section.
30734
147d03b0
DM
307352012-12-21 David S. Miller <davem@davemloft.net>
30736
30737 * po/hr.po: Update from translation team.
30738
a8ebb2b9
AK
307392012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30740
30741 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30742
95b4f1b6
SE
307432012-12-19 Steve Ellcey <sellcey@mips.com>
30744
b2d94007 30745 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 30746
cedb2a90
MS
307472012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30748
30749 * manual/contrib.texi (Contributors): Spelling correction.
30750
bbf527d6
DM
307512012-12-15 David S. Miller <davem@davemloft.net>
30752
30753 * po/ru.po: Update from translation team.
30754
bc38c906
DM
307552012-12-13 David S. Miller <davem@davemloft.net>
30756
85429b1a
DM
30757 * NEWS: Mention IFUNC testsuite enhancements.
30758
d283e353
DM
30759 * po/pl.po: Update from translation team.
30760 * po/bg.po: Likewise.
30761
bc38c906
DM
30762 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30763 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30764
a181b0d7
DM
307652012-12-11 David S. Miller <davem@davemloft.net>
30766
4641d57e
DM
30767 * po/sv.po: Update from translation team.
30768
f7bc6495
DM
30769 * po/vi.po: Update from translation team.
30770
6fc9048f
DM
30771 * po/cs.po: Update from translation team.
30772
a181b0d7
DM
30773 * po/de.po: Update from translation team.
30774 * po/eo.po: Likewise.
30775 * po/nl.po: Likewise.
30776
f70bfe80
SP
307772012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30778
3c8b4190
SP
30779 [BZ #14246]
30780 * manual/argp.texi (Argp Helper Functions): Move node to follow
30781 Argp Parsing State.
30782
f70bfe80
SP
30783 [BZ #14872]
30784 * manual/conf.texi (Limits on File System Capacity): Mention if
30785 terminating null is included in the max size.
30786
188f0adf
AJ
307872012-12-10 Andreas Jaeger <aj@suse.de>
30788
30789 * po/cs.po: Update from translation team.
30790
56e7d3ad
SP
307912012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30792
30793 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30794 void pointer and cast to uintptr_t.
30795 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30796 path.
30797 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30798 * sysdeps/s390/s390-64/memset.S: Likewise.
30799
76f2d2ea 308002012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
30801
30802 [BZ #14833]
30803 * menual/message.texi (Message Translation): Fix typos.
30804 (Helper programs for gettext): Likewise.
30805
67cbf9a2
AS
308062012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30807
30808 [BZ #14898]
30809 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30810 Change to -1.
30811
682d0e9a
DM
308122012-12-07 David S. Miller <davem@davemloft.net>
30813
30814 * po/libc.pot: Update.
30815
573cd484
RH
308162012-12-07 Richard Henderson <rth@redhat.com>
30817
7e9da188 30818 [BZ #10114]
573cd484
RH
30819 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30820 normal/normal case to before the switch.
30821 (_FP_DIV): Likewise.
30822
e933a943
MF
308232012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30824 Mike Frysinger <vapier@gentoo.org>
30825
30826 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30827 check for __NR_fadvise64_64.
30828
82123268
CM
308292012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30830
30831 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30832 0, not just to plain "0" as a statement.
30833 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30834 with cw.
30835
d9814526
JM
308362012-12-06 Joseph Myers <joseph@codesourcery.com>
30837
30838 * NEWS: Use sourceware.org in Bugzilla URL.
30839
7728c574
SP
308402012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30841
f16946dd
SP
30842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30843 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30844
5704bbcb
SP
30845 * stdio-common/tst-put-error.c (do_test): Add newline to the
30846 padded test to ensure flush.
30847
17aa0516
JL
308482012-12-05 Jeff Law <law@redhat.com>
30849
30850 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30851
363313b5
JM
308522012-12-05 Joseph Myers <joseph@codesourcery.com>
30853
effbd42a
JM
30854 * README: Don't refer to ports add-on as distributed separately.
30855 Mention AArch64 in list of systems supported in the ports add-on.
30856
87600365
JM
30857 * LICENSES: Add more non-FSF copyright and license notices.
30858
a0d7066a
JM
30859 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30860 ((unused)).
30861
66ca5a5b
JM
30862 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30863
363313b5
JM
30864 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30865 10000 as width of padded output.
30866
b37984ad
JM
308672012-12-04 Joseph Myers <joseph@codesourcery.com>
30868
9003570a
JM
30869 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30870
b37984ad
JM
30871 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30872 variable LX with __attribute__ ((unused)).
30873 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30874 Likewise.
30875 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30876 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30877 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30878 with __attribute__ ((unused)).
30879
c8df52ec
DM
308802012-12-04 David S. Miller <davem@abraco.davemloft.net>
30881
30882 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30883
b3b099af
JM
308842012-12-04 Joseph Myers <joseph@codesourcery.com>
30885
c33aa6e3
JM
30886 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30887 (CFLAGS-nldbl-acos.c): New variable.
30888 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30889 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30890 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30891 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30892 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30893 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30894 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30895 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30896 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30897 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30898 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30899 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30900 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30901 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30902 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30903 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30904 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30905 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30906 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30907 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30908 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30909 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30910 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30911 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30912 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30913 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30914 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30915 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30916 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30917 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30918 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30919 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30920 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30921 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30922 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30923 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30924 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30925 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30926 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30927 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30928 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30929 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30930 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30931 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30932 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30933 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30934 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30935 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30936 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30937 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30938 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30939 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30940 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30941 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30942 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30943 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30944 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30945 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30946 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30947 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30948 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30949 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30950 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30951 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30952 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30953 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30954 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30955 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30956 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30957 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30958 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30959 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30960 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30961 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30962 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30963 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30964 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30965 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30966 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30967 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30968 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30969 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30970 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30971 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30972 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30973 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30974 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30975 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30976 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30977 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30978 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30979 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30980 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30981 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30982 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30983 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30984 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30985
20f0018d
JM
30986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30987 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30988
b3b099af
JM
30989 [BZ #14914]
30990 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30991 whole low double instead of just low 47 bits when splitting values
30992 into two parts.
30993
029264d1
AM
309942012-12-03 Allan McRae <allan@archlinux.org>
30995
30996 * manual/stdio.texi (Predefined Printf Handlers): Remove
30997 @hsep and @vsep usage.
30998
c9d6789e
MF
309992012-12-03 Mike Frysinger <vapier@gentoo.org>
31000
31001 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31002 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31003
4b7634a5
JL
310042012-12-03 Jeff Law <law@redhat.com>
31005
31006 * time/sys/time.h (settimeofday): Do not mark TV argument
31007 as __nonnull.
31008
eb6cbd24
MF
310092012-12-01 Mike Frysinger <vapier@gentoo.org>
31010
31011 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31012 when currently writing and seek to current position when not.
31013 * libio/Makefile (tests): Remove bug-fclose1.
31014 * libio/bug-fclose1.c: Delete.
31015
f638872a
JM
310162012-12-01 Joseph Myers <joseph@codesourcery.com>
31017
31018 * manual/arith.texi (feenableexcept): Fix typo.
31019 (fedisableexcept): Likewise.
31020
48085d14
RM
310212012-11-30 Roland McGrath <roland@hack.frob.com>
31022
31023 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31024 second, differently-typed declaration, rather than a cast.
31025
1a538b9f
SP
310262012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31027
31028 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31029 * include/rpc/svc.h: ... here.
31030
d07f2ff1 310312012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
31032
31033 [BZ #13013]
31034 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31035 depending n and resplen2 to catch cases where answer
31036 equals answerp2.
31037
c93ec1f0
CD
310382012-11-29 Carlos O'Donell <carlos@systemhalted.org>
31039
31040 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31041 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31042
37db69de
MF
310432012-11-29 Mike Frysinger <vapier@gentoo.org>
31044
31045 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31046
e10c4e4f
RM
310472012-11-29 Roland McGrath <roland@hack.frob.com>
31048
31049 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31050
2af1b328
JL
310512012-11-28 Jeff Law <law@redhat.com>
31052
31053 [BZ #13761]
31054 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31055 dataset_temporary. Track alloca usage into alloca_used.
31056 If dataset is large allocate and release it via malloc/free.
31057
111db5b1
FW
310582012-06-04 Florian Weimer <fweimer@redhat.com>
31059
f06cc227 31060 [BZ #14197]
111db5b1
FW
31061 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31062
dd694abd
DM
310632012-11-28 David S. Miller <davem@davemloft.net>
31064
31065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31066
9984dd01
JM
310672012-11-28 Joseph Myers <joseph@codesourcery.com>
31068
31069 [BZ #14803]
31070 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31071 of pi/2 rounded to nearest to 64 bits.
31072 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31073 nearest to 64 bits.
31074 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31075 bits.
31076
14bc93a9
JL
310772012-11-28 Jeff Law <law@redhat.com>
31078 Martin Osvald <mosvald@redhat.com>
31079
31080 [BZ #14889]
31081 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31082 * sunrpc/svc.c: Include time.h.
31083 (__svc_accept_failed): New function.
31084 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31085 any reason other than EINTR, call __svc_accept_failed.
31086 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31087 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31088
e3c6aa3a
AS
310892012-11-28 Andreas Schwab <schwab@suse.de>
31090
31091 * scripts/abilist.awk: Also handle indirect functions in .opd
31092 section.
31093
1bead169
JM
310942012-11-28 Joseph Myers <joseph@codesourcery.com>
31095
31096 [BZ #13881]
31097 * sysdeps/x86/fpu/powl_helper.c: New file.
31098 * sysdeps/x86/fpu/Makefile: Likewise.
31099 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31100 (p3): New object.
31101 (__ieee754_powl): Use __powl_helper for finite arguments except
31102 integer exponents below 8.
31103 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31104 (p3): New object.
31105 (__ieee754_powl): Use __powl_helper for finite arguments except
31106 integer exponents below 8.
31107 * math/libm-test.inc (pow_test): Add more tests and enable some
31108 previously disabled tests.
31109 * sysdeps/i386/fpu/libm-test-ulps: Update.
31110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31111
0817d63d
SP
311122012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31113 Carlos O'Donell <carlos_odonell@mentor.com>
31114
31115 * nss/makedb.c (is_prime): Assert that input is odd and greater
31116 than 4. Note that fact in a comment too.
31117 (next_prime): Add 4 to input.
31118
de2fd463
SP
311192012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31120
31121 [BZ #11741]
31122 * libio/Makefile (tests): Add test case tst-fwrite-error.
31123 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31124 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31125 * libio/tst-fwrite-error.c: New test case.
31126
c515fb51
L
311272012-11-26 H.J. Lu <hongjiu.lu@intel.com>
31128
31129 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31130 before casting to void *.
31131 * include/libc-internal.h (__pointer_type): New macro.
31132 (__integer_if_pointer_type_sub): Likewise.
31133 (__integer_if_pointer_type): Likewise.
31134 (cast_to_integer): Likewise.
31135 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31136 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31137 before casting to atomic64_t.
31138 (atomic_exchange_acq): Likewise.
31139 (__arch_exchange_and_add_body): Likewise.
31140 (__arch_add_body): Likewise.
31141 (atomic_add_negative): Likewise.
31142 (atomic_add_zero): Likewise.
31143
4cf77aa9
JM
311442012-11-26 Joseph Myers <joseph@codesourcery.com>
31145
31146 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31147 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31148 (add_fdes): Likewise.
31149 (linear_search_fdes): Likewise.
31150 (binary_search_unencoded_fdes): Likewise.
31151
d260b3b4
AS
311522012-11-26 Andreas Schwab <schwab@linux-m68k.org>
31153
31154 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31155
67060746
AC
311562012-11-24 Adam Conrad <adconrad@0c3.net>
31157
31158 * configure.in: Autodetect C++ header directories.
31159 * configure: Regenerated.
31160
800938a1
MF
311612012-11-23 Mike Frysinger <vapier@gentoo.org>
31162
31163 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31164
4e6e34e6
AS
311652012-11-23 Andreas Schwab <schwab@linux-m68k.org>
31166
31167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31168
7c7feb47
JM
311692012-11-22 Joseph Myers <joseph@codesourcery.com>
31170
7184dcdf
JM
31171 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31172 LDBL_MANT_DIG == 106]: Disable some tests.
31173 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31174 Likewise.
31175 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31176 Likewise.
31177
0a42601f
JM
31178 [BZ #14871]
31179 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31180 input for small inputs. Return +/- pi/2 for large inputs.
31181 * math/libm-test.inc (atan_test): Add more tests.
31182
79c9b9fe
JM
31183 * sysdeps/generic/unwind-dw2-fde-glibc.c
31184 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31185 __attribute__ ((unused)).
31186
c60d3bf2
JM
31187 [BZ #14645]
31188 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31189 x * y if x and y are nonzero and z is zero.
31190
ef1e0867
JM
31191 [BZ #14811]
31192 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31193 nonzero exponents with absolute value below 0x1p-117 to +/-
31194 0x1p-117.
31195
1468ded3
JM
31196 [BZ #14869]
31197 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31198 up arguments below 2**-450, not just those below 2**-500.
31199 * math/libm-test.inc (hypot_test): Add another test.
31200
8e27e3cc
JM
31201 [BZ #14868]
31202 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31203 Return a+b for ratio over 2**120, not 2**60.
31204 * math/libm-test.inc (hypot_test): Add another test.
31205
c9c0279b
JM
31206 * math/libm-test.inc (clog_test): Use
31207 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31208 (clog10_test): Likewise.
31209
7c7feb47
JM
31210 [BZ #6778]
31211 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31212
fff1530e
AS
312132012-11-22 Andreas Schwab <schwab@suse.de>
31214
31215 * sysdeps/i386/fpu/libm-test-ulps: Update.
31216
94558d30
PT
312172012-11-22 Pino Toscano <toscano.pino@tiscali.it>
31218
31219 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31220 printf output with newline.
31221
7e1be741
L
312222012-11-21 H.J. Lu <hongjiu.lu@intel.com>
31223
6bfea974
L
31224 [BZ #14865]
31225 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31226 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31227 -z nodlopen, -z initfirst and -z execstack support.
31228 * configure: Regenerated.
31229
7e1be741
L
31230 * elf/elf.h (DF_1_NODIRECT): New macro.
31231 (DF_1_IGNMULDEF): Likewise.
31232 (DF_1_NOKSYMS): Likewise.
31233 (DF_1_NOHDR): Likewise.
31234 (DF_1_EDITED): Likewise.
31235 (DF_1_NORELOC): Likewise.
31236 (DF_1_SYMINTPOSE): Likewise.
31237 (DF_1_GLOBAUDIT): Likewise.
31238 (DF_1_SINGLETON): Likewise.
31239 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31240 DT_1_SUPPORTED_MASK bits.
31241 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31242
105ce2ce
CD
312432012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
31244
31245 * sysdeps/unix/make-syscalls.sh: Document prefixes.
31246
123be9de
TS
312472012-11-20 Thomas Schwinge <thomas@codesourcery.com>
31248
d072f3f7
TS
31249 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31250 macro.
31251
123be9de
TS
31252 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31253 (sendmmsg): Move declarations...
31254 * socket/sys/socket.h: ... here.
31255 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31256 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31257 include it from...
31258 * socket/recvmmsg.c: ... this new file.
31259 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31260 (sendmmsg): Rename to __sendmmsg, create weak alias and make
31261 definition of __sendmmsg hidden.
31262 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31263 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31264 Move ENOSYS stub into and include it from...
31265 * socket/sendmmsg.c: ... this new file.
31266 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31267 (sysdep_routines): Move recvmmsg and sendmmsg...
31268 * socket/Makefile (routines): ... here.
31269 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31270 (GLIBC_PRIVATE): Add __sendmmsg.
31271 * include/sys/socket.h (__sendmmsg): Add declarations.
31272 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31273 sendmmsg.
31274
cf9a5d18
JM
312752012-11-20 Joseph Myers <joseph@codesourcery.com>
31276
31277 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31278 variable I1 with __attribute__ ((unused)).
31279 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31280
ecd4caf9
JM
312812012-11-19 Joseph Myers <joseph@codesourcery.com>
31282
be14d48f
JM
31283 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31284 DUMMY variables with __attribute__ ((unused)).
31285
ecd4caf9
JM
31286 * bits/byteswap.h: Include <bits/types.h>.
31287 (__bswap_64): Use __uint64_t instead of unsigned long long int.
31288
986cab95
PT
312892012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31290
31291 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31292 string_t. Do not manually set errno.
31293 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31294 length with __strnlen. Make sure to both set errno and return it on
31295 failure.
31296
6d33cc9d
DM
312972012-11-19 David S. Miller <davem@davemloft.net>
31298
31299 With help from Joseph Myers.
31300 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31301 very large arguments properly.
31302 * math/libm-test.inc (atan_test): New tests.
31303 (atan2_test): New tests.
31304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31306
ee663277
JM
313072012-11-19 Joseph Myers <joseph@codesourcery.com>
31308
877f2d8e
JM
31309 [BZ #14856]
31310 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31311 Define to 3.
31312
116fc08a
JM
31313 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31314 [POSIX] (EADDRNOTAVAIL): Likewise.
31315 [POSIX] (EAFNOSUPPORT): Likewise.
31316 [POSIX] (EALREADY): Likewise.
31317 [POSIX] (ECONNABORTED): Likewise.
31318 [POSIX] (ECONNREFUSED): Likewise.
31319 [POSIX] (ECONNRESET): Likewise.
31320 [POSIX] (EDESTADDRREQ): Likewise.
31321 [POSIX] (EDQUOT): Likewise.
31322 [POSIX] (EHOSTUNREACH): Likewise.
31323 [POSIX] (EIDRM): Likewise.
31324 [POSIX] (EISCONN): Likewise.
31325 [POSIX] (ELOOP): Likewise.
31326 [POSIX] (EMULTIHOP): Likewise.
31327 [POSIX] (ENETDOWN): Likewise.
31328 [POSIX] (ENETUNREACH): Likewise.
31329 [POSIX] (ENOBUFS): Likewise.
31330 [POSIX] (ENODATA): Likewise.
31331 [POSIX] (ENOLINK): Likewise.
31332 [POSIX] (ENOMSG): Likewise.
31333 [POSIX] (ENOPROTOOPT): Likewise.
31334 [POSIX] (ENOSR): Likewise.
31335 [POSIX] (ENOSTR): Likewise.
31336 [POSIX] (ENOTCONN): Likewise.
31337 [POSIX] (ENOTSOCK): Likewise.
31338 [POSIX] (EOPNOTSUPP): Likewise.
31339 [POSIX] (EOVERFLOW): Likewise.
31340 [POSIX] (EPROTO): Likewise.
31341 [POSIX] (EPROTONOSUPPORT): Likewise.
31342 [POSIX] (EPROTOTYPE): Likewise.
31343 [POSIX] (ESTALE): Likewise.
31344 [POSIX] (ETIME): Likewise.
31345 [POSIX] (ETXTBSY): Likewise.
31346 [POSIX] (EWOULDBLOCK): Likewise.
31347 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31348 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31349 [POSIX] (SEEK_CUR): Likewise.
31350 [POSIX] (SEEK_END): Likewise.
31351 [POSIX || UNIX98] (mode_t): Do not require.
31352 [POSIX] (off_t): Likewise.
31353 [POSIX] (pid_t): Likewise.
31354 [POSIX] (sys/stat.h): Do not allow header.
31355 [POSIX] (unistd.h): Likewise.
31356 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31357 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31358 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31359 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31360 require.
31361 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31362 sigevent): Specify elements.
31363 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31364 entry.
31365 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31366 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31367
a483863f
JM
31368 * conform/data/cpio.h-data [POSIX]: Disable whole file.
31369 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31370 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31371 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31372 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31373 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31374 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31375 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31376 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31377 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31378 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31379 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31380 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31381 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31382 Likewise.
31383 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31384 Likewise.
31385 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31386 Likewise.
31387 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31388 Likewise.
31389 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31390 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31391 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31392 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31393 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31394 Specify lower bound on value.
31395 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31396 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31397 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31398 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31399 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31400 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31401 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31402 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31403 value.
31404 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31405 as optional.
31406 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31407 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31408 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31409 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31410 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31411 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31412 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31413 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31414 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31415 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31416 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31417 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31418 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31419 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31420 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31421 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31422 entry.
31423 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31424 optional.
31425 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31426 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31427 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31428 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31429 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31430 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31431 Likewise.
31432 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31433 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31434 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31435 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31436 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31437 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31438 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31439 as optional.
31440 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31441 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31442 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31443 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31444 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31445 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31446 specify as optional.
31447 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31448 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31449 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31450 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31451 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31452 [XPG3] (NL_LANGMAX): Likewise.
31453 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31454 [POSIX || XPG3] (NL_NMAX): Likewise.
31455 [POSIX || XPG3] (NL_SETMAX): Likewise.
31456 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31457 [XPG3] (NZERO): Likewise.
31458 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31459 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31460 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31461 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31462 (REG_ERANGE): Expect.
31463 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31464 optional-constant.
31465 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31466 Use (void) in prototype.
31467 [POSIX] (*_t): Allow.
31468 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31469 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31470 (WRDE_BADVAL): Expect.
31471
5ba924e3
JM
31472 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31473 expect.
31474 [XPG3 || XPG4] (O_RSYNC): Likewise.
31475 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31476 Likewise.
31477 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31478 [XPG3 || XPG4] (sigqueue): Likewise.
31479 [XPG3 || XPG4] (sigtimedwait): Likewise.
31480 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31481 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31482 [XPG3 || XPG4] (vsnprintf): Likewise.
31483 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31484 Likewise.
31485 [XPG3 || XPG4] (blksize_t): Likewise.
31486 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31487 Likewise.
31488 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31489 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31490 [XPG3 || XPG4] (struct itimerspec): Likewise.
31491 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31492 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31493 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31494 [XPG3 || XPG4] (clockid_t): Likewise.
31495 [XPG3 || XPG4] (timer_t): Likewise.
31496 [XPG3 || XPG4] (clock_getres): Likewise.
31497 [XPG3 || XPG4] (clock_gettime): Likewise.
31498 [XPG3 || XPG4] (clock_settime): Likewise.
31499 [XPG3 || XPG4] (nanosleep): Likewise.
31500 [XPG3 || XPG4] (timer_create): Likewise.
31501 [XPG3 || XPG4] (timer_delete): Likewise.
31502 [XPG3 || XPG4] (timer_gettime): Likewise.
31503 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31504 [XPG3 || XPG4] (timer_settime): Likewise.
31505 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31506 [XPG3 || XPG4] (getlogin_r): Likewise.
31507 [XPG3 || XPG4] (pread): Likewise.
31508 [XPG3 || XPG4] (pthread_atfork): Likewise.
31509 [XPG3 || XPG4] (pwrite): Likewise.
31510
ee663277
JM
31511 [BZ #14835]
31512 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31513 <bits/siginfo.h>.
31514
942caa16
PT
315152012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31516
e19af380
PT
31517 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31518 finalizing MALLSTREAM.
31519
942caa16
PT
31520 * sysdeps/mach/hurd/syncfs.c: New file.
31521
cfde9b46
SP
315222012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31523
31524 [BZ #14719]
31525 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31526 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31527 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31528 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31529 (_nss_dns_gethostbyname4_r): Likewise.
31530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31531 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31532
f6da27e5
PH
315332012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31534
31535 [BZ #13763]
31536 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31537
6665d4a2
SM
315382012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31539
1f51ee92
SM
31540 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31541 * elf/cache.c (print_entry): Print ",AArch64" for
31542 FLAG_AARCH64_LIB64
31543
6665d4a2
SM
31544 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31545 * elf/cache.c (print_entry): Print ",hard-float" for
31546 FLAG_ARM_LIBHF.
31547
05b227bd
DM
315482012-11-18 David S. Miller <davem@davemloft.net>
31549
31550 With help from Joseph Myers.
31551 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31552 cutoff to 2**-13.
31553 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31554 cutoff to 2**-25.
31555 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31556 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31557 small.
31558 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31559 * math/libm-test.inc (y0_test): New tests.
31560 (y1_test): New tests.
31561 * sysdeps/i386/fpu/libm-test-ulps: Update.
31562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31564
786b0b67
AS
315652012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31566
31567 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31568 64-bit targets.
31569 * configure: Regenerated.
31570
8e18b86d
DM
315712012-11-17 David S. Miller <davem@davemloft.net>
31572
31573 [BZ #14811]
31574 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31575 nonzero exponents with absolute value below 0x1p-128 to +/-
31576 0x1p-128.
31577
531f1ae0
JM
315782012-11-17 Joseph Myers <joseph@codesourcery.com>
31579
12df29e2
JM
31580 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31581
150dc1a0
JM
31582 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31583
531f1ae0
JM
31584 * posix/getconf-speclist.c: New file.
31585 * posix/posix-envs.def: Likewise.
31586 * posix/confstr.c (START_ENV_GROUP): New macro.
31587 (END_ENV_GROUP): Likewise.
31588 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31589 (KNOWN_PRESENT_ENV_STRING): Likewise.
31590 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31591 (UNKNOWN_ENVIRONMENT): Likewise.
31592 (confstr): Include posix-envs.def instead of handling
31593 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31594 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31595 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31596 (END_ENV_GROUP): Likewise.
31597 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31598 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31599 (UNKNOWN_ENVIRONMENT): Likewise.
31600 (__sysconf): Include posix-envs.def instead of handling associated
31601 cases directly here.
31602 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31603 preprocessing getconf-speclist.c rather than running getconf or
31604 generating empty file.
31605
a93f9cbc
PT
316062012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31607
31608 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31609
d64d9f87
AL
316102012-11-16 Andrej Lajovic <natrij@gmail.com>
31611
31612 [BZ #14672]
31613 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31614
447885eb
DM
316152012-11-16 David S. Miller <davem@davemloft.net>
31616
31617 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31618 smaller than LDBL_EPSILON/2.0L, just return xm1.
31619
bcbf9830
L
316202012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31621
31622 * elf/tst-array1.c (init): Set constructor priority to 1000.
31623 (fini): Set destructor priority to 1000.
31624 * elf/tst-array2dep.c: Likewise.
31625
2b766585
SP
316262012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31627
31628 [BZ #11741]
31629 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31630 (_IO_new_file_xsputn): Also return EOF if none of the input
31631 data was written when overflow failed.
31632 * libio/iopadn.c (_IO_padn): Likewise.
31633 * libio/iowpadn.c (_IO_wpadn): Likewise.
31634 * stdio-common/tst-put-error.c: Add copyright notice.
31635 (do_test): Add case for printing padded string.
31636 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31637 _IO_padn returned error.
31638 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31639 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31640 return EOF.
31641
b1848fde
SP
316422012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31643
31644 * libio/libioP.h: Add comment note that the references to C++
31645 bits are now obsolete.
31646
2fd89785
MS
316472012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31648
31649 * math/libm-test.inc (check_complex): Use asprintf.
31650
e3ea5409
JM
316512012-11-14 Joseph Myers <joseph@codesourcery.com>
31652
31653 * debug/pcprofiledump.c (print_version): Update copyright year.
31654 * malloc/memusagestat.c (print_version): Likewise.
31655
2e64d265
L
316562012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31657
31658 [BZ #14831]
31659 * elf/Makefile (tests): Add tst-audit8.
31660 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31661 ($(objpfx)tst-audit8.out): New target.
31662 (tst-audit8-ENV): New variable.
31663 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31664 audit if l_reloc_result is NULL.
31665 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31666 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31667 * elf/tst-audit8.c: New file.
31668
c485e4d2
MS
316692012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31670
31671 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31672 * misc/Makefile (CFLAGS-select.c): Define.
31673 * posix/Makefile (CFLAGS-pause.c): Define.
31674
3a0d900a
DM
316752012-11-13 David S. Miller <davem@davemloft.net>
31676
31677 * crypt/Makefile: Move test targets after toplevel Rules
31678 inclusion. Grab any necessary sysdep routines when linking.
31679 * crypt/md5.c (md5_process_block): Remove define, we will always
31680 name it __md5_process_block.
31681 (md5_finish_ctx): Update md5_process_block call.
31682 (md5_stream): Likewise.
31683 (md5_process_bytes): Likewise.
31684 (md5_process_block): Rename to __md5_process_block and move to ...
31685 * crypt/md5-block.c: ... here.
31686 * crypt/sha256.c (sha256_process_block): Move to ...
31687 * crypt/sha256-block.c: ... here.
31688 * crypt/sha512.c (sha512_process_block): Move to ...
31689 * crypt/sha512-block.c: ... here.
31690 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31691 path.
31692 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31693 * sysdeps/sparc/sparc64/multiarch/Makefile
31694 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31695 crypt subdir.
31696 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31697 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31698 multiarch changes.
31699 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31700 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31701 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31702 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31703 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31704 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31705 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31706 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31707 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31708 file.
31709 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31710 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31711 file.
31712 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31713
8ca89318
JM
317142012-11-13 Joseph Myers <joseph@codesourcery.com>
31715
e27d476a
JM
31716 * timezone/tzselect.ksh: Update from tzcode git revision
31717 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31718 * timezone/zdump.c: Likewise.
31719 * timezone/zic.c: Likewise.
31720 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31721 in TZVERSION setting, not $(PKGVERSION).
31722 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31723 REPORT_BUGS_TO settings.
31724
8ca89318
JM
31725 [BZ #14838]
31726 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31727 macro.
31728
47594329
MS
317292012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31730
31731 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31732 detection to immediately after _FP_ROUND().
31733 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31734 bits are 0.
31735
640ac3f1
DM
317362012-11-11 David S. Miller <davem@davemloft.net>
31737
31738 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31739 inttypes.h
31740 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31741 __close rather than their public counterparts.
31742
3d2577bb
JM
317432012-11-10 Joseph Myers <joseph@codesourcery.com>
31744
31745 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31746 file.
31747 [UNIX98] (sem_timedwait): Do not expect.
31748 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31749 [XPG4 || UNIX98] (sockatmark): Do not expect.
31750 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31751 (clock_getcpuclockid): Do not expect.
31752 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31753 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31754 Do not expect.
31755 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31756 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31757 [UNIX98] (vwscanf): Likewise.
31758 [UNIX98] (vswscanf): Likewise.
31759
fb1ae1ee
JM
317602012-11-09 Joseph Myers <joseph@codesourcery.com>
31761
9ec6f8bd
JM
31762 * timezone/version.h: Remove file.
31763 * timezone/README: Do not refer to version.h.
31764 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31765 $(objpfx)version.h.
31766 ($(objpfx)zdump.o): Likewise.
c3f81911 31767 ($(objpfx)version.h): New target.
9ec6f8bd 31768
0aa8f8a1
JM
31769 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31770 2012i.
31771 * timezone/README: Don't mention modification to tzselect.ksh.
31772 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31773 work on unmodified tzselect.ksh. Substitute version numbers in
31774 tzselect.ksh.
31775
4e87147f
JM
31776 * Makefile (format-me): Remove.
31777 (INSTALL): Adjust indentation. Use commands directly instead of
31778 using $(format-me).
31779
8b748aed
JM
31780 * aclocal.m4 (ACX_PKGVERSION): New macro.
31781 (ACX_BUGURL): Likewise.
31782 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31783 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31784 (REPORT_BUGS_TO): Likewise.
31785 * configure: Regenerated.
31786 * config.h.in (PKGVERSION): New macro.
31787 (REPORT_BUGS_TO): Likewise.
31788 * config.make.in (PKGVERSION): New variable.
31789 (PKGVERSION_TEXI): Likewise.
31790 (REPORT_BUGS_TO): Likewise.
31791 (REPORT_BUGS_TEXI): Likewise.
31792 * Makefile (format-me): Use -I$(common-objpfx)manual.
31793 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31794 ($(common-objpfx)manual/%): New target.
31795 (manual/%): Remove target.
31796 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31797 (print_version): Use PKGVERSION.
31798 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31799 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31800 and REPORT_BUGS_TO.
31801 ($(objpfx)xtrace): Likewise.
31802 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31803 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31804 (print_version): Use PKGVERSION.
31805 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31806 (do_version): Use PKGVERSION.
31807 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31808 REPORT_BUGS_TO.
31809 (common-ldd-rewrite): Likewise.
31810 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31811 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31812 (print_version): Use PKGVERSION.
31813 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31814 * elf/pldd.c (argp_program_bug_address): Remove variable.
31815 (more_help): New function.
31816 (argp): Use more_help.
31817 (print_version): Use PKGVERSION.
31818 * elf/sln.c (main): Use PKGVERSION.
31819 (usage): Use REPORT_BUGS_TO.
31820 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31821 (top level): Use PKGVERSION.
31822 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31823 (print_version): Use PKGVERSION.
31824 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31825 (print_version): Use PKGVERSION.
31826 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31827 (print_version): Use PKGVERSION.
31828 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31829 (print_version): Use PKGVERSION.
31830 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31831 (print_version): Use PKGVERSION.
31832 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31833 (print_version): Use PKGVERSION.
31834 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31835 and BUGURL.
31836 ($(objpfx)memusage): Likewise.
31837 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31838 (do_version): Use PKGVERSION.
31839 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31840 (print_version): Use PKGVERSION.
31841 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31842 ($PKGVERSION): New variable.
31843 ($REPORT_BUGS_TO): Likewise.
31844 (usage): Use $REPORT_BUGS_TO.
31845 (top level): Use $PKGVERSION.
31846 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31847 ($(objpfx)pkgvers.texi): New rule.
31848 ($(objpfx)stamp-pkgvers): Likewise.
31849 * manual/install.texi: Include pkgvers.texi.
31850 (--with-pkgversion): Document new configure option.
31851 (--with-bugurl): Likewise.
31852 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31853 than necessarily for this particular distribution. Use
31854 REPORT_BUGS_TO for where to report bugs.
31855 * INSTALL: Regenerated.
31856 * manual/libc.texinfo: Include pkgvers.texi.
31857 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31858 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31859 (print_version): Use PKGVERSION.
31860 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31861 (print_version): Use PKGVERSION.
31862 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31863 (print_version): Use PKGVERSION.
31864 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31865 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31866 macro.
31867 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31868 (print_version): Use PKGVERSION.
31869 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31870 (print_version): Use PKGVERSION.
31871 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31872 and PKGVERSION.
31873
92e4b6a9
JM
31874 * timezone/checktab.awk: Update from tzcode 2012i.
31875 * timezone/ialloc.c: Likewise.
31876 * timezone/private.h: Likewise.
31877 * timezone/scheck.c: Likewise.
31878 * timezone/tzfile.h: Likewise.
31879 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31880 (TZVERSION): Hardcode tzcode version number.
31881 * timezone/zdump.c: Update from tzcode 2012i.
31882 * timezone/zic.c: Likewise.
31883 * timezone/version.h: New file.
31884 * timezone/README: Describe version.h. Update upstream location.
31885
9bde902c
JM
31886 [BZ #14824]
31887 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31888 (mktemp): Enable declaration.
31889 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31890 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31891 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31892 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31893 Likewise.
31894 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31895 Likewise.
31896 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31897 Likewise.
31898 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31899 Likewise.
31900 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31901 Likewise.
31902 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31903 Likewise.
31904
fb1ae1ee
JM
31905 [BZ #14821]
31906 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31907 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31908 for copies of such integer values.
31909 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31910 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31911
2c1adbcb
AJ
319122012-11-09 Andreas Jaeger <aj@suse.de>
31913
31914 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31915 definitions and declarations that are provided by
31916 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31917
d0f8457e
AK
319182012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31919
3a235abb 31920 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
31921 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31922 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31923 definition.
31924
57241e26
MS
319252012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31926
31927 * elf/elf.h: Update comment before AArch64 relocations.
31928
60e8270d
DM
319292012-11-07 David S. Miller <davem@davemloft.net>
31930
31931 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31932 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31933 (__start_context): Declare.
31934 (__makecontext_ret): Delete.
31935 (__makecontext): Hook up __start_context instead of
31936 __makecontext_ret.
31937 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31938 (sysdep_routines): Add __start_context when in stdlib.
31939
0fbb0fbc
JM
319402012-11-07 Joseph Myers <joseph@codesourcery.com>
31941
31942 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31943 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31944 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31945 hardcoded "nm".
31946 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31947 (READELF): New variable. Use it instead of hardcoded "readelf".
31948
eb48db7e
L
319492012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31950
31951 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31952 * sysdeps/x86/Makefile: Here.
31953 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31954 * sysdeps/x86/tst-xmmymm.sh: This.
31955
05bcf62a
JM
319562012-11-07 Joseph Myers <joseph@codesourcery.com>
31957
c4b6cf53
JM
31958 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31959 expectations.
31960 [UNIX98] (pthread_barrier_t): Do not expect.
31961 [UNIX98] (pthread_barrierattr_t): Likewise.
31962 [UNIX98] (pthread_spinlock_t): Likewise.
31963 [UNIX98] (pthread_barrier_destroy): Likewise.
31964 [UNIX98] (pthread_barrier_init): Likewise.
31965 [UNIX98] (pthread_barrier_wait): Likewise.
31966 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31967 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31968 [UNIX98] (pthread_barrierattr_init): Likewise.
31969 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31970 [UNIX98] (pthread_getcpuclockid): Likewise.
31971 [UNIX98] (pthread_mutex_timedlock): Likewise.
31972 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31973 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31974 [UNIX98] (pthread_sigmask): Likewise.
31975 [UNIX98] (pthread_spin_destroy): Likewise.
31976 [UNIX98] (pthread_spin_init): Likewise.
31977 [UNIX98] (pthread_spin_lock): Likewise.
31978 [UNIX98] (pthread_spin_trylock): Likewise.
31979 [UNIX98] (pthread_spin_unlock): Likewise.
31980 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31981 Do not expect.
31982 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31983 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31984 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31985 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31986 [XPG3 || XPG4] (pthread_key_t): Likewise.
31987 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31988 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31989 [XPG3 || XPG4] (pthread_once_t): Likewise.
31990 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31991 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31992 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31993 [XPG3 || XPG4] (pthread_t): Likewise.
31994
cbe6e120
JM
31995 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31996 not expect.
31997 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31998
1b126443
JM
31999 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32000 Change function return type to int.
32001
b961a573
JM
32002 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32003 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32004 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32005 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32006 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32007 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32008 [!POSIX] (posix_madvise): Likewise.
32009 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32010 && !UNIX98].
32011 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32012 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32013 (mode_t): Likewise.
32014 (posix_mem_offset): Likewise.
32015 (posix_typed_mem_get_info): Likewise.
32016 (posix_typed_mem_open): Likewise.
32017
9e188909
JM
32018 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32019 Change condition to [XOPEN2K8].
32020
05bcf62a
JM
32021 * conform/conformtest.pl: Preprocess allow-header data with -x c
32022 instead of from stdin.
32023 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32024 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32025 [C99-based standards] (cerfc): Likewise.
32026 [C99-based standards] (cexp2): Likewise.
32027 [C99-based standards] (cexpm1): Likewise.
32028 [C99-based standards] (clog10): Likewise.
32029 [C99-based standards] (clog1p): Likewise.
32030 [C99-based standards] (clog2): Likewise.
32031 [C99-based standards] (clgamma): Likewise.
32032 [C99-based standards] (ctgamma): Likewise.
32033 [C99-based standards] (cerff): Likewise.
32034 [C99-based standards] (cerfcf): Likewise.
32035 [C99-based standards] (cexp2f): Likewise.
32036 [C99-based standards] (cexpm1f): Likewise.
32037 [C99-based standards] (clog10f): Likewise.
32038 [C99-based standards] (clog1pf): Likewise.
32039 [C99-based standards] (clog2f): Likewise.
32040 [C99-based standards] (clgammaf): Likewise.
32041 [C99-based standards] (ctgammaf): Likewise.
32042 [C99-based standards] (cerfl): Likewise.
32043 [C99-based standards] (cerfcl): Likewise.
32044 [C99-based standards] (cexp2l): Likewise.
32045 [C99-based standards] (cexpm1l): Likewise.
32046 [C99-based standards] (clog10l): Likewise.
32047 [C99-based standards] (clog1pl): Likewise.
32048 [C99-based standards] (clog2l): Likewise.
32049 [C99-based standards] (clgammal): Likewise.
32050 [C99-based standards] (ctgammal): Likewise.
32051 * conform/data/inttypes.h-data [C99-based standards]: Include
32052 stdint.h-data. Remove all expectations for stdint.h contents.
32053 [C99-based standards] (PRI*): Do not allow.
32054 [C99-based standards] (SCN*): Likewise.
32055 [C99-based standards] (*_t): Likewise.
32056 [C99-based-standards] (PRId8): Expect macro.
32057 [C99-based-standards] (PRIi8): Likewise.
32058 [C99-based-standards] (PRIo8): Likewise.
32059 [C99-based-standards] (PRIu8): Likewise.
32060 [C99-based-standards] (PRIx8): Likewise.
32061 [C99-based-standards] (PRIX8): Likewise.
32062 [C99-based-standards] (SCNd8): Likewise.
32063 [C99-based-standards] (SCNi8): Likewise.
32064 [C99-based-standards] (SCNo8): Likewise.
32065 [C99-based-standards] (SCNu8): Likewise.
32066 [C99-based-standards] (SCNx8): Likewise.
32067 [C99-based-standards] (PRIdLEAST8): Likewise.
32068 [C99-based-standards] (PRIiLEAST8): Likewise.
32069 [C99-based-standards] (PRIoLEAST8): Likewise.
32070 [C99-based-standards] (PRIuLEAST8): Likewise.
32071 [C99-based-standards] (PRIxLEAST8): Likewise.
32072 [C99-based-standards] (PRIXLEAST8): Likewise.
32073 [C99-based-standards] (SCNdLEAST8): Likewise.
32074 [C99-based-standards] (SCNiLEAST8): Likewise.
32075 [C99-based-standards] (SCNoLEAST8): Likewise.
32076 [C99-based-standards] (SCNuLEAST8): Likewise.
32077 [C99-based-standards] (SCNxLEAST8): Likewise.
32078 [C99-based-standards] (PRIdFAST8): Likewise.
32079 [C99-based-standards] (PRIiFAST8): Likewise.
32080 [C99-based-standards] (PRIoFAST8): Likewise.
32081 [C99-based-standards] (PRIuFAST8): Likewise.
32082 [C99-based-standards] (PRIxFAST8): Likewise.
32083 [C99-based-standards] (PRIXFAST8): Likewise.
32084 [C99-based-standards] (SCNdFAST8): Likewise.
32085 [C99-based-standards] (SCNiFAST8): Likewise.
32086 [C99-based-standards] (SCNoFAST8): Likewise.
32087 [C99-based-standards] (SCNuFAST8): Likewise.
32088 [C99-based-standards] (SCNxFAST8): Likewise.
32089 [C99-based-standards] (PRId16): Likewise.
32090 [C99-based-standards] (PRIi16): Likewise.
32091 [C99-based-standards] (PRIo16): Likewise.
32092 [C99-based-standards] (PRIu16): Likewise.
32093 [C99-based-standards] (PRIx16): Likewise.
32094 [C99-based-standards] (PRIX16): Likewise.
32095 [C99-based-standards] (SCNd16): Likewise.
32096 [C99-based-standards] (SCNi16): Likewise.
32097 [C99-based-standards] (SCNo16): Likewise.
32098 [C99-based-standards] (SCNu16): Likewise.
32099 [C99-based-standards] (SCNx16): Likewise.
32100 [C99-based-standards] (PRIdLEAST16): Likewise.
32101 [C99-based-standards] (PRIiLEAST16): Likewise.
32102 [C99-based-standards] (PRIoLEAST16): Likewise.
32103 [C99-based-standards] (PRIuLEAST16): Likewise.
32104 [C99-based-standards] (PRIxLEAST16): Likewise.
32105 [C99-based-standards] (PRIXLEAST16): Likewise.
32106 [C99-based-standards] (SCNdLEAST16): Likewise.
32107 [C99-based-standards] (SCNiLEAST16): Likewise.
32108 [C99-based-standards] (SCNoLEAST16): Likewise.
32109 [C99-based-standards] (SCNuLEAST16): Likewise.
32110 [C99-based-standards] (SCNxLEAST16): Likewise.
32111 [C99-based-standards] (PRIdFAST16): Likewise.
32112 [C99-based-standards] (PRIiFAST16): Likewise.
32113 [C99-based-standards] (PRIoFAST16): Likewise.
32114 [C99-based-standards] (PRIuFAST16): Likewise.
32115 [C99-based-standards] (PRIxFAST16): Likewise.
32116 [C99-based-standards] (PRIXFAST16): Likewise.
32117 [C99-based-standards] (SCNdFAST16): Likewise.
32118 [C99-based-standards] (SCNiFAST16): Likewise.
32119 [C99-based-standards] (SCNoFAST16): Likewise.
32120 [C99-based-standards] (SCNuFAST16): Likewise.
32121 [C99-based-standards] (SCNxFAST16): Likewise.
32122 [C99-based-standards] (PRId32): Likewise.
32123 [C99-based-standards] (PRIi32): Likewise.
32124 [C99-based-standards] (PRIo32): Likewise.
32125 [C99-based-standards] (PRIu32): Likewise.
32126 [C99-based-standards] (PRIx32): Likewise.
32127 [C99-based-standards] (PRIX32): Likewise.
32128 [C99-based-standards] (SCNd32): Likewise.
32129 [C99-based-standards] (SCNi32): Likewise.
32130 [C99-based-standards] (SCNo32): Likewise.
32131 [C99-based-standards] (SCNu32): Likewise.
32132 [C99-based-standards] (SCNx32): Likewise.
32133 [C99-based-standards] (PRIdLEAST32): Likewise.
32134 [C99-based-standards] (PRIiLEAST32): Likewise.
32135 [C99-based-standards] (PRIoLEAST32): Likewise.
32136 [C99-based-standards] (PRIuLEAST32): Likewise.
32137 [C99-based-standards] (PRIxLEAST32): Likewise.
32138 [C99-based-standards] (PRIXLEAST32): Likewise.
32139 [C99-based-standards] (SCNdLEAST32): Likewise.
32140 [C99-based-standards] (SCNiLEAST32): Likewise.
32141 [C99-based-standards] (SCNoLEAST32): Likewise.
32142 [C99-based-standards] (SCNuLEAST32): Likewise.
32143 [C99-based-standards] (SCNxLEAST32): Likewise.
32144 [C99-based-standards] (PRIdFAST32): Likewise.
32145 [C99-based-standards] (PRIiFAST32): Likewise.
32146 [C99-based-standards] (PRIoFAST32): Likewise.
32147 [C99-based-standards] (PRIuFAST32): Likewise.
32148 [C99-based-standards] (PRIxFAST32): Likewise.
32149 [C99-based-standards] (PRIXFAST32): Likewise.
32150 [C99-based-standards] (SCNdFAST32): Likewise.
32151 [C99-based-standards] (SCNiFAST32): Likewise.
32152 [C99-based-standards] (SCNoFAST32): Likewise.
32153 [C99-based-standards] (SCNuFAST32): Likewise.
32154 [C99-based-standards] (SCNxFAST32): Likewise.
32155 [C99-based-standards] (PRId64): Likewise.
32156 [C99-based-standards] (PRIi64): Likewise.
32157 [C99-based-standards] (PRIo64): Likewise.
32158 [C99-based-standards] (PRIu64): Likewise.
32159 [C99-based-standards] (PRIx64): Likewise.
32160 [C99-based-standards] (PRIX64): Likewise.
32161 [C99-based-standards] (SCNd64): Likewise.
32162 [C99-based-standards] (SCNi64): Likewise.
32163 [C99-based-standards] (SCNo64): Likewise.
32164 [C99-based-standards] (SCNu64): Likewise.
32165 [C99-based-standards] (SCNx64): Likewise.
32166 [C99-based-standards] (PRIdLEAST64): Likewise.
32167 [C99-based-standards] (PRIiLEAST64): Likewise.
32168 [C99-based-standards] (PRIoLEAST64): Likewise.
32169 [C99-based-standards] (PRIuLEAST64): Likewise.
32170 [C99-based-standards] (PRIxLEAST64): Likewise.
32171 [C99-based-standards] (PRIXLEAST64): Likewise.
32172 [C99-based-standards] (SCNdLEAST64): Likewise.
32173 [C99-based-standards] (SCNiLEAST64): Likewise.
32174 [C99-based-standards] (SCNoLEAST64): Likewise.
32175 [C99-based-standards] (SCNuLEAST64): Likewise.
32176 [C99-based-standards] (SCNxLEAST64): Likewise.
32177 [C99-based-standards] (PRIdFAST64): Likewise.
32178 [C99-based-standards] (PRIiFAST64): Likewise.
32179 [C99-based-standards] (PRIoFAST64): Likewise.
32180 [C99-based-standards] (PRIuFAST64): Likewise.
32181 [C99-based-standards] (PRIxFAST64): Likewise.
32182 [C99-based-standards] (PRIXFAST64): Likewise.
32183 [C99-based-standards] (SCNdFAST64): Likewise.
32184 [C99-based-standards] (SCNiFAST64): Likewise.
32185 [C99-based-standards] (SCNoFAST64): Likewise.
32186 [C99-based-standards] (SCNuFAST64): Likewise.
32187 [C99-based-standards] (SCNxFAST64): Likewise.
32188 [C99-based-standards] (PRIdMAX): Likewise.
32189 [C99-based-standards] (PRIiMAX): Likewise.
32190 [C99-based-standards] (PRIoMAX): Likewise.
32191 [C99-based-standards] (PRIuMAX): Likewise.
32192 [C99-based-standards] (PRIxMAX): Likewise.
32193 [C99-based-standards] (PRIXMAX): Likewise.
32194 [C99-based-standards] (SCNdMAX): Likewise.
32195 [C99-based-standards] (SCNiMAX): Likewise.
32196 [C99-based-standards] (SCNoMAX): Likewise.
32197 [C99-based-standards] (SCNuMAX): Likewise.
32198 [C99-based-standards] (SCNxMAX): Likewise.
32199 [C99-based-standards] (PRIdPTR): Likewise.
32200 [C99-based-standards] (PRIiPTR): Likewise.
32201 [C99-based-standards] (PRIoPTR): Likewise.
32202 [C99-based-standards] (PRIuPTR): Likewise.
32203 [C99-based-standards] (PRIxPTR): Likewise.
32204 [C99-based-standards] (PRIXPTR): Likewise.
32205 [C99-based-standards] (SCNdPTR): Likewise.
32206 [C99-based-standards] (SCNiPTR): Likewise.
32207 [C99-based-standards] (SCNoPTR): Likewise.
32208 [C99-based-standards] (SCNuPTR): Likewise.
32209 [C99-based-standards] (SCNxPTR): Likewise.
32210 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32211 allow.
32212 * conform/data/stdint.h-data: Update comments to clarify
32213 requirements.
32214 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
32215 type.
32216 [C99-based standards] (INT8_MAX): Likewise.
32217 [C99-based standards] (INT16_MIN): Likewise.
32218 [C99-based standards] (INT16_MAX): Likewise.
32219 [C99-based standards] (INT32_MIN): Likewise.
32220 [C99-based standards] (INT32_MAX): Likewise.
32221 [C99-based standards] (INT64_MIN): Likewise.
32222 [C99-based standards] (INT64_MAX): Likewise.
32223 [C99-based standards] (UINT8_MAX): Likewise.
32224 [C99-based standards] (UINT16_MAX): Likewise.
32225 [C99-based standards] (UINT32_MAX): Likewise.
32226 [C99-based standards] (UINT64_MAX): Likewise.
32227 [C99-based standards] (INT_LEAST8_MIN): Likewise.
32228 [C99-based standards] (INT_LEAST8_MAX): Likewise.
32229 [C99-based standards] (INT_LEAST16_MIN): Likewise.
32230 [C99-based standards] (INT_LEAST16_MAX): Likewise.
32231 [C99-based standards] (INT_LEAST32_MIN): Likewise.
32232 [C99-based standards] (INT_LEAST32_MAX): Likewise.
32233 [C99-based standards] (INT_LEAST64_MIN): Likewise.
32234 [C99-based standards] (INT_LEAST64_MAX): Likewise.
32235 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32236 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32237 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32238 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32239 [C99-based standards] (INT_FAST8_MIN): Likewise.
32240 [C99-based standards] (INT_FAST8_MAX): Likewise.
32241 [C99-based standards] (INT_FAST16_MIN): Likewise.
32242 [C99-based standards] (INT_FAST16_MAX): Likewise.
32243 [C99-based standards] (INT_FAST32_MIN): Likewise.
32244 [C99-based standards] (INT_FAST32_MAX): Likewise.
32245 [C99-based standards] (INT_FAST64_MIN): Likewise.
32246 [C99-based standards] (INT_FAST64_MAX): Likewise.
32247 [C99-based standards] (UINT_FAST8_MAX): Likewise.
32248 [C99-based standards] (UINT_FAST16_MAX): Likewise.
32249 [C99-based standards] (UINT_FAST32_MAX): Likewise.
32250 [C99-based standards] (UINT_FAST64_MAX): Likewise.
32251 [C99-based standards] (INTPTR_MIN): Likewise.
32252 [C99-based standards] (INTPTR_MAX): Likewise.
32253 [C99-based standards] (UINTPTR_MAX): Likewise.
32254 [C99-based standards] (INTMAX_MIN): Likewise.
32255 [C99-based standards] (INTMAX_MAX): Likewise.
32256 [C99-based standards] (UINTMAX_MAX): Likewise.
32257 [C99-based standards] (PTRDIFF_MIN): Likewise.
32258 [C99-based standards] (PTRDIFF_MAX): Likewise.
32259 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32260 [C99-based standards] (SIZE_MAX): Likewise.
32261 [C99-based standards] (WCHAR_MAX): Likewise.
32262 [C99-based standards] (WINT_MAX): Likewise.
32263 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
32264 constraint on value.
32265 [C99-based standards] (WCHAR_MIN): Likewise.
32266 [C99-based standards] (WINT_MIN): Likewise.
32267 [C99-based standards] (*_t): Allow.
32268 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32269 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32270 Include math.h-data and complex.h-data. Remove all expectations
32271 of math.h and complex.h contents.
32272 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32273 at end of line.
32274 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32275 (struct tm): Expect tag.
32276 [C99-based-standards] (wcstof): Expect function.
32277 [C99-based-standards] (wcstold): Likewise.
32278 [C99-based-standards] (wcstoll): Likewise.
32279 [C99-based-standards] (wcstoull): Likewise.
32280 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32281 macro-int-constant. Specify type.
32282 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
32283 constraint on value.
32284 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32285 Specify type.
32286 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32287 Specify value.
32288 [ISO C standards]: Do not allow headers.
32289 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32290 wcs[abcdefghijklmnopqrstuvwxyz]*.
32291 [ISO C standards] (*_t): Do not allow.
32292 * conform/data/wctype.h-data [C99-based standards] (iswblank):
32293 Expect function.
32294 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32295 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32296 Specify type.
32297 [ISO C standards]: Do not allow headers.
32298 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32299 is[abcdefghijklmnopqrstuvwxyz]*.
32300 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32301 to[abcdefghijklmnopqrstuvwxyz]*.
32302 [ISO C standards] (*_t): Do not allow.
32303 * conform/data/stdalign.h-data: New file.
32304 * conform/data/stdbool.h-data: Likewise.
32305 * conform/data/stdnoreturn.h-data: Likewise.
32306
7514feb8
RM
323072012-11-07 Roland McGrath <roland@hack.frob.com>
32308
32309 [BZ #14815]
32310 * manual/filesys.texi (Directory Entries): Typo fix.
32311 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32312
19b2ecfc
MS
323132012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32314
32315 * elf/elf.h (EM_AARCH64): New macro.
32316 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32317 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32318 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32319 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32320 (R_AARCH64_TLSDESC): Likewise.
32321 (NT_ARM_TLS): Likewise.
32322 (NT_ARM_HW_BREAK): Likewise.
32323 (NT_ARM_HW_WATCH): Likewise.
32324
60e235ee
JM
323252012-11-07 Joseph Myers <joseph@codesourcery.com>
32326
32327 [BZ #14811]
32328 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32329 (__ieee754_powl): Saturate nonzero exponents with absolute value
32330 below 0x1p-79 to +/- 0x1p-79.
32331 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32332 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32333 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32334 nonzero exponents with absolute value below 0x1p-32 to +/-
32335 0x1p-32.
32336 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32337 (__ieee754_powl): Saturate nonzero exponents with absolute value
32338 below 0x1p-79 to +/- 0x1p-79.
32339 * math/libm-test.inc (pow_test): Add more tests.
32340
0ab234b7
AK
323412012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32342
32343 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32344 _dl_s390_cap_flags with kernel. Increase string length.
32345 (_dl_s390_platforms): Add z196 and zEC12.
32346
45832f74
JM
323472012-11-07 Joseph Myers <joseph@codesourcery.com>
32348
32349 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32350 Change XOPEN21K to XOPEN2K.
32351
19218757
MK
323522012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
32353
32354 * string/memmove.c: Use memcpy when possible.
32355
c5f45721
AJ
323562012-11-06 Andreas Jaeger <aj@suse.de>
32357
32358 * po/eo.po: Update from translation team.
32359
82477c28
JM
323602012-11-06 Joseph Myers <joseph@codesourcery.com>
32361
32362 [BZ #14793]
32363 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32364 exponent and small x and y exponents, scale x or y up. Increase
32365 by 2 the exponent used in scaling up.
32366 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32367 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32368 * math/libm-test.inc (fma_test): Add more tests.
32369 (fma_test_towardzero): Likewise.
32370 (fma_test_downward): Likewise.
32371 (fma_test_upward): Likewise.
32372
99252c8c
JM
323732012-11-05 Joseph Myers <joseph@codesourcery.com>
32374
acfa885f
JM
32375 [BZ #14805]
32376 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32377 fenv_t *.
32378
99252c8c
JM
32379 [BZ #14801]
32380 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32381 namespace for names of struct fields.
32382 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32383 fenv_t fields.
32384 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32385 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32386
d6d98dea
ST
323872012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32388
32389 [BZ #3665]
32390 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32391
e10bb107
TS
323922012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32393
32394 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32395 PTR_DEMANGLE.
32396
32397 [BZ #5246]
32398 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32399 PTR_DEMANGLE.
32400
a0c2940d
JM
324012012-11-04 Joseph Myers <joseph@codesourcery.com>
32402
32403 [BZ #14797]
32404 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32405 definitely overflow as x * y not x * y + z.
32406 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32407 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32408 * math/libm-test.inc (fma_test): Add more tests.
32409 (fma_test_towardzero): Likewise.
32410 (fma_test_downward): Likewise.
32411 (fma_test_upward): Likewise.
32412
b830319d
TS
324132012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32414
32415 [BZ #157]
32416
32417 * include/stub-tag.h: Remove file.
32418 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32419 '#include' of it.
32420 * manual/maint.texi (Porting): Don't reference it.
32421 * Makerules ($(objpfx)stubs): Likewise.
32422 * dirent/closedir.c: Don't include <stub-tag.h>.
32423 * dirent/dirfd.c: Likewise.
32424 * dirent/fdopendir.c: Likewise.
32425 * dirent/getdents.c: Likewise.
32426 * dirent/getdents64.c: Likewise.
32427 * dirent/opendir.c: Likewise.
32428 * dirent/readdir.c: Likewise.
32429 * dirent/readdir64.c: Likewise.
32430 * dirent/readdir64_r.c: Likewise.
32431 * dirent/readdir_r.c: Likewise.
32432 * dirent/rewinddir.c: Likewise.
32433 * dirent/seekdir.c: Likewise.
32434 * dirent/telldir.c: Likewise.
32435 * gmon/profil.c: Likewise.
32436 * grp/setgroups.c: Likewise.
32437 * inet/if_index.c: Likewise.
32438 * io/access.c: Likewise.
32439 * io/chdir.c: Likewise.
32440 * io/chmod.c: Likewise.
32441 * io/chown.c: Likewise.
32442 * io/close.c: Likewise.
32443 * io/dup.c: Likewise.
32444 * io/dup2.c: Likewise.
32445 * io/dup3.c: Likewise.
32446 * io/euidaccess.c: Likewise.
32447 * io/faccessat.c: Likewise.
32448 * io/fchdir.c: Likewise.
32449 * io/fchmod.c: Likewise.
32450 * io/fchmodat.c: Likewise.
32451 * io/fchown.c: Likewise.
32452 * io/fchownat.c: Likewise.
32453 * io/fcntl.c: Likewise.
32454 * io/flock.c: Likewise.
32455 * io/fstatfs.c: Likewise.
32456 * io/fstatfs64.c: Likewise.
32457 * io/fstatvfs.c: Likewise.
32458 * io/fstatvfs64.c: Likewise.
32459 * io/futimens.c: Likewise.
32460 * io/fxstat.c: Likewise.
32461 * io/fxstat64.c: Likewise.
32462 * io/fxstatat.c: Likewise.
32463 * io/fxstatat64.c: Likewise.
32464 * io/getcwd.c: Likewise.
32465 * io/isatty.c: Likewise.
32466 * io/lchmod.c: Likewise.
32467 * io/lchown.c: Likewise.
32468 * io/link.c: Likewise.
32469 * io/linkat.c: Likewise.
32470 * io/lseek.c: Likewise.
32471 * io/lseek64.c: Likewise.
32472 * io/lxstat64.c: Likewise.
32473 * io/mkdir.c: Likewise.
32474 * io/mkdirat.c: Likewise.
32475 * io/mkfifo.c: Likewise.
32476 * io/mkfifoat.c: Likewise.
32477 * io/open.c: Likewise.
32478 * io/open64.c: Likewise.
32479 * io/openat.c: Likewise.
32480 * io/openat64.c: Likewise.
32481 * io/pipe.c: Likewise.
32482 * io/pipe2.c: Likewise.
32483 * io/poll.c: Likewise.
32484 * io/posix_fadvise.c: Likewise.
32485 * io/posix_fadvise64.c: Likewise.
32486 * io/posix_fallocate.c: Likewise.
32487 * io/posix_fallocate64.c: Likewise.
32488 * io/read.c: Likewise.
32489 * io/readlink.c: Likewise.
32490 * io/readlinkat.c: Likewise.
32491 * io/rmdir.c: Likewise.
32492 * io/sendfile.c: Likewise.
32493 * io/sendfile64.c: Likewise.
32494 * io/statfs.c: Likewise.
32495 * io/statfs64.c: Likewise.
32496 * io/statvfs.c: Likewise.
32497 * io/statvfs64.c: Likewise.
32498 * io/symlink.c: Likewise.
32499 * io/symlinkat.c: Likewise.
32500 * io/ttyname.c: Likewise.
32501 * io/ttyname_r.c: Likewise.
32502 * io/umask.c: Likewise.
32503 * io/unlink.c: Likewise.
32504 * io/unlinkat.c: Likewise.
32505 * io/utime.c: Likewise.
32506 * io/utimensat.c: Likewise.
32507 * io/write.c: Likewise.
32508 * io/xmknod.c: Likewise.
32509 * io/xmknodat.c: Likewise.
32510 * io/xstat.c: Likewise.
32511 * io/xstat64.c: Likewise.
32512 * login/getpt.c: Likewise.
32513 * login/grantpt.c: Likewise.
32514 * login/unlockpt.c: Likewise.
32515 * math/e_acoshl.c: Likewise.
32516 * math/e_acosl.c: Likewise.
32517 * math/e_asinl.c: Likewise.
32518 * math/e_atan2l.c: Likewise.
32519 * math/e_atanhl.c: Likewise.
32520 * math/e_coshl.c: Likewise.
32521 * math/e_expl.c: Likewise.
32522 * math/e_fmodl.c: Likewise.
32523 * math/e_gammal_r.c: Likewise.
32524 * math/e_hypotl.c: Likewise.
32525 * math/e_j0l.c: Likewise.
32526 * math/e_j1l.c: Likewise.
32527 * math/e_jnl.c: Likewise.
32528 * math/e_lgammal_r.c: Likewise.
32529 * math/e_log10l.c: Likewise.
32530 * math/e_log2l.c: Likewise.
32531 * math/e_logl.c: Likewise.
32532 * math/e_powl.c: Likewise.
32533 * math/e_rem_pio2l.c: Likewise.
32534 * math/e_sinhl.c: Likewise.
32535 * math/e_sqrtl.c: Likewise.
32536 * math/fclrexcpt.c: Likewise.
32537 * math/fedisblxcpt.c: Likewise.
32538 * math/feenablxcpt.c: Likewise.
32539 * math/fegetenv.c: Likewise.
32540 * math/fegetexcept.c: Likewise.
32541 * math/fegetround.c: Likewise.
32542 * math/feholdexcpt.c: Likewise.
32543 * math/fesetenv.c: Likewise.
32544 * math/fesetround.c: Likewise.
32545 * math/feupdateenv.c: Likewise.
32546 * math/fgetexcptflg.c: Likewise.
32547 * math/fraiseexcpt.c: Likewise.
32548 * math/fsetexcptflg.c: Likewise.
32549 * math/ftestexcept.c: Likewise.
32550 * math/k_cosl.c: Likewise.
32551 * math/k_rem_pio2l.c: Likewise.
32552 * math/k_sinl.c: Likewise.
32553 * math/k_tanl.c: Likewise.
32554 * math/s_asinhl.c: Likewise.
32555 * math/s_atanl.c: Likewise.
32556 * math/s_cbrtl.c: Likewise.
32557 * math/s_erfl.c: Likewise.
32558 * math/s_expm1l.c: Likewise.
32559 * math/s_log1pl.c: Likewise.
32560 * math/s_tanhl.c: Likewise.
32561 * misc/acct.c: Likewise.
32562 * misc/brk.c: Likewise.
32563 * misc/chflags.c: Likewise.
32564 * misc/chroot.c: Likewise.
32565 * misc/fchflags.c: Likewise.
32566 * misc/fgetxattr.c: Likewise.
32567 * misc/flistxattr.c: Likewise.
32568 * misc/fremovexattr.c: Likewise.
32569 * misc/fsetxattr.c: Likewise.
32570 * misc/fsync.c: Likewise.
32571 * misc/ftruncate.c: Likewise.
32572 * misc/futimes.c: Likewise.
32573 * misc/futimesat.c: Likewise.
32574 * misc/getdomain.c: Likewise.
32575 * misc/getdtsz.c: Likewise.
32576 * misc/gethostid.c: Likewise.
32577 * misc/gethostname.c: Likewise.
32578 * misc/getloadavg.c: Likewise.
32579 * misc/getpagesize.c: Likewise.
32580 * misc/getsysstats.c: Likewise.
32581 * misc/getxattr.c: Likewise.
32582 * misc/gtty.c: Likewise.
32583 * misc/ioctl.c: Likewise.
32584 * misc/lgetxattr.c: Likewise.
32585 * misc/listxattr.c: Likewise.
32586 * misc/llistxattr.c: Likewise.
32587 * misc/lremovexattr.c: Likewise.
32588 * misc/lsetxattr.c: Likewise.
32589 * misc/lutimes.c: Likewise.
32590 * misc/madvise.c: Likewise.
32591 * misc/mincore.c: Likewise.
32592 * misc/mlock.c: Likewise.
32593 * misc/mlockall.c: Likewise.
32594 * misc/mmap.c: Likewise.
32595 * misc/mprotect.c: Likewise.
32596 * misc/msync.c: Likewise.
32597 * misc/munlock.c: Likewise.
32598 * misc/munlockall.c: Likewise.
32599 * misc/munmap.c: Likewise.
32600 * misc/preadv.c: Likewise.
32601 * misc/preadv64.c: Likewise.
32602 * misc/ptrace.c: Likewise.
32603 * misc/pwritev.c: Likewise.
32604 * misc/pwritev64.c: Likewise.
32605 * misc/readv.c: Likewise.
32606 * misc/reboot.c: Likewise.
32607 * misc/remap_file_pages.c: Likewise.
32608 * misc/removexattr.c: Likewise.
32609 * misc/revoke.c: Likewise.
32610 * misc/select.c: Likewise.
32611 * misc/setdomain.c: Likewise.
32612 * misc/setegid.c: Likewise.
32613 * misc/seteuid.c: Likewise.
32614 * misc/sethostid.c: Likewise.
32615 * misc/sethostname.c: Likewise.
32616 * misc/setregid.c: Likewise.
32617 * misc/setreuid.c: Likewise.
32618 * misc/setxattr.c: Likewise.
32619 * misc/sstk.c: Likewise.
32620 * misc/stty.c: Likewise.
32621 * misc/swapoff.c: Likewise.
32622 * misc/swapon.c: Likewise.
32623 * misc/sync.c: Likewise.
32624 * misc/syncfs.c: Likewise.
32625 * misc/syscall.c: Likewise.
32626 * misc/truncate.c: Likewise.
32627 * misc/ualarm.c: Likewise.
32628 * misc/usleep.c: Likewise.
32629 * misc/ustat.c: Likewise.
32630 * misc/utimes.c: Likewise.
32631 * misc/vhangup.c: Likewise.
32632 * misc/writev.c: Likewise.
32633 * posix/_exit.c: Likewise.
32634 * posix/alarm.c: Likewise.
32635 * posix/execve.c: Likewise.
32636 * posix/fexecve.c: Likewise.
32637 * posix/fork.c: Likewise.
32638 * posix/fpathconf.c: Likewise.
32639 * posix/getaddrinfo.c: Likewise.
32640 * posix/getegid.c: Likewise.
32641 * posix/geteuid.c: Likewise.
32642 * posix/getgid.c: Likewise.
32643 * posix/getgroups.c: Likewise.
32644 * posix/getlogin.c: Likewise.
32645 * posix/getlogin_r.c: Likewise.
32646 * posix/getpgid.c: Likewise.
32647 * posix/getpid.c: Likewise.
32648 * posix/getppid.c: Likewise.
32649 * posix/getresgid.c: Likewise.
32650 * posix/getresuid.c: Likewise.
32651 * posix/getsid.c: Likewise.
32652 * posix/getuid.c: Likewise.
32653 * posix/glob64.c: Likewise.
32654 * posix/nanosleep.c: Likewise.
32655 * posix/pathconf.c: Likewise.
32656 * posix/pause.c: Likewise.
32657 * posix/posix_madvise.c: Likewise.
32658 * posix/pread.c: Likewise.
32659 * posix/pread64.c: Likewise.
32660 * posix/pwrite.c: Likewise.
32661 * posix/pwrite64.c: Likewise.
32662 * posix/sched_getaffinity.c: Likewise.
32663 * posix/sched_getp.c: Likewise.
32664 * posix/sched_gets.c: Likewise.
32665 * posix/sched_primax.c: Likewise.
32666 * posix/sched_primin.c: Likewise.
32667 * posix/sched_rr_gi.c: Likewise.
32668 * posix/sched_setaffinity.c: Likewise.
32669 * posix/sched_setp.c: Likewise.
32670 * posix/sched_sets.c: Likewise.
32671 * posix/sched_yield.c: Likewise.
32672 * posix/setgid.c: Likewise.
32673 * posix/setlogin.c: Likewise.
32674 * posix/setpgid.c: Likewise.
32675 * posix/setresgid.c: Likewise.
32676 * posix/setresuid.c: Likewise.
32677 * posix/setsid.c: Likewise.
32678 * posix/setuid.c: Likewise.
32679 * posix/sleep.c: Likewise.
32680 * posix/spawni.c: Likewise.
32681 * posix/sysconf.c: Likewise.
32682 * posix/times.c: Likewise.
32683 * posix/wait.c: Likewise.
32684 * posix/wait3.c: Likewise.
32685 * posix/wait4.c: Likewise.
32686 * posix/waitpid.c: Likewise.
32687 * resolv/gai_sigqueue.c: Likewise.
32688 * resource/getpriority.c: Likewise.
32689 * resource/getrlimit.c: Likewise.
32690 * resource/getrusage.c: Likewise.
32691 * resource/nice.c: Likewise.
32692 * resource/setpriority.c: Likewise.
32693 * resource/setrlimit.c: Likewise.
32694 * resource/ulimit.c: Likewise.
32695 * rt/aio_cancel.c: Likewise.
32696 * rt/aio_fsync.c: Likewise.
32697 * rt/aio_read.c: Likewise.
32698 * rt/aio_sigqueue.c: Likewise.
32699 * rt/aio_suspend.c: Likewise.
32700 * rt/aio_write.c: Likewise.
32701 * rt/clock_getres.c: Likewise.
32702 * rt/clock_gettime.c: Likewise.
32703 * rt/clock_nanosleep.c: Likewise.
32704 * rt/clock_settime.c: Likewise.
32705 * rt/lio_listio.c: Likewise.
32706 * rt/mq_close.c: Likewise.
32707 * rt/mq_getattr.c: Likewise.
32708 * rt/mq_notify.c: Likewise.
32709 * rt/mq_open.c: Likewise.
32710 * rt/mq_receive.c: Likewise.
32711 * rt/mq_send.c: Likewise.
32712 * rt/mq_setattr.c: Likewise.
32713 * rt/mq_timedreceive.c: Likewise.
32714 * rt/mq_timedsend.c: Likewise.
32715 * rt/mq_unlink.c: Likewise.
32716 * rt/shm_open.c: Likewise.
32717 * rt/shm_unlink.c: Likewise.
32718 * rt/timer_create.c: Likewise.
32719 * rt/timer_delete.c: Likewise.
32720 * rt/timer_getoverr.c: Likewise.
32721 * rt/timer_gettime.c: Likewise.
32722 * rt/timer_settime.c: Likewise.
32723 * setjmp/__longjmp.c: Likewise.
32724 * setjmp/setjmp.c: Likewise.
32725 * signal/kill.c: Likewise.
32726 * signal/killpg.c: Likewise.
32727 * signal/raise.c: Likewise.
32728 * signal/sigaction.c: Likewise.
32729 * signal/sigaltstack.c: Likewise.
32730 * signal/sigblock.c: Likewise.
32731 * signal/sigignore.c: Likewise.
32732 * signal/sigintr.c: Likewise.
32733 * signal/signal.c: Likewise.
32734 * signal/sigpause.c: Likewise.
32735 * signal/sigpending.c: Likewise.
32736 * signal/sigqueue.c: Likewise.
32737 * signal/sigreturn.c: Likewise.
32738 * signal/sigset.c: Likewise.
32739 * signal/sigsetmask.c: Likewise.
32740 * signal/sigstack.c: Likewise.
32741 * signal/sigsuspend.c: Likewise.
32742 * signal/sigtimedwait.c: Likewise.
32743 * signal/sigvec.c: Likewise.
32744 * signal/sigwait.c: Likewise.
32745 * signal/sigwaitinfo.c: Likewise.
32746 * signal/sysv_signal.c: Likewise.
32747 * socket/accept.c: Likewise.
32748 * socket/accept4.c: Likewise.
32749 * socket/bind.c: Likewise.
32750 * socket/connect.c: Likewise.
32751 * socket/getpeername.c: Likewise.
32752 * socket/getsockname.c: Likewise.
32753 * socket/getsockopt.c: Likewise.
32754 * socket/isfdtype.c: Likewise.
32755 * socket/listen.c: Likewise.
32756 * socket/recv.c: Likewise.
32757 * socket/recvfrom.c: Likewise.
32758 * socket/recvmsg.c: Likewise.
32759 * socket/send.c: Likewise.
32760 * socket/sendmsg.c: Likewise.
32761 * socket/sendto.c: Likewise.
32762 * socket/setsockopt.c: Likewise.
32763 * socket/shutdown.c: Likewise.
32764 * socket/sockatmark.c: Likewise.
32765 * socket/socket.c: Likewise.
32766 * socket/socketpair.c: Likewise.
32767 * stdio-common/ctermid.c: Likewise.
32768 * stdio-common/cuserid.c: Likewise.
32769 * stdio-common/remove.c: Likewise.
32770 * stdio-common/rename.c: Likewise.
32771 * stdio-common/renameat.c: Likewise.
32772 * stdio-common/tempname.c: Likewise.
32773 * stdlib/getcontext.c: Likewise.
32774 * stdlib/makecontext.c: Likewise.
32775 * stdlib/setcontext.c: Likewise.
32776 * stdlib/swapcontext.c: Likewise.
32777 * stdlib/system.c: Likewise.
32778 * streams/fattach.c: Likewise.
32779 * streams/fdetach.c: Likewise.
32780 * streams/getmsg.c: Likewise.
32781 * streams/getpmsg.c: Likewise.
32782 * streams/putmsg.c: Likewise.
32783 * streams/putpmsg.c: Likewise.
32784 * sysdeps/unix/bsd/getpt.c: Likewise.
32785 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32786 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32787 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32789 Likewise.
32790 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32791 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32792 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32793 * sysvipc/msgctl.c: Likewise.
32794 * sysvipc/msgget.c: Likewise.
32795 * sysvipc/msgrcv.c: Likewise.
32796 * sysvipc/msgsnd.c: Likewise.
32797 * sysvipc/semctl.c: Likewise.
32798 * sysvipc/semget.c: Likewise.
32799 * sysvipc/semop.c: Likewise.
32800 * sysvipc/semtimedop.c: Likewise.
32801 * sysvipc/shmat.c: Likewise.
32802 * sysvipc/shmctl.c: Likewise.
32803 * sysvipc/shmdt.c: Likewise.
32804 * sysvipc/shmget.c: Likewise.
32805 * termios/tcdrain.c: Likewise.
32806 * termios/tcflow.c: Likewise.
32807 * termios/tcflush.c: Likewise.
32808 * termios/tcgetattr.c: Likewise.
32809 * termios/tcgetpgrp.c: Likewise.
32810 * termios/tcsendbrk.c: Likewise.
32811 * termios/tcsetattr.c: Likewise.
32812 * termios/tcsetpgrp.c: Likewise.
32813 * time/adjtime.c: Likewise.
32814 * time/clock.c: Likewise.
32815 * time/getitimer.c: Likewise.
32816 * time/gettimeofday.c: Likewise.
32817 * time/setitimer.c: Likewise.
32818 * time/settimeofday.c: Likewise.
32819 * time/stime.c: Likewise.
32820 * time/time.c: Likewise.
32821
328222012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 32823
a20492cf
PT
32824 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32825 /usr/old/bin.
32826
72e182e3
PT
32827 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32828 instead of spaces.
32829 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32830
fbeafede
JM
328312012-11-03 Joseph Myers <joseph@codesourcery.com>
32832
5b5b04d6
JM
32833 [BZ #14796]
32834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32835 FE_TONEAREST before applying Dekker multiplication and Knuth
32836 addition. Clear inexact exceptions and check for exact zero
32837 results afterwards.
32838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32839 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32840 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32841 * math/libm-test.inc (fma_test): Add more tests.
32842 (fma_test_towardzero): Likewise.
32843 (fma_test_downward): Likewise.
32844 (fma_test_upward): Likewise.
32845 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32846 function.
32847 (libc_fesetround): New macro.
32848 (libc_fesetroundf): Likewise.
32849 (libc_fesetroundl): Likewise.
32850 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32851 function.
32852 (libc_fesetround_387): Likewise.
32853 (libc_fesetroundf): New macro.
32854 (libc_fesetround): Likewise.
32855 (libc_fesetroundl): Likewise.
32856 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32857 function.
32858 (libc_fesetroundf): New macro.
32859 (libc_fesetround): Likewise.
32860 (libc_fesetroundl): Likewise.
32861 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32862 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32863 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32864 libm_hidden_ver.
32865 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32866 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32867 libm_hidden_def.
32868 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32869 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32870 libm_hidden_ver.
32871 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32872 libm_hidden_def.
32873
fbeafede
JM
32874 [BZ #3439]
32875 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32876 integer constant usable in #if and use that to give value to enum
32877 constant.
32878 (FE_DIVBYZERO): Likewise.
32879 (FE_UNDERFLOW): Likewise.
32880 (FE_OVERFLOW): Likewise.
32881 (FE_INVALID): Likewise.
32882 (FE_INVALID_SNAN): Likewise.
32883 (FE_INVALID_ISI): Likewise.
32884 (FE_INVALID_IDI): Likewise.
32885 (FE_INVALID_ZDZ): Likewise.
32886 (FE_INVALID_IMZ): Likewise.
32887 (FE_INVALID_COMPARE): Likewise.
32888 (FE_INVALID_SOFTWARE): Likewise.
32889 (FE_INVALID_SQRT): Likewise.
32890 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32891 (FE_TONEAREST): Likewise.
32892 (FE_TOWARDZERO): Likewise.
32893 (FE_UPWARD): Likewise.
32894 (FE_DOWNWARD): Likewise.
32895 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32896 (FE_DIVBYZERO): Likewise.
32897 (FE_OVERFLOW): Likewise.
32898 (FE_UNDERFLOW): Likewise.
32899 (FE_INEXACT): Likewise.
32900 (FE_TONEAREST): Likewise.
32901 (FE_DOWNWARD): Likewise.
32902 (FE_UPWARD): Likewise.
32903 (FE_TOWARDZERO): Likewise.
32904 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32905 (FE_UNDERFLOW): Likewise.
32906 (FE_OVERFLOW): Likewise.
32907 (FE_DIVBYZERO): Likewise.
32908 (FE_INVALID): Likewise.
32909 (FE_TONEAREST): Likewise.
32910 (FE_TOWARDZERO): Likewise.
32911 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32912 (FE_OVERFLOW): Likewise.
32913 (FE_UNDERFLOW): Likewise.
32914 (FE_DIVBYZERO): Likewise.
32915 (FE_INEXACT): Likewise.
32916 (FE_TONEAREST): Likewise.
32917 (FE_TOWARDZERO): Likewise.
32918 (FE_UPWARD): Likewise.
32919 (FE_DOWNWARD): Likewise.
32920 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32921 (FE_DIVBYZERO): Likewise.
32922 (FE_OVERFLOW): Likewise.
32923 (FE_UNDERFLOW): Likewise.
32924 (FE_INEXACT): Likewise.
32925 (FE_TONEAREST): Likewise.
32926 (FE_DOWNWARD): Likewise.
32927 (FE_UPWARD): Likewise.
32928 (FE_TOWARDZERO): Likewise.
32929
105ca950
CM
329302012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32931
32932 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32933
a542b389
AS
329342012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32935
32936 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32937 commands. Quote $PWD.
32938 (blacklist_exports): Don't use remove_newlines. Replace "declare
32939 -x" by "export".
32940 (remove_newlines): Remove.
32941
f62c8abc
L
329422012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32943
32944 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32945 * stdlib/stdlib.h (atof): Moved to ...
32946 * include/bits/stdlib-float.h: Here. New file.
32947 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32948 * stdlib/bits/stdlib-float.h: New file.
32949 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32950 -mno-sse -mno-mmx.
32951 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32952 <xmmintrin.h>.
32953
0155d5b2
JM
329542012-11-02 Joseph Myers <joseph@codesourcery.com>
32955
a68d0680
JM
32956 * conform/conformtest.pl (@headers): Add fenv.h.
32957 * conform/data/fenv.h-data: New file.
32958 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32959 include of <math/fenv.h>.
32960
caf7f573
JM
32961 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32962 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32963 && !UNIX98]. Enables tests for XOPEN2K8.
32964 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32965 POSIX2008]: Likewise.
32966
6c073ad6
JM
32967 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32968 (struct rusage): Do not expect type or its members.
32969
0155d5b2
JM
32970 [BZ #3439]
32971 * math/math.h (FP_NAN): Define macro to integer constant usable in
32972 #if and use that to give value to enum constant.
32973 (FP_INFINITE): Likewise.
32974 (FP_ZERO): Likewise.
32975 (FP_SUBNORMAL): Likewise.
32976 (FP_NORMAL): Likewise.
32977
b5dcacb4
AS
329782012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32979
32980 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32981 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32982 arguments.
32983
f7934be8
RM
329842012-11-02 Roland McGrath <roland@hack.frob.com>
32985
32986 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32987 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32988 autoconf-time if not.
32989 * configure.in: Remove AC_PREREQ.
32990
d7d08bde
TMQMF
329912012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32992
32993 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32994 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32995 of the internal implementation.
32996
dcdae19a
JM
329972012-11-02 Joseph Myers <joseph@codesourcery.com>
32998
32999 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33000 except include of <misc/sys/syslog.h>.
33001
d6cffd3e
AS
330022012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33003
33004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33005 function returns with a NULL context exit with zero.
33006
b3563932
TMQMF
330072012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33008
33009 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33010
b288a93d
L
330112012-11-01 H.J. Lu <hongjiu.lu@intel.com>
33012
33013 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33014 (run_program_cmd): This.
33015 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33016 (tst_langinfo): New variable. Use it.
33017
a2421a68
SAS
330182012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
33019
33020 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33021 floating point opcodes.
33022
6f796e1b
TS
330232012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33024
7402596b
TS
33025 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33026 variable.
33027
d0d4f868
TS
33028 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33029
6f796e1b
TS
33030 * sysdeps/mach/hurd/powerpc: Remove directory.
33031 * sysdeps/mach/powerpc: Likewise.
33032
4da224a2
AS
330332012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33034
33035 * scripts/check-local-headers.sh: Ignore c++ headers.
33036
341dd673
TS
330372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33038
33039 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33040 __libc_cleanup_region_start argument.
33041
473611b2
JM
330422012-11-01 Joseph Myers <joseph@codesourcery.com>
33043
33044 [BZ #14784]
33045 [BZ #14785]
33046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33047 x * y using scaling, not as x * y + z.
33048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33049 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33050 * math/libm-test.inc (fma_test): Add more tests.
33051 (fma_test_towardzero): Likewise.
33052 (fma_test_downward): Likewise.
33053 (fma_test_upward): Likewise.
33054
4078da3d
TS
330552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33056
33057 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33058
903252aa
JM
330592012-10-31 Joseph Myers <joseph@codesourcery.com>
33060
33061 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33062 New variable.
33063
cbc818d0
TS
330642012-10-31 Thomas Schwinge <thomas@codesourcery.com>
33065
33066 * rt/tst-shm.c (worker): Correct checking for mmap failure.
33067
5a03cb1e
AS
330682012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33069
33070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33071 Fix sort order.
33072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33073 Likewise.
33074
90aff2ff
TMQMF
330752012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33076
33077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33078 Fix the order of the list for glibc 2.17.
33079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33080 Likewise.
33081
1818fcb7
AS
330822012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33083
33084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33085
ef82f4da
JM
330862012-10-31 Joseph Myers <joseph@codesourcery.com>
33087
16a0e2ec
JM
33088 [BZ #14610]
33089 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33090 for low part of x being zero before using __atanl (y).
33091 * math/libm-test.inc (atan2_test): Add another test.
33092
0eb69512
JM
33093 * manual/install.texi (Configuring and compiling): Document
33094 general use of test-wrapper and test-wrapper-env.
33095 * INSTALL: Regenerated.
33096
ef82f4da
JM
33097 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33098 (__fma): Do not extract and scale down low bits on after-rounding
33099 systems when result rounded to normal precision would have normal
33100 exponent.
33101 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33102 (__fmal): Do not extract and scale down low bits on after-rounding
33103 systems when result rounded to normal precision would have normal
33104 exponent.
33105 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33106 (__fmal): Do not extract and scale down low bits on after-rounding
33107 systems when result rounded to normal precision would have normal
33108 exponent.
33109 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33110 macro.
33111 (fma_test): Add more tests.
33112 (fma_test_towardzero): Likewise.
33113 (fma_test_downward): Likewise.
33114 (fma_test_upward): Likewise.
33115
954ef0d9
L
331162012-10-30 H.J. Lu <hongjiu.lu@intel.com>
33117
33118 * sysdeps/i386/tininess.h: Renamed to ...
33119 * sysdeps/x86/tininess.h: This.
33120 * sysdeps/x86_64/tininess.h: Removed.
33121
df61ffb2
JM
331222012-10-30 Joseph Myers <joseph@codesourcery.com>
33123
33124 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33125 input. Use $(build-program-cmd).
33126 ($(objpfx)tst-array1-static.out): Likewise.
33127 ($(objpfx)tst-array2.out): Likewise.
33128 ($(objpfx)tst-array3.out): Likewise.
33129 ($(objpfx)tst-array4.out): Likewise.
33130 ($(objpfx)tst-array5.out): Likewise.
33131 ($(objpfx)tst-array5-static.out): Likewise.
33132
01767843
CM
331332012-10-30 Chris Metcalf <cmetcalf@tilera.com>
33134
47cc1490
CM
33135 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33136 if defined.
33137
01767843
CM
33138 * nss/nsswitch.h (nss_interface_function): Provide new
33139 macro for use with NSS functions.
33140 * grp/initgroups.c: Use new macro.
33141 * nss/getXXbyYY.c: Likewise.
33142 * nss/getXXbyYY_r.c: Likewise.
33143 * nss/getXXent.c: Likewise.
33144 * nss/getXXent_r.c: Likewise.
33145 * sysdeps/posix/getaddrinfo.c: Likewise.
33146
8321aa97
AJ
331472012-10-30 Andreas Jaeger <aj@suse.de>
33148
33149 * po/ru.po: Update Russion translation from translation project.
33150
2a27fd6d
JM
331512012-10-30 Joseph Myers <joseph@codesourcery.com>
33152
8627a232
JM
33153 [BZ #14152]
33154 [BZ #14783]
33155 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33156 result and shift together with sticky bit instead of replicating
33157 round-to-nearest rounding.
33158 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33159 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33160 * math/libm-test.inc (fma_test): Add more tests. Do not permit
33161 missing underflow exceptions.
33162 (fma_test_towardzero): Add more tests.
33163 (fma_test_downward): Likewise.
33164 (fma_test_upward): Likewise.
33165
2a27fd6d
JM
33166 [BZ #14047]
33167 * sysdeps/generic/tininess.h: New file.
33168 * sysdeps/i386/tininess.h: Likewise.
33169 * sysdeps/sh/tininess.h: Likewise.
33170 * sysdeps/x86_64/tininess.h: Likewise.
33171 * stdlib/tst-strtod-underflow.c: Likewise.
33172 * stdlib/tst-tininess.c: Likewise.
33173 * stdlib/strtod_l.c: Include <tininess.h>.
33174 (round_and_return): Do not set errno for exact underflow cases.
33175 Force an underflow exception when setting errno for underflow.
33176 Determine underflow based on rounding to normal precision if
33177 TININESS_AFTER_ROUNDING.
33178 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33179 ERANGE for exact underflow cases.
33180 * stdlib/Makefile (tests): Add tst-tininess and
33181 tst-strtod-underflow.
33182 ($(objpfx)tst-tininess): Use $(link-libm).
33183 ($(objpfx)tst-strtod-underflow): Likewise.
33184
e7170363
AJ
331852012-10-30 Andreas Jaeger <aj@suse.de>
33186
e5088dc6
AJ
33187 [BZ#14767]
33188 * elf/Makefile (tests): Remove conditional for have-initfini-array
33189 since this is now always required and the variable does not exist
33190 anymore.
33191 (tests-static): Likewise.
33192 (modules-names): Likewise.
33193
e7170363 33194 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
33195
33196 * elf/tst-array1.c (fini_array): Make writeable so that it can be
33197 merged with constructor/destructor.
33198 (init_array): Likewise.
33199 * elf/tst-array2dep.c (fini_array): Likewise.
33200 (init_array): Likewise.
33201
60457d8a
MF
332022012-10-29 Mike Frysinger <vapier@gentoo.org>
33203
33204 * manual/message.texi: Delete @cartouche tags.
33205
8bece752
PT
332062012-10-29 Pino Toscano <toscano.pino@tiscali.it>
33207
94ce799f
PT
33208 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33209 EOPNOTSUPP.
33210 * sysdeps/mach/hurd/fsync.c: Likewise.
33211
8bece752
PT
33212 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33213 [_POSIX_REALTIME_SIGNALS]: Change condition to
33214 [_POSIX_REALTIME_SIGNALS > 0].
33215
86ebe6b1
AJ
332162012-10-27 Andreas Jaeger <aj@suse.de>
33217
33218 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33219 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33220 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33221 [__WORDSIZE != 64]: Likewise.
33222
54399c08
L
332232012-10-26 H.J. Lu <hongjiu.lu@intel.com>
33224
33225 * iconvdata/tst-table.sh: Remove ${SHELL}.
33226 * iconvdata/tst-tables.sh: Likewise.
33227
e2211bed
DM
332282012-10-25 David S. Miller <davem@davemloft.net>
33229
33230 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33231 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33232 of strtoull.
33233
f303f97c
DM
33234 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33235 ifunc-impl-list.c
33236 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33237 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33238 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33239 file.
33240
1e9d84cd
RM
332412012-10-25 Roland McGrath <roland@hack.frob.com>
33242
33243 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33244 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33245 __getdirentries.
33246
df381762
JM
332472012-10-25 Joseph Myers <joseph@codesourcery.com>
33248 Jim Blandy <jimb@codesourcery.com>
33249
33250 * scripts/cross-test-ssh.sh: New file.
33251 * manual/install.texi (Configuring and compiling): Document use of
33252 cross-test-ssh.sh.
33253 * INSTALL: Regenerated.
33254
bff64913
PT
332552012-10-25 Pino Toscano <toscano.pino@tiscali.it>
33256
33257 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33258 EOPNOTSUPP.
33259
25fe8932
JM
332602012-10-25 Joseph Myers <joseph@codesourcery.com>
33261
33262 * Makeconfig (run-program-prefix): Fix comment.
33263
cc1290d0
JM
332642012-10-24 Joseph Myers <joseph@codesourcery.com>
33265 Jim Blandy <jimb@codesourcery.com>
33266
33267 * Makeconfig (test-wrapper): New variable,
33268 (test-wrapper-env): Likewise.
33269 [$(cross-compiling) = yes && $(test-wrapper) != ""]
33270 (run-built-tests): Define to yes.
33271 (run-program-prefix): Use $(test-wrapper).
33272 (built-program-cmd): Likewise.
33273 * Rules (make-test-out): Use $(test-wrapper-env) and
33274 $(host-built-program-cmd).
33275 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33276 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33277 tst-pathopt.sh.
33278 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33279 $(test-wrapper-env) to tst-rtld-load-self.sh.
33280 ($(objpfx)order2.out): Use $(test-wrapper).
33281 ($(objpfx)tst-initorder.out): Likewise.
33282 ($(objpfx)tst-initorder2.out): Likewise.
33283 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33284 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33285 (test_wrapper_env): New variable. Use it to run ld.so.
33286 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33287 Use it to run ld.so.
33288 (test_wrapper_env): Likewise.
33289 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33290 $(test-wrapper) to run-iconv-test.sh.
33291 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33292 (ICONV): Use $test_wrapper.
33293 * posix/Makefile ($(objpfx)globtest.out): Pass
33294 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33295 globtest.sh, not $(run-program-prefix).
33296 * posix/globtest.sh (run_via_rtld_prefix): New variable.
33297 (test_wrapper): Likewise.
33298 (test_wrapper_env): Likewise. Use it to run globtest with HOME
33299 set together with run_via_rtld_prefix.
33300 (run_program_prefix): Define in terms of test_wrapper and
33301 run_via_rtld_prefix.
33302
6e6249d0
RM
333032012-10-24 Roland McGrath <roland@hack.frob.com>
33304
33305 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33306 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33307 Targets removed.
33308
33309 [BZ #14743]
33310 * include/time.h: Remove librt_hidden_proto (clock_gettime).
33311 Declare __clock_getres, __clock_gettime, __clock_settime,
33312 __clock_nanosleep, and __clock_getcpuclockid.
33313 * rt/clock_gettime.c: Define __clock_gettime as an alias.
33314 Remove librt_hidden_def (clock_gettime).
33315 * sysdeps/unix/clock_gettime.c: Likewise.
33316 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33317 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33318 * rt/clock_getres.c: Define __clock_getres as an alias.
33319 * sysdeps/posix/clock_getres.c: Likewise.
33320 * rt/clock_settime.c: Define __clock_settime as an alias.
33321 * sysdeps/unix/clock_settime.c: Likewise.
33322 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33323 * sysdeps/unix/clock_nanosleep.c: Likewise.
33324 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33325 * rt/clock-compat.c: New file.
33326 * rt/Makefile (librt-routines): Add clock-compat and move
33327 $(clock-routines) to ...
33328 (routines): ... here, new variable.
33329 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33330 Don't add get_clockfreq here.
33331 * rt/Versions (libc: GLIBC_2.17): New version set.
33332 Add clock_* symbols here.
33333 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
33334 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33335 (GLIBC_2.17): Add clock_* symbols.
33336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33338 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33340 Likewise.
33341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33342 Likewise.
33343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33347 * NEWS: Mention the move.
33348
33349 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33350 Use __open, __read, __close rather than their public counterparts.
33351 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33352 (__get_clockfreq_via_cpuinfo): Likewise.
33353 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33354 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33355
33356 * config.h.in (HAVE_IFUNC): New #undef.
33357 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33358 was successful.
33359 * configure: Regenerated.
33360
0cae3f4b
MF
333612012-10-24 Mike Frysinger <vapier@gentoo.org>
33362
33363 * configure.in: Move READELF check to start of file.
33364 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33365 libc_cv_asm_gnu_indirect_function in the process.
33366 * configure: Regenerated.
33367
8175a253
MF
333682012-10-24 Mike Frysinger <vapier@gentoo.org>
33369
33370 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33371 send the output to /dev/null.
33372 (libc_cv_cc_with_libunwind): Likewise.
33373 (libc_cv_as_noexecstack): Likewise.
33374 * configure: Regenerate.
33375
0708a7d1
JM
333762012-10-24 Joseph Myers <joseph@codesourcery.com>
33377
10b40d85
JM
33378 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33379
0708a7d1
JM
33380 * posix/globtest.sh (TMPDIR): Do not set.
33381 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33382 (testout): Likewise.
33383
9fddec1a
AJ
333842012-10-24 Andreas Jaeger <aj@suse.de>
33385
3a8db22f
AJ
33386 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33387 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33388 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33389 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33390 posix_fadvise64, posix_fallocate64.
33391
9fddec1a
AJ
33392 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33393 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33394 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33395 Likewise.
33396 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33397 Likewise.
33398 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33399
33400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33401 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33402 <bits/fcntl-linux.h>.
33403 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33404
33405 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33406 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33407 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33408 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33409 [__WORDSIZE != 64]: Likewise.
33410
ebfd1bbd
JM
334112012-10-23 Joseph Myers <joseph@codesourcery.com>
33412
03ac099f
JM
33413 * Makeconfig (run-built-tests): New variable.
33414 * Rules [$(cross-compiling) = yes]: Change condition to
33415 [$(run-built-tests) = no].
33416 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33417 to [$(run-built-tests) = yes].
33418 * elf/Makefile [$(cross-compiling) = no]: Likewise
33419 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33420 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33421 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33422 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33423 * io/Makefile [$(cross-compiling) = no]: Likewise.
33424 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33425 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33426 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33427 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33428 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33429 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33430 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33431 * string/Makefile [$(cross-compiling) = no]: Likewise.
33432
ebfd1bbd
JM
33433 * posix/Makefile ($(objpfx)globtest.out): Pass
33434 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33435 $(rtld-installed-name).
33436 * posix/globtest.sh (elf_objpfx): Remove variable.
33437 (rtld_installed_name): Likewise.
33438 (library_path): Likewise.
33439 (run_program_prefix): New variable. Use for running globtest
33440 binary.
33441
166bca24
JB
334422012-10-23 Jim Blandy <jimb@codesourcery.com>
33443 Joseph Myers <joseph@codesourcery.com>
33444
33445 * Makeconfig (host-built-program-cmd): New variable.
33446 * elf/Makefile (tst-stackguard1-ARGS): Use
33447 $(host-built-program-cmd).
33448 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33449 (tst-spawn-ARGS): Likewise.
33450 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33451
88866099
JM
334522012-10-23 Joseph Myers <joseph@codesourcery.com>
33453 Jim Blandy <jimb@codesourcery.com>
33454
33455 * Makeconfig (run-via-rtld-prefix): New variable.
33456 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33457 (built-program-cmd): Likewise.
33458
b4b4c296
AJ
334592012-10-22 Andreas Jaeger <aj@suse.de>
33460
33461 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33462 __O_RSYNC if it exists, otherwise to O_SYNC.
33463
6fb54a22
JB
334642012-10-22 Jim Blandy <jimb@codesourcery.com>
33465 Joseph Myers <joseph@codesourcery.com>
33466
33467 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33468 /dev/null.
33469 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33470 from /dev/null
33471 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33472 /dev/null.
33473
481b90b9
AJ
334742012-10-22 Andreas Jaeger <aj@suse.de>
33475
2a0e2669
AJ
33476 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33477 Define always.
33478 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33479
76e38f9a
AJ
33480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33481 bits/fcntl-linux.h.
33482
7cd37b43
AJ
33483 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33484 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33485
481b90b9
AJ
33486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33487 to __O_LARGEFILE.
33488 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33489 to __O_LARGEFILE.
33490
aba75984
JB
334912012-10-21 Jim Blandy <jimb@codesourcery.com>
33492 Joseph Myers <joseph@codesourcery.com>
33493
33494 * config.make.in (NM): New variable.
33495
88d4247f
AJ
334962012-10-21 Andreas Jaeger <aj@suse.de>
33497
33498 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33499 definitions and declarations that are provided by
33500 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33501
f2eed205
L
335022012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33503
33504 [BZ #14683]
33505 * elf/Makefile (tests-static): Add tst-leaks1-static.
33506 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33507 ($(objpfx)tst-leaks1-static): New rule.
33508 ($(objpfx)tst-leaks1-static-mem): Likewise.
33509 (tst-leaks1-static-ENV): New macro.
33510 * elf/dl-open.c (dl_open_worker): Check the main application
33511 only if SHARED is defined.
33512 * elf/tst-leaks1-static.c: New file.
33513
335e6931
AJ
335142012-10-20 Andreas Jaeger <aj@suse.de>
33515
33516 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33517 generic values for Linux.
33518 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33519 and declarations that are provided by <bits/fcntl-linux.h> and
33520 include <bits/fcntl-linux.h>.
33521 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33522 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33523
ac5c94d3
RM
335242012-10-20 Roland McGrath <roland@hack.frob.com>
33525
33526 * io/fcntl.h: Move include of <bits/types.h> to the top and
33527 include it unconditionally.
33528
de54b33a
L
335292012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33530
228cfb01
L
33531 * wcsmbs/Makefile (tests-ifunc): New variable.
33532 (tests): Add $(tests-ifunc).
33533 * wcsmbs/test-wcschr-ifunc.c: New file.
33534 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33535 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33536 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33537 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33538 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33539
69f07e5f
L
33540 * string/Makefile (tests-ifunc): New variable.
33541 (tests): Add $(tests-ifunc).
33542 * string/test-memccpy.c (TEST_NAME): New macro.
33543 * string/test-memchr.c (TEST_NAME): Likewise.
33544 * string/test-memcmp.c (TEST_NAME): Likewise.
33545 * string/test-memcpy.c (TEST_NAME): Likewise.
33546 * string/test-memmem.c (TEST_NAME): Likewise.
33547 * string/test-memmove.c (TEST_NAME): Likewise.
33548 * string/test-memset.c (TEST_NAME): Likewise.
33549 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33550 * string/test-stpcpy.c (TEST_NAME): Likewise.
33551 * string/test-stpncpy.c (TEST_NAME): Likewise.
33552 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33553 * string/test-strcasestr.c (TEST_NAME): Likewise.
33554 * string/test-strcat.c (TEST_NAME): Likewise.
33555 * string/test-strchr.c (TEST_NAME): Likewise.
33556 * string/test-strcmp.c(TEST_NAME): Likewise.
33557 * string/test-strcpy.c (TEST_NAME): Likewise.
33558 * string/test-strcspn.c (TEST_NAME): Likewise.
33559 * string/test-strlen.c (TEST_NAME): Likewise.
33560 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33561 * string/test-strncmp.c (TEST_NAME): Likewise.
33562 * string/test-strncpy.c (TEST_NAME): Likewise.
33563 * string/test-strnlen.c (TEST_NAME): Likewise.
33564 * string/test-strpbrk.c (TEST_NAME): Likewise.
33565 * string/test-strrchr.c (TEST_NAME): Likewise.
33566 * string/test-strspn.c (TEST_NAME): Likewise.
33567 * string/test-strstr.c (TEST_NAME): Likewise.
33568 * string/test-bcopy-ifunc.c: New file.
33569 * string/test-bzero-ifunc.c: Likewise.
33570 * string/test-memccpy-ifunc.c: Likewise.
33571 * string/test-memchr-ifunc.c: Likewise.
33572 * string/test-memcmp-ifunc.c: Likewise.
33573 * string/test-memcpy-ifunc.c: Likewise.
33574 * string/test-memmem-ifunc.c: Likewise.
33575 * string/test-memmove-ifunc.c: Likewise.
33576 * string/test-mempcpy-ifunc.c: Likewise.
33577 * string/test-memset-ifunc.c: Likewise.
33578 * string/test-rawmemchr-ifunc.c: Likewise.
33579 * string/test-stpcpy-ifunc.c: Likewise.
33580 * string/test-stpncpy-ifunc.c: Likewise.
33581 * string/test-strcasecmp-ifunc.c: Likewise.
33582 * string/test-strcasestr-ifunc.c: Likewise.
33583 * string/test-strcat-ifunc.c: Likewise.
33584 * string/test-strchr-ifunc.c: Likewise.
33585 * string/test-strchrnul-ifunc.c: Likewise.
33586 * string/test-strcmp-ifunc.c: Likewise.
33587 * string/test-strcpy-ifunc.c: Likewise.
33588 * string/test-strcspn-ifunc.c: Likewise.
33589 * string/test-strlen-ifunc.c: Likewise.
33590 * string/test-strncasecmp-ifunc.c: Likewise.
33591 * string/test-strncat-ifunc.c: Likewise.
33592 * string/test-strncmp-ifunc.c: Likewise.
33593 * string/test-strncpy-ifunc.c: Likewise.
33594 * string/test-strnlen-ifunc.c: Likewise.
33595 * string/test-strpbrk-ifunc.c: Likewise.
33596 * string/test-strrchr-ifunc.c: Likewise.
33597 * string/test-strspn-ifunc.c: Likewise.
33598 * string/test-strstr-ifunc.c: Likewise.
33599
de54b33a
L
33600 * debug/Makefile (tests-ifunc): New variable.
33601 (tests): Add $(tests-ifunc).
33602 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33603 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33604 * debug/test-stpcpy_chk-ifunc.c: New file.
33605 * debug/test-strcpy_chk-ifunc.c: Likewise.
33606
88481c16
SP
336072012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33608
33609 [BZ #13601]
33610 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33611 header is not read in.
33612
135948bd
JM
336132012-10-19 Joseph Myers <joseph@codesourcery.com>
33614
89f1c388
JM
33615 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33616 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33617 directly. Pass built executable to script as
33618 $(built-program-cmd).
33619 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33620 $testprogram without using LD_LIBRARY_PATH and $ldso.
33621
e40a0d21
JM
33622 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33623 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33624 $(rtld-installed-name).
33625 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33626 (rtld_installed_name): Likewise.
33627 (library_path): Likewise.
33628 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33629 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33630 $(run-program-prefix) to tst-tables.sh.
33631 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33632 it to run tst-table-from and tst-table-to.
33633 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33634 Pass it to tst-table.sh.
33635 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33636 $(run-program-prefix) to tst-gettext.sh.
33637 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33638 tst-translit.sh.
33639 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33640 tst-gettext2.sh.
33641 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33642 to run tst-gettext.
33643 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33644 to run tst-gettext2.
33645 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33646 to run tst-translit.
33647 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33648 $(run-program-prefix) to tst-mtrace.sh.
33649 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33650 to run tst-mtrace.
33651 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33652 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33653 $(rtld-installed-name).
33654 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33655 (rtld_installed_name): Likewise.
33656 (run_program_prefix): New variable. Use it to run wordexp-test.
33657
728e272a
JM
33658 * Makeconfig (ARCH): Remove all definitions.
33659 (machine): Likewise.
33660 [ARCH]: Remove conditional code.
33661 [!objdir]: Give error.
33662 [!objdir] (objpfx): Remove.
33663 [!objdir] (common-objpfx): Likewise.
33664 [!objdir] (common-objdir): Likewise.
33665 * configure.in (config_makefile): Remove. Hardcode Makefile in
33666 AC_CONFIG_FILES call.
33667 * configure: Regenerated.
33668
d528cdcf
JM
33669 [BZ #13888]
33670 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33671 or TMPDIR.
33672 (testout): Likewise.
33673
135948bd
JM
33674 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33675 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33676 $(rtld-installed-name).
33677 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33678 (rtld_installed_name): Likwise.
33679 (runit): Remove function.
33680 (run_getconf): New variable, Use it for running getconf binary.
33681
38c78296
L
336822012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33683
33684 [BZ #14716]
33685 * string/test-memmem.c (check_result): New function.
33686 (do_one_test): Use it.
33687 (check1): New function.
33688 (test_main): Use it.
33689
d077f65f
MT
336902012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33691
33692 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33693
ced52c71
JM
336942012-10-18 Joseph Myers <joseph@codesourcery.com>
33695
33696 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33697 (_G_LSEEK64): Likewise.
33698 (_G_MMAP64): Likewise.
33699 (_G_FSTAT64): Likewise.
33700 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33701 (_G_LSEEK64): Likewise.
33702 (_G_MMAP64): Likewise.
33703 (_G_FSTAT64): Likewise.
33704 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33705 unconditional. Call __mmap64 directly.
33706 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33707 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33708 __lseek64 directly.
33709 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33710 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33711 __mmap64 directly.
33712 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33713 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33714 __lseek64 directly.
33715 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33716 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33717 __lseek64 directly.
33718 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33719 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33720 __lseek64 directly.
33721 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33722 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33723 __fxstat64 directly.
33724 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33725 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33726 unconditional.
33727 (freopen64) [!_G_OPEN64]: Remove conditional code.
33728 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33729 unconditional.
33730 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33731 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33732 unconditional.
33733 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33734 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33735 unconditional.
33736 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33737 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33738 unconditional.
33739 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33740 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33741 unconditional.
33742 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33743 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33744 unconditional.
33745 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33746 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33747 unconditional.
33748 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33749
b741de23
SP
337502012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33751
33752 [BZ #12140]
33753 * manual/memory.texi (Malloc Tunable Parameters): Add note
33754 about free list pointers overwriting some perturb bytes.
33755 Wording suggested by Roland McGrath.
33756
f9b9d9c9
JM
337572012-10-17 Joseph Myers <joseph@codesourcery.com>
33758
33759 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33760 (lgamma_test): Likewise.
33761 (tgamma_test): Likewise.
33762
172a631a
FW
337632012-10-16 Florian Weimer <fweimer@redhat.com>
33764
33765 [BZ #14700]
33766 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33767 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33768
e9f37252
MK
337692012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33770
33771 * NEWS: Mention BZ #14716.
33772 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33773 when removing AVAILABLE1_USES_J macro.
33774
d394eb74
L
337752012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33776
33777 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33778 (__bswap_64): __uint64_t for unsigned 64-bit int.
33779
ca38dc17
AS
337802012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33781
33782 * include/string.h (memmem): Declare libc hidden alias.
33783 * string/memmem.c (memmem): Define libc hidden alias.
33784 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33785 __read, __close instead of open, read, close.
33786
9a387d1f
L
337872012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33788
ac49ecaf
L
33789 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33790 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33791 global and hidden.
33792 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33793 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33794 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33795 Likewise.
33796 (__rawmemchr_sse2): Likewise.
33797 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33798 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33799 (__strchr_sse2): Likewise.
33800 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33801 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33802 (__strcasecmp_sse2): Likewise.
33803 (__strncasecmp_sse2): Likewise.
33804 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33805 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33806 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33807 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33808 (__strrchr_sse2): Likewise.
33809 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33810 ifunc-impl-list.c.
33811 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33812 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33813 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33814 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33815 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33816 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33817 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33818 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33819 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33820 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33821 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33822 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33823 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33824 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33825 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33826 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33827 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33828 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33829 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33830 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33831 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33832 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33833 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33834 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33835 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33836 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33837 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33838 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33839 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33840 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33841
b090e8ea
L
33842 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33843 global and hidden.
33844 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33845 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33846 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33847 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33848 Likewise.
33849 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33850 Likewise.
33851 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33852 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33853 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33854 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33855 ifunc-impl-list.c.
33856 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33857 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33858 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33859 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33860 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33861 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33862 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33863 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33864 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33865 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33866 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33867 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33868 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33869 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33870 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33871 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33872 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33873 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33874 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33875 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33876 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33877 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33878 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33879 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33880 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33881 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33882 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33883 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33884 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33885 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33886 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33887 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33888 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33889 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33890 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33891 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33892 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33893 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33894 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33895 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33896 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33897
11dd4af6
L
33898 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33899 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33900 * include/ifunc-impl-list.h: New file.
33901 * misc/ifunc-impl-list.c: Likewise.
33902 * misc/Makefile (routines): Add ifunc-impl-list.
33903 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33904 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
33905 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33906 TEST_NAME]: New variables.
11dd4af6
L
33907 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33908 are defined.
33909 (test_init): Call __libc_ifunc_impl_list to initialize
33910 func_list if TEST_IFUNC and TEST_NAME are defined.
33911
9a387d1f
L
33912 * string/Makefile (strop-tests): Add bcopy and bzero.
33913 * string/test-bcopy.c: New file.
33914 * string/test-bzero.c: Likewise.
33915 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33916 defined.
33917 * string/test-memset.c: Support bzero test if TEST_BZERO is
33918 defined.
33919 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33920 __libc_memmove.
33921 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33922 __libc_memset.
33923 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33924 of memset.
33925
472371b9
JM
339262012-10-10 Joseph Myers <joseph@codesourcery.com>
33927
1e4a9536
JM
33928 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33929 * configure: Regenerated.
33930
d173d12e
JM
33931 * Makeconfig (+link-static-before-libc): Don't include
33932 $(link-static-libc).
33933
472371b9
JM
33934 * libio/libio.h (_IO_pos_t): Remove.
33935
89a3ad0b
AO
339362012-10-10 Alexandre Oliva <aoliva@redhat.com>
33937
33938 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33939 McGrath.
33940
e7451425
AO
339412012-10-10 Alexandre Oliva <aoliva@redhat.com>
33942
33943 * crypt/crypt-entry.c: Include fips-private.h.
33944 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33945 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33946 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33947 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33948
4ba74a35
AO
339492012-10-10 Alexandre Oliva <aoliva@redhat.com>
33950
33951 * crypt/crypt-private.h: Include stdbool.h.
33952 (_ufc_setup_salt_r): Return bool.
33953 * crypt/crypt-entry.c: Include errno.h.
33954 (__crypt_r): Return NULL with EINVAL for bad salt.
33955 * crypt/crypt_util.c (bad_for_salt): New.
33956 (_ufc_setup_salt_r): Check that salt is long enough and within
33957 the specified alphabet.
33958 * crypt/badsalttest.c: New file.
33959 * crypt/Makefile (tests): Add it.
33960 ($(objpfx)badsalttest): New.
33961
f96f1242
MK
339622012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33963
33964 * NEWS: Add entry for BZ #14602.
33965
0e8e0c1c
JM
339662012-10-09 Joseph Myers <joseph@codesourcery.com>
33967
33968 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33969 type-generic.
33970 * math/libm-test.inc: Update comment listing what functions and
33971 macros are tested.
33972 (isgreater_test): New function.
33973 (isgreaterequal_test): Likewise.
33974 (isless_test): Likewise.
33975 (islessequal_test): Likewise.
33976 (islessgreater_test): Likewise.
33977 (isunordered_test): Likewise.
33978 (main): Call the new functions.
33979
273edc5e
RM
339802012-10-09 Roland McGrath <roland@hack.frob.com>
33981
b8493de0
RM
33982 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33983 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33984 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33985 * sysdeps/i386/configure: Regenerated.
33986 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33987 * sysdeps/mach/configure: Regenerated.
33988 * sysdeps/mach/hurd/configure: Regenerated.
33989 * sysdeps/powerpc/configure: Regenerated.
33990 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33991 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33992 * sysdeps/s390/s390-32/configure: Regenerated.
33993 * sysdeps/s390/s390-64/configure: Regenerated.
33994 * sysdeps/sh/configure: Regenerated.
33995 * sysdeps/sparc/configure: Regenerated.
33996 * sysdeps/unix/sysv/linux/configure: Regenerated.
33997 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33998 * sysdeps/x86_64/configure: Regenerated.
33999
273edc5e
RM
34000 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34001 defined. Don't check if MAP is NULL.
34002
c8450f70
JM
340032012-10-09 Joseph Myers <joseph@codesourcery.com>
34004
34005 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34006 (_G_stat64): Likewise.
34007 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34008 (_G_stat64): Likewise.
34009 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34010 instead of struct _G_stat64.
34011 * libio/fileops.c (mmap_remap_check): Likewise.
34012 (decide_maybe_mmap): Likewise.
34013 (_IO_new_file_seekoff): Likewise.
34014 (_IO_file_stat): Likewise.
34015 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34016 _G_off64_t.
34017 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34018 instead of struct _G_stat64.
34019 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34020
57e605ba
MK
340212012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
34022
34023 [BZ #14602]
34024 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34025 Replace with ...
34026 (CHECK_EOL): New macro.
34027 (two_way_short_needle): Check beginning of haystack for EOL. Use
34028 CHECK_EOL.
34029 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34030 Replace with CHECK_EOL.
34031 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34032 Replace with CHECK_EOL.
34033
ef1bb361
JM
340342012-10-08 Joseph Myers <joseph@codesourcery.com>
34035
34036 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34037 type-generic.
34038 * math/libm-test.inc: Update comment listing what functions and
34039 macros are tested.
34040 (finite_test): New function.
34041 (isinf_test): Likewise.
34042 (isnan_test): Likewise.
34043 (fpclassify_test): Test subnormal input.
34044 (isfinite_test): Likewise.
34045 (isnormal_test): Likewise.
34046 (main): Call the new functions.
34047
55f11534
JN
340482012-10-08 Jonathan Nieder <jrnieder@gmail.com>
34049
34050 [BZ #14660]
34051 * Makerules (%.dynsym): Force C locale when running
34052 $(OBJDUMP) --dynamic-syms.
34053
1ab29350
AS
340542012-10-08 Andreas Schwab <schwab@linux-m68k.org>
34055
34056 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34057 <stdint.h>.
34058
f1ecb7ef
DM
340592012-10-06 David S. Miller <davem@davemloft.net>
34060
34061 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34062 upper 32-bits of the length value in %o2 since we use branch-on-register
34063 tests which consider the entire 64-bit register.
34064
5d41d91a
L
340652012-10-06 H.J. Lu <hongjiu.lu@intel.com>
34066
34067 * string/test-strstr.c (check2): Add a test for page boundary.
34068
3baddb72
DM
340692012-10-05 David S. Miller <davem@davemloft.net>
34070
34071 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34072 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34073 file.
34074 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34075 sysdep_routines.
34076 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34077 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34078 and bzero when HWCAP_SPARC_CRYPTO is present.
34079
9cee5585
L
340802012-10-05 H.J. Lu <hongjiu.lu@intel.com>
34081
d7e0dab9
L
34082 [BZ #14602]
34083 * string/test-strstr.c (check2): New function.
34084 (test_main): Call check2.
34085
03759f47
L
34086 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34087 and bug-strchr1.
34088 * string/bug-strcasestr1.c (do_test): Moved to ...
34089 * string/test-strcasestr.c (check1): Here. New function.
34090 (do_one_test): Break out result checking code into ...
34091 (check_result): This. New function.
34092 (do_one_test): Call check_result.
34093 (test_main): Call check1.
34094 * string/bug-strchr1.c (do_test): Moved to ...
34095 * string/test-strchr.c (check1): Here. New function.
34096 (do_one_test): Break out result checking code into ...
34097 (check_result): This. New function.
34098 (do_one_test): Call check_result.
34099 (test_main): Call check1.
34100 * string/bug-strstr1.c (main): Moved to ...
046f153e 34101 * string/test-strstr.c (check1): Here. New function.
03759f47
L
34102 (do_one_test): Break out result checking code into ...
34103 (check_result): This. New function.
34104 (do_one_test): Call check_result.
34105 (test_main): Call check1.
34106 * string/bug-strcasestr1.c: Removed.
34107 * string/bug-strchr1.c: Likewise.
34108 * string/bug-strstr1.c: Likewise.
34109
53cea63e
L
34110 * elf/Makefile (dl-routines): Add hwcaps.
34111 * elf/dl-support.c (_dl_important_hwcaps): Removed.
34112 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34113 (_dl_important_hwcaps): Moved to ...
34114 * elf/dl-hwcaps.c: Here. New file.
34115 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34116
9cee5585 34117 [BZ #14557]
bb859b06
L
34118 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34119 if IS_IN_rtld isn't defined.
34120
9cee5585
L
34121 * elf/dl-support.c (_dl_sysinfo_map): New.
34122 Include "get-dynamic-info.h" and "setup-vdso.h".
34123 (_dl_non_dynamic_init): Call setup_vdso.
34124 * elf/dynamic-link.h: Don't include <assert.h>.
34125 (elf_get_dynamic_info): Moved to ...
34126 * elf/get-dynamic-info.h: Here. New file.
34127 * elf/dynamic-link.h: Include "get-dynamic-info.h".
34128 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34129 * elf/setup-vdso.h: Here. New file.
34130 * elf/rtld.c: Include "setup-vdso.h".
34131 (dl_main): Call setup_vdso.
34132
23c31b76
JM
341332012-10-05 Joseph Myers <joseph@codesourcery.com>
34134
28234b07
JM
34135 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34136 creal in comment listing functions tested. List finite, isinf,
34137 isnan, isless, islessequal, isgreater, isgreaterequal,
34138 islessgreater, isunordered, lgamma_r and pow10 as functions and
34139 macros not tested. Mention which functions not tested are aliases
34140 for other functions. Fix typo. Note that signs of NaNs are not
34141 tested.
34142
23c31b76
JM
34143 * scripts/config.guess: Update from config.git.
34144 * scripts/config.sub: Likewise.
34145
9043e228
RM
341462012-10-04 Roland McGrath <roland@hack.frob.com>
34147
34148 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34149 * misc/madvise.c (madvise): Renamed to __madvise.
34150 Make madvise a weak alias.
34151 * include/sys/mman.h: Declare __madvise.
34152 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34153 * sysdeps/unix/syscalls.list
34154 (madvise): Make __madvise the strong name, and madvise a weak alias.
34155 * sysdeps/unix/sysv/linux/syscalls.list
34156 (madvise, mmap): Remove redundant entries.
34157 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34158 * malloc/malloc.c (mtrim): Likewise.
34159 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34160
f57f8055
RM
341612012-10-03 Roland McGrath <roland@hack.frob.com>
34162
34163 * sysdeps/mach/hurd/dl-cache.c: File removed.
34164 * config.h.in (USE_LDCONFIG): New #undef.
34165 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34166 * configure: Regenerated.
34167 * elf/Makefile (dl-routines): Add dl-cache only under
34168 [$(use-ldconfig) = yes].
34169 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34170 cache on [USE_LDCONFIG].
34171 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34172 [USE_LDCONFIG].
34173 * elf/rtld.c (dl_main): Likewise.
34174
5bb0c10a
PT
341752012-10-03 Pino Toscano <toscano.pino@tiscali.it>
34176
34177 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34178 _SC_LEVEL4_CACHE_LINESIZE.
34179
010188c6
RM
341802012-10-03 Roland McGrath <roland@hack.frob.com>
34181
34182 * sysdeps/unix/bsd/confstr.h: File removed.
34183
b6c5ec07
AO
341842012-10-02 Alexandre Oliva <aoliva@redhat.com>
34185
34186 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34187 sys/sdt-config.h.
34188
408223d4
RM
341892012-10-02 Roland McGrath <roland@hack.frob.com>
34190
34191 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34192 Make 'mapoff' field ElfW(Off) rather than off_t.
34193
bb9510dc
DL
341942012-10-02 Dmitry V. Levin <ldv@altlinux.org>
34195
fc997c6e
DL
34196 * nscd/Makefile: Remove nscd-cflags and all its users.
34197 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34198 (CFLAGS-nonlib): Add compiler flags for nscd modules.
34199
bb9510dc
DL
34200 [BZ #10631]
34201 * malloc.c (malloc_printerr): Clarify error message.
34202
05699367
L
342032012-10-02 H.J. Lu <hongjiu.lu@intel.com>
34204
34205 [BZ #14648]
34206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34207 Set bit_FMA_Usable if FMA is supported.
34208 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34209 macro.
34210 (bit_FMA4_Usable): Updated.
34211 (index_FMA_Usable): New macro.
34212 (CPUID_FMA): Likewise
34213 (HAS_FMA): Defined with bit_FMA_Usable.
34214
51367701
RM
342152012-10-01 Roland McGrath <roland@hack.frob.com>
34216
34217 * bits/types.h (__swblk_t): Type removed.
34218 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34219 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34220 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34221 (__SWBLK_T_TYPE): Likewise.
34222 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34223 (__SWBLK_T_TYPE): Likewise.
34224 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34225 (__SWBLK_T_TYPE): Likewise.
34226 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34227 (__SWBLK_T_TYPE): Likewise.
34228
4d57bf63 342292012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 34230 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
34231
34232 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34233 (xdr_mapname): Use YPMAXMAP as maxsize.
34234 (xdr_peername): Use YPMAXPEER as maxsize.
34235 (xdr_keydat): Use YPAXRECORD as maxsize.
34236 (xdr_valdat): Use YPMAXRECORD as maxsize.
34237
93c65d43
RM
342382012-10-01 Roland McGrath <roland@hack.frob.com>
34239
497a03d6
RM
34240 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34241
93c65d43
RM
34242 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34243 * csu/init-first.c: ... here.
34244 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34245 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34246 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34247 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34248 * sysdeps/i386/init-first.c: File removed.
34249 * sysdeps/sh/init-first.c: File removed.
34250
bec749fd
JM
342512012-10-01 Joseph Myers <joseph@codesourcery.com>
34252
34253 [BZ #14645]
34254 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34255 if x * y might underflow to zero and z is zero.
34256 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34257 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34258 * math/libm-test.inc (min_subnorm_value): New variable.
34259 (fma_test): Add more tests.
34260 (fma_test_towardzero): Likewise.
34261 (fma_test_downward): Likewise
34262 (fma_test_upward): Likewise.
34263 (initialize): Set min_subnorm_value.
34264
8ec5b013
JM
342652012-09-29 Joseph Myers <joseph@codesourcery.com>
34266
34267 [BZ #14638]
34268 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34269 0 + 0.
34270 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34271 mode for addition resulting in exact zero.
34272 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34273 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34274 exact 0 + 0.
34275 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34276 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34277 * math/libm-test.inc (fma_test): Add more tests.
34278 (fma_test_towardzero): New function.
34279 (fma_test_downward): Likewise.
34280 (fma_test_upward): Likewise.
34281 (main): Call the new functions.
34282
b1fa802e
DM
342832012-09-28 David S. Miller <davem@davemloft.net>
34284
34285 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34286
d3b9fd9e
RM
342872012-09-28 Roland McGrath <roland@hack.frob.com>
34288
ea4d37b3
RM
34289 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34290 instead of SIGALRM.
34291
ac51c949
RM
34292 * sysdeps/gnu/_G_config.h: Moved to ...
34293 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34294 * sysdeps/mach/hurd/_G_config.h: Moved to ...
34295 * sysdeps/generic/_G_config.h: ... here.
34296
28c195f7
RM
34297 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
34298
848917f9
RM
34299 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34300
6bacf05b
RM
34301 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34302 Conditionalize target on [libnss_test1.so-version].
34303
91363dbb
RM
34304 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34305
cc87f7d8
RM
34306 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34307 (elfobjdir): Move out of conditionals.
34308
b1c608fe
RM
34309 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34310 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34311 (__nss_lookup_function): Conditionalize label remove_from_tree on
34312 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 34313
1d9a6d96
DM
343142012-09-28 David S. Miller <davem@davemloft.net>
34315
34316 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34317 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34318 file.
34319 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34320 sysdep_routines.
34321 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34322 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34323 when HWCAP_SPARC_CRYPTO is present.
34324
72581615
PT
343252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34326
34327 * io/tst-mknodat.c: Create a FIFO instead of a socket.
34328
715a900c
JL
343292012-09-28 Andreas Schwab <schwab@linux-m68k.org>
34330
34331 [BZ #6530]
34332 * stdio-common/vfprintf.c (process_string_arg): Revert
34333 2000-07-22 change.
34334
343352011-09-28 Jonathan Nieder <jrnieder@gmail.com>
34336
34337 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34338 for testcase.
34339 * stdio-common/tst-sprintf.c: Include <locale.h>
34340 (main): Test sprintf's handling of incomplete multibyte
34341 characters.
34342
9bac1d86
L
343432012-09-28 H.J. Lu <hongjiu.lu@intel.com>
34344
34345 * elf/dl-runtime.c (VERSYMIDX): Removed.
34346 * elf/dl-version.c (VERSYMIDX): Likewise.
34347 * elf/do-rel.h (VERSYMIDX): Likewise.
34348 (VALIDX): Likewise.
34349 * elf/dynamic-link.h (VERSYMIDX): Likewise.
34350 * elf/rtld.c (VALIDX): Likewise.
34351 (ADDRIDX): Likewise.
9bac1d86
L
34352 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34353 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34354 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
34355 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34356 (VALIDX): Likewise.
34357 (ADDRIDX): Likewise.
9bac1d86 34358
b31606c0
PT
343592012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34360
34361 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34362
11541177
JL
343632012-09-28 Dmitry V. Levin <ldv@altlinux.org>
34364
34365 [BZ #11438]
34366 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34367 to global scope.
34368 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34369 addresses are in the same scope as 192.0.2/24.
34370 * posix/gai.conf: Document new scope table defaults.
34371
adb26fae
SP
343722012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34373
34374 [BZ #5298]
34375 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34376 for ftell. Compute offsets from write pointers instead.
34377 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34378
4573c6b0
SP
343792012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34380
34381 [BZ #14543]
34382 * libio/Makefile (tests): New test case tst-fseek.
34383 * libio/tst-fseek.c: New test case to verify that fseek/ftell
34384 combination works in wide mode.
34385 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34386 state when the external buffer state changes.
34387
aa9bbfe6
DM
343882012-09-27 David S. Miller <davem@davemloft.net>
34389
34390 [BZ #14376]
34391 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34392 pass reloc->r_addend in as the 'high' argument to
34393 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34394
784421e7
DM
34395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34396
c39bc8b8
PT
343972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34398
34399 * rt/tst-aio2.c: Include <pthread.h>.
34400 * rt/tst-aio3.c: Likewise.
34401
1ccc2399
SE
344022012-09-27 Steve Ellcey <sellcey@mips.com>
34403
34404 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34405
31ed4153
L
344062012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34407
25f5f885
L
34408 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34409 contents on [SHARED].
31ed4153 34410
b7bfe116
MP
344112012-09-26 Marek Polacek <polacek@redhat.com>
34412
34413 [BZ #14530]
34414 [BZ #13741]
34415 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34416 for C++ and GCC <4.3 as well as for non GCC compilers.
34417
43c4edba
MT
344182012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34419
34420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34421
6a1bf82f
RM
344222012-09-25 Roland McGrath <roland@hack.frob.com>
34423
34424 * Makefile.in (all, install): Declare with .PHONY.
34425 Reported by Michael Hope <michael.hope@linaro.org>.
34426
8ad11b9a
TMQMF
344272012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34428
34429 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34430 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34431 system header.
34432 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34433 Likewise.
34434 (sydep_routines): Add the new and the internal functions.
34435 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34436 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34438 (GLIBC_2.17): Add the new function.
34439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34440 (GLIBC_2.17): Likewise.
34441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34442 (GLIBC_2.17): Likewise.
34443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34444 (GLIBC_2.17): Likewise.
34445 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34446
7e2fca8d
AM
344472012-09-25 Alan Modra <amodra@gmail.com>
34448
34449 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34450 Add release barrier before setting once_control to say
34451 initialisation is done. Add hints on lwarx. Use macro in
34452 place of isync.
34453 (clear_once_control): Add release barrier.
34454
b87c4b24
JM
344552012-09-25 Joseph Myers <joseph@codesourcery.com>
34456
d032e0d2
JM
34457 [BZ #13629]
34458 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34459 specially.
34460 * math/s_clog10.c (__clog10): Likewise.
34461 * math/s_clog10f.c (__clog10f): Likewise.
34462 * math/s_clog10l.c (__clog10l): Likewise.
34463 * math/s_clogf.c (__clogf): Likewise.
34464 * math/s_clogl.c (__clogl): Likewise.
34465 * math/Makefile (libm-calls): Add x2y2m1.
34466 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34467 (__x2y2m1): Likewise.
34468 (__x2y2m1l): Likewise.
34469 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34470 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34471 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34472 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34473 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34474 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34475 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34476 * sysdeps/i386/fpu/libm-test-ulps: Update.
34477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34478
b87c4b24
JM
34479 [BZ #14621]
34480 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34481 int as type of variable DEPTH.
34482 (glob): Use size_t instead of int as type of variables NEWCOUNT
34483 and OLD_PATHC.
34484
6d3bf199
LD
344852012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34486
22bf5c17
LD
34487 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34488 Add s_sincosf-sse2.
34489 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34490 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34491 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34492 macros for using routine as __sincosf_ia32.
34493 Use macro for function declaration and weak_alias.
34494 * sysdeps/i386/fpu/libm-test-ulps: Update.
34495
34496 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34498
34499 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
34500 subnormal argument.
34501 * math/s_cexpf.c (__cexpf): Likewise.
34502 * math/s_csinf.c (__csinf): Likewise.
34503 * math/s_csinhf.c (__csinhf): Likewise.
34504 * math/s_ctanf.c (__ctanf): Likewise.
34505 * math/s_ctanhf.c (__ctanhf): Likewise.
34506 * math/s_ccosh.c (__ccoshf): Likewise.
34507 * math/s_cexp.c (__cexpl): Likewise.
34508 * math/s_csin.c (__csin): Likewise.
34509 * math/s_csinh.c (__csinh): Likewise.
34510 * math/s_ctan.c (__ctan): Likewise.
34511 * math/s_ctanh.c (ctanh): Likewise.
34512 * math/s_ccoshl.c (__ccoshl): Likewise.
34513 * math/s_cexpl.c (__cexpl): Likewise.
34514 * math/s_csinl.c (__csinl): Likewise.
34515 * math/s_csinhl.c (__csinhl): Likewise.
34516 * math/s_ctanl.c (__ctanl): Likewise.
34517 * math/s_ctanhl.c (__ctanhl): Likewise.
34518
203e5603
JM
345192012-09-25 Joseph Myers <joseph@codesourcery.com>
34520
34521 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34522 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34523 (_IO_off_t): Define to __off_t, not _G_off_t.
34524 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34525 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34526 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34527 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34528 type of __dummy and __dummy2 fields.
34529 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34530 (_G_ssize_t): Likewise.
34531 (_G_off_t): Likewise.
34532 (_G_pid_t): Likewise.
34533 (_G_uid_t): Likewise.
34534 (_G_wchar_t): Likewise.
34535 (_G_wint_t): Likewise.
34536 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34537 (_G_ssize_t): Likewise.
34538 (_G_off_t): Likewise.
34539 (_G_pid_t): Likewise.
34540 (_G_uid_t): Likewise.
34541 (_G_wchar_t): Likewise.
34542 (_G_wint_t): Likewise.
34543 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34544 (_G_ssize_t): Likewise.
34545 (_G_off_t): Likewise.
34546 (_G_pid_t): Likewise.
34547 (_G_uid_t): Likewise.
34548 (_G_wchar_t): Likewise.
34549 (_G_wint_t): Likewise.
34550
9fab36eb
SP
345512012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34552
34553 * malloc/arena.c: Include malloc-sysdep.h.
34554 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34555 is sufficient to shrink the heap or an unmap is needed.
34556 * sysdeps/generic/malloc-sysdep.h: New file. Define
34557 new function check_may_shrink_heap.
34558 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34559 new function check_may_shrink_heap.
34560
2b4f00d1
SP
345612012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34562
34563 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34564 comments.
34565
9a9028b1
DL
345662012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34567
57c69bef
DL
34568 * catgets/test-gencat.sh: Add "set -e".
34569 * elf/tst-pathopt.sh: Likewise.
34570 * grp/tst_fgetgrent.sh: Likewise.
34571 * iconvdata/run-iconv-test.sh: Likewise.
34572 * intl/tst-gettext.sh: Likewise.
34573 * intl/tst-gettext2.sh: Likewise.
34574 * intl/tst-gettext4.sh: Likewise.
34575 * intl/tst-gettext6.sh: Likewise.
34576 * intl/tst-translit.sh: Likewise.
34577 * io/ftwtest-sh: Likewise.
34578 * libio/test-freopen.sh: Likewise.
34579 * malloc/tst-mtrace.sh: Likewise.
34580 * posix/globtest.sh: Likewise.
34581 * posix/tst-getconf.sh: Likewise.
34582 * posix/wordexp-tst.sh: Likewise.
34583 * stdio-common/tst-printf.sh: Likewise.
34584 * stdio-common/tst-unbputc.sh: Likewise.
34585 * stdlib/tst-fmtmsg.sh: Likewise.
34586 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34587 * catgets/Makefile: Do not specify -e option when running
34588 testsuite shell scripts.
34589 * elf/Makefile: Likewise.
34590 * grp/Makefile: Likewise.
34591 * iconvdata/Makefile: Likewise.
34592 * intl/Makefile: Likewise.
34593 * io/Makefile: Likewise.
34594 * libio/Makefile: Likewise.
34595 * malloc/Makefile: Likewise.
34596 * posix/Makefile: Likewise.
34597 * stdio-common/Makefile: Likewise.
34598 * stdlib/Makefile: Likewise.
34599 * sysdeps/x86_64/Makefile: Likewise.
34600
9a9028b1
DL
34601 * io/ftwtest-sh: Add copyright header.
34602 * posix/globtest.sh: Likewise.
34603 * posix/tst-getconf.sh: Likewise.
34604 * posix/wordexp-tst.sh: Likewise.
34605 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34606
ced6f16e
L
346072012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34608
94b32c39
L
34609 [BZ #13679]
34610 * Makeconfig (+link): Defined as $(+link-static) if
34611 $(build-shared) isn't yes.
34612 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34613 isn't yes.
34614 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34615
189e935b
L
34616 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34617
ced6f16e
L
34618 [BZ #14562]
34619 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34620 new chunk size with MALLOC_ALIGN_MASK.
34621
a9f8e53a
JM
346222012-09-24 Joseph Myers <joseph@codesourcery.com>
34623
34624 [BZ #5044]
34625 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34626 <rounding-mode.h>.
34627 (__printf_fphex): Determine rounding using get_rounding_mode and
34628 round_away.
34629 * stdio-common/tst-printf-round.c (struct hex_test): New
34630 structure.
34631 (hex_tests): New variable.
34632 (test_hex_in_one_mode): New function.
34633 (do_test): Also run tests for hex float output.
34634
43153109
JM
346352012-09-21 Joseph Myers <joseph@codesourcery.com>
34636
34637 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34638 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34639 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34640 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34641 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34642 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34643 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34644 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34645
8a26625d
JM
346462012-09-20 Joseph Myers <joseph@codesourcery.com>
34647
34648 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34649 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34650 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34651 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34652
f3fd569c
DL
346532012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34654
34655 [BZ #14579]
34656 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34657 mode only.
34658 * elf/tst-rtld-load-self.sh: New test.
34659 * elf/Makefile: Run it.
34660
63bbedd4
JM
346612012-09-18 Joseph Myers <joseph@codesourcery.com>
34662
34663 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34664 (tst-writev-ENV): Remove.
34665 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34666
626f8b6a
CM
346672012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34668
34669 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34670
b7aaa4d6
JM
346712012-09-17 Joseph Myers <joseph@codesourcery.com>
34672
34673 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34674 unconditional.
34675 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34676 Likewise.
34677 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34678 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34679 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34680 Likewise.
34681
65513990
L
346822012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34683
34684 [BZ #14587]
34685 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34686 * config.make.in (have-cpp-asm-debuginfo): Removed.
34687 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34688 * configure: Regenerated.
34689
784761be
JM
346902012-09-14 Joseph Myers <joseph@codesourcery.com>
34691
34692 [BZ #5044]
34693 * stdio-common/printf_fp.c: Include <stdbool.h> and
34694 <rounding-mode.h>.
34695 (___printf_fp): Determine rounding using get_rounding_mode and
34696 round_away.
34697 * stdio-common/tst-printf-round.c: New file.
34698 * stdio-common/Makefile (tests): Add tst-printf-round.
34699 (link-libm): New variable.
34700 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34701
9503345f
L
347022012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34703
34704 [BZ #14576]
34705 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34706 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34707 Likewise.
34708 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34709 Likewise.
34710
ad35fc00
JM
347112012-09-13 Joseph Myers <joseph@codesourcery.com>
34712
34713 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34714 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34715 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34716 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34717
6c9b0f68
JM
347182012-09-12 Joseph Myers <joseph@codesourcery.com>
34719
34720 [BZ #14518]
34721 * include/rounding-mode.h: New file.
34722 * sysdeps/generic/get-rounding-mode.h: Likewise.
34723 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34724 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34725 (MAX_VALUE): New macro.
34726 (MIN_VALUE): Likewise.
34727 (overflow_value): New function.
34728 (underflow_value): Likewise.
34729 (round_and_return): Use overflow_value and underflow_value to
34730 determine return values in overflow and underflow cases. Use
34731 round_away to determine rounding depending on rounding mode.
34732 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34733 determine return values in overflow and underflow cases.
34734 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34735 (struct test_results): New structure.
34736 (struct test): Use struct test_results to store expected results
34737 for all rounding modes.
34738 (TEST): Include expected results for all rounding modes.
34739 (test_in_one_mode): New function.
34740 (do_test): Use test_in_one_mode to compute and check results.
34741 Check results for all rounding modes.
34742 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34743 $(link-libm).
34744
19fcedd5
AM
347452012-12-09 Allan McRae <allan@archlinux.org>
34746
1e9d84cd 34747 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 34748
8bbfd2f1
JM
347492012-09-11 Joseph Myers <joseph@codesourcery.com>
34750
34751 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34752 (_G_int32_t): Likewise.
34753 (_G_uint16_t): Likewise.
34754 (_G_uint32_t): Likewise.
34755 (_G_HAVE_BOOL): Likewise.
34756 (_G_HAVE_ATEXIT): Likewise.
34757 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34758 (_G_HAVE_IO_FILE_OPEN): Likewise.
34759 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34760 (_G_int32_t): Likewise.
34761 (_G_uint16_t): Likewise.
34762 (_G_uint32_t): Likewise.
34763 (_G_HAVE_BOOL): Likewise.
34764 (_G_HAVE_ATEXIT): Likewise.
34765 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34766 (_G_HAVE_IO_FILE_OPEN): Likewise.
34767 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34768 (_G_int32_t): Likewise.
34769 (_G_uint16_t): Likewise.
34770 (_G_uint32_t): Likewise.
34771 (_G_HAVE_BOOL): Likewise.
34772 (_G_HAVE_ATEXIT): Likewise.
34773 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34774 (_G_HAVE_IO_FILE_OPEN): Likewise.
34775
b1dc5912
L
347762012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34777
34778 * csu/libc-tls.c: Update copyright years.
34779
0e886ef9
JM
347802012-09-10 Joseph Myers <joseph@codesourcery.com>
34781
28361c5e
JM
34782 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34783 [!_G_USING_THUNKS]: Remove conditional code.
34784 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34785 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34786
0e886ef9
JM
34787 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34788 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34789 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34790 (_G_VTABLE_LABEL_PREFIX): Likewise.
34791 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34792 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34793 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34794 (_G_VTABLE_LABEL_PREFIX): Likewise.
34795 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34796 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34797 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34798 (_G_VTABLE_LABEL_PREFIX): Likewise.
34799 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34800
bcba7aa2
L
348012012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34802
34803 * libio/Makefile: Include ../Makeconfig before tests.
34804 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34805 only if $(build-shared) is yes.
34806
06585ee8
L
34807 * iconv/gconv_db.c: Update copyright years.
34808
80ccd52c
LD
348092012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34810
34811 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34812 unwind info if defined PIC. Fix special cases description.
34813 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34814
34815 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34816 DP_HI_MASK entry.
34817 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34818
691bc9c1
L
348192012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34820
3d9b46b3
L
34821 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34822
de2139a9
L
34823 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34824 is NULL.
34825
5ca78dd0
L
34826 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34827 (LDLIBS-tst-chk4): This.
34828 (LDFLAGS-tst-chk5): Renamed to ...
34829 (LDLIBS-tst-chk5): This.
34830 (LDFLAGS-tst-chk6): Renamed to ...
34831 (LDLIBS-tst-chk6): This.
34832 (LDFLAGS-tst-lfschk4): Renamed to ...
34833 (LDLIBS-tst-lfschk4): This.
34834 (LDFLAGS-tst-lfschk5): Renamed to ...
34835 (LDLIBS-tst-lfschk5): This.
34836 (LDFLAGS-tst-lfschk6): Renamed to ...
34837 (LDLIBS-tst-lfschk6): This.
34838
691bc9c1
L
34839 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34840 on $(common-objpfx)soversions.mk.
34841
65cafb1c
JM
348422012-09-07 Joseph Myers <joseph@codesourcery.com>
34843
34844 [BZ #10014]
34845 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34846 example host name.
34847
c78ab094
SP
348482012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34849
34850 * malloc/arena.c (arena_get_retry): New function that gets
34851 another arena for the caller to try its request on.
34852 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34853 current arena cannot fulfill the request.
34854 (__libc_memalign): Likewise.
34855 (__libc_memalign): Likewise.
34856 (__libc_pvalloc): Likewise.
34857 (__libc_calloc): Likewise.
34858
01f49f59
JT
348592012-09-05 John Tobey <john.tobey@gmail.com>
34860
34861 [BZ #13542]
34862 * manual/arith.texi (Operations on Complex): Fix description
34863 of carg branch cut.
34864
4c23fed5
JM
348652012-09-06 Joseph Myers <joseph@codesourcery.com>
34866
1d3c8572
JM
34867 [BZ #10014]
34868 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34869 host name.
34870
4c23fed5
JM
34871 [BZ #10038]
34872 * manual/memory.texi (Memory): Make order of menu items match
34873 order of sections.
34874
04570aaa
L
348752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34876
34877 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34878 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34879 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34880
b80af2f4
L
348812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34882
34883 * csu/libc-tls.c (static_dtv): Renamed to ...
34884 (_dl_static_dtv): This. Make it global.
34885 (_dl_initial_dtv): Removed.
34886 (__libc_setup_tls): Updated.
34887 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34888 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34889 DL_INITIAL_DTV.
34890
2abe9f15
PM
348912012-09-06 Petr Machata <pmachata@redhat.com>
34892
34893 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34894 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34895 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34896 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34897
0948c3af
L
348982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34899
34900 [BZ #14545]
34901 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34902 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34903 freeing dtv[-1].
34904
a5055ad1
L
349052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34906
34907 [BZ #14544]
34908 * Makeconfig (link-static-before-libc): Replace $(+prector)
34909 with $(+prectorT).
34910 (link-static-after-libc): Replace $(+postctor) with
34911 $(+postctorT).
34912 (link-bounded): Replace $(+prector)/$(+postctor) with
34913 $(+prectorT)/$(+postctorT).
34914 (+prectorT): New macro.
34915 (+postctorT): Likewise.
34916
ed8c2ecd
JM
349172012-09-06 Joseph Myers <joseph@codesourcery.com>
34918
34919 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34920 (round_str): Handle values above the maximum for IBM long double
34921 as inexact.
34922 * stdlib/tst-strtod-round.c (tests): Regenerated.
34923
14c996c8
AK
349242012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34925
34926 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34927 assembler flag.
34928 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34929 zarch_nohighgprs around the zarch optimized routines.
34930 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34931 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34932 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34933 for zarch.
34934
430d6ce6
DM
349352012-09-05 David S. Miller <davem@davemloft.net>
34936
34937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34938
57f41c40
AS
34939 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34940 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
34941 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34942 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34943 entries.
34944
24d4e01b
AO
349452012-09-05 Alexandre Oliva <aoliva@redhat.com>
34946
34947 * malloc/arena.c: Fold copyright years.
34948 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34949
61d58174
AO
349502012-09-05 Alexandre Oliva <aoliva@redhat.com>
34951
34952 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34953
20196a5e
AO
349542012-09-05 Alexandre Oliva <aoliva@redhat.com>
34955
34956 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34957
5c447383
AO
349582012-09-05 Alexandre Oliva <aoliva@redhat.com>
34959
34960 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34961 change internal state upon failure.
34962
fad64255
AO
349632012-09-05 Alexandre Oliva <aoliva@redhat.com>
34964
34965 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34966 * malloc/memusage.c (mmap): Likewise.
34967 (mmap64, mremap): Likewise. Adjust name in comment.
34968
1ffb8c90
SP
349692012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34970
34971 * libio/fileops.c: Fix typos in comments.
34972 * libio/oldfileops.c: Likewise.
34973 * libio/wfileops.c: Likewise.
34974
6ef9cc37
SP
349752012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34976
34977 [BZ #1349]
34978 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34979 (tst-malloc-usable-ENV): Set environment for test case.
34980 * malloc/hooks.c (malloc_check_get_size): New function to get
34981 requested size.
34982 * malloc/malloc.c (musable): Use malloc_check_get_size.
34983 * malloc/tst-malloc-usable.c: New test case.
34984
4d038ae3
AS
349852012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34986
34987 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34988
c4e85184
AM
349892012-09-05 Allan McRae <allan@archlinux.org>
34990
b9dafc56 34991 [BZ #13966]
c4e85184
AM
34992 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34993 determine header location.
34994 * configure: Regenerated.
34995
e1343020
AS
349962012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34997
34998 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34999 float format.
35000 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
35001 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35002 format.
e1343020
AS
35003 (test): Regenerate.
35004
0a9f1987
DM
350052012-09-04 David S. Miller <davem@davemloft.net>
35006
35007 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35008 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35009 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35010
29237804
FW
350112012-09-04 Florian Weimer <fweimer@redhat.com>
35012
35013 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35014 failures.
35015
edb3cb88
FW
35016 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35017
60160d83
JM
350182012-09-04 Joseph Myers <joseph@codesourcery.com>
35019
35020 [BZ #9914]
35021 * libio/iogetdelim.c: Include <limits.h>.
35022 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35023 + len + 1 would overflow.
35024
bcd6c8dc
AJ
350252012-09-03 Andreas Jaeger <aj@suse.de>
35026
35027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35028 * sysdeps/i386/fpu/libm-test-ulps: Update.
35029
4ffffbd2
LD
350302012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35031
35032 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35033 Add s_sinf-sse2, s_conf-sse2.
35034
35035 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35036 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35037 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35038 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35039
35040 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35041 for using routine as __sinf_ia32.
35042 Use macro for function declaration and weak_alias.
35043 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35044 for using routine as __cosf_ia32.
35045 Use macro for function declaration and weak_alias.
35046
35047 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35048 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35049
35050 * sysdeps/x86_64/fpu/s_sinf.S: New file.
35051 * sysdeps/x86_64/fpu/s_cosf.S: New file.
35052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35053
35054 * math/libm-test.inc (cos_test): Add more test cases.
35055 (sin_test): Likewise.
35056 (sincos_test): Likewise.
35057
511fa286
AK
350582012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35059
35060 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35061 (IFUNC_RESOLVE): Make pointers to the specialized implementations
35062 hidden.
35063 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35064
5f30cfec
L
350652012-09-02 H.J. Lu <hongjiu.lu@intel.com>
35066
35067 [BZ #14538]
35068 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35069 first element of the GOT.
35070 (elf_machine_load_address): Return the difference between
35071 the runtime address of _DYNAMIC and elf_machine_dynamic ().
35072
0786794f
AM
350732012-09-01 Allan McRae <allan@archlinux.org>
35074
5f30cfec
L
35075 [BZ #13412]
35076 * configure.in (AWK): Require gawk version 3.0 or later.
35077 * configure: Regenerated.
0786794f 35078
26889eac
JM
350792012-09-01 Joseph Myers <joseph@codesourcery.com>
35080
35081 * sysdeps/unix/sysv/linux/kernel-features.h
35082 (__ASSUME_POSIX_CPU_TIMERS): Remove.
35083 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35084 [__NR_clock_getres]: Make code unconditional.
35085 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35086 (clock_getcpuclockid): Remove code left unreachable by removal of
35087 conditionals.
35088 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35089 code unconditional.
35090 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35091 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35092 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35093 Make code unconditional.
35094 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35095 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35096 * sysdeps/unix/sysv/linux/clock_settime.c
35097 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35098 conditional code.
35099 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35100 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35101
d22e28b0
L
351022012-08-29 H.J. Lu <hongjiu.lu@intel.com>
35103
35104 [BZ #14476]
35105 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35106 scripts/test-installation.pl.
35107
35108 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35109 and $ld_so_version if it is set.
35110
050af9c4
SP
351112012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35112
35113 [BZ #14516]
35114 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35115 failure if reading from procfs failed.
35116 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35117
ad845c0b
JM
351182012-08-27 Joseph Myers <joseph@codesourcery.com>
35119
35120 * sysdeps/unix/sysv/linux/kernel-features.h
35121 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35122 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35123 Remove conditional code.
35124 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35125 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35126 Remove conditional code.
35127 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35128 * sysdeps/unix/sysv/linux/i386/fxstat.c
35129 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35130 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35131 * sysdeps/unix/sysv/linux/i386/fxstatat.c
35132 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35133 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35134 * sysdeps/unix/sysv/linux/i386/lxstat.c
35135 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35136 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35137 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35138 Remove conditional code.
35139 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35140 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35141 Remove conditional code.
35142 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35143 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35144 <kernel-features.h>.
35145 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35146 Remove.
35147 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35148 Remove conditional code.
35149 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35150 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35151 Remove conditional.
35152
5dbf56af
MF
351532012-08-27 Mike Frysinger <vapier@gentoo.org>
35154
35155 [BZ #5400]
35156 * NEWS: Add fixed bug number.
35157
d6e70f43
JM
351582012-08-27 Joseph Myers <joseph@codesourcery.com>
35159
7efb4737
JM
35160 [BZ #14519]
35161 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35162 underflowing exponent in case of negative sign.
35163 * stdlib/tst-strtod-round-data: Add more tests.
35164 * stdlib/tst-strtod-round.c (tests): Regenerated.
35165
af92131a
JM
35166 [BZ #3479]
35167 * stdlib/strtod_l.c (NDIG): Remove.
35168 (HEXNDIG): Likewise.
35169 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35170 smallest representable value.
35171 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35172 lie within an exact representation of 1/2 ulp of the result.
35173 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35174 unconditionally.
35175 (TENS_P9_IDX): Define unconditionally.
35176 (TENS_P9_SIZE): Likewise.
35177 (TENS_P10_IDX): Likewise.
35178 (TENS_P10_SIZE): Likewise.
35179 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35180 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35181 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35182 entries for 10^2^13 and 10^2^14.
35183 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35184 (TENS_P13_IDX): Define.
35185 (TENS_P13_SIZE): Likewise.
35186 (TENS_P14_IDX): Likewise.
35187 (TENS_P14_SIZE): Likewise.
35188 (_fpioconst_pow10): Change array size to
35189 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
35190 unconditional.
35191 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35192 1024]: Add entries for 10^2^13 and 10^2^14.
35193 [LAST_POW10 > _LAST_POW10]: Remove #error.
35194 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35195 (_fpioconst_pow10): Change array size to
35196 FPIOCONST_POW10_ARRAY_SIZE.
35197 * stdlib/gen-fpioconst.c: New file.
35198 * stdlib/gen-tst-strtod-round.c: Likewise.
35199 * stdlib/tst-strtod-round-data: Likewise.
35200 * stdlib/tst-strtod-round.c: Likewise.
35201 * stdlib/Makefile (tests): Add tst-strtod-round.
35202
d6e70f43
JM
35203 [BZ #14459]
35204 * stdlib/strtod_l.c: Include <stdint.h>.
35205 (NDEBUG): Do not define.
35206 (round_and_return): Change EXPONENT parameter to type intmax_t.
35207 Rearrange calculations to avoid internal overflow possibilities.
35208 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35209 Rearrange calculations to avoid internal overflow possibilities.
35210 Assert that number fits inside MPNSIZE limbs.
35211 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35212 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
35213 calculations and add assertions to avoid internal overflow
35214 possibilities. Add casts to avoid signed/unsigned operations.
35215 * stdlib/tst-strtod-overflow.c: New file.
35216 * stdlib/Makefile (tests): Add tst-strtod-overflow.
35217
1f529f7d
MP
352182012-08-25 Marek Polacek <polacek@redhat.com>
35219
35220 * time/time.h: Fix some typos in comments.
35221
59a629f1
RM
352222012-08-23 Roland McGrath <roland@hack.frob.com>
35223
35224 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35225 * posix/tst-rfc3484-2.c: Likewise.
35226 * posix/tst-rfc3484-3.c: Likewise.
35227
d3bafbc9
SM
352282012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
35229
35230 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35231 (EF_ARM_ABI_FLOAT_HARD): Likewise.
35232
4efcc022
JM
352332012-08-23 Joseph Myers <joseph@codesourcery.com>
35234
35235 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35236 #include of fxstatat64.c.
35237
3cc3ef96
RM
352382012-08-22 Roland McGrath <roland@hack.frob.com>
35239
f04e2132
RM
35240 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35241 * shadow/getspent_r.c: Likewise.
35242 * shadow/getspnam.c: Likewise.
35243 * shadow/getspnam_r.c: Likewise.
35244 * gshadow/getsgent.c: Likewise.
35245 * gshadow/getsgent_r.c: Likewise.
35246 * gshadow/getsgnam.c: Likewise.
35247 * gshadow/getsgnam_r.c: Likewise.
35248 * inet/getnetbyad.c: Likewise.
35249 * inet/getnetbyad_r.c: Likewise.
35250 * inet/getnetbynm.c: Likewise.
35251 * inet/getnetbynm_r.c: Likewise.
35252 * inet/getnetent.c: Likewise.
35253 * inet/getnetent_r.c: Likewise.
35254 * inet/getproto.c: Likewise.
35255 * inet/getproto_r.c: Likewise.
35256 * inet/getprtent.c: Likewise.
35257 * inet/getprtent_r.c: Likewise.
35258 * inet/getprtname.c: Likewise.
35259 * inet/getprtname_r.c: Likewise.
35260 * inet/getrpcbyname.c: Likewise.
35261 * inet/getrpcbyname_r.c: Likewise.
35262 * inet/getrpcbynumber.c: Likewise.
35263 * inet/getrpcbynumber_r.c: Likewise.
35264 * inet/getrpcent.c: Likewise.
35265 * inet/getrpcent_r.c: Likewise.
35266 * inet/getaliasent.c: Likewise.
35267 * inet/getaliasent_r.c: Likewise.
35268 * inet/getaliasname.c: Likewise.
35269 * inet/getaliasname_r.c: Likewise.
35270 * nscd/getgrgid_r.c: Likewise.
35271 * nscd/getgrnam_r.c: Likewise.
35272 * nscd/gethstbyad_r.c: Likewise.
35273 * nscd/gethstbynm3_r.c: Likewise.
35274 * nscd/getpwnam_r.c: Likewise.
35275 * nscd/getpwuid_r.c: Likewise.
35276 * nscd/getsrvbynm_r.c: Likewise.
35277 * nscd/getsrvbypt_r.c: Likewise.
35278 * nscd/gai.c: Likewise.
35279
c53d909c
RM
35280 * configure.in (build_nscd): New substituted variable, set
35281 by --disable-build-nscd and defaults to $use_nscd.
35282 * configure: Regenerated.
35283 * config.make.in (build-nscd): New substituted variable.
35284 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35285 Change conditional to require [$(build-nscd) = yes] as well.
35286 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35287
3cc3ef96
RM
35288 [BZ# 13696]
35289 * configure.in (use_nscd): New substituted variable, set by
35290 --disable-nscd. If enabled, define USE_NSCD.
35291 * configure: Regenerated.
35292 * config.h.in: Add USE_NSCD.
35293 * config.make.in (use-nscd): New substituted variable.
35294 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35295 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35296 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35297 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35298 (CFLAGS-getgrnam_r.c): Likewise.
35299 (CFLAGS-initgroups.c): Likewise.
35300 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35301 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35302 Variables removed.
35303 * inet/getnetgrent_r.c
35304 (nscd_setnetgrent): New function, broken out of ...
35305 (setnetgrent): ... here. Call it.
35306 (innetgr): Conditionalize nscd bits on [USE_NSCD].
35307 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35308 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35309 * nscd/Makefile (routines, aux): Move definitions after include of
35310 Makeconfig. Conditionalize on [$(use-nscd) != no].
35311 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35312 Conditionalize on [USE_NSCD].
35313 (is_nscd, nscd_init_cb): Likewise.
35314 (nss_load_library): Conditionalize init callback on [USE_NSCD].
35315 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35316 * nss/nss_db/db-init.c: Likewise.
35317 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35318 [USE_NSCD].
35319 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35320 (make_request): Use it.
35321 (cache_valid_p): New function.
35322 (__check_pf): Use it.
35323 * NEWS: Add item for --disable-nscd.
35324
07e51550
DL
353252012-08-22 Dmitry V. Levin <ldv@altlinux.org>
35326
35327 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35328 to support sed >= 4.2.1-20-ga9bf076.
35329 * configure: Regenerated.
35330
35a5b08b
RM
353312012-08-22 Roland McGrath <roland@hack.frob.com>
35332
35333 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35334 Conditionalize whole body on [IREL].
35335
8479f23a
JL
353362012-08-22 Jeff Law <law@redhat.com>
35337
35338 [BZ #14505]
35339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35340 if the family is PF_UNSPEC.
35341
48da0b21
MF
353422012-08-22 Mike Frysinger <vapier@gentoo.org>
35343
35344 * Makerules (lib-version): Rename from V.
35345 (install-lib-nosubdir): Change V to lib-version.
35346
15d0da8c
WS
353472012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
35348
35349 [BZ #14252]
35350 * powerpc32/power6/wcschr.c: New file.
35351 * powerpc32/power6/wcscpy.c: New file.
35352 * powerpc32/power6/wcsrchr.c: New file.
35353 * powerpc64/power6/wcschr.c: New file.
35354 * powerpc64/power6/wcscpy.c: New file.
35355 * powerpc64/power6/wcsrchr.c: New file.
35356
bcca0895
MK
353572012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35358
35359 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35360 (two_way_short_needle): Use it.
5a4aaa33
RM
35361 * string/strstr.c (AVAILABLE1_USES_J): Define.
35362 * string/strcasestr.c: Likewise.
99677e57
MK
35363
35364 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35365 array references.
35366 * string/strcasestr.c (TOLOWER): Make side-effect safe.
35367
400726de
MK
35368 [BZ #11607]
35369 * NEWS: Add an entry.
35370 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35371 define their defaults.
35372 (two_way_short_needle): Detect end-of-string on-the-fly.
35373 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35374 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35375 * string/bug-strcasestr1.c: New test.
35376 * string/Makefile: Run it.
35377
20a71f2c
MK
353782012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35379
35380 [BZ #11607]
35381 * string/str-two-way.h (two_way_short_needle): Optimize matching of
35382 the first character.
35383
21ad0558
RM
353842012-08-21 Roland McGrath <roland@hack.frob.com>
35385
35386 * csu/elf-init.c (__libc_csu_irel): Function removed.
35387 * csu/libc-start.c (apply_irel): New function.
35388 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35389
0e1d9911
JM
353902012-08-21 Joseph Myers <joseph@codesourcery.com>
35391
35392 * sysdeps/unix/sysv/linux/kernel-features.h
35393 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35394 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35395 <kernel-features.h>.
35396 [__NR_fadvise64_64]: Make code unconditional.
35397 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35398 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35399 !__NR_fadvise64_64)]: Likewise.
35400 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35401 !__NR_fadvise64_64))]: Likewise.
35402 [__NR_fadvise64]: Make code unconditional.
35403 [!__NR_fadvise64]: Remove conditional code.
35404 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35405 <kernel-features.h>.
35406 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35407 unconditional.
35408 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35409 conditional code.
35410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35411 not include <kernel-features.h>.
35412 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35413 unconditional.
35414 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35415 conditional code.
35416 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35417 include <kernel-features.h>.
35418 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35419 unconditional.
35420 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35421 conditional code.
35422
14a50c9d
WS
354232012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35424
35425 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35426 slight instruction rearrangements per scrollpipe analysis.
35427 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35428
c0f4faf0
RM
354292012-08-20 Roland McGrath <roland@hack.frob.com>
35430
696da859
RM
35431 * manual/syslog.texi (syslog; vsyslog, closelog):
35432 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35433 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35434
c0f4faf0
RM
35435 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35436 DSOCAPS to match condition on defining it.
35437
348363b2
JM
354382012-08-20 Joseph Myers <joseph@codesourcery.com>
35439
a35cbf28
JM
35440 * sysdeps/unix/sysv/linux/kernel-features.h
35441 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35443 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35444 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35446 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35447 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35449 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35450 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35451
445f7ecd
JM
35452 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35453 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35454
348363b2
JM
35455 * sysdeps/unix/sysv/linux/kernel-features.h
35456 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35457 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35458 unconditional.
35459 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35460 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35461 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35462 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35463 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35464 Make code unconditional.
35465 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35466 (__mmap64) [!__NR_mmap2]: Likewise.
35467 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35468 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35469 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35470 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35471 [__NR_mmap2]: Make code unconditional.
35472 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35473 (__mmap64) [!__NR_mmap2]: Likewise.
35474
bc5bc0e5
AK
354752012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35476
35477 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35478
88d506de
AJ
354792012-08-18 Andreas Jaeger <aj@suse.de>
35480
35481 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35482
493387d2
MF
354832012-08-18 Mike Frysinger <vapier@gentoo.org>
35484
35485 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35486 * include/unistd.h (__have_sock_cloexec): Likewise.
35487 (__have_pipe2): Likewise.
35488 (__have_dup3): Likewise.
35489
a277af22
MF
354902012-08-18 Mike Frysinger <vapier@gentoo.org>
35491
35492 [BZ #9685]
35493 * include/unistd.h (__have_pipe2): Change define into an extern int.
35494 (__have_dup3): Likewise.
35495 * socket/have_sock_cloexec.c: Include fcntl.h.
35496 (__have_pipe2): New variable.
35497 (__have_dup3): Likewise.
35498
fdab8fd3
MF
354992012-08-17 Mike Frysinger <vapier@gentoo.org>
35500
35501 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35502
31035e80
MP
355032012-08-17 Marek Polacek <polacek@redhat.com>
35504
35505 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35506 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35507
3bd9e993
RM
355082012-08-17 Roland McGrath <roland@hack.frob.com>
35509
c91c505f
RM
35510 * configure.in: Add AC_SUBST for sysheaders.
35511 * configure: Regenerated.
35512 * config.make.in (sysheaders): New substituted variable.
35513
7c6f9d53
RM
35514 * sysdeps/unix/mkfifo.c: Moved ...
35515 * sysdeps/posix/mkfifo.c: ... here.
35516 * sysdeps/unix/mkfifoat.c: Moved ...
35517 * sysdeps/posix/mkfifoat.c: ... here.
35518
35519 * sysdeps/unix/utime.c: Moved ...
35520 * sysdeps/posix/utime.c: ... here.
35521
35522 * sysdeps/unix/time.c: Moved ...
35523 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
35524 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35525 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
35526
35527 * sysdeps/unix/nice.c: Moved ...
35528 * sysdeps/posix/nice.c: ... here.
35529
35530 * sysdeps/unix/alarm.c: Moved ...
35531 * sysdeps/posix/alarm.c: ... here.
35532
3bd9e993
RM
35533 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35534
d1f09384
JL
355352012-08-17 Jeff Law <law@redhat.com>
35536
35537 * intl/Makefile (codeset_mo): New variable.
35538 ($(codeset_mo)): New target.
35539 (tst-codeset.out): Depend on that. Remove explicit rule.
35540 (tst-gettext3.out, tst-gettext5.out): Likewise.
35541 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35542 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35543 * intl/tst-codeset.sh: Remove.
35544 * intl/tst-gettext3.sh: Likewise.
35545 * intl/tst-gettext5.sh: Likewise.
35546
2ae1ae5c
RM
355472012-08-17 Roland McGrath <roland@hack.frob.com>
35548
c31fdb83
RM
35549 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35550 * sysdeps/unix/syscalls.list: ... here.
35551
a0844057
RM
35552 * sysdeps/posix/getaddrinfo.c
35553 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35554 (gaiconf_init, gaiconf_reload): Use them.
35555 [!_STATBUF_ST_NSEC]
35556 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35557 Define using time_t rather than struct timespec.
35558
750c1f2a
RM
35559 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35560 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35561 Macros removed.
35562 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35563 [!NO_THREADS].
35564 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35565 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35566 Likewise.
35567
2ae1ae5c
RM
35568 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35569 __libc_cleanup_push argument.
35570
e66a42f5
RM
35571 * bits/param.h: New file.
35572 * misc/sys/param.h: New file.
35573 * include/sys/param.h: New file.
35574 * misc/Makefile (headers): Add bits/param.h.
35575 * sysdeps/generic/sys/param.h: File removed.
35576 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35577 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35578 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 35579 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 35580
b7c08a66
RM
35581 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35582 last change.
35583
b2e1c562
RM
35584 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35585 [_IO_MTSAFE_IO].
35586 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35587 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35588 New macros.
35589
c75ccd4c
RM
35590 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35591 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35592 rather than -D_IO_MTSAFE_IO conditionally.
35593 * stdio-common/Makefile (CPPFLAGS): Likewise.
35594 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35595 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35596 Use $(libio-mtsafe).
35597 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35598 of -D_IO_MTSAFE_IO.
35599 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35600 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35601 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35602 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35603 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35604 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35605 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35606 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35607 (CFLAGS-fread_u_chk.c): Likewise.
35608 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35609 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35610 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35611 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35612 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35613 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35614 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35615 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35616 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35617
35618 * libio/Makefile: Test [$(libc-reentrant) = yes]
35619 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35620
35621 * Makeconfig
35622 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35623 * sysdeps/pthread/configure: File removed.
35624 * sysdeps/pthread/Makeconfig: New file.
35625 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35626 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35627
d9195db8
GB
356282012-08-16 Gary Benson <gbenson@redhat.com>
35629
35630 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35631 unmapping the first object in a namespace.
35632
86466cd9
RM
356332012-08-16 Roland McGrath <roland@hack.frob.com>
35634
35635 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35636 (__internal_setnetgrent): ... this. Add internal_function to
35637 definition. Add libc_hidden_def.
35638 (setnetgrent): Update caller.
35639 (internal_endnetgrent): Renamed to ...
35640 (__internal_endnetgrent): ... this. Add internal_function to
35641 definition. Add libc_hidden_def.
35642 (endnetgrent): Update caller.
35643 (internal_getnetgrent_r): Renamed to ...
35644 (__internal_getnetgrent_r): ... this. Add internal_function to
35645 definition. Add libc_hidden_def.
35646 (__getnetgrent_r): Update caller.
35647 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35648
c3c8283c
JM
356492012-08-16 Joseph Myers <joseph@codesourcery.com>
35650
35651 * stdlib/longlong.h: Update from GCC.
35652
db1ee0a8
RM
356532012-08-16 Roland McGrath <roland@hack.frob.com>
35654
35655 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35656 on _QL, which is set by umul_ppmm but never used.
35657 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35658 variables, which are set by GMP macros but never used.
35659 * stdio-common/_itowa.c (_itowa): Likewise.
35660 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35661 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35662
30f69637
CD
356632012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35664
35665 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35666 struct La_sh_regs is not constant.
35667 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35668 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35669 and struct La_sparc64_regs are not constant.
35670
93a78ac4
JM
356712012-08-16 Joseph Myers <joseph@codesourcery.com>
35672
35673 * sysdeps/unix/sysv/linux/kernel-features.h
35674 (__ASSUME_POSIX_TIMERS): Remove.
35675 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35676 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35677 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35678 Make code unconditional.
35679 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35680 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35681 Make code unconditional.
35682 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35683 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35684 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35685 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35686 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35687 Make code unconditional.
35688 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35689 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35690 (__libc_missing_posix_timers): Remove.
35691
dd924cd7
RM
356922012-08-15 Roland McGrath <roland@hack.frob.com>
35693
4b4f2771
RM
35694 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35695 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35696
601c888b
RM
35697 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35698
176790a7
RM
35699 * elf/dl-sym.c: Include <stdlib.h>.
35700
329bc018
RM
35701 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35702 constants, which avoids warnings in 32-bit builds.
35703
e04e272d
RM
35704 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35705 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35706
952bf94a
RM
35707 * misc/lseek.c: File moved to ...
35708 * io/lseek.c: ... here.
35709
7c99b50a
RM
35710 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35711
dd924cd7
RM
35712 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35713 shifting LEN more than 31 bits at once.
35714
b3f479a8
LD
357152012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35716
35717 [BZ #14195]
8c4ae0d4
RM
35718 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35719 segmentation fault for a case of two empty input strings.
b3f479a8
LD
35720 * string/test-strncasecmp.c (check1): Renamed to...
35721 (bz12205): ...this.
35722 (bz14195): Add new testcase for two empty input strings and N > 0.
35723 (test_main): Call new testcase, adapt for renamed function.
35724
9c55864e
AJ
357252012-08-15 Andreas Jaeger <aj@suse.de>
35726
35727 [BZ #14090]
35728 * crypt/md5test2.c: New test, based on test supplied by Serge
35729 Belyshev <belyshev@depni.sinp.msu.ru>.
35730 * crypt/Makefile (xtests): Add md5test-giant..
35731 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35732
02dcb6c5
PE
357332012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35734
35735 [BZ #14090]
35736 * crypt/md5.c (md5_process_block): Don't assume the buffer
35737 length is less than 2**32.
35738 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35739 length is less than 2**64.
35740
a3f95dcc
RM
357412012-08-15 Roland McGrath <roland@hack.frob.com>
35742
be75d758
RM
35743 * string/str-two-way.h: Include <sys/param.h>.
35744 (MAX): Macro removed.
35745
7312ca90
RM
35746 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35747 Move #define and #undef of memmove to just before and after
35748 including <string.h>.
35749
9a0a5486
RM
35750 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35751 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35752 and after including <string.h>. Move declarations of
35753 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35754 to before #include "string/memmove.c".
35755
67cc348d
RM
35756 * include/dirent.h: Declare __getdirentries.
35757
a3f95dcc
RM
35758 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35759 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35760
ca98e171
MF
357612012-08-14 Mike Frysinger <vapier@gentoo.org>
35762
35763 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35764 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35765 * sysdeps/i386/configure: Regenerated.
35766 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35767 STABS_CURRENT_FILE, and STABS_FUN.
35768 (END): Remove call to STABS_FUN_END.
35769 (STABS_CURRENT_FILE1): Delete.
35770 (STABS_CURRENT_FILE): Likewise.
35771 (STABS_FUN): Likewise.
35772 (STABS_FUN_END): Likewise.
35773 (STABS_FUN2): Likewise.
35774 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35775 * sysdeps/x86_64/configure: Regenerated.
35776
5908bf46
RM
357772012-08-14 Roland McGrath <roland@hack.frob.com>
35778
35779 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 35780 * elf/dl-lookup.c: Likewise.
5908bf46 35781
f2c05b9e
JM
357822012-08-14 Joseph Myers <joseph@codesourcery.com>
35783
35784 * sysdeps/unix/sysv/linux/kernel-features.h
35785 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35786 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35787 unconditionally.
35788 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35789 unconditionally.
35790 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35791 condition on __ASSUME_CLONE_THREAD_FLAGS.
35792
e11f5155
AJ
357932012-08-14 Andreas Jaeger <aj@suse.de>
35794
35795 * sysdeps/i386/fpu/libm-test-ulps: Update.
35796
51a9ba86
MK
357972012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35798
2fdd4f78
AJ
35799 * include/atomic.h (atomic_exchange_and_add): Split into ...
35800 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35801 New atomic macros.
51a9ba86 35802
ba6cba9e
MT
358032012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35804
35805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35806
42443a47
JL
358072012-08-13 Jeff Law <law@redhat.com>
35808
35809 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35810 null byte in the output string.
35811
121dce05
JM
358122012-08-10 Joseph Myers <joseph@codesourcery.com>
35813
35814 * sysdeps/unix/sysv/linux/kernel-features.h
35815 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35816 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35817 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35818 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35819 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35820 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35821 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35822
bf51f568
JL
358232012-08-09 Jeff Law <law@redhat.com>
35824
35825 [BZ #13939]
35826 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35827 When avoid_arena is set, don't retry in the that arena. Pick the
35828 next one, whatever it might be.
35829 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35830 (arena_lock): Pass in new parameter to arena_get2.
35831 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35832 arena_get2.
35833 (__libc_malloc): Unify retrying after main arena failure with
35834 __libc_memalign version.
35835 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35836
f85fa270
L
358372012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35838
35839 [BZ #14166]
35840 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35841 to __redirect_strstr.
35842 (__strstr_sse42): Use typeof __redirect_strstr.
35843 (__strstr_ia32): Likewise.
35844 (__libc_strstr): New prototype.
35845 (strstr): Renamed to ...
35846 (__libc_strstr): This.
35847 (strstr): New strong alias of __libc_strstr.
35848 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35849 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35850 __redirect_time.
35851 Include <time.h>.
35852 (__libc_time): New prototype.
35853 (time_ifunc): Replace time with __libc_time.
35854 (time): New strong alias and hidden definition of __libc_time.
35855 (__GI_time): Remove strong alias.
35856 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35857 Include <stddef.h>.
35858 (memmove): Redefined to __redirect_memmove.
35859 (__memmove_sse2): Use typeof __redirect_memmove.
35860 (__memmove_ssse3): Likewise.
35861 (__memmove_ssse3_back): Likewise.
35862 (__libc_memmove): New prototype.
35863 (memmove): Renamed to ...
35864 (__libc_memmove): This.
35865 (memmove): New strong alias of __libc_memmove.
35866
33b4a91e
MS
358672012-08-08 Mark Salter <msalter@redhat.com>
35868
35869 * elf/elf.h
35870 (R_MN10300_TLS_GD): Define.
35871 (R_MN10300_TLS_LD): Likewise.
35872 (R_MN10300_TLS_LDO): Likewise.
35873 (R_MN10300_TLS_GOTIE): Likewise.
35874 (R_MN10300_TLS_IE): Likewise.
35875 (R_MN10300_TLS_LE): Likewise.
35876 (R_MN10300_TLS_DTPMOD): Likewise.
35877 (R_MN10300_TLS_DTPOFF): Likewise.
35878 (R_MN10300_TLS_TPOFF): Likewise.
35879 (R_MN10300_SYM_DIFF): Likewise.
35880 (R_MN10300_ALIGN): Likewise.
35881 (R_MN10300_NUM): Update.
35882
b36137f1
JM
358832012-08-08 Joseph Myers <joseph@codesourcery.com>
35884
35885 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35886 Remove.
35887
cdd915fd
RM
358882012-08-08 Roland McGrath <roland@hack.frob.com>
35889
a2433aac
RM
35890 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35891
cdd915fd
RM
35892 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35893 sysdeps/unix -> sysdeps/posix move.
35894 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35895
bf9b740a
AM
358962012-08-07 Allan McRae <allan@archlinux.org>
35897
35898 [BZ #14303]
35899 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35900 (SUNOS_CPP): Likewise.
35901 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35902 not found.
35903 (open_input): Call CPP using execvp.
35904
93df14ee
JM
359052012-08-07 Joseph Myers <joseph@codesourcery.com>
35906
35907 * sysdeps/unix/sysv/linux/kernel-features.h
35908 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35909 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35910 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35911 (__ASSUME_WAITID_SYSCALL): Likewise.
35912 * sysdeps/unix/sysv/linux/dl-execstack.c
35913 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35914 code unconditional.
35915 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35916 conditional code.
35917 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35918 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35919 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35920 code.
35921 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35922 unconditional.
35923 [__ASSUME_WAITID_SYSCALL]: Likewise.
35924 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35925
d34689de
RM
359262012-08-07 Roland McGrath <roland@hack.frob.com>
35927
a281decc
RM
35928 * sysdeps/unix/closedir.c: Renamed to ...
35929 * sysdeps/posix/closedir.c: ... here.
35930 * sysdeps/unix/dirfd.c: Renamed to ...
35931 * sysdeps/posix/dirfd.c: ... here.
35932 * sysdeps/unix/dirstream.h: Renamed to ...
35933 * sysdeps/posix/dirstream.h: ... here.
35934 * sysdeps/unix/fdopendir.c: Renamed to ...
35935 * sysdeps/posix/fdopendir.c: ... here.
35936 * sysdeps/unix/opendir.c: Renamed to ...
35937 * sysdeps/posix/opendir.c: ... here.
35938 * sysdeps/unix/readdir.c: Renamed to ...
35939 * sysdeps/posix/readdir.c: ... here.
35940 * sysdeps/unix/readdir_r.c: Renamed to ...
35941 * sysdeps/posix/readdir_r.c: ... here.
35942 * sysdeps/unix/rewinddir.c: Renamed to ...
35943 * sysdeps/posix/rewinddir.c: ... here.
35944 * sysdeps/unix/seekdir.c: Renamed to ...
35945 * sysdeps/posix/seekdir.c: ... here.
35946 * sysdeps/unix/telldir.c: Renamed to ...
35947 * sysdeps/posix/telldir.c: ... here.
35948 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35949 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35950 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35951 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35952
22895b47
RM
35953 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35954 * bits/fcntl.h: ... here.
35955
707a53b6
RM
35956 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35957 not 0.
35958 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35959 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35960 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35961 (struct flock): Move l_start, l_len to the beginning.
35962 Use __pid_t for l_pid.
35963 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35964 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35965 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35966 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35967 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35968 [__USE_LARGEFILE64] (struct flock64): New type.
35969 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35970
f0bd3e25
RM
35971 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35972 * bits/dirent.h: ... here.
35973
d34689de
RM
35974 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35975 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35976
6dad2c06
JM
359772012-08-07 Joseph Myers <joseph@codesourcery.com>
35978
35979 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35980 Change from 2.6.0 to 2.6.16.
35981 * sysdeps/unix/sysv/linux/configure: Regenerated.
35982 * sysdeps/unix/sysv/linux/kernel-features.h
35983 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35984 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35985 version.
35986 (__ASSUME_UTIMES): Likewise.
35987 (__ASSUME_CLONE_STOPPED): Remove.
35988 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35989 architectures, not kernel version.
35990 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35991 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35992 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35993 (__ASSUME_WAITID_SYSCALL): Likewise.
35994 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35995 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35996 * README: State 2.6.16 as minimum Linux kernel version. Do not
35997 refer to older versions.
35998
03af9520
RM
359992012-08-06 Roland McGrath <roland@hack.frob.com>
36000
8e49df1d
RM
36001 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36002 Define alphasort64 as an alias.
36003 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36004 Define versionsort64 as an alias.
36005 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36006 Define scandir64 as an alias.
36007 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36008 Define scandirat64 as an alias.
36009 * dirent/alphasort64.c (alphasort64):
36010 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36011 * dirent/versionsort64.c: Likewise.
36012 * dirent/scandir64.c: Likewise.
36013 * dirent/scandirat64.c: Likewise.
36014 * sysdeps/wordsize-64/alphasort.c: File removed.
36015 * sysdeps/wordsize-64/alphasort64.c: File removed.
36016 * sysdeps/wordsize-64/scandir.c: File removed.
36017 * sysdeps/wordsize-64/scandir64.c: File removed.
36018 * sysdeps/wordsize-64/scandirat.c: File removed.
36019 * sysdeps/wordsize-64/scandirat64.c: File removed.
36020 * sysdeps/wordsize-64/versionsort.c: File removed.
36021 * sysdeps/wordsize-64/versionsort64.c: File removed.
36022 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36023 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36024 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36025 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36026 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36027 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36028 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36029 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36030
36031 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36032 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36033 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36034 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36035 [defined __arch64__ || defined __sparcv9]
36036 (__INO_T_MATCHES_INO64_T): New macro.
36037 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36038 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36039 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36040 * sysdeps/unix/sysv/linux/bits/dirent.h
36041 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36042 (_DIRENT_MATCHES_DIRENT64): New macro.
36043
03af9520
RM
36044 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36045 Define lockf64 as an alias.
36046 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36047 Define fseeko64 as an alias.
36048 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36049 Define ftello64 as an alias.
36050 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36051 Define _IO_fgetpos64 and fgetpos64 as aliases.
36052 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36053 Define _IO_fsetpos64 and fsetpos64 as aliases.
36054 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36055 Conditionalize body on this.
36056 * libio/fseeko64.c: Likewise.
36057 * libio/ftello64.c: Likewise.
36058 * libio/iofgetpos64.c: Likewise.
36059 * libio/iofsetpos64.c: Likewise.
36060 * sysdeps/wordsize-64/lockf.c: File removed.
36061 * sysdeps/wordsize-64/lockf64.c: File removed.
36062 * sysdeps/wordsize-64/fseeko.c: File removed.
36063 * sysdeps/wordsize-64/fseeko64.c: File removed.
36064 * sysdeps/wordsize-64/ftello.c: File removed.
36065 * sysdeps/wordsize-64/ftello64.c: File removed.
36066 * sysdeps/wordsize-64/iofgetpos.c: File removed.
36067 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36068 * sysdeps/wordsize-64/iofsetpos.c: File removed.
36069 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36070 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36071 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36072 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36073 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36074 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36075 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36076 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36077 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36078 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36079 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36080
36081 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36082 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36083 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36084 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36085 [defined __arch64__ || defined __sparcv9]
36086 (__OFF_T_MATCHES_OFF64_T): New macro.
36087 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36088 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36089 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36090 (__OFF_T_MATCHES_OFF64_T): New macro.
36091
c5757acd
L
360922012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36093
36094 * stdlib/secure-getenv.c (__secure_getenv): Replace
36095 GLIBC_2_16 with GLIBC_2_17.
36096
3a31811e
L
360972012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36098
36099 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36100 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36101
faa2bccb
DM
361022012-08-03 David S. Miller <davem@davemloft.net>
36103
36104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36105
85fe1997
JM
361062012-08-03 Joseph Myers <joseph@codesourcery.com>
36107
36108 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36109 Remove.
36110 (__ASSUME_CORRECT_SI_PID): Likewise.
36111 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36112 (__ASSUME_TMPFS_NAME): Likewise.
36113 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36114 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36115 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36116 (HAVE_AUX_SECURE): Make definition unconditional.
36117 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36118 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36119
4f75b7a0
RM
361202012-08-03 Roland McGrath <roland@hack.frob.com>
36121
36122 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36123 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36124 * sysdeps/mach/hurd/eloop-threshold.h: New file.
36125 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36126 __eloop_threshold instead of SYMLOOP_MAX.
36127
36128 * sysdeps/generic/eloop-threshold.h: New file.
36129 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36130 of MAXSYMLINKS.
36131 * elf/chroot_canon.c (chroot_canon): Likewise.
36132
7aab07e4
JM
361332012-08-03 Joseph Myers <joseph@codesourcery.com>
36134
36135 [BZ #13717]
36136 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36137 Change to 2.6.0 everywhere.
36138 * sysdeps/unix/sysv/linux/configure: Regenerated.
36139 * sysdeps/unix/sysv/linux/kernel-features.h
36140 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36141 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36142 kernel versions.
36143 (__ASSUME_POSIX_TIMERS): Define unconditionally.
36144 (__ASSUME_FUTEX_REQUEUE): Remove.
36145 (__ASSUME_STATFS64): Define unconditionally.
36146 (__ASSUME_AT_SECURE): Likewise.
36147 (__ASSUME_CORRECT_SI_PID): Likewise.
36148 (__ASSUME_TGKILL): Define without depending on kernel version for
36149 i386.
36150 (__ASSUME_UTIMES): Likewise.
36151 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36152 kernel version.
36153 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36154 (__ASSUME_TMPFS_NAME): Likewise.
36155 * README: Update reference to Linux kernel versions.
36156
b67e9372
MP
361572012-08-02 Marek Polacek <polacek@redhat.com>
36158
1f529f7d 36159 [BZ# 14150]
b67e9372
MP
36160 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
36161 libc_cv_asm_type_prefix with %.
36162 * configure: Regenerated.
d2441631
RM
36163 * include/libc-symbols.h: Remove comment about
36164 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
36165 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36166 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36167 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36168 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36169 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36170 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36171 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36172 * elf/tst-unique2mod1.c: Likewise.
36173 * elf/tst-unique1mod2.c: Likewise.
36174 * elf/tst-unique1mod1.c: Likewise.
36175 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36176 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36177 Replace ASM_TYPE_DIRECTIVE with .type.
36178 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36179 * sysdeps/i386/sysdep.h: Likewise.
36180 * sysdeps/x86_64/sysdep.h: Likewise.
36181 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
36182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36183 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 36184 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
36185 * sysdeps/powerpc/powerpc32/sysdep.h:
36186 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
36187 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36188 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36189 * sysdeps/i386/fpu/e_powf.S: Likewise.
36190 * sysdeps/i386/fpu/e_expl.S: Likewise.
36191 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36192 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36193 * sysdeps/i386/fpu/e_pow.S: Likewise.
36194 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36195 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36196 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36197 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36198 * sysdeps/i386/fpu/e_log2.S: Likewise.
36199 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36200 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36201 * sysdeps/i386/fpu/e_powl.S: Likewise.
36202 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36203 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36204 * sysdeps/i386/fpu/e_logl.S: Likewise.
36205 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36206 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36207 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36208 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36209 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36210 * sysdeps/i386/fpu/e_log.S: Likewise.
36211 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36212 * sysdeps/i386/fpu/e_logf.S: Likewise.
36213 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36214 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36215 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36216 * sysdeps/i386/fpu/e_log10.S: Likewise.
36217 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36218 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36219 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36220 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36221 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36222 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36223 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36224 * sysdeps/i386/i686/strtok.S: Likewise.
36225 * sysdeps/i386/i386-mcount.S: Likewise.
36226 * sysdeps/i386/strtok.S: Likewise.
36227 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36228 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36229 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36230 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36231 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36232 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36233 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36234 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36235 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36236 * sysdeps/x86_64/_mcount.S: Likewise.
36237 * sysdeps/x86_64/strtok.S: Likewise.
36238 * sysdeps/sh/_mcount.S: Likewise.
36239
2747bf9a
RM
362402012-08-01 Roland McGrath <roland@hack.frob.com>
36241
36242 * libio/iofopen.c: Include <fcntl.h>.
36243 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36244 (_IO_fopen64, fopen64): Define as aliases.
36245 * libio/iofopen64.c: Include <fcntl.h>.
36246 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36247 Conditionalize body on this.
36248 * sysdeps/wordsize-64/iofopen.c: File removed.
36249 * sysdeps/wordsize-64/iofopen64.c: File removed.
36250
3fb791b8
MP
362512012-08-01 Marek Polacek <polacek@redhat.com>
36252
36253 * libc/Makeconfig: Use elf in place of binfmt-subdir.
36254 Use dlfcn directly instead of a variable.
36255 (binfmt-subdir): Do not define.
36256 (dlfcn): Likewise.
36257
a9f1039f
JM
362582012-08-01 Joseph Myers <joseph@codesourcery.com>
36259
23bddc06
JM
36260 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36261 Remove all definitions.
36262 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36263 <kernel-features.h>.
36264 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36265 (miss_F_GETOWN_EX): Remove all definitions.
36266 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36267 macro definition.
36268 [!__ASSUME_FCNTL64]: Remove conditional code.
36269 [__ASSUME_FCNTL64]: Make code unconditional.
36270 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36271 <kernel-features.h>.
36272 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36273 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36274 (lockf64) [__NR_fcntl64]: Make code unconditional.
36275 (lockf64) [__ASSUME_FCNTL64]: Likewise.
36276
a9f1039f
JM
36277 * sysdeps/unix/sysv/linux/kernel-features.h
36278 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36279 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36280 Make code unconditional.
36281 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36282 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36284 [__NR_vfork]: Make code unconditional.
36285 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36286 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36288 [__NR_vfork]: Make code unconditional.
36289 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36290 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36291
09c0ee5f
RM
362922012-08-01 Roland McGrath <roland@hack.frob.com>
36293
48aec5b9
RM
36294 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36295 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36296
cd97c966
RM
36297 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36298 Define mkstemp64 as an alias.
3f55550c
RM
36299 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36300 Define mkstemps64 as an alias.
cd97c966
RM
36301 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36302 Define mkostemp64 as an alias.
b8625cfc
RM
36303 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36304 Define mkostemps64 as an alias.
cd97c966
RM
36305 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36306 Conditionalize body on this.
36307 * misc/mkostemp64.c: Likewise.
b8625cfc 36308 * misc/mkostemps64.c: Likewise.
3f55550c 36309 * misc/mkstemps64.c: Likewise.
cd97c966
RM
36310 * sysdeps/wordsize-64/mkstemp64.c: File removed.
36311 * sysdeps/wordsize-64/mkostemp64.c: File removed.
36312 * sysdeps/wordsize-64/mkostemp.c: File removed.
36313 * sysdeps/wordsize-64/mkstemp.c: File removed.
36314 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36315 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36316 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36317 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36318
09c0ee5f
RM
36319 [BZ #14138]
36320 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36321 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36322 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36323 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36324
36325 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36326 compat_symbol macros from <shlib-compat.h> rather than the underlying
36327 default_symbol_version and symbol_version macros, so that DEFAULT
36328 lines in shlib-versions are respected.
36329 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36330
7e66ee51
FW
363312012-08-01 Florian Weimer <fweimer@redhat.com>
36332
36333 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36334 Declare with warn_unused_result.
36335 (setgid, setregid, setegid, setresgid): Likewise.
36336 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36337 Likewise.
36338 * WUR-REPORT: Remove set*id functions.
36339
d2a54255
PT
363402012-07-31 Pino Toscano <toscano.pino@tiscali.it>
36341
36342 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36343
7ecdb005
RM
363442012-07-31 Roland McGrath <roland@hack.frob.com>
36345
b4180a5e 36346 [BZ #10191]
789bd351
RM
36347 * include/sys/socket.h (__libc_accept, __libc_accept4):
36348 Add attribute_hidden.
36349 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36350
40ce302d
RM
36351 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36352 use of PTR_MANGLE.
36353 * inet/getnetgrent_r.c (setup): Likewise.
36354
7ecdb005
RM
36355 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36356
e2eabb2c
DM
363572012-07-31 David S. Miller <davem@davemloft.net>
36358
36359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36360
d0419dbf
JM
363612012-07-31 Joseph Myers <joseph@codesourcery.com>
36362
36363 [BZ #13629]
36364 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36365 value between 1.0 and 2.0 and smaller part has absolute value less
36366 than 1.0.
36367 * math/s_clog10.c (__clog10): Likewise.
36368 * math/s_clog10f.c (__clog10f): Likewise.
36369 * math/s_clog10l.c (__clog10l): Likewise.
36370 * math/s_clogf.c (__clogf): Likewise.
36371 * math/s_clogl.c (__clogl): Likewise.
36372 * math/libm-test.inc (clog_test): Add more tests.
36373 (clog10_test): Likewise.
36374 * sysdeps/i386/fpu/libm-test-ulps: Update.
36375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36376
2bc13872
FW
363772012-07-31 Florian Weimer <fweimer@redhat.com>
36378
36379 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36380 Exit with zero in case no suitable GID is found, and write a
36381 message to standard error.
36382
bea9b193
RM
363832012-07-30 Roland McGrath <roland@hack.frob.com>
36384
36385 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36386 rather than to 1.
36387 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36388 (MAXPATHLEN): Removed.
36389 (NOGROUP, NODEV): New macros.
36390 (setbit, clrbit, isset, isclr): New macros.
36391 (howmany, roundup, powerof2): New macros.
36392 (DEV_BSIZE): New macro.
36393
36394 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36395 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36396
36397 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36398 definition on [!__NO_LONG_DOUBLE_MATH].
36399
36400 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36401 PTR_MANGLE and PTR_DEMANGLE.
36402
36403 * socket/accept4.c (accept4): Rename to __libc_accept4.
36404 Define accept4 as a weak alias.
36405
36406 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36407 on [_DIRENT_HAVE_D_TYPE].
36408 * io/ftw.c (ftw_dir): Likewise.
36409
36410 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36411
36412 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36413
36414 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36415 Use the BSD numbers rather than the arbitrary ones we had.
36416 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36417 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36418 (SIGXCPU, SIGXFSZ): New macros.
36419 (_NSIG): Now 32.
36420
36421 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36422 initializer on [_LIBC_REENTRANT].
36423
36424 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36425 definitions inside [_POSIX_MAPPED_FILES].
36426
36427 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36428
36429 * dirent/opendir.c: Include <fcntl.h>.
36430
36431 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36432 (__libc_getspecific): Likewise.
36433 (__libc_key_create): Likewise.
36434
36435 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36436 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36437 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36438 (tmpfile64): Define as alias.
36439 * sysdeps/wordsize-64/tmpfile.c: File removed.
36440 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36441 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36442 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36443
36444 * stdio-common/vfscanf.c: Include <stdbool.h>.
36445 * nss/makedb.c: Likewise.
36446 * stdio-common/_i18n_number.h: Likewise.
36447 * argp/argp-help.c: Likewise.
36448 * posix/wordexp.c: Likewise.
36449 * sysdeps/posix/spawni.c: Likewise.
36450 * nss/nss_files/files-initgroups.c: Likewise.
36451 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36452 * nss/nss_files/files-initgroups.c: Likewise.
36453 * nss/nss_db/db-netgrp.c: Likewise.
36454 * nss/nss_db/db-initgroups.c: Likewise.
36455 * io/fchmodat.c: Include <sys/stat.h>.
36456
36457 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36458 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36459
36460 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36461 [HAVE_MMAP].
36462
36463 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36464 Add multiple inclusion protection.
36465
e5abc686
DM
364662012-07-27 David S. Miller <davem@davemloft.net>
36467
36468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36469
815e6fa3
GB
364702012-07-27 Gary Benson <gbenson@redhat.com>
36471
36472 [BZ #14298]
36473 * elf/rtld.c: Include <stap-probe.h>.
36474 (dl_main): Added static probes "init_start" and "init_complete".
36475 * elf/dl-load.c: Include <stap-probe.h>.
36476 (lose): Take new parameter "nsid".
36477 Added static probe "map_failed".
36478 (_dl_map_object_from_fd): Pass namespace id to lose.
36479 Added static probe "map_start".
36480 (open_verify): Pass namespace id to lose.
36481 * elf/dl-open.c: Include <stap-probe.h>.
36482 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36483 and "reloc_complete".
36484 * elf/dl-close.c: Include <stap-probe.h>.
36485 (_dl_close_worker): Added static probes "unmap_start" and
36486 "unmap_complete".
36487 * elf/rtld-debugger-interface.txt: New file documenting the above.
36488
9f98c16c
RM
364892012-07-26 Roland McGrath <roland@hack.frob.com>
36490
36491 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36492 rather than a string variable.
36493 * sunrpc/rpc_main.c (h_output): Likewise.
36494 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36495
f3c22df3
PT
364962012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36497
36498 * inet/check_native.c: New file.
36499
3129cfc6
JM
365002012-07-26 Joseph Myers <joseph@codesourcery.com>
36501
da865e95
JM
36502 [BZ #13629]
36503 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36504 if larger part has absolute value 1.0.
36505 * math/s_clog10.c (__clog10): Likewise.
36506 * math/s_clog10f.c (__clog10f): Likewise.
36507 * math/s_clog10l.c (__clog10l): Likewise.
36508 * math/s_clogf.c (__clogf): Likewise.
36509 * math/s_clogl.c (__clogl): Likewise.
36510 * math/libm-test.inc (clog_test): Add more tests.
36511 (clog10_test): Likewise.
36512 * sysdeps/i386/fpu/libm-test-ulps: Update.
36513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36514
3129cfc6
JM
36515 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36516 (pltexit): Likewise.
36517 (La_regs): Likewise.
36518 (La_retval): Likewise.
36519 (int_retval): Likewise.
36520 Update #error for removed macros to refer only to definitions in
36521 tst-audit.h.
36522 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36523 macro.
36524 (pltexit): Likewise.
36525 (La_regs): Likewise.
36526 (La_retval): Likewise.
36527 (int_retval): Likewise.
36528 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36529 macro.
36530 (pltexit): Likewise.
36531 (La_regs): Likewise.
36532 (La_retval): Likewise.
36533 (int_retval): Likewise.
36534 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36535 macro.
36536 (pltexit): Likewise.
36537 (La_regs): Likewise.
36538 (La_retval): Likewise.
36539 (int_retval): Likewise.
36540 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36541 macro.
36542 (pltexit): Likewise.
36543 (La_regs): Likewise.
36544 (La_retval): Likewise.
36545 (int_retval): Likewise.
36546 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36547 macro.
36548 (pltexit): Likewise.
36549 (La_regs): Likewise.
36550 (La_retval): Likewise.
36551 (int_retval): Likewise.
36552 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36553 macro.
36554 (pltexit): Likewise.
36555 (La_regs): Likewise.
36556 (La_retval): Likewise.
36557 (int_retval): Likewise.
36558 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36559 macro definitions in tst-audit.h.
36560 * sysdeps/i386/tst-audit.h: New file.
36561 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36562 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36563 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36564 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36565 * sysdeps/sh/tst-audit.h: Likewise.
36566 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36567 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36568 * sysdeps/x86_64/tst-audit.h: Likewise.
36569
bfc07087
AJ
365702012-07-26 Andreas Jaeger <aj@suse.de>
36571
b1b2aaf8
AJ
36572 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36573 ptrace.
36574
36575 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36576 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36577 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36578 PTRACE_O_MASK.
36579 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36580 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36581 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36582
bfc07087
AJ
36583 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36584 value.
36585
36586 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36587 _sigsys.
36588 (si_call_addr, si_syscall, si_arch): Define new macro.
36589 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36590 _sigsys.
36591 (si_call_addr, si_syscall, si_arch): Define new marcro.
36592 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36593 _sigsys.
36594 (si_call_addr, si_syscall, si_arch): Define new macro.
36595 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36596 _sigsys.
36597 (si_call_addr, si_syscall, si_arch): Define new macro.
36598
89b4b02f
JM
365992012-07-25 Joseph Myers <joseph@codesourcery.com>
36600
36601 [BZ #13717]
36602 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36603 Change to 2.4.21 where previously 2.4.1.
36604 * sysdeps/unix/sysv/linux/configure: Regenerated.
36605 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36606 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36607 Linux kernel version.
36608 (__ASSUME_STD_AUXV): Remove.
36609 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36610 kernel version.
36611 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36612 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36613 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36614 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36615 (__ASSUME_NETLINK_SUPPORT): Likewise.
36616 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36617 (__no_netlink_support): Remove conditional definition.
36618 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36619 Remove.
36620 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36621 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36622 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36623 (if_nameindex_ioctl): Remove.
36624 (if_nameindex_netlink): Do not handle __no_netlink_support.
36625 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36626 code.
36627 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36628 Remove conditional code.
36629 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36630 code.
36631 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36632 unconditional.
36633 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36634 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36635 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36636 Remove.
36637 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36638 [!__ASSUME_STD_AUXV]: Remove conditional code.
36639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36640 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36641 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36643 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36644 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36645 code.
36646 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36648 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36649 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36650 conditional code.
36651 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36653 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36654 code.
36655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36656 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36657 conditional code.
36658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36659 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36660 code unconditional.
36661 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36662 conditional code.
36663 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36664 unconditional.
36665 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36666 conditional code.
36667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36668 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36669 unconditional.
36670 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36671 conditional code.
36672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36673 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36674 code unconditional.
36675 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36676 conditional code.
36677 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36678 unconditional.
36679 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36680 conditional code.
36681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36682 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36683 code unconditional.
36684 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36685 conditional code.
36686 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36687 unconditional.
36688 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36689 conditional code.
36690
842a39cd
AS
366912012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36692
36693 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36694 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36695 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36696 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36697 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36698 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36699 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36700 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36701 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36702 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36703 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36704 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36705 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36706 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36707 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36708 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36709 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36710 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36711 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36712 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36713 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36714 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36715 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36716
84b3fd84
FW
367172012-07-25 Florian Weimer <fweimer@redhat.com>
36718
36719 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
36720 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36721 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36722 Introduce __libc_secure_getenv.
0c7936d5
FW
36723 * stdlib/Versions (2.17): Add secure_getenv
36724 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36725 * stdlib/secure-getenv.c: Rename __secure_getenv to
36726 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36727 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
36728 * stdlib/tst-secure-getenv.c: New.
36729 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
36730 * manual/startup.texi (Environment Access): Document
36731 secure_getenv.
84b3fd84
FW
36732 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36733 __libc_secure_getenv.
36734 * inet/ruserpass.c (ruserpass): Likewise.
36735 * malloc/mtrace.c (mtrace): Likewise.
36736 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 36737 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
36738 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36739 * sysdeps/posix/tempname.c: Likewise. Evaluate
36740 HAVE_SECURE_GETENV.
36741 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 36742 __secure_getenv to __libc_secure_getenv.
84b3fd84 36743 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
36744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36745 Likewise.
36746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36747 Likewise.
36748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36750 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 36755
56e49b71
JM
367562012-07-25 Joseph Myers <joseph@codesourcery.com>
36757
36758 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36759 (struct La_i86_retval): Likewise.
36760 (struct La_x86_64_regs): Likewise.
36761 (struct La_x86_64_retval): Likewise.
36762 (struct La_x32_regs): Likewise.
36763 (struct La_x32_retval): Likewise.
36764 (struct La_ppc32_regs): Likewise.
36765 (struct La_ppc32_retval): Likewise.
36766 (struct La_ppc64_regs): Likewise.
36767 (struct La_ppc64_retval): Likewise.
36768 (struct La_sh_regs): Likewise.
36769 (struct La_sh_retval): Likewise.
36770 (struct La_s390_32_regs): Likewise.
36771 (struct La_s390_32_retval): Likewise.
36772 (struct La_s390_64_regs): Likewise.
36773 (struct La_s390_64_retval): Likewise.
36774 (struct La_sparc32_regs): Likewise.
36775 (struct La_sparc32_retval): Likewise.
36776 (struct La_sparc64_regs): Likewise.
36777 (struct La_sparc64_retval): Likewise.
36778 (struct audit_ifaces): Remove architecture-specific pltenter and
36779 pltexit members.
36780 * sysdeps/i386/ldsodefs.h: New file.
36781 * sysdeps/powerpc/ldsodefs.h: Likewise.
36782 * sysdeps/s390/ldsodefs.h: Likewise.
36783 * sysdeps/sh/ldsodefs.h: Likewise.
36784 * sysdeps/sparc/ldsodefs.h: Likewise.
36785 * sysdeps/x86_64/ldsodefs.h: Likewise.
36786
354691b7
MP
367872012-07-25 Marek Polacek <polacek@redhat.com>
36788
36789 [BZ #6808]
36790 * math/libm-test.inc (yn_test): Add another test.
36791 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36792 to ERANGE when the result is +-Inf.
36793 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36794 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36795 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36796 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36797
bf9e2071
JM
367982012-07-24 Joseph Myers <joseph@codesourcery.com>
36799
36800 * conform/data/time.h-data (NULL): Use macro-constant. Require
36801 equal to 0.
36802 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36803 clock_t.
36804 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36805
57633811
TS
368062012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36807
36808 * configure.in <sysdeps resolving>: Correct printing
36809 Implies_before.
36810 * configure: Regenerate.
36811
c23c33b0
TS
368122012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36813
36814 * math/w_ilogb.c: Include <limits.h>.
36815 * math/w_ilogbl.c: Likewise.
36816
b5982523
JM
368172012-07-20 Joseph Myers <joseph@codesourcery.com>
36818
36819 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36820 va_copy. Document allowing for unavailable va_copy only as
36821 pre-C99 compatibility.
36822 * manual/string.texi (Copying and Concatenation): Use va_copy
36823 instead of __va_copy in concat example.
36824
ac4ea442
PT
368252012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36826
36827 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36828 (__sendto): Use create_address_port. Initialize APORT and deallocate
36829 it if not null.
36830
f98eafbd
PT
36831 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36832 with O_NOLINK passed to __file_name_lookup.
36833
898c7aab
PT
36834 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36835 with O_NOLINK passed to __file_name_lookup.
36836
0ced335a
PT
36837 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36838 negative N or less than NGIDS.
36839
b3404dbd
PT
36840 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36841 type to string_t. Set ERANGE as errno and return it if NAME is not big
36842 enough. Use memcpy instead of strncpy.
36843
0f48659e
JM
368442012-07-20 Joseph Myers <joseph@codesourcery.com>
36845
36846 * elf/Makefile (check-data): Remove.
36847 (localplt.data): New vpath directive.
36848 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36849 instead of $(check-data).
36850 * scripts/data/localplt-generic.data: Move to ...
36851 * sysdeps/generic/localplt.data: ... here.
36852 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36853 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36854 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36856 ... here.
36857 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36859 ... here.
36860 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36862 ... here.
36863 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36865 ... here.
36866 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36868 ... here.
36869 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36871 ... here.
36872
d37cbdaa
AZ
368732012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36874
36875 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36876 PPC32 and PPC64 files.
36877 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36878 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36879
46f85fc2
AK
368802012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36881
36882 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36883 __makecontext_ret to ...
36884 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36885 ... here and call exit if uc_link is NULL. New file.
36886 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36887 __makecontext_ret.S.
36888 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36889 __makecontext_ret to ...
36890 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36891 ... here and call exit if uc_link is NULL. New file.
36892 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36893 __makecontext_ret.S.
36894
08f43f9b
AK
368952012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36896
36897 * elf/elf.h (R_390_IRELATIVE): New definition.
36898 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36899 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36900 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36901 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36902 (elf_machine_lazy_rel): Likewise.
36903 * sysdeps/s390/dl-irel.h: New file.
36904 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36905 * sysdeps/s390/s390-64/memset.S: New asm code.
36906 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36907 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36908 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36909 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36910 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36911 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36912 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36913 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36914 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36915 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36916 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36917 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36918 * sysdeps/s390/s390-32/memset.S: New asm code.
36919 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36920
3b05db33
MP
369212012-07-17 Marek Polacek <polacek@redhat.com>
36922
36923 [BZ #14349]
36924 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36925 * sysdeps/s390/s390-64/configure.in: Likewise.
36926 * sysdeps/sparc/configure.in: Likewise.
36927 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36928 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36929 * sysdeps/i386/configure.in: Likewise.
36930 * sysdeps/x86_64/configure.in: Likewise.
36931 * sysdeps/sh/configure.in: Likewise.
36932 * sysdeps/s390/s390-32/configure: Regenerated.
36933 * sysdeps/s390/s390-64/configure: Likewise.
36934 * sysdeps/x86_64/configure: Likewise.
36935 * sysdeps/sh/configure: Likewise.
36936 * sysdeps/powerpc/powerpc64/configure: Likewise.
36937 * sysdeps/powerpc/powerpc32/configure: Likewise.
36938 * sysdeps/sparc/configure: Likwise.
36939 * sysdeps/i386/configure: Likewise.
36940
a66877c6
MP
36941 * elf/dl-open.c: Comment fixes.
36942
cfc82fd8
JM
369432012-07-17 Joseph Myers <joseph@codesourcery.com>
36944
bd29910a
JM
36945 * Makefile [CXX] (check-data): Remove.
36946 [CXX] (c++-types.data): New vpath directive.
36947 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36948 vpath. Do not allow for C++ type data being missing.
36949 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36950 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36951 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36952 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36953 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36954 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36955 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36957 ... here.
36958 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36960 ... here.
36961 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36963 ... here.
36964 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36966 ... here.
36967 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36969 ... here.
36970 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36972 ... here.
36973 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36975 ... here.
36976 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36978
cfc82fd8
JM
36979 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36980 definitions to architecture-specific files.
36981 (TLS_IE): Likewise.
36982 (TLS_LD): Likewise.
36983 (TLS_GD): Likewise.
36984 * sysdeps/i386/tls-macros.h: New file.
36985 * sysdeps/powerpc/tls-macros.h: Likewise.
36986 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36987 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36988 * sysdeps/sh/tls-macros.h: Likewise.
36989 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36990 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36991 * sysdeps/x86_64/tls-macros.h: Likewise.
36992
f7db3170
TS
369932012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36994
07cbfc23
TS
36995 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36996 zero value for regular exit case.
36997
f7db3170
TS
36998 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36999 (__start_context): Preserve zero value for regular exit case.
37000
dc97c227
TS
370012012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37002 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37003
37004 * manual/setjmp.texi (setcontext): Clarify normal process
37005 termination when uc_link is the null pointer.
37006 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37007 exit call.
37008
d0cd7d02
AS
370092012-07-16 Andreas Schwab <schwab@linux-m68k.org>
37010
37011 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37012 preprocessor. Test for each exception mask separately.
37013
dd318934
AJ
370142012-07-16 Andreas Jaeger <aj@suse.de>
37015
37016 * po/ru.po: Update from translation team.
37017
8048311a
JM
370182012-07-15 Joseph Myers <joseph@codesourcery.com>
37019
37020 * conform/data/string.h-data (NULL): Use macro-constant. Require
37021 equal to 0.
37022 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37023 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37024 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37025 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37026 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37027
b637d46e
AJ
370282012-07-13 Andreas Jaeger <aj@suse.de>
37029
37030 * po/fr.po: Update from translation team.
37031
541428fe
MP
370322012-07-12 Marek Polacek <polacek@redhat.com>
37033
37034 [BZ #14173]
37035 * math/libm-test.inc (yn_test): Add test for BZ #14173.
37036 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37037 loop condition.
37038
ec332e94
JM
370392012-07-12 Joseph Myers <joseph@codesourcery.com>
37040
37041 [BZ #13717]
37042 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37043 Change to 2.4.1 where previously 2.4.0.
37044 * sysdeps/unix/sysv/linux/configure: Regenerated.
37045 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37046 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37047 version.
37048 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37049 (__ASSUME_AT_CLKTCK): Remove.
37050 (__ASSUME_AT_PAGESIZE): Likewise.
37051 (__ASSUME_AT_XID): Likewise.
37052 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37053 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37054 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37055 unconditionally.
37056 (HAVE_AUX_PAGESIZE): Likewise.
37057 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37058 [__ASSUME_AT_CLKTCK]: Make code unconditional.
37059 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37060
7b6e99be
JB
370612012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
37062
37063 [BZ #14307]
37064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37065 the temporary buffer used to invoke __gethostbyname2_r,
37066 __gethostbyaddr_r and gethostbyname4_r to make room for struct
37067 host_data / struct gaih_addrtuple.
37068 * resolv/nss_dns/dns-host.c (global scope): Move definition of
37069 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37070 header file nss/nsswitch.h.
37071 * nss/nsswitch.h (global scope): Add definition of implementation
37072 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37073 resolv/nss_dns/dns-host.c).
37074
608404eb
AJ
370752012-07-11 Andreas Jaeger <aj@suse.de>
37076
37077 * po/fr.po: Update from translation team.
37078
71220aca
AJ
37079 * po/sv.po: Update from translation team
37080 * po/fr.po: Another update from translation team.
37081
28cfe843
AZ
370822012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37083
37084 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37085 for subnormals or multiply small sinh result by itself.
37086 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37088
6b90f981
DM
370892012-07-11 David S. Miller <davem@davemloft.net>
37090
37091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37092
c6825772
AS
370932012-07-10 Andreas Schwab <schwab@linux-m68k.org>
37094
37095 [BZ #14347]
37096 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37097 (INTERNAL_MARK): Shift it here.
37098
7b8e0d49
MP
370992012-07-10 Marek Polacek <polacek@redhat.com>
37100
37101 [BZ #14151]
37102 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
37103 libc_cv_asm_global_directive with .globl.
37104 * configure: Regenerated.
37105 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37106 with .globl.
37107 * sysdeps/i386/configure: Regenerated.
37108 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37109 with .globl.
37110 * sysdeps/x86_64/configure: Regenerated.
37111 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37112 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37113 * elf/tst-unique2mod2.c: Likewise.
37114 * elf/tst-unique2mod1.c: Likewise.
37115 * elf/tst-unique1mod2.c: Likewise.
37116 * elf/tst-unique1mod1.c: Likewise.
37117 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37118 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37119 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37120 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37121 * sysdeps/mach/sysdep.h: Likewise.
37122 * sysdeps/i386/sysdep.h: Likewise.
37123 * sysdeps/i386/i386-mcount.S: Likewise.
37124 * sysdeps/x86_64/_mcount.S: Likewise.
37125 * sysdeps/x86_64/sysdep.h: Likewise.
37126 * sysdeps/sh/_mcount.S: Likewise.
37127 * sysdeps/sh/sysdep.h: Likewise.
37128 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37129 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37130 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37131 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37132 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37133 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37134 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37135 * locale/localeinfo.h: Likewise.
37136 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37137 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37138
6c55cda3
RM
371392012-07-09 Roland McGrath <roland@hack.frob.com>
37140
37141 [BZ #14336]
37142 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37143 system".
37144 * manual/message.texi (The Uniforum approach): Likewise.
37145 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37146 (glibc iconv Implementation): Likewise.
37147
638a572e
JM
371482012-07-09 Joseph Myers <joseph@codesourcery.com>
37149
37150 [BZ #14337]
37151 * math/s_clog.c (__clog): Avoid scaling a value down where that
37152 could result in underflow.
37153 * math/s_clog10.c (__clog10): Likewise.
37154 * math/s_clog10f.c (__clog10f): Likewise.
37155 * math/s_clog10l.c (__clog10l): Likewise.
37156 * math/s_clogf.c (__clogf): Likewise.
37157 * math/s_clogl.c (__clogl): Likewise.
37158 * math/libm-test.inc (clog_test): Add more tests.
37159 (clog10_test): Likewise.
37160 * sysdeps/i386/fpu/libm-test-ulps: Update.
37161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37162
261f4859
AS
371632012-07-06 Andreas Schwab <schwab@linux-m68k.org>
37164
0abaf3e4
AS
37165 [BZ #14283]
37166 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37167 by 7 not 8 to examine high bit of fractional part.
37168
261f4859
AS
37169 [BZ #14042]
37170 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37171 for call to __mcount_internal.
37172 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37173 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37174 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37175
f17ac40d
JM
371762012-07-06 Joseph Myers <joseph@codesourcery.com>
37177
9ad63c23
JM
37178 [BZ #14154]
37179 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37180 approximation for values within 0x1p-13f of an odd multiple of
37181 pi/4.
37182 * math/libm-test.inc (tan_test): Do not allow spurious underflow
37183 exception. Add more tests.
37184 * sysdeps/i386/fpu/libm-test-ulps: Update.
37185
f17ac40d
JM
37186 [BZ #6778]
37187 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37188 inputs and return -1 for them. Do not check for +Inf in case not
37189 reachable for +Inf.
37190 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37191 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37192 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37193 and return -1 for them. Do not check for +Inf in case not
37194 reachable for +Inf.
37195 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37196 define.
37197 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37198 and return -1 for them. Do not check for +Inf in case not
37199 reachable for +Inf.
37200 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
37201 spurious underflow.
37202 * sysdeps/i386/fpu/libm-test-ulps: Update.
37203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37204
fb21f89b
MF
372052012-07-06 Mike Frysinger <vapier@gentoo.org>
37206
37207 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37208
cdfe2c5e
JM
372092012-07-05 Joseph Myers <joseph@codesourcery.com>
37210
37211 [BZ #14157]
37212 [BZ #14331]
37213 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37214 could result in spurious underflow. Scale down values above
37215 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37216 * math/s_csqrtf.c (__csqrtf): Likewise.
37217 * math/s_csqrtl.c (__csqrtl): Likewise.
37218 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
37219 spurious underflow.
37220 * sysdeps/i386/fpu/libm-test-ulps: Update.
37221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37222
70d35b67
AS
372232012-07-04 Andreas Schwab <schwab@linux-m68k.org>
37224
704bc459
AS
37225 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37226 xopen-msg.sed.
37227 * catgets/xopen-msg.awk: New file.
37228 * catgets/xopen-msg.sed: Removed.
37229
70d35b67
AS
37230 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37231 po2text.sed.
37232 * intl/po2test.awk: New file.
37233 * intl/po2test.sed: Removed.
37234
ca61cf32
JM
372352012-07-04 Joseph Myers <joseph@codesourcery.com>
37236
37237 [BZ #14328]
37238 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37239 or multiply small sinh result by itself.
37240 * math/s_ctanf.c (__ctanf): Likewise.
37241 * math/s_ctanh.c (__ctanh): Likewise.
37242 * math/s_ctanhf.c (__ctanhf): Likewise.
37243 * math/s_ctanhl.c (__ctanhl): Likewise.
37244 * math/s_ctanl.c (__ctanl): Likewise.
37245 * math/libm-test.inc (ctan_test_tonearest): New function.
37246 (ctan_test_towardzero): Likewise.
37247 (ctan_test_downward): Likewise.
37248 (ctan_test_upward): Likewise.
37249 (ctanh_test_tonearest): Likewise.
37250 (ctanh_test_towardzero): Likewise.
37251 (ctanh_test_downward): Likewise.
37252 (ctanh_test_upward): Likewise.
37253 (main): Call these new functions.
37254 * sysdeps/i386/fpu/libm-test-ulps: Update.
37255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37256
ca48a46a
MF
372572012-07-03 Mike Frysinger <vapier@gentoo.org>
37258
37259 * .gitignore: Delete /ports entry.
37260
9d63d37d
AJ
372612012-07-03 Andreas Jaeger <aj@suse.de>
37262
37263 * po/bg.po: Update from translation team.
37264 * po/cs.po: Likewise.
37265 * po/de.po: Likewise.
37266 * po/hr.po: Likewise.
37267 * po/nl.pl: Likewise.
37268 * po/pl.po: Likewise.
37269 * po/vi.po: Likewise.
37270
370ca3d2
JM
372712012-07-03 Joseph Myers <joseph@codesourcery.com>
37272
95f5a9a8
JM
37273 * Makeconfig [!+link] (+link-before-libc): New variable.
37274 [!+link] (+link-after-libc): Likewise.
37275 [!+link] (+link-tests): Likewise.
37276 [!+link] (+link): Define in terms of $(+link-before-libc) and
37277 $(+link-after-libc).
37278 [!+link-static] (+link-static-before-libc): New variable.
37279 [!+link-static] (+link-static-after-libc): Likewise.
37280 [!+link-static] (+link-static-tests): Likewise.
37281 [!+link-static] (+link-static): Define in terms of
37282 $(+link-static-before-libc) and $(+link-static-after-libc).
37283 [build-shared] (link-libc-before-gnulib): New variable.
37284 [build-shared] (link-libc-tests): Likewise.
37285 [build-shared] (link-libc): Define in terms of
37286 $(link-libc-before-gnulib).
37287 [!build-shared] (link-libc-tests): New variable.
37288 (link-libc-static-tests): New variable.
37289 [!gnulib] (gnulib-arch): New variable.
37290 [!gnulib] (gnulib-tests): Likewise.
37291 [!gnulib] (static-gnulib-arch): Likewise.
37292 [!gnulib] (static-gnulib-tests): Likewise.
37293 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
37294 Define with "=" instead of ":=".
37295 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
37296 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
37297 * Rules (binaries-all-notests): New variable.
37298 (binaries-all-tests): Likewise.
37299 (binaries-static-notests): Likewise.
37300 (binaries-static-tests): Likewise.
37301 (binaries-all): Define using $(binaries-all-notests) and
37302 $(binaries-all-tests).
37303 (binaries-static): Define using $(binaries-static-notests) and
37304 $(binaries-static-tests).
37305 (binaries-shared-tests): New variable.
37306 (binaries-shared-notests): Likewise.
37307 (binaries-shared): Remove variable.
37308 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37309 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37310 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37311 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37312 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37313 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37314 * elf/Makefile (sln-modules): New variable.
37315 (extra-objs): Add $(sln-modules:=.o).
37316 (ldconfig-modules): Add static-stubs.
37317 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37318 * elf/static-stubs.c: New file.
37319
7a845b2c
JM
37320 [BZ #14283]
37321 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37322 by 7 not 8 to examine high bit of fractional part. Use volatile
37323 variables when splitting into final array of floats if
37324 __FLT_EVAL_METHOD__ != 0.
37325 * math/libm-test.inc (cos_test): Add another test.
37326 (sin_test): Likewise.
37327 * sysdeps/i386/fpu/libm-test-ulps: Update.
37328
e2283f38
JM
37329 [BZ #14273]
37330 * math/libm-test.inc (cosh_test): Add more tests.
37331
370ca3d2
JM
37332 * version.h (RELEASE): Set to "development".
37333 (VERSION): Set to "2.16.90".
37334
ee9247c3
CD
373352012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
37336
37337 * NEWS: Update copyright. Remove last-updated date.
37338 Mention math library bug fixes and timezone data changes.
37339 * README: Mention GNU/Hurd, x32, and HPPA support status.
37340
4648c381
TS
373412012-06-28 Thomas Schwinge <thomas@codesourcery.com>
37342
37343 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37344
aac78a43
AJ
373452012-06-27 Andreas Jaeger <aj@suse.de>
37346
37347 * manual/contrib.texi (Contributors): Add Samuel Thibault.
37348
ed3dbfad
AJ
373492012-06-25 Andreas Jaeger <aj@suse.de>
37350
37351 * sysdeps/s390/fpu/libm-test-ulps: Update.
37352
4d0ee855
AS
373532012-06-23 Andreas Schwab <schwab@linux-m68k.org>
37354 Thomas Schwinge <thomas@codesourcery.com>
37355
37356 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37357 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37358 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37359 fanotify_mark.
37360
af1bce34
TS
373612012-06-23 Thomas Schwinge <thomas@codesourcery.com>
37362
a9fa33ba
TS
37363 * sysdeps/mach/start.c: Remove file.
37364 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37365 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37366 * sysdeps/sh/init-first.c: Likewise.
37367
58f902b8
TS
37368 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37369 registers for frame unwinding purposes, add CFI directives.
37370 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37371 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37372 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37373 Likewise.
37374
1518f58b
TS
37375 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37376 __fortify_fail returning.
37377 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37378
db9b5059
TS
37379 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37380 sysdeps/sh/____longjmp_chk.S.
37381 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37382 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37383 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37384 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37385
967705fe
TS
37386 * sysdeps/sh/abort-instr.h: New file.
37387 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37388 process in case exit returns.
37389
a9def8c4
TS
37390 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37391 initialize the GOT register before use.
37392
2a649725
TS
37393 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37394 calculation of ARGC > 4.
37395
af1bce34
TS
37396 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37397 meaningful names to some local labels.
37398
d230f50a
KK
373992012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37400 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37401
37402 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37403 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37404 (__arch_compare_and_exchange_val_16_acq): Likewise.
37405 (__arch_compare_and_exchange_val_32_acq): Likewise.
37406 (atomic_exchange_and_add): Fix gUSA sequence.
37407 (atomic_add): Likewise.
37408 (atomic_add_negative): Likewise.
37409 (atomic_add_zero): Likewise.
37410 (atomic_bit_test_set): Likewise.
37411
0479b305
AS
374122012-06-22 Andreas Schwab <schwab@redhat.com>
37413
37414 [BZ #13579]
37415 * include/link.h (struct link_map): Add l_free_initfini.
37416 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37417 l_initfini.
37418 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37419 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37420 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37421 set.
37422
0e3933b9
CD
374232012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37424
37425 * configure.in: Use AC_LANG_SOURCE.
37426 * configure: Regenerate.
37427
4248b1b1
RM
374282012-06-22 Roland McGrath <roland@hack.frob.com>
37429
37430 * configure.in (libc_cv_localstatedir): New substituted variable.
37431 * configure: Regenerated.
37432 * config.make.in (localstatedir): New variable, substituted from
37433 libc_cv_localstatedir.
37434 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37435 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37436 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37437 * sysdeps/gnu/configure: Regenerated.
37438
006dd861
JL
374392012-06-21 Jeff Law <law@redhat.com>
37440
37441 [BZ #14277]
37442 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37443 free. Simplify list management for _LIBC case.
37444
79662d42
JM
374452012-06-21 Joseph Myers <joseph@codesourcery.com>
37446
b7abb4bf
JM
37447 [BZ #14273]
37448 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37449 Clear sign bit of 64-bit integer value before comparing against
37450 overflow value.
37451
79662d42
JM
37452 * sysdeps/mach/configure: Regenerated.
37453
1f150908
L
374542012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37455
37456 [BZ #14278]
37457 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37458
28363bbf
JL
374592012-06-21 Jeff Law <law@redhat.com>
37460
37461 [BZ #13882]
37462 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37463 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 37464 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
37465 * elf/dl-open.c (dl_open_worker): Likewise.
37466
09615db4
CD
374672012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37468
37469 * scripts/list-sources.sh: Scan PORTS for translations.
37470 * po/libc.pot: Regenerated.
37471
2174c6dd
AJ
374722012-06-21 Andreas Jaeger <aj@suse.de>
37473
37474 [BZ #12194]
37475 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37476 warning.
37477 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37478 * bits/byteswap-16.h (__bswap_16): Likewise.
37479 * bits/byteswap.h (__bswap_constant_16): Likewise.
37480
3ee947b1
L
374812012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37482
37483 [BZ #14117]
a2f34833
L
37484 * sysdeps/i386/fpu_control.h: Removed.
37485 * sysdeps/x86_64/fpu_control.h: Moved to ...
37486 * sysdeps/x86/fpu_control.h: Here.
37487
3ee947b1
L
37488 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37489 (_FPU_SETCW): Likewise.
37490
ed1825f8
L
374912012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37492
25f1282a
L
37493 [BZ #14117]
37494 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37495 * sysdeps/x86/fpu/bits/mathinline.h: This.
37496 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37497
ed1825f8
L
37498 [BZ #14050]
37499 [BZ #14117]
37500 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37501 functions if __x86_64__ is defined.
37502
36d54b74
CLT
375032012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37504
37505 * string/endian.h: Add !__ASSEMBLER__ condition for including
37506 conversion interfaces.
37507
10285c21
JM
375082012-06-15 Joseph Myers <joseph@codesourcery.com>
37509
37510 [BZ #14241]
37511 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37512 of ABS(x) in calculating zero to negative powers other than odd
37513 integers.
37514 * math/libm-test.inc (pow_test): Add more tests.
37515
06c5abbd
AJ
375162012-06-15 Andreas Jaeger <aj@suse.de>
37517
37518 * manual/contrib.texi (Contributors): Update entry of Liubov
37519 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37520 Machado Filho.
37521
a3aeac40
CH
375222012-06-15 Cyril Hrubis <metan@ucw.cz>
37523
37524 * string/string.h: Add __wur to GNU version of strerror_r.
37525
49bdf4c1
L
375262012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37527
37528 [BZ #14229]
37529 * string/Makefile (tests): Add tst-strtok_r.
37530 * string/tst-strtok_r.c: New file.
37531 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37532 RAX_LP/RDX_LP on SAVE_PTR.
37533
834f9b8d
RM
375342012-06-14 Roland McGrath <roland@hack.frob.com>
37535
37536 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37537
75fa1921
JM
375382012-06-14 Joseph Myers <joseph@codesourcery.com>
37539
37540 * libm_test.inc (csqrt_test): Allow more spurious underflow
37541 exceptions.
37542 (j0_test): Likewise.
37543 (j1_test): Likewise.
37544 (y0_test): Likewise.
37545 (y1_test): Likewise.
37546
771766df
CD
375472012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37548
37549 * po/Makefile (libc.pot): Use UTF-8 charset.
37550
ceb9e56b
PP
375512012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37552
37553 [BZ #14210]
37554 Suppress sign-conversion warning from FD_SET.
37555 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37556 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37557 not unsigned long int.
37558 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37559
ddb28975
L
375602012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37561
37562 [BZ #14050]
37563 [BZ #14117]
37564 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37565 __extern_always_inline instead of __extern_inline.
37566 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37567 (__signbit): Likewise.
37568 (__signbitl): Support C++ namespace.
37569 (lrintf): New inline function.
37570 (lrint): Likewise.
37571 (llrintf): Likewise.
37572 (llrint): Likewise.
37573 (fmaxf): Likewise.
37574 (fmax): Likewise.
37575 (fminf): Likewise.
37576 (fmin): Likewise.
37577 (rint): Likewise.
37578 (rintf): Likewise.
37579 (ceil): Likewise.
37580 (ceilf): Likewise.
37581 (floor): Likewise.
37582 (floorf): Likewise.
37583 (nearbyint): Likewise.
37584 (nearbyintf): Likewise.
37585
d7b4fb26
TS
375862012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37587
37588 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37589 non-default versions.
37590
eb55f5c2
RM
375912012-06-11 Roland McGrath <roland@hack.frob.com>
37592
37593 [BZ #14218]
37594 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37595
366af02c
TS
375962012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37597
99ff6e5c
TS
37598 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37599 (FE_UPWARD, FE_DOWNWARD): Don't define.
37600 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37601 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37602
366af02c
TS
37603 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37604 reading it.
37605 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37606 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37607
793ea851
KK
376082012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37609
37610 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37611 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37612 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37613 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37614
a728a38f
L
376152012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37616
37617 [BZ #14117]
c08010c7
L
37618 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37619 * sysdeps/i386/fpu/Implies: New file.
37620 * sysdeps/x86_64/fpu/Implies: Likewise.
37621 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37622 * sysdeps/x86/fpu/bits/fenv.h: This.
37623
a728a38f
L
37624 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37625 __SSE_MATH__.
37626
6e230d11
SP
376272012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37628
37629 [BZ #14134]
37630 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37631 character 0xffff that matches the last element of the
37632 conversion table.
37633
1b671feb
AZ
376342012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37635
37636 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37637 fmodl commit.
37638
6043738b
AZ
376392012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37640
37641 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37642 values higher than 25.6283.
37643
34ae0b32
AZ
376442012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37645
37646 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37647 subnormal exponent extraction and add some __builtin_expect.
37648 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37649 Fix for subnormal mantissa calculation.
37650
1214ec8f
MF
376512012-06-04 Mike Frysinger <vapier@gentoo.org>
37652
37653 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37654 cpu2 is -1 and errno is not ENOSYS.
37655
f3d1f93c
L
376562012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37657
37658 [BZ #14117]
0e4a3cd7
L
37659 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37660 * sysdeps/x86/bits/string.h: This.
37661 * sysdeps/x86_64/bits/string.h: Removed.
37662
6704c645
L
37663 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37664 if not compiling for x86-64, but compiling for >= i486.
37665
48495318
L
37666 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37667 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37668
14adcbfc
L
37669 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37670 New macro from Linux kernel 3.4.0.
37671 (FP_XSTATE_MAGIC2): Likewise.
37672 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37673 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37674 (struct _fpx_sw_bytes): New struct.
37675 (struct _xsave_hdr): Likewise.
37676 (struct _ymmh_state): Likewise.
37677 (struct _xstate): Likewise.
37678
68e408ab
L
37679 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37680 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37681 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37682 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37683 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37684 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37685
f3d1f93c
L
37686 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37687 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37688 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37689 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37690 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37691 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37692
d9dc34cd
TMQMF
376932012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37694
37695 [BZ #13743]
37696 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37697 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37698 (sysdep_headers): Include sys/platform/ppc.h.
37699 * sysdeps/powerpc/test-gettimebase.c: Test for
37700 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37701 * manual/Makefile (appendices): Include platform.texi.
37702 * manual/contrib.texi (Contributors): Update @node pointers.
37703 * manual/maint.texi (Maintenance): Likewise.
37704 (Platform): New node.
37705 * manual/platform.texi: New file. Document the new features.
37706
4af3879c
SP
377072012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37708 Jakub Jelinek <jakub@redhat.com>
37709
37710 [BZ #14188]
37711 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37712 where __builtin_expect is unavailable.
37713
2fd6ff13
DM
377142012-06-03 David S. Miller <davem@davemloft.net>
37715
37716 * stdlib/longlong.h: Updated from GCC.
37717
173f7220
AS
377182012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37719
37720 [BZ #14042]
37721 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37722 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37723 __mcount_internal.
37724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37725 (GLIBC_2.16): Likewise.
37726
f34a1c6f
L
377272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37728
37729 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37730
88a4576f
JM
377312012-06-01 Joseph Myers <joseph@codesourcery.com>
37732
ea32bcdd
JM
37733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37734 (default-abi): New variable.
37735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37736 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37737 variable.
37738 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37739 Likewise.
37740 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37741 Likewise.
37742 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37743 Likewise.
37744
88a4576f
JM
37745 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37746 definition. Document in comment.
37747
402fe938
DM
377482012-06-01 David S. Miller <davem@davemloft.net>
37749
37750 * stdlib/longlong.h: Updated from GCC.
37751
3553723f
L
377522012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37753
37754 [BZ #14117]
3bd872c4
L
37755 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37756 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37757 sys/debugreg.h sys/io.h here.
37758 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37759 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37760 sys/io.h.
37761 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37762 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37763 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37764 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37765 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37766 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37767
3553723f
L
37768 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37769 Define only if __x86_64__ is defined.
37770
4842e4fe
JM
377712012-06-01 Joseph Myers <joseph@codesourcery.com>
37772
c5bfe3d5
JM
37773 [BZ #14048]
37774 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37775 Use int64_t for variable i.
37776 * math/libm-test.inc (fmod_test): Add more tests.
37777
4842e4fe
JM
37778 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37779 z computation is not scheduled after fetestexcept.
37780 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37781 Use math_force_eval instead of asm to ensure calculation scheduled
37782 before exception test.
37783 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37784 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37785
efb73488
AJ
377862012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37787
37788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37789 computation is not scheduled after fetestexcept.
37790
29bcce7c
L
377912012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37792
37793 [BZ #14117]
37794 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37795 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37796
73a68f94
AZ
377972012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37798
37799 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37800 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37801
67b6df78
L
378022012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37803
edf2933a 37804 [BZ #14117]
ebc64a18
L
37805 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37806 <bits/wordsize.h>.
37807 (__WCHAR_MIN): Support __WORDSIZE == 64.
37808 (__WCHAR_MAX): Likewise.
37809
edf2933a
L
37810 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37811 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37812
57c6cf40
L
37813 [BZ #14183]
37814 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37815 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37816
67b6df78 37817 [BZ #14117]
8eb6281e
L
37818 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37819 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37820
aac639f4
L
37821 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37822 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37823
67b6df78
L
37824 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37825 Defined to 1 if __x86_64__ isn't defined.
37826 (_STAT_VER_LINUX_OLD): New.
37827 (st_atime): Remove duplicate.
37828 (st_mtime): Likewise.
37829 (st_ctime): Likewise.
37830
1c2cfe81
DM
378312012-05-31 David S. Miller <davem@davemloft.net>
37832
37833 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37834 entries.
37835
5be8418c
AS
378362012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37837
e7725326
AS
37838 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37839 gen-libm-test.pl.
37840
5be8418c
AS
37841 [BZ #14132]
37842 * elf/dl-reloc.c: Include <_itoa.h>.
37843 (_dl_reloc_bad_type): Remove use of INTUSE.
37844 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37845 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37846 * stdio-common/psiginfo.c (psiginfo): Likewise.
37847 * stdio-common/psignal.c (psignal): Likewise.
37848 * string/strsignal.c (strsignal): Likewise.
37849 * include/signal.h (_sys_siglist): Declare hidden proto.
37850 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37851 INTVARDEF with libc_hidden_data_def.
37852 * stdio-common/itoa-udigits.c: Likewise.
37853 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37854 (_itoa_lower_digits_internal): Remove declaration.
37855 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37856 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37857 (_sys_sigabbrev_internal): Remove aliases.
37858 (_sys_siglist): Define hidden alias.
37859
507352f1
MT
378602012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37861
37862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37863 bits/sysctl.h.
37864
42bbb1c3
L
378652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37866
37867 [BZ #14117]
6bd784b6
L
37868 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37869 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37870
8bca20f0
L
37871 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37872 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37873 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37874 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37875 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37876 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37877
f9e890a9
L
37878 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37879 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37880 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37881
471101a1
L
37882 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37883 with __addr.
37884 (insw): Likewise.
37885 (insl): Likewise.
37886 (outsb): Likewise.
37887 (outsw): Likewise.
37888 (outsl): Likewise.
37889
6451c862
L
37890 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37891 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37892 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37893
a254b8c9
L
37894 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37895 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37896 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37897 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37898 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37899 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37900
b8dfdd92
L
37901 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37902 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37903
578cd270
L
37904 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37905 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37906
de662f5f
L
37907 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37908 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37909 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37910
25653439
L
37911 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37912 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37913 to ...
37914 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37915
6bad24a0
L
37916 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37917 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37918 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37919
42bbb1c3
L
37920 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37921 for x86-64.
37922 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37923
2d10d547
JM
379242012-05-31 Joseph Myers <joseph@codesourcery.com>
37925
37926 * math/math.h (M_El): Use two more decimal places.
37927 (M_LOG2El): Likewise.
37928 (M_LOG10El): Likewise.
37929 (M_LN2l): Likewise.
37930 (M_LN10l): Likewise.
37931 (M_PIl): Likewise.
37932 (M_PI_2l): Likewise.
37933 (M_PI_4l): Likewise.
37934 (M_1_PIl): Likewise.
37935 (M_2_PIl): Likewise.
37936 (M_2_SQRTPIl): Likewise.
37937 (M_SQRT2l): Likewise.
37938 (M_SQRT1_2l): Likewise.
37939
f230c29b
DM
379402012-05-31 David S. Miller <davem@davemloft.net>
37941
37942 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37943 values between float registers.
37944 * sysdeps/sparc/sparc64/memset.S: Likewise.
37945 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37946
fed806c3
MF
379472012-05-31 Mike Frysinger <vapier@gentoo.org>
37948
37949 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37950 -D_FORTIFY_SOURCE=1.
37951 (CPPFLAGS-tst-longjmp_chk.c): Define.
37952 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37953 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37954 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37955 CFLAGS-tst-wchar-h.c.
37956
30917259
MP
379572012-05-31 Marek Polacek <polacek@redhat.com>
37958
37959 [BZ #14132]
37960 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37961 __endmntent_internal): Remove declaration.
37962 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37963 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37964 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37965
1c58d5dc
DM
379662012-05-30 David S. Miller <davem@davemloft.net>
37967
37968 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37969 (___Q_simulate_exceptions): Use real FP ops rather than writing
37970 into the %fsr.
37971 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37972 Likewise.
37973
7dc00e0d
L
379742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37975
37976 [BZ #14117]
0bd53985
L
37977 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37978 * sysdeps/x86/bits/xtitypes.h: This.
37979
3a257e66
L
37980 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37981 * sysdeps/x86/bits/wordsize.h: This.
37982
62f62904
L
37983 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37984 * sysdeps/x86/bits/huge_vall.h: This.
37985
404fe9d9
L
37986 * sysdeps/i386/bits/select.h: Removed.
37987 * sysdeps/x86_64/bits/select.h: Renamed to ...
37988 * sysdeps/x86/bits/select.h: This.
37989
d48d0446
L
37990 * sysdeps/i386/bits/setjmp.h: Removed.
37991 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37992 * sysdeps/x86/bits/setjmp.h: This.
37993
7dc00e0d
L
37994 * sysdeps/i386/bits/mathdef.h: Removed.
37995 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37996 * sysdeps/x86/bits/mathdef.h: This.
37997
03277f8f
AS
379982012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37999
38000 [BZ #14132]
38001 * include/sys/socket.h (__connect_internal)
38002 (__libc_sa_len_internal): Remove declaration.
38003 (__connect, __libc_sa_len): Declare hidden_proto.
38004 (SA_LEN): Remove use of INTUSE.
38005 * socket/connect.c: Add libc_hidden_def.
38006 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38007 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38008 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38009 alias.
38010 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38011 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38012 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38013 of adding _internal alias.
38014
13764867
L
380152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38016
38017 [BZ #14117]
6bd97696
L
38018 * sysdeps/i386/bits/link.h: Removed.
38019 * sysdeps/i386/bits/linkmap.h: Likewise.
38020 * sysdeps/x86_64/bits/link.h: Renamed to ...
38021 * sysdeps/x86/bits/link.h: This.
38022 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38023 * sysdeps/x86/bits/linkmap.h: This.
38024
f726f0bb
L
38025 * sysdeps/i386/bits/endian.h: Removed.
38026 * sysdeps/x86_64/bits/endian.h: Renamed to ...
38027 * sysdeps/x86/bits/endian.h: This.
38028
13764867
L
38029 * sysdeps/i386/bits/byteswap.h: Removed.
38030 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38031 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38032 * sysdeps/x86/bits/byteswap.h: This.
38033 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38034 * sysdeps/x86/bits/byteswap-16.h: This.
38035 * sysdeps/i386/Implies: Add x86.
38036 * sysdeps/x86_64/Implies: Likewise.
38037
ae251b0b
DM
380382012-05-30 David S. Miller <davem@davemloft.net>
38039
38040 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38041 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38042 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38043 (FP_TRAPPING_EXCEPTIONS): Define.
38044 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38045 (FP_TRAPPING_EXCEPTIONS): Define.
38046 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38047 subnormals only when inexact has been signalled or underflow
38048 exceptions are enabled.
38049 (_FP_PACK_CANONICAL): Likewise.
38050
d5c90867
L
380512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38052
38053 [BZ #14183]
38054 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38055 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38056
63f1549e
RH
380572012-05-30 Richard Henderson <rth@twiddle.net>
38058
8d8f2279
RH
38059 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38060 with #ifndef NOT_IN_libc.
38061
63f1549e
RH
38062 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
38063 marked to avoid plt entry.
38064
0ab0291b
L
380652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38066
38067 [BZ #14112]
38068 * Makeconfig (default-abi): New macro.
38069 (abi-includes): Likewise.
38070 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
38071 $(abi-$(default-abi)-lib-soname) for soname if defined.
38072 ($(common-objpfx)gnu/lib-names.stmp): Generate from
38073 abi-variants.
38074 * Makefile (installed-stubs): Likewise.
38075 * include/stubs-biarch.h: Removed.
38076 * scripts/lib-names.awk: Only handle one library at a time.
38077 * scripts/soversions.awk: Remove WORDSIZE support.
38078 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38079 entries.
38080 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38081 Removed.
38082 (syscall-list-default-condition): Likewise.
38083 (syscall-list-default-condition): Likewise.
38084 (syscall-list-includes): Likewise.
38085 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38086 syscall-list-* with abi-*. Handle undefined abi-variants.
38087 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38088 * sysdeps/unix/sysv/linux/i386/Implies: New file.
38089 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38090 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38091 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38092 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38093 Removed.
38094 (syscall-list-32-options): Likewise.
38095 (syscall-list-32-condition): Likewise.
38096 (syscall-list-64-options): Likewise.
38097 (syscall-list-64-condition): Likewise.
38098 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38099 macro.
38100 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38101 Renamed to ...
38102 (abi-*): This.
38103 (abi-64-ld-soname): New macro.
38104 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38105 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38106 Renamed to ...
38107 (abi-*): This.
38108 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38109 * sysdeps/x86_64/x32/shlib-versions: Likewise.
38110
4da0431d
JM
381112012-05-30 Joseph Myers <joseph@codesourcery.com>
38112
3a85279c
JM
38113 * sysdeps/unix/sysv/linux/kernel-features.h
38114 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38115 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38116 include <kernel-features.h>.
38117 [!__NR_ftruncate64]: Remove conditional code.
38118 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38119 [__NR_ftruncate64]: Make code unconditional.
38120 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38121 * sysdeps/unix/sysv/linux/truncate64.c: Do not
38122 include <kernel-features.h>.
38123 [!__NR_ftruncate64]: Remove conditional code.
38124 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38125 [__NR_ftruncate64]: Make code unconditional.
38126 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38128 include <kernel-features.h>.
38129 [!__NR_ftruncate64]: Remove conditional code.
38130 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38131 [__NR_ftruncate64]: Make code unconditional.
38132 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38134 include <kernel-features.h>.
38135 [!__NR_ftruncate64]: Remove conditional code.
38136 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38137 [__NR_ftruncate64]: Make code unconditional.
38138 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38139
4da0431d
JM
38140 * configure.in (libc_cv_fpie): Weaken to a compile test using
38141 LIBC_TRY_CC_OPTION.
38142 * configure: Regenerated.
38143
11ef492c
AK
381442012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38145
38146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38150 Refreshed.
38151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38157 Refreshed.
38158
d66ef399
DM
381592012-05-27 David S. Miller <davem@davemloft.net>
38160
38161 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38162 (___Q_zero): New.
38163 (__Q_simulate_exceptions): Return void. Change to simulate
38164 exceptions by writing into the %fsr.
38165 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38166 (__Qp_handle_exceptions): Likewise.
38167 (numbers): Delete.
38168 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38169 __Qp_handle_exceptions.
38170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38171 __Qp_handle_exceptions.
38172 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38173 as unused and give dummy FP_RND_NEAREST initializer.
38174 (FP_INHIBIT_RESULTS): Define.
38175 (___Q_simulate_exceptions): Update declaration.
38176 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38177 formatting.
38178 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38179 as unused and give dummy FP_RND_NEAREST initializer.
38180 (__Qp_handle_exceptions): Update declaration.
38181 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38182 formatting.
38183
04fb54b5
TS
381842012-05-27 Thomas Schwinge <thomas@codesourcery.com>
38185
38186 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38187 the temporary FPU control word.
38188 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38189 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38190 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38191 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38192 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38193 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38194 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38195 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38196 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38197 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38198 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38199
3f99608f
KK
382002012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38201
38202 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38203 fields.
38204
65a4de4e
CLT
382052012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
38206
38207 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38208 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38209 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38210 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38211 Likewise.
38212 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38213 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38214 Likewise.
38215
15749d40
UD
382162012-05-27 Ulrich Drepper <drepper@gmail.com>
38217
38218 * po/h.po: Update from translation team.
38219
25dbcb27
AS
382202012-05-26 Andreas Schwab <schwab@linux-m68k.org>
38221
3d3f8e55
AS
38222 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38223
25dbcb27
AS
38224 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38225 handling of denormals.
38226 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38227 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38228 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38229 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38230 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38231 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38232 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38233 Likewise.
38234
7ad47a80 382352012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
38236
38237 [BZ #14152]
38238 * math/libm-test.inc (fma_test): Don't always expect underflow
38239 exception.
38240
9c6ea9fa
SP
382412012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38242
38243 [BZ #12416]
38244 * elf/tst-execstack.c: Include stackinfo.h.
38245 (do_test): Adjust test case to ensure that pthread_getattr_np
38246 behaviour remains the same after marking stack executable.
38247
a8239222
JM
382482012-05-25 Joseph Myers <joseph@codesourcery.com>
38249
38250 * sysdeps/unix/sysv/linux/kernel-features.h
38251 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38252 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38253 kernel-features.h.
38254 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38255 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38256 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38257 kernel-features.h.
38258 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38259 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38260
918b5606
L
382612012-05-25 H.J. Lu <hongjiu.lu@intel.com>
38262
38263 * configure.in: Define the default includes to being none.
38264 * configure: Regenerated.
38265
3a097cc7
RM
382662012-05-25 Roland McGrath <roland@hack.frob.com>
38267
8422c9a5
RM
38268 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38269 * sysdeps/x86_64/setjmp.S: Likewise.
38270 * sysdeps/i386/bsd-setjmp.S: Likewise.
38271 * sysdeps/i386/bsd-_setjmp.S: Likewise.
38272 * sysdeps/i386/setjmp.S: Likewise.
38273 * sysdeps/i386/__longjmp.S: Likewise.
38274 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38275 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38276
3a097cc7
RM
38277 * include/stap-probe.h: New file.
38278 * configure.in: Handle --enable-systemtap.
38279 * configure: Regenerated.
38280 * config.h.in (USE_STAP_PROBE): New #undef.
38281 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38282 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38283 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38284
21708942
JM
382852012-05-25 Joseph Myers <joseph@codesourcery.com>
38286
38287 [BZ #13717]
38288 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38289 to 2.4.0 where earlier.
38290 * sysdeps/unix/sysv/linux/configure: Regenerated.
38291 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38292 <kernel-features.h>.
38293 [__ASSUME_32BITUIDS]: Make code unconditional.
38294 [!__ASSUME_32BITUIDS]: Remove conditional code.
38295 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38296 <kernel-features.h>.
38297 [__ASSUME_32BITUIDS]: Make code unconditional.
38298 [!__ASSUME_32BITUIDS]: Remove conditional code.
38299 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38300 [__ASSUME_32BITUIDS]: Make code unconditional.
38301 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38302 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38303 <kernel-features.h>.
38304 [__ASSUME_32BITUIDS]: Make code unconditional.
38305 [!__ASSUME_32BITUIDS]: Remove conditional code.
38306 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38307 <kernel-features.h>.
38308 [__ASSUME_32BITUIDS]: Make code unconditional.
38309 [!__ASSUME_32BITUIDS]: Remove conditional code.
38310 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38311 <kernel-features.h>.
38312 [__ASSUME_32BITUIDS]: Make code unconditional.
38313 [!__ASSUME_32BITUIDS]: Remove conditional code.
38314 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38315 <kernel-features.h>.
38316 [__ASSUME_32BITUIDS]: Make code unconditional.
38317 [!__ASSUME_32BITUIDS]: Remove conditional code.
38318 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38319 <kernel-features.h>.
38320 [__ASSUME_32BITUIDS]: Make code unconditional.
38321 [!__ASSUME_32BITUIDS]: Remove conditional code.
38322 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38323 <kernel-features.h>.
38324 [__ASSUME_32BITUIDS]: Make code unconditional.
38325 [!__ASSUME_32BITUIDS]: Remove conditional code.
38326 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38327 <kernel-features.h>.
38328 [__ASSUME_32BITUIDS]: Make code unconditional.
38329 [!__ASSUME_32BITUIDS]: Remove conditional code.
38330 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38331 <kernel-features.h>.
38332 [__ASSUME_32BITUIDS]: Make code unconditional.
38333 [!__ASSUME_32BITUIDS]: Remove conditional code.
38334 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38335 <kernel-features.h>.
38336 [__ASSUME_32BITUIDS]: Make code unconditional.
38337 [!__ASSUME_32BITUIDS]: Remove conditional code.
38338 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38339 <kernel-features.h>.
38340 [__ASSUME_32BITUIDS]: Make code unconditional.
38341 [!__ASSUME_32BITUIDS]: Remove conditional code.
38342 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38343 <kernel-features.h>.
38344 [__NR_setresgid] (__setresgid): Do not declare.
38345 [__ASSUME_32BITUIDS]: Make code unconditional.
38346 [!__ASSUME_32BITUIDS]: Remove conditional code.
38347 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38348 <kernel-features.h>.
38349 [__NR_setresuid] (__setresuid): Do not declare.
38350 [__ASSUME_32BITUIDS]: Make code unconditional.
38351 [!__ASSUME_32BITUIDS]: Remove conditional code.
38352 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38353 <kernel-features.h>.
38354 [__ASSUME_32BITUIDS]: Make code unconditional.
38355 [!__ASSUME_32BITUIDS]: Remove conditional code.
38356 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38357 <kernel-features.h>.
38358 [__ASSUME_32BITUIDS]: Make code unconditional.
38359 [!__ASSUME_32BITUIDS]: Remove conditional code.
38360 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38361 <kernel-features.h>.
38362 [__ASSUME_32BITUIDS]: Make code unconditional.
38363 [!__ASSUME_32BITUIDS]: Remove conditional code.
38364 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38365 <kernel-features.h>.
38366 [__ASSUME_32BITUIDS]: Make code unconditional.
38367 [!__ASSUME_32BITUIDS]: Remove conditional code.
38368 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38369 <kernel-features.h>.
38370 [__ASSUME_32BITUIDS]: Make code unconditional.
38371 [!__ASSUME_32BITUIDS]: Remove conditional code.
38372 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38373 <kernel-features.h>.
38374 [__ASSUME_32BITUIDS]: Make code unconditional.
38375 [!__ASSUME_32BITUIDS]: Remove conditional code.
38376 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38377 <kernel-features.h>.
38378 [__ASSUME_32BITUIDS]: Make code unconditional.
38379 [!__ASSUME_32BITUIDS]: Remove conditional code.
38380 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38381 <kernel-features.h>.
38382 [__ASSUME_32BITUIDS]: Make code unconditional.
38383 [!__ASSUME_32BITUIDS]: Remove conditional code.
38384 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38385 <kernel-features.h>.
38386 [__ASSUME_32BITUIDS]: Make code unconditional.
38387 [!__ASSUME_32BITUIDS]: Remove conditional code.
38388 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38389 <kernel-features.h>.
38390 [__ASSUME_32BITUIDS]: Make code unconditional.
38391 [!__ASSUME_32BITUIDS]: Remove conditional code.
38392 * sysdeps/unix/sysv/linux/kernel-features.h
38393 (__ASSUME_SETRESUID_SYSCALL): Remove.
38394 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38395 (__ASSUME_32BITUIDS): Likewise.
38396 (__ASSUME_LDT_WORKS): Likewise.
38397 (__ASSUME_O_DIRECTORY): Likewise.
38398 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38399 architecture but not kernel version.
38400 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38401 (__ASSUME_MMAP2_SYSCALL): Likewise.
38402 (__ASSUME_STAT64_SYSCALL): Likewise.
38403 (__ASSUME_IPC64): Likewise.
38404 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38405 <kernel-features.h>.
38406 [__ASSUME_32BITUIDS]: Make code unconditional.
38407 [!__ASSUME_32BITUIDS]: Remove conditional code.
38408 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38409 <kernel-features.h>.
38410 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38411 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38412 132096]: Remove conditional code.
38413 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38414 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38415 <kernel-features.h>.
38416 [__ASSUME_32BITUIDS]: Make code unconditional.
38417 [!__ASSUME_32BITUIDS]: Remove conditional code.
38418 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38419 <kernel-features.h>.
38420 [__ASSUME_32BITUIDS]: Make code unconditional.
38421 [!__ASSUME_32BITUIDS]: Remove conditional code.
38422 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38423 <kernel-features.h>.
38424 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38425 unconditional.
38426 (__setresgid): Do not declare.
38427 [__ASSUME_32BITUIDS]: Make code unconditional.
38428 [!__ASSUME_32BITUIDS]: Remove conditional code.
38429 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38430 <kernel-features.h>.
38431 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38432 unconditional.
38433 (__setresuid): Do not declare.
38434 [__ASSUME_32BITUIDS]: Make code unconditional.
38435 [!__ASSUME_32BITUIDS]: Remove conditional code.
38436 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38437 <kernel-features.h>.
38438 [__ASSUME_32BITUIDS]: Make code unconditional.
38439 [!__ASSUME_32BITUIDS]: Remove conditional code.
38440 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38441 <kernel-features.h>.
38442 [__ASSUME_32BITUIDS]: Make code unconditional.
38443 [!__ASSUME_32BITUIDS]: Remove conditional code.
38444
a386f1cc
RH
384452012-05-25 Richard Henderson <rth@twiddle.net>
38446
38447 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38448 dl_hwcap to ifunc resolver.
38449 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38450 elf_ifunc_invoke.
38451 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38452 dl_hwcap to ifunc resolver.
38453 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38454
b6550497
JM
384552012-05-24 Joseph Myers <joseph@codesourcery.com>
38456
38457 [BZ #14153]
38458 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38459 for |x| <= 2**-26, not 2**-57.
38460 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38461 exception.
38462
b0bc23a1
JL
384632012-05-24 Jeff Law <law@redhat.com>
38464
38465 * stdio-common/Makefile (tests): Add bug25.
38466 * stdio-common/bug25.c: New test.
38467
347c92e9
L
384682012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38469
38470 [BZ #13576]
38471 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38472 multiple of MALLOC_ALIGNMENT in size.
38473 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38474
6bcc8b3f
JM
384752012-05-24 Joseph Myers <joseph@codesourcery.com>
38476
38477 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38478 Require >= 256.
38479 (FILENAME_MAX): Use macro-int-constant.
38480 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38481 (_IOFBF): Use macro-int-constant.
38482 (_IOLBF): Likewise.
38483 (_IONBF): Likewise.
38484 (SEEK_CUR): Likewise.
38485 (SEEK_END): Likewise.
38486 (SEEK_SET): Likewise.
38487 (TMP_MAX): Likewise.
38488 (EOF): Use macro-int-constant. Require < 0.
38489 (NULL): Use macro-constant. Require == 0.
38490 (stdin): Require type to be FILE *.
38491 (stdout): Likewise.
38492 (stderr): Likewise.
38493 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38494 macro-int-constant.
38495 (EXIT_SUCCESS): Likewise.
38496 (NULL): Use macro-constant. Require == 0.
38497 (RAND_MAX): Use macro-int-constant.
38498 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38499 [C99-based standards] (strtof): Require function.
38500 [C99-based standards] (strtold): Likewise.
38501 [C99-based standards] (strtoll): Likewise.
38502 [C99-based standards] (strtoull): Likewise.
38503 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38504 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38505 [ISO || ISO99 || ISO11] (math.h): Likewise.
38506 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38507 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38508 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38509
d18ea0c5
AS
385102012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38511
38512 [BZ #14132]
56d25bb8
AS
38513 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38514 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38515 * intl/dgettext.c (DCGETTEXT): Likewise.
38516 * intl/gettext.c (DCGETTEXT): Likewise.
38517 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38518 * posix/regex_internal.h (gettext): Likewise.
38519 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38520 Remove declaration.
38521 * include/argz.h (__argz_count_internal)
38522 (__argz_stringify_internal): Remove declaration.
38523 (__argz_count, __argz_stringify): Declare hidden proto.
38524 * intl/dcgettext.c: Remove use of INTDEF.
38525 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38526 * string/argz-stringify.c: Likewise.
38527 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38528 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38529 Declare hidden proto.
d18ea0c5
AS
38530 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38531 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38532 Declare hidden proto.
38533 * include/stdio.h (__asprintf_internal): Don't declare.
38534 (__asprintf): Don't define as macro. Declare hidden proto.
38535 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38536 (__fsetlocking): Declare hidden proto.
38537 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38538 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38539 hidden proto.
38540 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38541 (_IO_setlinebuf): Remove use of INTUSE.
38542 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38543 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38544 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38545 Remove declaration.
38546 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38547 (_IO_do_flush): Remove use of INTUSE.
38548 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38549 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38550 (_IO_adjust_column, _IO_least_wmarker)
38551 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38552 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38553 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38554 (_IO_default_doallocate, _IO_wdefault_doallocate)
38555 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38556 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38557 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38558 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38559 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38560 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38561 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38562 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38563 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38564 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38565 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38566 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38567 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38568 proto.
38569 (_IO_flush_all_internal, _IO_adjust_column_internal)
38570 (_IO_default_uflow_internal, _IO_default_finish_internal)
38571 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38572 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38573 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38574 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38575 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38576 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38577 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38578 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38579 (_IO_file_close_internal, _IO_file_close_it_internal)
38580 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38581 (_IO_file_init_internal, _IO_file_attach_internal)
38582 (_IO_file_fopen_internal, _IO_file_read_internal)
38583 (_IO_file_sync_internal, _IO_file_seek_internal)
38584 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38585 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38586 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38587 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38588 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38589 (_IO_list_all_internal, _IO_link_in_internal)
38590 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38591 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38592 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38593 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38594 (_IO_do_write_internal, _IO_padn_internal)
38595 (_IO_getline_info_internal, _IO_getline_internal)
38596 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38597 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38598 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38599 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38600 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38601 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38602 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38603 with libc_hidden_ver, remove use of INTUSE.
38604 * libio/genops.c: Likewise.
38605 * libio/freopen.c: Likewise.
38606 * libio/freopen64.c: Likewise.
38607 * libio/iofclose.c: Likewise.
38608 * libio/iofdopen.c: Likewise.
38609 * libio/iofflush.c: Likewise.
38610 * libio/iofflush_u.c: Likewise.
38611 * libio/iofgets.c: Likewise.
38612 * libio/iofgets_u.c: Likewise.
38613 * libio/iofopen.c: Likewise.
38614 * libio/iofopncook.c: Likewise.
38615 * libio/iofread.c: Likewise.
38616 * libio/iofread_u.c: Likewise.
38617 * libio/ioftell.c: Likewise.
38618 * libio/iofwrite.c: Likewise.
38619 * libio/iogetline.c: Likewise.
38620 * libio/iogets.c: Likewise.
38621 * libio/iogetwline.c: Likewise.
38622 * libio/iopadn.c: Likewise.
38623 * libio/iopopen.c: Likewise.
38624 * libio/ioseekoff.c: Likewise.
38625 * libio/ioseekpos.c: Likewise.
38626 * libio/iosetbuffer.c: Likewise.
38627 * libio/iosetvbuf.c: Likewise.
38628 * libio/ioungetc.c: Likewise.
38629 * libio/ioungetwc.c: Likewise.
38630 * libio/iovdprintf.c: Likewise.
38631 * libio/iovsprintf.c: Likewise.
38632 * libio/iovsscanf.c: Likewise.
38633 * libio/memstream.c: Likewise.
38634 * libio/obprintf.c: Likewise.
38635 * libio/oldfileops.c: Likewise.
38636 * libio/oldiofclose.c: Likewise.
38637 * libio/oldiofdopen.c: Likewise.
38638 * libio/oldiofopen.c: Likewise.
38639 * libio/oldiopopen.c: Likewise.
38640 * libio/oldstdfiles.c: Likewise.
38641 * libio/putc.c: Likewise.
38642 * libio/setbuf.c: Likewise.
38643 * libio/setlinebuf.c: Likewise.
38644 * libio/stdfiles.c: Likewise.
38645 * libio/strops.c: Likewise.
38646 * libio/vasprintf.c: Likewise.
38647 * libio/vscanf.c: Likewise.
38648 * libio/vsnprintf.c: Likewise.
38649 * libio/vswprintf.c: Likewise.
38650 * libio/wfiledoalloc.c: Likewise.
38651 * libio/wfileops.c: Likewise.
38652 * libio/wgenops.c: Likewise.
38653 * libio/wmemstream.c: Likewise.
38654 * libio/wstrops.c: Likewise.
38655 * libio/__fpurge.c: Likewise.
38656 * libio/__fsetlocking.c: Likewise.
38657 * assert/assert.c: Likewise.
38658 * debug/fgets_chk.c: Likewise.
38659 * debug/fgets_u_chk.c: Likewise.
38660 * debug/fread_chk.c: Likewise.
38661 * debug/fread_u_chk.c: Likewise.
38662 * debug/gets_chk.c: Likewise.
38663 * debug/obprintf_chk.c: Likewise.
38664 * debug/vasprintf_chk.c: Likewise.
38665 * debug/vdprintf_chk.c: Likewise.
38666 * debug/vsnprintf_chk.c: Likewise.
38667 * debug/vsprintf_chk.c: Likewise.
38668 * malloc/mtrace.c: Likewise.
38669 * misc/error.c: Likewise.
38670 * misc/syslog.c: Likewise.
38671 * stdio-common/asprintf.c: Likewise.
38672 * stdio-common/fxprintf.c: Likewise.
38673 * stdio-common/getw.c: Likewise.
38674 * stdio-common/isoc99_fscanf.c: Likewise.
38675 * stdio-common/isoc99_scanf.c: Likewise.
38676 * stdio-common/isoc99_vfscanf.c: Likewise.
38677 * stdio-common/isoc99_vscanf.c: Likewise.
38678 * stdio-common/isoc99_vsscanf.c: Likewise.
38679 * stdio-common/printf-prs.c: Likewise.
38680 * stdio-common/printf_fp.c: Likewise.
38681 * stdio-common/printf_fphex.c: Likewise.
38682 * stdio-common/printf_size.c: Likewise.
38683 * stdio-common/putw.c: Likewise.
38684 * stdio-common/scanf.c: Likewise.
38685 * stdio-common/sprintf.c: Likewise.
38686 * stdio-common/tmpfile.c: Likewise.
38687 * stdio-common/vfprintf.c: Likewise.
38688 * stdio-common/vfscanf.c: Likewise.
38689 * stdlib/strfmon_l.c: Likewise.
38690 * sunrpc/openchild.c: Likewise.
38691 * sunrpc/xdr_stdio.c: Likewise.
38692 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38693 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38694
d6c33fda
RM
386952012-05-24 Roland McGrath <roland@hack.frob.com>
38696
c1487492
RM
38697 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38698
38699 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38700 in the third column, to generate for the shared library an IFUNC
38701 that uses _dl_vdso_vsym.
38702 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38703 * Makeconfig (object-suffixes-noshared): New variable.
38704
38705 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38706 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38707 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38708 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38709
d6c33fda
RM
38710 [BZ #14132]
38711 * include/sys/time.h (__gettimeofday): Remove macro.
38712 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38713 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38714 Remove INTDEF.
38715 (__gettimeofday): Add libc_hidden_def.
38716 (gettimeofday): Add libc_hidden_weak.
38717 * sysdeps/mach/gettimeofday.c: Likewise.
38718 * sysdeps/posix/gettimeofday.c: Likewise.
38719 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38720 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38721 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38722 (__gettimeofday_internal): Remove strong_alias.
38723 (__gettimeofday): Add libc_hidden_def.
38724 (gettimeofday): Add libc_hidden_weak.
38725 * sysdeps/unix/syscalls.list (gettimeofday):
38726 Remove __gettimeofday_internal alias.
38727
b5a2bbe6
L
387282012-05-24 Daniel Jacobowitz <drow@false.org>
38729 H.J. Lu <hongjiu.lu@intel.com>
38730
38731 [BZ #12495]
38732 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38733 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38734 (largebin_index_32_big): New.
38735 (largebin_index): Use it for 16-byte alignment.
38736 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38737 correction with front_misalign.
38738
cfba4fda
L
387392012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38740
7f907421
L
38741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38743 Likewise.
38744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38745 Likewise.
38746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38747 Likewise.
38748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38749 Likewise.
38750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38751 Likewise.
38752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38753 Likewise.
38754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38755 Likewise.
38756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38757 Likewise.
38758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38759 Likewise.
38760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38761 Likewise.
38762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38763 Likewise.
38764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38765 Likewise.
38766
cfba4fda
L
38767 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38768 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38769
80bad0cc
JM
387702012-05-24 Joseph Myers <joseph@codesourcery.com>
38771
7a25eb06
JM
38772 [BZ #10846]
38773 [BZ #14036]
38774 * math/libm-test.inc (exp_test): Add test from bug 14036.
38775 (pow_test): Add test from bug 10846.
38776
795405f9
JM
38777 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38778 and other flags.
38779 (special_function): Do not include flags in test name.
38780 (parse_args): Likewise.
38781 * sysdeps/i386/fpu/libm-test-ulps: Update.
38782 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38783 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38784 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38786
80bad0cc
JM
38787 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38788 exceptions.
38789 * math/libm-test.inc ("Philosophy"): Update comment about
38790 exception testing.
38791 (UNDERFLOW_EXCEPTION): New macro.
38792 (UNDERFLOW_EXCEPTION_OK): Likewise.
38793 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38794 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38795 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38796 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38797 (INVALID_EXCEPTION_OK): Update value.
38798 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38799 (OVERFLOW_EXCEPTION_OK): Likewise.
38800 (IGNORE_ZERO_INF_SIGN): Likewise.
38801 (test_exceptions): Handle underflow exceptions.
38802 (acos_test): Update for underflow exception expectations.
38803 (cexp_test): Likewise.
38804 (clog_test): Likewise.
38805 (clog10_test): Likewise.
38806 (csqrt_test): Likewise.
38807 (ctan_test): Likewise.
38808 (ctanh_test): Likewise.
38809 (exp_test): Likewise.
38810 (exp10_test): Likewise.
38811 (exp2_test): Likewise.
38812 (expm1_test): Likewise.
38813 (fma_test): Likewise.
38814 (j0_test): Likewise.
38815 (jn_test): Likewise.
38816 (nexttoward_test): Likewise.
38817 (pow_test): Likewise.
38818 (scalbn_test): Likewise.
38819 (scalbln_test): Likewise.
38820 (tan_test): Likewise.
38821 (y1_test): Likewise.
38822 * sysdeps/i386/fpu/libm-test-ulps: Update.
38823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38824
9e0e3d0b
DM
388252012-05-23 David S. Miller <davem@davemloft.net>
38826
38827 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38828 (__libc_sigaction): Remove unused local variables.
38829
ccd0a08f
L
388302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38831
38832 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38833
62bdf9a6
PE
388342012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38835
f8591f80
PE
38836 mktime: avoid signed integer overflow
38837 * time/mktime.c (__mktime_internal): Do not mishandle the case
38838 where diff == INT_MIN.
38839
94c7d826
PE
38840 mktime: simplify computation of average
38841 * time/mktime.c (ranged_convert): Use new time_t_avg function
38842 instead of rolling our own (probably-slower) code.
38843
ce73d683
PE
38844 mktime: do not assume signed right shift propagates sign bit
38845 * time/mktime.c (isdst_differ): New static function.
38846 (__mktime_internal): No need to normalize tm_isdst now.
38847 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38848 tm_isdst values.
38849
72a22e59
PE
38850 mktime: merge another wrapv change from gnulib
38851 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38852 from some compilers.
38853
68605433
PE
38854 mktime: remove incorrect attempt at unusual arithmetics
38855 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38856 The code didn't really work on such machines anyway.
38857 (TYPE_MINIMUM): Assume two's complement.
38858 (twos_complement_arithmetic): Verify that long_int and time_t
38859 are two's complement (or unsigned, in the latter case).
38860
03cf7fe3
PE
38861 mktime: check signed shifts on long_int and time_t, too
38862 * time/mktime.c (SHR): Check that shifts work as desired
38863 on the types long_int and time_t too, as SHR is used on
38864 such types.
38865
f04dfbc2
PE
38866 mktime: do not assume 'long' is wide enough
38867 * time/mktime.c (verify): Move decl up.
38868 (long_int): New type.
38869 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38870 to remove assumption in the code that 'long' is wide enough to
38871 store year values. This assumption is not true on x32 and on
38872 some non-glibc platforms.
38873
62bdf9a6
PE
38874 mktime: merge wrapv change from gnulib
38875 * time/mktime.c (WRAPV): New macro.
38876 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38877 (guess_time_tm, __mktime_internal): Do not assume that signed
38878 integer overflow wraps around; modern compilers generate code
38879 where this assumption is no longer valid.
38880
5e292e4f
L
388812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38882
38883 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38884 Replace "jmp L(pseudo_end)" with "ret".
38885 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38886 Likewise.
38887
8caf8c87
AJ
388882012-05-23 Andreas Jaeger <aj@suse.de>
38889
38890 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38891 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38892
1a09dc56
AJ
388932012-05-23 Andreas Jaeger <aj@suse.de>
38894 Maximilian Attems <max@stro.at>
38895
38896 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38897 New macros.
38898
1c87aba0
L
388992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38900
38901 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38902 code so that pseudo_end is just ret and the stack pointer is
38903 correct also for static library in error case.
38904
40e45bd5
JM
389052012-05-23 Joseph Myers <joseph@codesourcery.com>
38906
c2670533
JM
38907 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38908 move to syscalls.list.
38909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38913
40e45bd5
JM
38914 * manual/install.texi (Running make install): Do not mention Linux
38915 kernel version for which pt_chown is not needed.
38916 (Linux): Do not mention problems with nscd with 2.0 kernels.
38917 * INSTALL: Regenerated.
38918
be08eda5
AJ
389192012-05-23 Andreas Jaeger <aj@suse.de>
38920
38921 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38922 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38923 macro.
38924 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38925 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38926 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38927 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38928 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38929 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38930 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38931 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38932 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38933 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38934 * sysdeps/unix/sysv/linux/bits/in.h
38935 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38936
a6a056bb
RM
389372012-05-22 Roland McGrath <roland@hack.frob.com>
38938
38939 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38940 (PREPARE_VERSION): Just use assert instead, it will be elided
38941 under [NDEBUG] anyway.
38942
c9009328
L
389432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38944
38945 * sysdeps/unix/sysv/linux/Makefile: Include
38946 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 38947 (sysdep_routines): Remove sysctl.
c9009328
L
38948 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38949 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38950 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38951 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38952 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38953
73338355
AJ
389542012-05-22 Andreas Jaeger <aj@suse.de>
38955
38956 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38957 that pseudo_end is just ret and the stack pointer is correct also
38958 for static library in error case.
38959
d44638b0
PP
389602012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38961
38962 [BZ #14122]
38963 * nss/nsswitch.c (defconfig_entries): New variable.
38964 (__nss_database_lookup): Don't leak defconfig entries.
38965 (nss_parse_service_list): Don't leak on error paths.
38966 (free_database_entries): New function.
38967 (free_defconfig): New function.
38968 (free_mem): Move common code to free_database_entries.
38969
31a39bd8
L
389702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38971
da0331a8
L
38972 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38973 Add arch_prctl.
38974 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38975
31a39bd8
L
38976 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38977 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38978 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38979 New macro.
38980 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38981 (INTERNAL_SYSCALL_TYPES): Likewise.
38982 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38983 (LOAD_REGS_TYPES_[1-6]): Likewise.
38984 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38985 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38986
45470df3
AZ
389872012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38988
38989 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38990 copysignl for GLIBC_2_0.
38991 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38992 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38993 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38994 logbl for GLIBC_2_0.
38995 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38996 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38997
98a61bcb
L
389982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38999
a4f6e481
L
39000 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39001 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39002
f63d5db6
L
39003 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39004 Use "neg %eax".
39005
98a61bcb
L
39006 * time/mktime.c: Update copyright years.
39007
95770f14
PE
390082012-05-22 Paul Eggert <eggert@cs.ucla.edu>
39009
6226efbd
PE
39010 mktime: merge comment-quoting-style change from gnulib
39011 * time/mktime.c: Quote 'like this' in comments.
39012 The GNU coding standards suggest that we no longer quote `like this',
39013 as "`" and "'" are typically rendered asymmetrically nowadays.
39014 The typical gnulib style is to quote 'like this' when quoting
39015 code, and "like this" when quoting English.
39016
b99e4f78
PE
39017 * time/mktime.c (compile-command): Add "-I.".
39018
643e01e6
PE
39019 mktime: merge mktime-internal.h change from gnulib
39020 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39021
2554247d
PE
39022 mktime: merge time_r change from gnulib
39023 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39024
826dd0ab
PE
39025 mktime: merge DEBUG change from gnulib
39026 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39027 case system <time.h> has a #define.
39028
bd83aabe
PE
39029 mktime: merge <sys/types.h> change from gnulib
39030 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39031 since <time.t> is now guaranteed to define time_t.
39032
95770f14
PE
39033 mktime: merge HAVE_CONFIG_H change from gnulib
39034 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39035
5e1a27a9
L
390362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39037
0e44a77e
L
39038 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39039 Use "neg %eax".
39040
5e1a27a9
L
39041 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39042 __rlim_t cast.
39043 (struct rusage): Use anonymous union to pad each field to
39044 __syscall_slong_t.
39045
46259bec
DM
390462012-05-21 David S. Miller <davem@davemloft.net>
39047
39048 * Makefules (o-iterator): Remove .s cases.
39049 (compile-command.s): Delete.
39050 (COMPILE.s): Delete.
39051 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39052
59f0c22e
JM
390532012-05-21 Joseph Myers <joseph@codesourcery.com>
39054
39055 * configure.in (libc_cv_predef_stack_protector): Only consider
39056 "foobar" and "__stack_chk_fail" lines in libc_undefs.
39057 * configure: Regenerated.
39058
20c07380
L
390592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39060
bbb3154b
L
39061 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39062 New macro. Use R*LP on int and pointer.
39063 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
39064 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39065 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
39066 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39067
20c07380
L
39068 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39069 [__WORDSIZE_TIME64_COMPAT32] instead of
39070 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39071 (struct utmp): Likewise.
39072 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39073 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39074 Renamed to ...
39075 (__WORDSIZE_TIME64_COMPAT32): This.
39076 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39077 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39078 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39079 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39080 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39081 (__WORDSIZE_TIME64_COMPAT32): New macro.
39082
d8d1017e
AJ
390832012-05-21 Andreas Jaeger <aj@suse.de>
39084
39085 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39086 only if [SHARED]. Add prototype for __wcschr_ia32.
39087
6c7fb145
RM
390882012-05-21 Roland McGrath <roland@hack.frob.com>
39089
39090 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39091 of %rbp unmolested in the jmp_buf while mangling the low bits.
39092 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39093 unmolested high bits of %rbp while demangling the low bits.
39094 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39095
66274218
AJ
390962012-05-21 Andreas Jaeger <aj@suse.de>
39097
07c58f8f
AJ
39098 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39099 * sunrpc/svc_simple.c: Use it for registerrpc.
39100 * sunrpc/xcrypt.c: Use it for passwd2des.
39101
66274218
AJ
39102 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39103
61f65140
L
391042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39105
39106 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39107 Don't define if [__SYSCALL_WORDSIZE != 32].
39108 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39109 New macro.
39110
5fefb436
AJ
391112012-05-21 Bruno Haible <bruno@clisp.org>
39112 Andreas Jaeger <aj@suse.de>
39113
39114 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39115 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39116 inptr and inend for must_buffer_ch.
39117 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39118 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39119 * stdio-common/Makefile (tests): Remove bug15.
39120 (bug15-ENV): Remove macro.
39121 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39122 anymore.
39123
d8e272ab
AJ
391242012-05-19 Andreas Jaeger <aj@suse.de>
39125 Roland McGrath <roland@hack.frob.com>
39126
39127 * manual/contrib.texi: Completely rewritten. It contains now an
39128 alphabetical list of contributors and their contributions.
39129
4a56a162
RH
391302012-05-21 Richard Henderson <rth@twiddle.net>
39131
39132 * misc/getauxval.c (__getauxval): Use unsigned long int.
39133 * misc/sys/auxv.h: Include <sys/cdefs.h>.
39134 (getauxval): Use unsigned long int.
39135
d024d23c
L
391362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39137
39138 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39139
cbc00a03
RM
391402012-05-21 Roland McGrath <roland@hack.frob.com>
39141
39142 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39143 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39144 __alignof__ (long double).
39145
478143fa
AZ
391462012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39147
39148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39149
c7683a6d
RH
391502012-05-20 Richard Henderson <rth@twiddle.net>
39151
39152 * misc/getauxval.c: New file.
39153 * misc/sys/auxv.h: New file.
39154 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39155 (routines): Add getauxval.
39156 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39157 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39158 * elf/dl-sysdep.c (_dl_auxv): Remove.
39159 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39160 * elf/dl-support.c (_dl_auxv): New variable.
39161 (_dl_aux_init): Initialize it.
39162 * manual/startup.texi (Auxiliary Vector): New node.
39163 * sysdeps/generic/bits/hwcap.h: New file.
39164 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39165 * sysdeps/powerpc/sysdep.h: ... here. Include it.
39166 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39167 * sysdeps/sparc/sysdep.h: ... here. Include it.
39168 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39169 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
39170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39171 Update.
c7683a6d
RH
39172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39175 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39180
a6f1845d
AZ
391812012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39182
39183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39184
cbcbe830
DM
391852012-05-19 David S. Miller <davem@davemloft.net>
39186
39187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39188
e0b16cc2
JM
391892012-05-19 Joseph Myers <joseph@codesourcery.com>
39190
39191 [BZ #14123]
39192 * math/s_ccosh.c: Include <float.h>
39193 (__ccosh): Avoid internal overflow calculating sinh and cosh
39194 values before multiplying by sin and cos values.
39195 * math/s_ccoshf.c: Likewise.
39196 * math/s_ccoshl.c: Likewise.
39197 * math/s_csin.c: Likewise.
39198 * math/s_csinf.c: Likewise.
39199 * math/s_csinl.c: Likewise.
39200 * math/s_csinh.c: Likewise.
39201 * math/s_csinhf.c: Likewise.
39202 * math/s_csinhl.c: Likewise.
39203 * math/libm-test.inc (ccos_test): Add more tests.
39204 (ccosh_test): Likewise.
39205 (csin_test): Likewise.
39206 (csinh_test): Likewise.
39207 * sysdeps/i386/fpu/libm-test-ulps: Update.
39208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39209
6ad13e08
L
392102012-05-19 H.J. Lu <hongjiu.lu@intel.com>
39211
f66f0ce8
L
39212 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39213 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39214
6ad13e08
L
39215 * sysdeps/x86_64/x32/_itoa.h: Add comment.
39216
b1d072a7
JM
392172012-05-19 Joseph Myers <joseph@codesourcery.com>
39218
39219 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39220 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39221 * sysdeps/powerpc/soft-fp/Versions: Likewise.
39222 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39223 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39224 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39225 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39226 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39227 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39228 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39229 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39230 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39231 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39232 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39233 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39234 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39235 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39236 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39237 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39238 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39239 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39240 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39241 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39242 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39243 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39244 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39245 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39246 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39247 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39248 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39249 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39250
9eae47cb
AJ
392512012-05-18 Andreas Jaeger <aj@suse.de>
39252
39253 * csu/.gitignore: Delete.
39254
bb07f69f
L
392552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39256
39257 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39258 (timex): Use __syscall_slong_t.
39259
e6bdb741
AJ
392602012-05-18 Andreas Jaeger <aj@suse.de>
39261 Carlos O'Donell <carlos_odonell@mentor.com>
39262
39263 * manual/install.texi (Configuring and compiling): Update
39264 description about files modified in the source directory.
d6c33fda 39265 * INSTALL: Regenerated.
e6bdb741 39266
1b74487e
L
392672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39268
39269 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39270 value. Use "or" to set return value to -1.
39271 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39272 negate return value.
39273
a88b64b9
TMQMF
392742012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39275
57f41c40
AS
39276 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39277 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
39278 failure if the compiler has Graphite support disabled.
39279 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39280 Likewise.
57f41c40
AS
39281 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39282 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
39283 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39284 Likewise.
39285
3707636e
L
392862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39287
610b8622
L
39288 * sysdeps/x86_64/x32/_itoa.h: New file.
39289
7cd195df
L
39290 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39291 getdents system call only if kernel and user dirents have the
39292 same d_ino and d_off.
39293
94b07d20
L
39294 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39295 LLONG_MAX != LONG_MAX.
39296 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39297 (_fitoa_word): Likewise.
39298
18298070
L
39299 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39300 years.
39301 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39302 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39303 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39304
553c7ea4
L
39305 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39306 include <bits/wordsize.h>. Check __x86_64__ instead of
39307 __WORDSIZE.
39308 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39309 if __x86_64__ is defined. Use anonymous union on fpstate.
39310
3707636e
L
39311 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39312 anonymous union.
39313
b53ef01a
AS
393142012-05-18 Andreas Schwab <schwab@linux-m68k.org>
39315
37fb1dc0
AS
39316 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39317 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39318 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39319 Refer to _rtld_local_ro instead of _rtld_global_ro.
39320 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39321 Likewise.
39322 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39323 Likewise.
39324 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39325 Likewise.
39326 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39327 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39328 of _rtld_global, and rtld_progname instead of _dl_argv[0].
39329
b53ef01a
AS
39330 * sysdeps/powerpc/powerpc32/dl-machine.c
39331 (__elf_machine_runtime_setup) [PROF]: Don't reference
39332 _dl_prof_resolve.
39333
7a185db2
AJ
393342012-05-18 Andreas Jaeger <aj@suse.de>
39335
39336 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39337 function only available for GCCs before 3.4 since GCC 3.4
39338 introduced a builtin.
39339 (lrint): Likewise.
39340 (llrintf): Likewise.
39341 (llrint): Likewise.
39342 (fmaxf): Likewise.
39343 (fmax): Likewise.
39344 (fminf): Likewise.
39345 (fmin): Likewise.
39346 (rint): Likewise.
39347 (rintf): Likewise.
39348 (nearbyint): Likewise.
39349 (nearbyintf): Likewise.
39350 (ceil): Likewise.
39351 (ceilf): Likewise.
39352 (floor): Likewise.
39353 (floorf): Likewise.
39354
3e5aef87
L
393552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39356
428bd707
L
39357 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39358 on both fields and cast pointer to __syscall_ulong_t.
39359
3e5aef87
L
39360 * bits/types.h (__fsword_t): New type.
39361 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39362 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39363 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39364 (__FSWORD_T_TYPE): Likewise.
39365 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39366 (__FSWORD_T_TYPE): Likewise.
39367 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39368 (__FSWORD_T_TYPE): Likewise.
39369 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39370 (__FSWORD_T_TYPE): Likewise.
39371 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39372 __SWORD_TYPE with __fsword_t.
39373 (statfs64): Likewise.
39374
1ba7c3dc
DM
393752012-05-17 David S. Miller <davem@davemloft.net>
39376
39377 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39378
59910343
AJ
393792012-05-17 Andreas Jaeger <aj@suse.de>
39380
39381 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39382 warning.
39383
2e4c1e9e
L
393842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39385
39386 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39387
de7f5ce7
AJ
393882012-05-17 Andreas Jaeger <aj@suse.de>
39389
39390 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39391 when it is used.
39392
286abc3d
CM
393932012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39394
39395 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39396
477cc68e
L
393972012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39398
39399 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39400 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39401
1a0994f5
CD
394022012-05-17 Andreas Jaeger <aj@suse.de>
39403 Carlos O'Donell <carlos_odonell@mentor.com>
39404
39405 [BZ #14059]
39406 * sysdeps/x86_64/multiarch/init-arch.h
39407 (bit_YMM_Usable): Rename to...
39408 (bit_AVX_Usable): ... this.
39409 (bit_FMA4_Usable): New macro.
39410 (bit_XMM_state): New macro.
39411 (bit_YMM_state): New macro.
39412 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39413 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39414 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39415 (CPUID_OSXSAVE): New macro.
39416 (CPUID_AVX): New macro.
39417 (CPUID_FMA4): New macro.
39418 (index_YMM_Usable): Rename to...
39419 (index_AVX_Usable): ... this.
39420 (HAS_AVX): Use HAS_ARCH_FEATURE.
39421 (HAS_FMA4): Likewise.
39422 (HAS_YMM_USABLE): Remove.
39423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39424 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39425 are present.
39426 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39427 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39428 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39429 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39430 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39431
0af797de
CM
394322012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39433
39434 * math/libm-test.c: Support platforms without multiple rounding modes.
39435 * math/bug-nextafter.c: Support platforms without FP exceptions.
39436 * math/bug-nexttoward.c: Likewise.
39437 * math/test-fenv.c: Likewise.
39438 * math/test-misc.c: Likewise.
39439 * stdlib/bug-getcontext.c: Likewise.
39440
e39745ff
AJ
394412012-05-17 Andreas Jaeger <aj@suse.de>
39442
39443 * manual/examples/search.c (critter_cmp): Change signature to
39444 avoid warnings.
39445 * manual/string.texi (Collation Functions): Likewise.
39446
48970aba
L
394472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39448
39449 * bits/types.h: Fold copyright years.
39450 * bits/typesizes.h: Likewise.
39451 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39452 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39453 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39454 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39455 * time/time.h: Likewise.
39456
bedee953
PP
394572012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39458
39459 [BZ #208]
39460 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39461 in instead of returning them. Return void.
39462 (__libc_mallinfo): Accumulate over all arenas.
39463 (__malloc_stats): Adjust for change in int_mallinfo interface.
39464
61653dfb
RM
394652012-05-16 Roland McGrath <roland@hack.frob.com>
39466
30b99d79
RM
39467 [BZ #10375]
39468 * configure.in (NM): Add AC_CHECK_TOOL for it.
39469 (libc_extra_cflags): New substituted variable.
39470 Check for -fstack-protector being used implicitly.
39471 * configure: Regenerated.
39472 * config.make.in (config-extra-cflags): New variable,
39473 gets @libc_extra_cflags@.
39474 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39475
61653dfb
RM
39476 [BZ #10375]
39477 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39478 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39479 * configure: Regenerated.
39480 * config.make.in (CPPUNDEFS): New substituted variable.
39481 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39482 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39483 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39484
661768bb
L
394852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39486
39487 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39488 (mq_attr): Use __syscall_slong_t.
39489
d4261567
L
394902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39491
39492 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39493 Check __x86_64__ instead of __WORDSIZE.
39494 (_STAT_VER_LINUX): Likewise.
39495 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39496 __syscall_ulong_t and __syscall_slong_t.
39497 (stat64): Likewise.
39498
cf3ff365
L
394992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39500
39501 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39502
76cf3e4d
L
395032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39504
39505 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39506
a637753a
L
395072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39508
39509 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39510 __syscall_ulong_t.
39511
d5e05119
L
39512 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39513 include <bits/wordsize.h>. Check __x86_64__ instead of
39514 __WORDSIZE.
39515 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39516 defined.
39517 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39518
f62ee380
L
39519 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39520 include <bits/wordsize.h>. Check __x86_64__ instead of
39521 __WORDSIZE.
39522 (user_regs_struct): Use "__extension__ unsigned long long"
39523 instead of "unsigned long" if __x86_64__ is defined.
39524 (user): Likewise. Pad after pointer field if __ILP32__ is
39525 defined.
39526
4e124ced
JM
395272012-05-16 Joseph Myers <joseph@codesourcery.com>
39528
6a3951a0
JM
39529 * configure.in (makeinfo): Require version 4.5 or later. Allow
39530 versions 5 to 9.
39531 * configure: Regenerated.
39532 * manual/install.texi (texinfo): Increase version requirement to
39533 4.5 or later.
39534 * INSTALL: Regenerated.
39535
4e124ced
JM
39536 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39537
953ca31a
L
395382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39539
39540 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39541
617aca05
L
39542 * sysdeps/x86_64/x32/ffs.c: New file.
39543
5762f7ae
L
39544 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39545 __syscall_ulong_t.
39546 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39547 defined. Use __syscall_ulong_t.
39548 (shminfo): Use __syscall_ulong_t.
39549 (shm_info): Likewise.
39550
a26b6856
L
39551 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39552 __syscall_ulong_t.
39553
cb2b9ef7
L
39554 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39555 <bits/wordsize.h>.
39556 (msgqnum_t): Use __syscall_ulong_t.
39557 (msglen_t): Likewise.
39558 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39559 __syscall_ulong_t.
39560
34683bb0
L
39561 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39562 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39563
84a68786
L
39564 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39565
48baa5f1
L
39566 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39567 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39568
180be88b
L
39569 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39570 __syscall_slong_t.
39571
5e90c8ad
L
39572 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39573 include <bits/wordsize.h>. Check __x86_64__ instead of
39574 __WORDSIZE.
39575
23dfb58b
L
39576 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39577 "unsigned long long int" if __x86_64__ is defined.
39578 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39579
ce5d54b0
L
39580 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39581 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39582 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39583
13dc9eac
L
39584 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39585 <stdint.h>.
39586 (GET_PC): Cast to uintptr_t first.
39587 (GET_FRAME): Likewise.
39588 (GET_STACK): Likewise.
39589
a7895d15
L
39590 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39591 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39592 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39593 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39594 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39595 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39596 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39597 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39598 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39599 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39600 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39601 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39602 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39603 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39604 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39605 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39606 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39607 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39608 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39609 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39610 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39611 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39612 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39613 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39614 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39615 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39616 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39617 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39618 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39619
656416c9
AS
396202012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39621
5bd66283
AS
39622 * Makerules (+depfiles): Also collect depfiles from .oS in
39623 $(extra-objs).
39624 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39625 .oS, $(libnldbl-routines)).
39626
656416c9
AS
39627 * Makerules (native-compile-mkdep-flags): Define.
39628 * sunrpc/Makefile (extra-objs): Add $(addprefix
39629 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39630 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39631 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39632 calling $(make-target-directory).
39633
a46f2169
L
396342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39635
39636 * bits/types.h (__snseconds_t): Removed.
39637 * time/time.h (struct timespec): Replace __snseconds_t with
39638 __syscall_slong_t.
39639 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39640 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39641 Likewise.
39642 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39643 (__SNSECONDS_T_TYPE): Likewise.
39644 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39645 (__SNSECONDS_T_TYPE): Likewise.
39646 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39647 (__SNSECONDS_T_TYPE): Likewise.
39648
6af6528b
L
396492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39650
39651 * sysdeps/mach/hurd/bits/typesizes.h
39652 (__SYSCALL_SLONG_TYPE): New macro.
39653 (__SYSCALL_ULONG_TYPE): Likewise.
39654
de986b56
L
396552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39656
39657 * bits/types.h (__syscall_slong_t): New type.
39658 (__syscall_ulong_t): Likewise.
39659
39660 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39661 (__SYSCALL_ULONG_TYPE): Likewise.
39662 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39663 (__SYSCALL_SLONG_TYPE): Likewise.
39664 (__SYSCALL_ULONG_TYPE): Likewise.
39665 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39666 (__SYSCALL_SLONG_TYPE): Likewise.
39667 (__SYSCALL_ULONG_TYPE): Likewise.
39668 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39669 (__SYSCALL_SLONG_TYPE): Likewise.
39670 (__SYSCALL_ULONG_TYPE): Likewise.
39671
85736dc7
L
396722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39673
39674 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39675 Add sigaltstack-offsets.sym.
39676 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39677 <sigaltstack-offsets.h>.
39678 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39679 longjmp_msg pointer.
39680 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39681 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39682 signal stack.
39683 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39684
cc03b296
JM
396852012-05-15 Joseph Myers <joseph@codesourcery.com>
39686
a9538892
JM
39687 * elf/stackguard-macros.h: Remove file.
39688 * sysdeps/generic/stackguard-macros.h: New file.
39689 * sysdeps/i386/stackguard-macros.h: Likewise.
39690 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39691 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39692 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39693 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39694 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39695 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39696 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39697 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39698 <elf/stackguard-macros.h>.
39699
cc03b296
JM
39700 [BZ #14109]
39701 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39702 __aligned__ in attribute.
39703 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39704 (gregset_t): Likewise.
39705
93171016
L
397062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39707
39708 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39709 * sysdeps/x86_64/64/Implies-after: Here. New file.
39710 * sysdeps/x86_64/x32/Implies-after: New file.
39711
d86813a0
L
397122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39713
39714 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39715 and access return value for _dl_profile_fixup. Use R10_LP to
39716 load frame size.
39717
2953ec75
L
397182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39719
39720 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39721
3b550e9e
L
397222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39723
39724 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39725 * sysdeps/x86_64/x32/sysdep.h: New file.
39726
eda41706
L
397272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39728
39729 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39730 * sysdeps/x86_64/setjmp.S: Likewise.
39731
9ea01d93
AZ
397322012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39733
39734 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39735 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39736 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39737 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39738 remove unused global constant.
39739
02a91938
CM
397402012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39741
39742 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39743 include of <not-cancel.h>.
39744
6540185f
RM
397452012-05-15 Roland McGrath <roland@hack.frob.com>
39746
39747 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39748
509072a0
AJ
397492012-05-15 Jeff Law <law@redhat.com>
39750 Andreas Jaeger <aj@suse.de>
39751
39752 [BZ #13594]
39753 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39754 out from...
39755 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39756 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39757 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39758 code changing __hst_map_handle.map.
39759
ba75122d
RM
397602012-05-15 Roland McGrath <roland@hack.frob.com>
39761
39762 * configure.in (sysnames): Look for Implies-before and Implies-after
39763 files.
39764 * configure: Regenerated.
39765
890d8bd8
L
397662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39767
39768 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39769 8-byte data alignment with LP_SIZE alignment.
39770
f6ee6623
L
397712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39772
39773 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39774 into R10_LP.
39775
ea2626f6
L
397762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39777
39778 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39779
085f715e
L
397802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39781
39782 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39783 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39784 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39785 Likewise.
39786 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39787
be8498fc
L
397882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39789
39790 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39791 (stackinfo_sub_sp): Likewise.
39792
70bc83b9
L
397932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39794
39795 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39796 RAX_LP.
39797
9bc0b730
L
397982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39799
39800 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39801 into R*_LP.
39802
6d2850e7
L
398032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39804
39805 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39806 sizes into R*_LP.
39807
3cb84561
L
398082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39809
39810 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39811
54e2ed81
L
398122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39813
39814 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39815 into R11_LP and load __x86_64_shared_cache_size_half into
39816 R8_LP.
39817
8a17f349
L
398182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39819
39820 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39821 R8_LP.
39822
777b1eea
AZ
398232012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39824
39825 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39826 logb for POWER7.
39827 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39828 logbf for POWER7.
39829 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39830 logbl for POWER7.
39831 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39832 powerpc32/power7/fpu/s_logb.c via #include.
39833 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39834 powerpc32/power7/fpu/s_logbf.c via #include.
39835 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39836 powerpc32/power7/fpu/s_logbl.c via #include.
39837
d20d4ac2
JM
398382012-05-15 Joseph Myers <joseph@codesourcery.com>
39839
39840 * README.libm: Remove file.
39841
6cdef1ab
L
398422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39843
39844 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39845 count for x32. Use R*_LP and omit operand-size suffix.
39846
0b254d8f
L
398472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39848
39849 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39850 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39851 * sysdeps/x86_64/x32/shlib-versions: New file.
39852
ceb809dc
RM
398532012-05-14 Roland McGrath <roland@hack.frob.com>
39854
39855 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39856 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39857 Use _dl_fatal_printf instead.
39858
37f1abd4
JM
398592012-05-14 Joseph Myers <joseph@codesourcery.com>
39860
39861 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39862 set if not set by the user. Do not allow for being unset.
39863 * sysdeps/unix/sysv/linux/configure: Regenerated.
39864
11de3a33
L
398652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39866
39867 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39868 the `q' suffix from lea and replace .quad with ASM_ADDR.
39869
e02f153a
L
398702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39871
39872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39873 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39874 instead of $17.
39875 (PTR_DEMANGLE): Likewise.
39876
520ae0fd
L
398772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39878
39879 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39880 (LP_OP): Likewise.
39881 (ASM_ADDR): Likewise.
39882 (RAX_LP): Likewise.
39883 (RBP_LP): Likewise.
39884 (RBX_LP): Likewise.
39885 (RCX_LP): Likewise.
39886 (RDI_LP): Likewise.
39887 (RSI_LP): Likewise.
39888 (RSP_LP): Likewise.
39889 (R8_LP): Likewise.
39890 (R9_LP): Likewise.
39891 (R10_LP): Likewise.
39892 (R10_LP): Likewise.
39893 (R11_LP): Likewise.
39894 (R12_LP): Likewise.
39895 (R13_LP): Likewise.
39896 (R14_LP): Likewise.
39897 (R15_LP): Likewise.
39898
b985be81
L
398992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39900
39901 * sysdeps/x86_64/x32/dl-machine.h: New file.
39902
6a4888ff
AJ
399032012-05-14 Andreas Jaeger <aj@suse.de>
39904
39905 * manual/Makefile (subdir): Remove export of subdir.
39906 (all): Remove target.
39907 (.PHONY): Remove all from list.
39908 (mkinstalldirs): Remove.
39909 (.PHONY): Remove installdirs from list.
39910 ($(inst_infodir)/libc.info): Use make-target-directory.
39911 (installdirs): Remove.
39912 (subdir_%): Remove.
39913 (glibc-targets): Remove.
39914 (lib): Remove.
39915 (stubs): Remove.
39916 ($(objpfx)stubs ../po/manual.pot): Remove.
39917 ($(objpfx)stamp%): Remove.
39918 (make-target-directory): Remove.
39919 (subdir_install): Remove.
39920 (routines): Remove.
39921 (aux): Remove.
39922 (sources): Remove.
39923 (objects): Remove.
39924 (headers): Remove.
39925
39926 [BZ #13750]
39927 * manual/.gitignore: Remove, it's not needed anymore.
39928 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39929 all files in it.
39930 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39931 directory.
39932 (texis): Renamed to $(objpfx)texis.
39933 (texis-path): New, contains path to generated files.
39934 (chapters.%): Use texis-path for complete path, add extra argument
39935 libc-texinfo.sh.
39936 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39937 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39938 (summary,texi, stamp-summary): Use complete path of
39939 files. Generate files in build dir.
39940 (dir-add.texi): Build in build dir.
39941 (libm-err.texi,stamp-libm-err): Likewise.
39942 (version.texi, stamp-version): Likewise.
39943 (.%c.texi): Likewise.
39944 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39945 (mostlyclean): Remove target.
39946 (realclean): Remove target.
39947 (generated): Add new variable with contents from mostlyclean and
39948 realclean, remove entries duplicated in common-mostlyclean, add
39949 stamp-libm-err and stamp-version.
39950 (generated-dirs): Add libc directory.
39951 ($(inst_infodir)/libc.info): Install files from build dir.
39952
39953 * manual/install.texi (Configuring and compiling): Adjust since
39954 the info files are not part of the tar ball anymore.
39955
7ac77294
AJ
399562012-05-14 Andreas Jaeger <aj@suse.de>
39957
39958 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39959 variable.
39960
ffb7875d
JM
399612012-05-14 Joseph Myers <joseph@codesourcery.com>
39962
39963 [BZ #13717]
39964 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39965 to 2.2.0 where earlier.
39966 * sysdeps/unix/sysv/linux/configure: Regenerated.
39967 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39968 Remove conditional code.
39969 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39970 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39971 Remove conditional code.
39972 [!__NR_lchown]: Likewise.
39973 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39974 [__NR_lchown]: Likewise.
39975 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39976 comment referencing __ASSUME_LCHOWN_SYSCALL.
39977 * sysdeps/unix/sysv/linux/i386/sigaction.c
39978 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39979 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39980 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39981 Remove conditional code.
39982 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39983 (__protocol_available): Remove #if 0 code.
39984 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39985 conditional code.
39986 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39987 * sysdeps/unix/sysv/linux/kernel-features.h
39988 (__ASSUME_GETCWD_SYSCALL): Don't define.
39989 (__ASSUME_REALTIME_SIGNALS): Likewise.
39990 (__ASSUME_PREAD_SYSCALL): Likewise.
39991 (__ASSUME_PWRITE_SYSCALL): Likewise.
39992 (__ASSUME_POLL_SYSCALL): Likewise.
39993 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39994 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39995 non-SPARC.
39996 (__ASSUME_SIOCGIFNAME): Don't define.
39997 (__ASSUME_MSG_NOSIGNAL): Likewise.
39998 (__ASSUME_SENDFILE): Define unconditionally.
39999 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40000 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40001 conditional code.
40002 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40003 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40004 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40005 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40006 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40007 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40008 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40010 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40011 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40013 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40014 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40016 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40017 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40019 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40020 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40022 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40023 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40025 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40026 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40028 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40029 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40031 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40032 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40033 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40034 Remove conditional code.
40035 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40036 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40037 Remove conditional code.
40038 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40039 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40040 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40041 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40042 Remove conditional code.
40043 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40044 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40045 Remove conditional code.
40046 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40047 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40048 Remove conditional code.
40049 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40050 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40051 Remove conditional code.
40052 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40053 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40054 Remove conditional code.
40055 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40056 * sysdeps/unix/sysv/linux/sh/pwrite64.c
40057 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40058 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40059 * sysdeps/unix/sysv/linux/sigaction.c
40060 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40061 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40062 * sysdeps/unix/sysv/linux/sigpending.c
40063 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40064 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40065 * sysdeps/unix/sysv/linux/sigprocmask.c
40066 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40067 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40068 * sysdeps/unix/sysv/linux/sigsuspend.c
40069 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40070 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40071 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40072 (__libc_missing_rt_sigs): Remove.
40073 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40074 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40075 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40076 Remove conditional code.
40077 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40078 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40079 return 1.
40080 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40081 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40082 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40083 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40084
1bfb7291
AJ
400852012-05-14 Andreas Jaeger <aj@suse.de>
40086
caae5a81
AJ
40087 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40088 it's not used in glibc.
40089 (__coshm1): Likewise.
40090 (__acosh1p): Likewise.
40091 (__sgn): Likewise.
40092
1bfb7291
AJ
40093 * manual/string.texi (Copying and Concatenation): Add missing
40094 variable in concat example.
40095 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40096
c044d724
L
400972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40098
144c5467 40099 [BZ #14103]
c044d724
L
40100 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40101 __builtin_clzl with __builtin_clzll.
40102
2523c62b
L
401032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40104
40105 [BZ #14104]
40106 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40107 libc_freeres_ptr.
40108
d7bb4c42
LD
401092012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40110
40111 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40112 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40113 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40114 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40115
9dc4e1fb
MF
401162012-05-14 Mike Frysinger <vapier@gentoo.org>
40117
40118 * NEWS: Update ia64 info.
40119
c7df0112
AS
401202012-05-12 Andreas Schwab <schwab@linux-m68k.org>
40121
40122 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40123 used as bcopy.
40124
dc70356c
TS
401252012-05-12 Thomas Schwinge <thomas@codesourcery.com>
40126
40127 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40128 * sysdeps/unix/syscalls.list (dup3): Likewise.
40129 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40130 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40131
9fb1a21f
L
401322012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40133
40134 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40135 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40136
4822a2a5
L
401372012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40138
40139 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40140 thread pointer.
40141 (TLS_IE): Use mov/add instead of movq/addq to load thread
40142 pointer.
40143 (TLS_GD_PREFIX): New.
40144 (TLS_GD): Use it.
40145
842b81d6
DM
401462012-05-11 David S. Miller <davem@davemloft.net>
40147
40148 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40149 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40150 (_FPU_SETCW): Likewise.
40151
1cf463cd
L
401522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40153
40154 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40155 is 32-byte aligned.
40156
60cc4a18
AS
401572012-05-11 Andreas Schwab <schwab@linux-m68k.org>
40158
40159 [BZ #11837]
40160 * iconvdata/gb18030.c: Update tables.
40161 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
40162 characters specially.
40163 (BODY for TO_LOOP): Add encoding of missing ranges.
40164
febb44a4
TS
401652012-05-11 Thomas Schwinge <thomas@codesourcery.com>
40166
40167 [BZ #13673]
40168 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40169 * sysdeps/mach/hurd/dup3.c: Likewise.
40170 * sysdeps/mach/hurd/readlinkat.c: Likewise.
40171 * sysdeps/powerpc/memmove.c:: Likewise.
40172
0a10fb9e
L
401732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40174
40175 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40176 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40177
df8a552f
L
401782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40179
40180 * elf/elf.h (R_X86_64_RELATIVE64): New.
40181 (R_X86_64_NUM): Updated.
40182 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40183 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
40184 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40185 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40186 tst-quad1pie tst-quad2pie
40187 (modules-names): Add tst-quadmod1 tst-quadmod2.
40188 ($(objpfx)tst-quad1): New dependency.
40189 ($(objpfx)tst-quad2): Likewise.
40190 ($(objpfx)tst-quad1pie): Likewise.
40191 ($(objpfx)tst-quad2pie): Likewise.
40192 * sysdeps/x86_64/tst-quad1.c: New file.
40193 * sysdeps/x86_64/tst-quad1pie.c: New file.
40194 * sysdeps/x86_64/tst-quad2.c: Likewise.
40195 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40196 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40197 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40198 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40199 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40200
f34d6f84
ST
402012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40202
f42d41d1
ST
40203 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40204 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40205 * streams/stropts.h (t_scalar_t): Define type.
40206
3c3571fc
ST
40207 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40208 (_PATH_PRESERVE): Set to "/var/lib".
40209 (_PATH_RWHODIR): Set to "/var/spool/rwho".
40210
61f06bd3
ST
40211 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40212 instead of int.
40213
918d4d71
ST
40214 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40215 if __dir_mkfile succeeded.
40216
f34d6f84
ST
40217 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40218 checking for _hurd_dtablesize. Unlock it right after having
40219 finished _hurd_dtable allocation.
40220
10589b4a
TS
402212012-05-10 Thomas Schwinge <thomas@schwinge.name>
40222
674cdbc7
TS
40223 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40224 * sysdeps/mach/hurd/configure: Regenerated.
40225 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40226 special-casing to...
40227 * sysdeps/gnu/configure.in: ... this new file.
40228 * sysdeps/unix/sysv/linux/configure: Regenerated.
40229 * sysdeps/gnu/configure: New generated file.
40230
8e41b99f
TS
40231 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40232 for Linux: use nsec instead of usec, as well as:
40233 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40234 members of type struct timespec.
40235 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40236 New macros.
40237 (struct stat64): Likewise.
40238 (_STATBUF_ST_NSEC): New macro.
40239 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40240
10589b4a
TS
40241 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40242 __strtoul_internal rather than strtoul.
40243
63643c85
PT
402442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40245
40246 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40247 and reject them.
40248
3faebe6a
ST
402492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40250
40251 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40252 which preserves existing values.
40253 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40254
c6474b07
PT
402552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40256
40257 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40258 TIMEOUT values. Return EINVAL for NFDS values either negative or
40259 greater than FD_SETSIZE.
40260
1043890b
ST
402612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40262
40263 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40264 allocated, call __vm_protect to finish enabling the existing space, and
40265 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40266 allocate the remainder.
40267
37ed8b9b
PT
402682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40269
40270 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40271 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
40272
db653660
ST
402732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40274
37ed8b9b
PT
40275 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40276 sysdeps/mach/hurd/readlink.c.
b29d4053 40277
db653660
ST
40278 * posix/tst-sysconf.c (posix_options): Only use
40279 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40280 _POSIX_SYNCHRONIZED_IO when they are defined
40281 * sysdeps/mach/hurd/bits/posix_opt.h:
40282 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40283 (_XOPEN_REALTIME): Undefine macro.
40284 (_XOPEN_REALTIME_THREADS): Undefine macro.
40285 (_XOPEN_SHM): Undefine macro.
40286 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40287 macro to -1.
40288 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40289 macro to -1.
40290 (_POSIX_ASYNC_IO): Undefine macro.
40291 (_POSIX_PRIORITIZED_IO): Undefine macro.
40292 (_POSIX_SPIN_LOCKS): Define macro to -1.
40293
ee16e894
ST
40294 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40295 SA_NODEFER, SA_RESETHAND.
40296 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40297 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40298 F_DUPFD_CLOEXEC.
40299
6103ae3b
TS
403002012-05-10 Thomas Schwinge <thomas@schwinge.name>
40301
40302 * elf/Makefile (pldd-modules): Define unconditionally.
40303
80b4e5f3
TS
403042012-05-10 Thomas Schwinge <thomas@schwinge.name>
40305
40306 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40307
edadcbd6
ST
403082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40309
40310 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40311 Return ENOENT when name is empty.
40312 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40313
80694780
TS
403142012-05-10 Thomas Schwinge <thomas@schwinge.name>
40315
1792c087
TS
40316 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40317
80694780
TS
40318 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40319
6b645f0d
ST
403202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40321
80694780
TS
40322 Fix mlock in all cases except non-readable pages.
40323 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40324 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 40325
6b645f0d
ST
40326 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40327 (__mkdir): When path is `/', just fail with EEXIST.
40328 * sysdeps/mach/hurd/mkdirat.c: Likewise.
40329
e468f8a3
TS
403302012-05-10 Thomas Schwinge <thomas@schwinge.name>
40331
40332 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40333 <sys/uio.h> (for writev).
40334 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40335 and <sys/param.h> (for MIN).
40336
a4186cff
PT
403372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40338
40339 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40340 REQUESTED_TIME. Properly set the remaining time and return EINTR
40341 if interrupted.
40342
510bbf14
TS
403432012-05-10 Thomas Schwinge <thomas@schwinge.name>
40344
40345 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40346 Depend on against $(link-rpcuserlibs).
40347
5d5722e8
ST
403482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40349
a4186cff
PT
40350 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40351 (__libc_stack_end): Do not use attribute_relro.
40352 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40353 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 40354 to libthread-provided value.
a4186cff
PT
40355 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40356 attribute_relro.
5d5722e8 40357
37233df9
TS
403582012-05-10 Thomas Schwinge <thomas@schwinge.name>
40359
be971a2b
TS
40360 [BZ #3748]
40361 * bits/libc-lock.h (__libc_once_get): New macro.
40362 * sysdeps/mach/bits/libc-lock.h: Likewise.
40363 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40364 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40365 instead of using implementation details.
40366
37233df9
TS
40367 * libio/fileops.c: Unconditionally include <kernel-features.h>.
40368 * libio/freopen.c: Likewise.
40369 * libio/freopen64.c: Likewise.
40370 * misc/syslog.c: Likewise.
40371 * nscd/connections.c: Likewise.
40372 * nscd/netgroupcache.c: Likewise.
40373 * sysdeps/posix/getcwd.c: Likewise.
40374
38de94a5
RM
403752012-05-10 Roland McGrath <roland@hack.frob.com>
40376
40377 * math/w_ilogbf.c: Add #include <limits.h>.
40378
67530489
ST
403792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40380
a4186cff 40381 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
40382 path instead of returning without unlocking.
40383
67530489
ST
40384 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40385 immediate-write ioctls.
40386 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40387
5aa3a74a
TS
403882012-05-10 Thomas Schwinge <thomas@schwinge.name>
40389
18bad2ae
TS
40390 * sysdeps/mach/hurd/i386/init-first.c (init): Use
40391 __builtin_frame_address instead of making assumptions about the
40392 location of the return address relative to DATA. Force early load of
40393 the return address.
40394 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40395 __builtin_frame_address.
40396
5aa3a74a
TS
40397 dup3 for GNU Hurd.
40398 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40399 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40400 implement dup3 and do some further code clean-ups.
40401 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40402 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40403
ecd0de9a
ST
404042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40405
cd9fa985
ST
40406 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40407
a4186cff
PT
40408 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40409 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40410 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40411 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40412 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40413 d->port.lock.
802ca5a5 40414
a4186cff
PT
40415 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40416 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40417 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 40418
bcf55240
TS
404192012-05-10 Thomas Schwinge <thomas@schwinge.name>
40420
6960eb42
TS
40421 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40422 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40423 definitions.
40424
eb43375f
TS
40425 accept4 for GNU Hurd.
40426 * include/sys/socket.h (__libc_accept4): New prototype.
40427 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40428 to implement __libc_accept4.
40429 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40430 __libc_accept4.
40431 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40432
bcf55240
TS
40433 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40434 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40435 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40436 signal-defines.sym.
40437
6178c55b
ST
404382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40439
a4186cff 40440 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 40441
6f080c2f
TS
404422012-05-10 Thomas Schwinge <thomas@schwinge.name>
40443
40444 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40445 assertion on O_CLOEXEC flag.
40446 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40447 * hurd/intern-fd.c: Likewise.
40448 * hurd/port2fd.c: Likewise.
40449
bcfe3a54
ST
404502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40451
40452 [BZ #3906]
40453 * bits/in.h (IPV6_PKTINFO): Define new macro.
40454 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40455
89c9aa49
AZ
404562012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40457
40458 [BZ #13954]
40459 [BZ #13955]
40460 [BZ #13956]
40461 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40462 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40463 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40464 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40465 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40466 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40467 * math/libm-test.inc (logb_test) : Additional logb tests.
40468
021db4be
AJ
404692012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40470 Andreas Jaeger <aj@suse.de>
40471
40472 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40473 * configure: Regenerated.
40474 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40475 * config.make.in (link-obsolete-rpc): New substituted variable.
40476 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40477 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40478 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40479 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40480 so that libc.a contains the symbols.
40481 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40482 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40483 * sunrpc/auth_none.c: Likewise.
40484 * sunrpc/auth_unix.c: Likewise.
40485 * sunrpc/authdes_prot.c: Likewise.
40486 * sunrpc/authuxprot.c: Likewise.
40487 * sunrpc/clnt_gen.c: Likewise.
40488 * sunrpc/clnt_perr.c: Likewise.
40489 * sunrpc/clnt_raw.c: Likewise.
40490 * sunrpc/clnt_simp.c: Likewise.
40491 * sunrpc/clnt_tcp.c: Likewise.
40492 * sunrpc/clnt_udp.c: Likewise.
40493 * sunrpc/clnt_unix.c: Likewise.
40494 * sunrpc/des_crypt.c: Likewise.
40495 * sunrpc/des_soft.c: Likewise.
40496 * sunrpc/get_myaddr.c: Likewise.
40497 * sunrpc/key_call.c: Likewise.
40498 * sunrpc/key_prot.c: Likewise.
40499 * sunrpc/netname.c: Likewise.
40500 * sunrpc/pm_getmaps.c: Likewise.
40501 * sunrpc/pm_getport.c: Likewise.
40502 * sunrpc/pmap_clnt.c: Likewise.
40503 * sunrpc/pmap_prot.c: Likewise.
40504 * sunrpc/pmap_prot2.c: Likewise.
40505 * sunrpc/pmap_rmt.c: Likewise.
40506 * sunrpc/publickey.c: Likewise.
40507 * sunrpc/rpc_cmsg.c: Likewise.
40508 * sunrpc/rpc_common.c: Likewise.
40509 * sunrpc/rpc_dtable.c: Likewise.
40510 * sunrpc/rpc_prot.c: Likewise.
40511 * sunrpc/rpc_thread.c: Likewise.
40512 * sunrpc/rtime.c: Likewise.
40513 * sunrpc/svc.c: Likewise.
40514 * sunrpc/svc_auth.c: Likewise.
40515 * sunrpc/svc_raw.c: Likewise.
40516 * sunrpc/svc_run.c: Likewise.
40517 * sunrpc/svc_tcp.c: Likewise.
40518 * sunrpc/svc_udp.c: Likewise.
40519 * sunrpc/svc_unix.c: Likewise.
40520 * sunrpc/svcauth_des.c: Likewise.
40521 * sunrpc/xcrypt.c: Likewise.
40522 * sunrpc/xdr.c: Likewise.
40523 * sunrpc/xdr_array.c: Likewise.
40524 * sunrpc/xdr_float.c: Likewise.
40525 * sunrpc/xdr_intXX_t.c: Likewise.
40526 * sunrpc/xdr_mem.c: Likewise.
40527 * sunrpc/xdr_rec.c: Likewise.
40528 * sunrpc/xdr_ref.c: Likewise.
40529 * sunrpc/xdr_sizeof.c: Likewise.
40530 * sunrpc/xdr_stdio.c: Likewise.
40531
b5c086a2
RM
405322012-05-10 Roland McGrath <roland@hack.frob.com>
40533
40534 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40535 change. Update copyright years.
40536
6d74dd09
JM
405372012-05-10 Joseph Myers <joseph@codesourcery.com>
40538
40539 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40540
28e72501
MK
405412012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40542 Joseph Myers <joseph@codesourcery.com>
40543 Paul Pluzhnikov <ppluzhnikov@google.com>
40544
40545 [BZ #14012]
40546 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40547 requiring rpcgen.
40548 [cross-compiling] (extra-libs): Likewise.
40549 [cross-compiling] (extra-libs-others): Likewise.
40550 [cross-compiling] (librpcsvc-routines): Likewise.
40551 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40552 [cross-compiling] (omit-deps): Likewise.
40553 (sunrpc-CPPFLAGS): New variable.
40554 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40555 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40556 (cross-rpcgen-objs): New variable.
40557 (extra-objs): Append $(cross-rpcgen-objs).
40558 ($(cross-rpcgen-objs)): New rule.
40559 ($(objpfx)cross-rpcgen): Likewise.
40560 (rpcgen-cmd): Define to use $(built-program-file). Expand
40561 comment.
40562 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40563 ($(objpfx)x%.stmp): Likewise.
40564 * sunrpc/proto.h [IS_IN_build] (_): Define.
40565 [IS_IN_build] (_libc_intl_domainname): Likewise.
40566
c8c59454
L
405672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40568
40569 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40570 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40571 and R_X86_64_TPOFF64.
40572
6f27cd16
JM
405732012-05-10 Joseph Myers <joseph@codesourcery.com>
40574
40575 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40576 sysdeps/unix/sysv/syscalls.list.
40577 (stime): Likewise.
40578 (utime): Likewise.
40579 * sysdeps/unix/sysv/syscalls.list: Remove file.
40580
02467e1c
PE
405812012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40582
40583 [BZ #3440]
40584 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40585 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40586 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40587 (__LC_IDENTIFICATION): Make these macros useful in #if
40588 expressions, as required by C99.
40589
da392631
AS
405902012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40591
40592 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40593 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40594 after this.
40595
8115f29b
L
405962012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40597
40598 * stdlib/longlong.h: Updated from GCC.
40599
bdd74070
AJ
406002012-05-09 Andreas Jaeger <aj@suse.de>
40601
edfe0dbe
AJ
40602 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40603 default is first entry.
40604 (run_mode): Set type.
40605 (main): Remove informal message about syslog.
40606 (options): Fix typo.
40607
bcfe3a54
ST
40608 [BZ #14053]
40609 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 40610 to asm.
bcfe3a54
ST
40611 (lrint): Likewise.
40612 (llrintf): Likewise.
40613 (llrint): Likewise.
40614 (rint): Likewise.
40615 (rintf): Likewise.
40616 (nearbyint): Likewise.
40617 (nearbyintf): Likewise.
bdd74070 40618
91d8d69e
AJ
406192012-05-09 Andreas Jaeger <aj@suse.de>
40620 Pedro Alves <palves@redhat.com>
40621
40622 * nscd/nscd.c (run_mode): Use enum.
40623 (main): Cleanup coding style issue.
40624
bb90b80b
AJ
406252012-05-09 Alexandre Oliva <aoliva@redhat.com>
40626 Andreas Jaeger <aj@suse.de>
40627
bcfe3a54
ST
40628 * nscd/nscd.c (go_background): Replaced with...
40629 (run_mode): ... this.
bb90b80b 40630 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
40631 (options): Add -F --foreground.
40632 (main): Implement it.
40633 (parse_opt): Parse it.
bb90b80b 40634
1a4b75a1
AJ
406352012-05-09 Andreas Jaeger <aj@suse.de>
40636
40637 [BZ #14083]
40638 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40639 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40640 -Wconversion warning.
40641 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40642 Likewise.
40643
b1cc2472
JM
406442012-05-09 Joseph Myers <joseph@codesourcery.com>
40645
40646 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40647 == 0.
40648 (LC_ALL): Use macro-int-constant.
40649 (LC_COLLATE): Likewise.
40650 (LC_CTYPE): Likewise.
40651 (LC_MESSAGES): Likewise.
40652 (LC_MONETARY): Likewise.
40653 (LC_NUMERIC): Likewise.
40654 (LC_TIME): Likewise.
40655 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40656 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40657 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40658 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40659 Specify type.
40660 [C99-based standards] (float_t): Expect type.
40661 [C99-based standards] (double_t): Expect type.
40662 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40663 type.
40664 [C99-based standards] (HUGE_VALL): Likewise.
40665 [C99-based standards] (INFINITY): Likewise.
40666 [C99-based standards] (NAN): Likewise.
40667 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40668 [C99-based standards] (FP_NAN): Likewise.
40669 [C99-based standards] (FP_NORMAL): Likewise.
40670 [C99-based standards] (FP_SUBNORMAL): Likewise.
40671 [C99-based standards] (FP_ZERO): Likewise.
40672 [C99-based standards] (FP_FAST_FMA): Use
40673 optional-macro-int-constant. Specify type. Require == 1.
40674 [C99-based standards] (FP_FAST_FMAF): Likewise.
40675 [C99-based standards] (FP_FAST_FMAL): Likewise.
40676 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40677 [C99-based standards] (FP_ILOGBNAN): Likewise.
40678 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40679 Specify type.
40680 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40681 [C99-based standards] (math_errhandling): Specify type.
40682 [ISO99 || ISO11] (signgam): Do not allow.
40683 [non-C99-based standards] (copysignf): Do not allow.
40684 [non-C99-based standards] (exp2f): Likewise.
40685 [non-C99-based standards] (log2f): Likewise.
40686 [non-C99-based standards] (modff): Allow.
40687 [non-C99-based standards] (erff): Do not allow.
40688 [non-C99-based standards] (erfcf): Likewise.
40689 [non-C99-based standards] (gammaf): Likewise.
40690 [non-C99-based standards] (hypotf): Likewise.
40691 [non-C99-based standards] (j0f): Likewise.
40692 [non-C99-based standards] (j1f): Likewise.
40693 [non-C99-based standards] (jnf): Likewise.
40694 [non-C99-based standards] (lgammaf): Likewise.
40695 [non-C99-based standards] (tgammaf): Likewise.
40696 [non-C99-based standards] (y0f): Likewise.
40697 [non-C99-based standards] (y1f): Likewise.
40698 [non-C99-based standards] (ynf): Likewise.
40699 [non-C99-based standards] (isnanf): Likewise.
40700 [non-C99-based standards] (acoshf): Likewise.
40701 [non-C99-based standards] (asinhf): Likewise.
40702 [non-C99-based standards] (atanhf): Likewise.
40703 [non-C99-based standards] (cbrtf): Likewise.
40704 [non-C99-based standards] (expm1f): Likewise.
40705 [non-C99-based standards] (ilogbf): Likewise.
40706 [non-C99-based standards] (log1pf): Likewise.
40707 [non-C99-based standards] (logbf): Likewise.
40708 [non-C99-based standards] (nextafterf): Likewise.
40709 [non-C99-based standards] (remainderf): Likewise.
40710 [non-C99-based standards] (rintf): Likewise.
40711 [non-C99-based standards] (scalbf): Likewise.
40712 [non-C99-based standards] (copysignl): Likewise.
40713 [non-C99-based standards] (exp2l): Likewise.
40714 [non-C99-based standards] (log2l): Likewise.
40715 [non-C99-based standards] (modfl): Allow.
40716 [non-C99-based standards] (erfl): Do not allow.
40717 [non-C99-based standards] (erfcl): Likewise.
40718 [non-C99-based standards] (gammal): Likewise.
40719 [non-C99-based standards] (hypotl): Likewise.
40720 [non-C99-based standards] (j0l): Likewise.
40721 [non-C99-based standards] (j1l): Likewise.
40722 [non-C99-based standards] (jnl): Likewise.
40723 [non-C99-based standards] (lgammal): Likewise.
40724 [non-C99-based standards] (tgammal): Likewise.
40725 [non-C99-based standards] (y0l): Likewise.
40726 [non-C99-based standards] (y1l): Likewise.
40727 [non-C99-based standards] (ynl): Likewise.
40728 [non-C99-based standards] (isnanl): Likewise.
40729 [non-C99-based standards] (acoshl): Likewise.
40730 [non-C99-based standards] (asinhl): Likewise.
40731 [non-C99-based standards] (atanhl): Likewise.
40732 [non-C99-based standards] (cbrtl): Likewise.
40733 [non-C99-based standards] (expm1l): Likewise.
40734 [non-C99-based standards] (ilogbl): Likewise.
40735 [non-C99-based standards] (log1pl): Likewise.
40736 [non-C99-based standards] (logbl): Likewise.
40737 [non-C99-based standards] (nextafterl): Likewise.
40738 [non-C99-based standards] (remainderl): Likewise.
40739 [non-C99-based standards] (rintl): Likewise.
40740 [non-C99-based standards] (scalbl): Likewise.
40741 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40742 [non-C99-based standards] (FP_*): Do not allow.
40743 [C99-based standards] (FP_*): Change to
40744 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40745 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40746 allow.
40747 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40748 (SIG_ERR): Likewise.
40749 [X/Open-based standards] (SIG_HOLD): Likewise.
40750 (SIG_IGN): Likewise.
40751 (SIGABRT): Use macro-int-constant. Specify type. Require
40752 positive value.
40753 (SIGFPE): Likewise.
40754 (SIGILL): Likewise.
40755 (SIGINT): Likewise.
40756 (SIGSEGV): Likewise.
40757 (SIGTER): Likewise.
40758 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40759 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40760 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40761 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40762 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40763 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40764 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40765 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40766 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40767 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40768 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40769 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40770 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40771 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40772 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40773 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40774 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40775 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40776 [X/Open-based standards] (SIGTRAP): Likewise.
40777 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40778 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40779 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40780 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40781 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40782 allow.
40783
b9f1922d
IW
407842012-05-08 Ian Wienand <ianw@vmware.com>
40785
40786 [BZ #14080]
40787 * time/tzset.c (__tzset_parse_tz): Update default rules for
40788 daylight time changes in the Energy Policy Act of 2005.
40789
1db86e88
AJ
407902012-05-09 Andreas Jaeger <aj@suse.de>
40791
40792 [BZ #13983]
40793 * elf/ldconfig.c (parse_conf): Change string to make clear that
40794 ldconfig only issued a warning if ld.so.conf does not exist.
40795
dee4a4e3
DM
407962012-05-08 David S. Miller <davem@davemloft.net>
40797
ee0db190
DM
40798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40799 movxtod instead of popping the value on the stack.
40800
dee4a4e3
DM
40801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40802
6a43ec98
CD
408032012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40804
40805 * config.h.in: Add HAVE_ARM_PCS_VFP.
40806
05c2c961
RMG
408072012-05-08 Roland Mc Grath <roland@hack.frob.com>
40808
bcfe3a54
ST
40809 [BZ #13979]
40810 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40811 checking but the checks are disabled for any reason.
05c2c961 40812
4b30f61a
L
408132012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40814
40815 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40816 and ELF64_R_TYPE with ELFW(R_TYPE).
40817
eee2bc67
JM
408182012-05-08 Joseph Myers <joseph@codesourcery.com>
40819
7ea5391a
JM
40820 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40821 (ulimit): Likewise.
40822
eee2bc67
JM
40823 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40824 (settimeofday): Likewise.
40825
abb66a67
MF
408262012-05-08 Mike Frysinger <vapier@gentoo.org>
40827
40828 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40829 a struct th_u2 inside the union, and move tu_block/tu_code into
40830 a new th_u3 union of tu_block/tu_code inside of that. Move
40831 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40832 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40833 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40834 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40835 (th_stuff): Change to th_u1.tu_stuff.
40836 (th_data): Define.
40837 (th_msg): Change to th_u1.th_u2.tu_data.
40838
7f18b530
DM
408392012-05-07 David S. Miller <davem@davemloft.net>
40840
05760585
DM
40841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40842
7f18b530
DM
40843 [BZ #14074]
40844 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40845 (SETUP_PIC_REG): Use it.
40846 (SETUP_PIC_REG_LEAF): Use it.
40847
495fd99f
JM
408482012-05-07 Joseph Myers <joseph@codesourcery.com>
40849
40850 [BZ #13885]
40851 [BZ #13923]
40852 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40853 USE_AS_EXPM1L.
40854 (EXPL_FINITE): Likewise.
40855 (FLDLOG): Likewise.
40856 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40857 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40858 e_expl.S.
40859 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40860 USE_AS_EXPM1L.
40861 (EXPL_FINITE): Likewise.
40862 (FLDLOG): Likewise.
40863 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40864 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40865 e_expl.S.
40866 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40867 test of -max_value argument for long double.
40868 * sysdeps/i386/fpu/libm-test-ulps: Update.
40869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40870
6693d694
DM
408712012-05-06 David S. Miller <davem@davemloft.net>
40872
40873 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40874 quad soft-float symbols whose references which are compiler
40875 generated.
40876 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40877
6c23e11c
JM
408782012-05-06 Joseph Myers <joseph@codesourcery.com>
40879
d8b82cad
JM
40880 [BZ #13884]
40881 [BZ #13914]
40882 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40883 USE_AS_EXP10L.
40884 (EXPL_FINITE): Likewise.
40885 (FLDLOG): Likewise.
40886 (c0): Likewise.
40887 (c1): Likewise.
40888 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40889 Adjust comments for base varying.
40890 (__expl_finite): Change alias to EXPL_FINITE.
40891 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40892 e_expl.S.
40893 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40894 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40895 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40896 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40897 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40898 USE_AS_EXP10L.
40899 (EXPL_FINITE): Likewise.
40900 (FLDLOG): Likewise.
40901 (c0): Likewise.
40902 (c1): Likewise.
40903 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40904 Adjust comments for base varying.
40905 (__expl_finite): Change alias to EXPL_FINITE.
40906 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40907 tests for bugs.
40908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40909
6c23e11c
JM
40910 [BZ #14064]
40911 * math/libm-test.inc (check_float_internal): Correct ulp
40912 calculation for subnormal expected results.
40913
29ba805c
AJ
409142012-05-06 Andreas Jaeger <aj@suse.de>
40915
40916 * Makeconfig (+math-flags): New, set to -frounding-math.
40917 (+cflags): Add +math-flags so that all of glibc gets compiled with
40918 it.
40919
40920 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40921
7b17aeda
JM
409222012-05-05 Joseph Myers <joseph@codesourcery.com>
40923
5779f134
JM
40924 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40925 Disable one test.
40926
41498f4d
JM
40927 [BZ #13787]
40928 [BZ #13922]
40929 [BZ #14036]
40930 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40931 (__ieee754_expl): Allow for and saturate large arguments.
40932 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40933 (u_threshold): Likewise.
40934 (__exp): Call __ieee754_exp before checking for overflow and
40935 underflow.
40936 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40937 (u_threshold): Likewise.
40938 (__expf): Call __ieee754_expf before checking for overflow and
40939 underflow.
40940 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40941 (u_threshold): Likewise.
40942 (__expl): Call __ieee754_expl before checking for overflow and
40943 underflow.
40944 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40945 (__ieee754_expl): Allow for and saturate large arguments.
40946 * math/libm-test.inc (exp_test): Add another test. Do not allow
40947 missing overflow exception on overflow.
40948 (expm1_test): Do not allow missing overflow exception on overflow.
40949
6698b8bf
JM
40950 * sysdeps/i386/fpu/e_expl.c: Move to ...
40951 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40952 rather than using inline asm.
40953 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40954 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40955 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40956
7b17aeda
JM
40957 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40958 (nice): Likewise.
40959 (poll): Likewise.
40960 (signal): Likewise.
40961 (time): Likewise.
40962 (times): Likewise.
40963
f7c85819
JM
409642012-05-04 Joseph Myers <joseph@codesourcery.com>
40965
40966 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40967 sysdeps/unix/common/syscalls.list.
40968 (fchmod): Likewise.
40969 (fchown): Likewise.
40970 (ftruncate): Likewise.
40971 (getrusage): Likewise.
40972 (gettimeofday): Likewise.
40973 (setpgid): Likewise.
40974 (setregid): Likewise.
40975 (setreuid): Likewise.
40976 (sigaction): Likewise.
40977 (truncate): Likewise.
40978 (vhangup): Likewise.
40979 * sysdeps/unix/common/syscalls.list: Remove file.
40980 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40981 * sysdeps/unix/sysv/linux/Implies: Likewise.
40982
336270d0
L
409832012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40984
40985 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40987 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40988 Moved to ...
40989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40990 Here.
40991 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40992 to ...
40993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40994 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40995 to ...
40996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40997 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40998 to ...
40999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41000 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41001 to ...
41002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41003 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41004 to ...
41005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41006 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41007 to ...
41008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41009 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41010 to ...
41011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41012 Here.
41013 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41014 to ...
41015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41016 Here.
41017 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41018 to ...
41019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41020 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41021 Moved to ...
41022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41023 Here.
41024 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41025 to ...
41026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41027
d128e450
JM
410282012-05-04 Joseph Myers <joseph@codesourcery.com>
41029
fa8ee516
JM
41030 * sysdeps/unix/common/bits/dirent.h: Remove file.
41031 * sysdeps/unix/common/bits/fcntl.h: Likewise.
41032
d128e450
JM
41033 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41034 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41035 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41036 * sysdeps/unix/bsd/isatty.c: Likewise.
41037 * sysdeps/unix/bsd/tcdrain.c: Likewise.
41038 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41039 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41040
ff8faaf0 410412012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 41042
62881be4 41043 [BZ #13563]
31dc8730
AZ
41044 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41045 long double comparison inaccuracies.
41046 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41048
6fef930c
AS
410492012-05-04 Andreas Schwab <schwab@linux-m68k.org>
41050
41051 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41052 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41053
8f203e6c
JM
410542012-05-04 Joseph Myers <joseph@codesourcery.com>
41055
41056 [BZ #14049]
41057 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41058 nonzero digits before rounding a hex value.
41059 * stdlib/tst-strtod.c (tests): Add another test.
41060
5197d9c2
AK
410612012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41062
41063 * sysdeps/s390/fpu/libm-test-ulps: Update.
41064
f0c1dedf
AJ
410652012-05-03 Andreas Jaeger <aj@suse.de>
41066
41067 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41068 does not get optimized out.
41069 (malloc_opt_barrier): New.
41070
a65ef2ae 410712012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 41072 Roland McGrath <roland@hack.frob.com>
a65ef2ae 41073
2b942cb7 41074 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 41075 intermediate file deletion.
2b942cb7 41076 (generated): Add .symlist files.
a65ef2ae 41077
54b71e02
JM
410782012-05-03 Joseph Myers <joseph@codesourcery.com>
41079
41080 [BZ #13775]
41081 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41082 Redirect under this condition.
41083 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41084 [__USE_GNU] (__dprintf_chk): Not under this condition.
41085 [__USE_GNU] (__vdprintf_chk): Likewise.
41086 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41087 under this condition.
41088 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41089 [__USE_XOPEN2K8] (dprintf): Define under this condition.
41090 [__USE_XOPEN2K8] (vdprintf): Likewise.
41091 [__USE_GNU] (__dprintf_chk): Not under this condition.
41092 [__USE_GNU] (__vdprintf_chk): Likewise.
41093 [__USE_GNU] (dprintf): Likewise.
41094 [__USE_GNU] (vdprintf): Likewise.
41095
d3dfcc41
RM
410962012-05-03 Roland McGrath <roland@hack.frob.com>
41097
41098 * elf/Makefile (common-generated): Set this instead of generated for
41099 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
41100 $(all-built-dso)-derived lists.
41101
7ac30cc5
AJ
411022012-05-03 Andreas Jaeger <aj@suse.de>
41103
0c51e550
AJ
41104 * sysdeps/i386/fpu/libm-test-ulps: Update.
41105
7ac30cc5
AJ
41106 * FAQ: Removed.
41107 * FAQ.in: Likewise.
41108 * scripts/gen-FAQ.pl: Likewise.
41109 * manual/install.texi (Installation): Point to online location of
41110 FAQ.
41111 * Makefile (files-for-dist): Remove FAQ.
41112 (FAQ): Remove.
41113
d4c2917f
AM
411142012-05-02 Allan McRae <allan@archlinux.org>
41115
41116 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41117 (LDFLAGS-reldepmod5.so): Likewise.
41118 (LDFLAGS-reldep6mod1.so): Likewise.
41119 (LDFLAGS-reldep6mod4.so): Likewise.
41120 (LDFLAGS-reldep8mod3.so): Likewise.
41121 (LDFLAGS-unload4mod1.so): Likewise.
41122 (LDFLAGS-unload4mod2.so): Likewise.
41123 (LDFLAGS-tst-initorder): Likewise.
41124 (LDFLAGS-tst-initordera2.so): Likewise.
41125 (LDFLAGS-tst-initordera3.so): Likewise.
41126 (LDFLAGS-tst-initordera4.so): Likewise.
41127 (LDFLAGS-tst-initorderb2.so): Likewise.
41128 (LDFLAGS-noload): Likewise.
41129 (LDFLAGS-next): Likewise.
41130 (LDFLAGS-order2mod1.so): Likewise.
41131 (LDFLAGS-order2mod2.so): Likewise.
41132 (LDFLAGS-tst-initorder2): Likewise.
41133 (LDFLAGS-tst-initorder2a.so): Likewise.
41134 (LDFLAGS-tst-initorder2b.so): Likewise.
41135 (LDFLAGS-tst-initorder2c.so): Likewise.
41136 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41137
d77f993f
DM
411382012-05-02 David S. Miller <davem@davemloft.net>
41139
41140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41141
171a70b4
PP
411422012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
41143
41144 [BZ #14055]
41145 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41146
0be196ad
AJ
411472012-05-02 Andreas Jaeger <aj@suse.de>
41148
41149 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41150 since we manipulate rounding mode.
41151 (CPPFLAGS-test-idouble.c): Likewise.
41152 (CPPFLAGS-test-ifloat.c): Likewise.
41153 (CFLAGS-test-ldouble.c): Likewise.
41154 (CFLAGS-test-double.c): Likewise.
41155 (CFLAGS-test-float.c): Likewise.
41156 (CFLAGS-test-misc.c): Likewise.
41157 (CFLAGS-test-test-fenv.c): Likewise.
41158
4f9d04aa
AZ
411592012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41160
2b942cb7
RM
41161 [BZ #2550]
41162 [BZ #2570]
41163 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41164 comparisons to determine direction to adjust input.
4f9d04aa 41165
82a79e7d
RM
411662012-05-01 Roland McGrath <roland@hack.frob.com>
41167
f5a01ca9
RM
41168 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41169 output to the target.
41170
90fe4186
RM
41171 * scripts/localplt.awk: New file.
41172 * elf/Makefile ($(objpfx)check-localplt): Target removed.
41173 (check-localplt-CFLAGS): Variable removed.
41174 ($(all-built-dso:=.jmprel)): New static pattern rule.
41175 (generated): Add those targets.
41176 (localplt-built-dso): New variable.
41177 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41178
41179 * elf/check-localplt.c: File removed.
41180
82397ed6
RM
41181 * scripts/check-execstack.awk: New file.
41182 * elf/Makefile ($(objpfx)check-execstack): Target removed.
41183 (check-execstack-CFLAGS): Variable removed.
41184 ($(objpfx)check-execstack.h): Target removed.
41185 ($(objpfx)execstack-default): New target.
41186 (generated): Add that instead of check-execstack.h.
41187 ($(all-built-dso:=.phdr)): New static pattern rule.
41188 (generated): Add those targets.
41189 * elf/check-execstack.c: File removed.
41190
82a79e7d
RM
41191 * scripts/check-textrel.awk: New file.
41192 * elf/Makefile ($(objpfx)check-textrel): Target removed.
41193 (check-textrel-CFLAGS): Variable removed.
41194 (all-built-dso): Use := to define.o
41195 ($(all-built-dso:=.dyn)): New static pattern rule.
41196 (generated): Add those targets.
41197 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41198 * config.make.in (READELF): New substituted variable.
41199 * elf/check-textrel.c: File removed.
41200
62fde54f 412012012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 41202
615605c9
JM
41203 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41204 allow.
41205 * conform/data/ctype.h-data [C99-based standards] (isblank):
41206 Expect function.
41207 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41208 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41209 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41210 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41211 Specify type. Require positive value.
41212 (EILSEQ): Likewise.
41213 (ERANGE): Likewise.
41214 [ISO || POSIX] (EILSEQ): Do not expect.
41215 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41216 Specify type. Require positive value.
41217 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41218 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41219 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41220 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41221 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41222 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41223 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41224 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41225 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41226 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41227 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41228 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41229 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41230 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41231 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41232 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41233 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41234 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41235 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41236 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41237 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41238 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41239 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41240 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41241 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41242 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41243 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41244 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41245 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41246 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41247 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41248 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41249 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41250 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41251 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41252 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41253 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41254 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41255 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41256 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41257 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41258 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41259 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41260 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41261 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41262 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41263 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41264 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41265 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41266 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41267 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41268 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41269 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41270 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41271 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41272 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41273 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41274 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41275 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41276 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41277 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41278 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41279 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41280 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41281 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41282 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41283 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41284 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41285 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41286 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41287 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41288 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41289 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41290 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41291 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41292 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41293 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41294 Require >= 2.
41295 (FLT_ROUNDS): Expect as macro, not constant.
41296 (FLT_MANT_DIG): Use macro-int-constant.
41297 (DBL_MANT_DIG): Likewise.
41298 (LDBL_MANT_DIG): Likewise.
41299 (FLT_DIG): Likewise.
41300 (DBL_DIG): Likewise.
41301 (LDBL_DIG): Likewise.
41302 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
41303 (DBL_MIN_EXP): Likewise.
41304 (LDBL_MIN_EXP): Likewise.
41305 (FLT_MAX_EXP): Use macro-int-constant.
41306 (DBL_MAX_EXP): Likewise.
41307 (LDBL_MAX_EXP): Likewise.
41308 (FLT_MAX_10_EXP): Likewise.
41309 (DBL_MAX_10_EXP): Likewise.
41310 (LDBL_MAX_10_EXP): Likewise.
41311 (FLT_MAX): Use macro-constant.
41312 (DBL_MAX): Likewise.
41313 (LDBL_MAX): Likewise.
41314 (FLT_EPSILON): Use macro-constant. Give upper bound.
41315 (DBL_EPSILON): Likewise.
41316 (LDBL_EPSILON): Likewise.
41317 (FLT_MIN): Likewise.
41318 (DBL_MIN): Likewise.
41319 (LDBL_MIN): Likewise.
41320 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41321 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41322 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41323 [ISO11] (FLT_HAS_SUBNORM): Likewise.
41324 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41325 [ISO11] (DBL_DECIMAL_DIG): Likewise.
41326 [ISO11] (FLT_DECIMAL_DIG): Likewise.
41327 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41328 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41329 [ISO11] (FLT_TRUE_MIN): Likewise.
41330 [ISO11] (LDBL_TRUE_MIN): Likewise.
41331 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41332 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41333 (SCHAR_MIN): Use macro-int-constant. Specify type.
41334 (SCHAR_MAX): Likewise.
41335 (UCHAR_MAX): Likewise.
41336 (CHAR_MIN): Likewise.
41337 (CHAR_MAX): Likewise.
41338 (MB_LEN_MAX): Use macro-int-constant.
41339 (SHRT_MIN): Use macro-int-constant. Specify type.
41340 (SHRT_MAX): Likewise.
41341 (USHRT_MAX): Likewise.
41342 (INT_MAX): Likewise.
41343 (INT_MIN): Use macro-int-constant. Specify type. Make upper
41344 bound negative.
41345 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
41346 bound with "U".
41347 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41348 bound with "L".
41349 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
41350 bound negative. Suffix upper bound with "L".
41351 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41352 bound with "UL".
41353 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41354 Specify type.
41355 [C99-based standards] (LLONG_MAX): Likewise.
41356 [C99-based standards] (ULLONG_MAX): Likewise.
41357 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
41358 == 0.
41359 [ISO11] (max_align_t): Require type.
41360 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41361
c9140a62
JM
41362 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41363 from $CFLAGS, without defining away __attribute__ calls.
41364 (checknamespace): Use $CFLAGS_namespace.
41365
9af0bf29
JM
41366 * conform/conformtest.pl (@keywords): Only include C99 keywords
41367 for standards based on C99 or C11.
41368
343222a2
JM
41369 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41370 Disable tests.
41371 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41372 UNIX98]: Likewise.
41373
661f8cf0
JM
41374 * conform/conformtest.pl: Handle "macro-int-constant" and test for
41375 usability of symbols in #if.
41376
ee74b9cb
JM
41377 * conform/conformtest.pl: If macro or constant types start
41378 "promoted:", expect the symbol to be of the following type
41379 promoted by the integer promotions.
62fde54f 41380
aafc49b3
JM
41381 * conform/conformtest.pl: Parse all "constant" and "macro" lines
41382 in one place. Also handle "macro-constant".
41383
fefdf574
JM
41384 * conform/conformtest.pl: Only accept expected macro values with
41385 "==". Parse all "macro" lines in one place.
41386 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41387
f2d922fe
JM
41388 * conform/conformtest.pl: Handle braced types on "constant" lines
41389 instead of handling "typed-constant".
41390 * conform/data/signal.h-data: Use "constant" instead of
41391 "typed-constant".
41392
d22956c9
JM
41393 * conform/conformtest.pl: Handle "optional-" at start of lines in
41394 one place rather than duplicating several cases. Handle each
41395 format of "macro" line with initial "optional-".
41396
028e2e38
JM
41397 * conform/conformtest.pl: Only accept expected constant or
41398 optional-constant values with "==". Parse all "constant" lines in
41399 one place. Parse all "optional-constant" lines in one place.
41400 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41401 * conform/data/fmtmsg.h-data: Likewise.
41402 * conform/data/netinet/in.h-data: Likewise.
41403 * conform/data/tar.h-data: Likewise.
41404 * conform/data/limits.h-data: Use "==" form on "constant" and
41405 "optional-constant" lines.
41406
1b8f2850
JM
41407 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41408 Use -std=c99 for XOPEN2K.
41409 (@knownproblems): Remove.
41410 (newtoken): Don't check %isknown.
41411
a05a144b
JM
41412 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41413 Do not expect macro.
41414 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41415 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41416 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41417 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41418 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41419 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41420 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41421 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41422 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41423 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41424 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41425 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41426 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41427 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41428 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41429 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41430 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41431 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41432 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41433 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41434 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41435 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41436 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41437 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41438 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41439 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41440 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41441 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41442 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41443 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41444 [XPG3] (acosh): Likewise.
41445 [XPG3] (asinh): Likewise.
41446 [XPG3] (atanh): Likewise.
41447 [XPG3] (cbrt): Likewise.
41448 [XPG3] (expm1): Likewise.
41449 [XPG3] (ilogb): Likewise.
41450 [XPG3] (log1p): Likewise.
41451 [XPG3] (logb): Likewise.
41452 [XPG3] (nextafter): Likewise.
41453 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41454 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41455 [XPG3] (remainder): Likewise.
41456 [XPG3] (rint): Likewise.
41457 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41458 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41459 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41460 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41461 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41462 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41463 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41464 [UNIX98 || XOPEN2K] (scalb): Expect.
41465 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41466 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41467 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41468 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41469 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41470 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41471 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41472 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41473 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41474 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41475 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41476 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41477 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41478 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41479 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41480 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41481 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41482 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41483 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41484 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41485 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41486 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41487 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41488 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41489 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41490 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41491 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41492 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41493 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41494 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41495 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41496 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41497 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41498 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41499 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41500 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41501 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41502 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41503 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41504 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41505 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41506 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41507 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41508 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41509 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41510 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41511 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41512 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41513 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41514 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41515 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41516 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41517 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41518 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41519 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41520 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41521 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41522 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41523 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41524 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41525 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41526 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41527 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41528 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41529 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41530 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41531 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41532 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41533 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41534 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41535 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41536 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41537 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41538 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41539 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41540 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41541 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41542 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41543 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41544 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41545 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41546 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41547 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41548 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41549 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41550 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41551 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41552 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41553 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41554 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41555 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41556 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41557 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41558 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41559 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41560 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41561 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41562 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41563 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41564 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41565 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41566 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41567 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41568 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41569 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41570 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41571 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41572 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41573 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41574 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41575 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41576 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41577 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41578 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41579 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41580 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41581 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41582 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41583 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41584 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41585 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41586 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41587 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41588 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41589 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41590 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41591 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41592 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41593 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41594 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41595 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41596 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41597 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41598 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41599 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41600 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41601 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41602
73c5ebe3
JM
41603 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41604 _XOPEN_SOURCE_EXTENDED for XPG4.
41605
39c33b6c
JM
41606 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41607
62fde54f
JM
41608 * Makeconfig (localtime): Remove variable.
41609 (inst_localtime-file): Likewise.
41610
0741d64c
AS
416112012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41612
41613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41614 Update.
41615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41616 Update.
41617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41618 Update.
41619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41620 Update.
41621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41622 Update.
41623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41624 Update.
41625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41626 Update.
41627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41628 Update.
41629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41630 Update.
41631
7cb029ee
JM
416322012-05-01 Joseph Myers <joseph@codesourcery.com>
41633
41634 [BZ #2550]
41635 [BZ #2570]
41636 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41637 comparisons to determine direction to adjust input.
41638 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41639 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41640 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41641 Likewise.
41642 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41643 Likewise.
41644 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41645 Likewise.
41646 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41647 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41648 Likewise.
41649 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41650 Likewise.
41651 * math/libm-test.inc (nexttoward_test): Add more tests.
41652
412bd966
AS
416532012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41654
41655 [BZ #14040]
41656 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41657 in version GLIBC_2.1, not GLIBC_2.0.
41658 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41659 Likewise.
41660
9568c0c2
JM
416612012-04-30 Joseph Myers <joseph@codesourcery.com>
41662
adfbc8ac
JM
41663 [BZ #13942]
41664 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41665 (1 - x) * (1 + x).
41666 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41667 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41668 * math/libm-test.inc (acos_test): Add more tests.
41669 (asin_test): Likewise.
41670 * sysdeps/i386/fpu/libm-test-ulps: Update.
41671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41672
5ba3cc69
JM
41673 [BZ #14034]
41674 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41675 of square root.
41676 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41677 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41678 * math/libm-test.inc (acos_test_tonearest): New function.
41679 (acos_test_towardzero): Likewise.
41680 (acos_test_downward): Likewise.
41681 (acos_test_upward): Likewise.
41682 (asin_test_tonearest): Likewise.
41683 (asin_test_towardzero): Likewise.
41684 (asin_test_downward): Likewise.
41685 (asin_test_upward): Likewise.
41686 (main): Call the new functions.
41687 * sysdeps/i386/fpu/libm-test-ulps: Update.
41688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41689
9568c0c2
JM
41690 [BZ #13884]
41691 [BZ #13924]
41692 * math/e_exp10.c: Include <float.h>.
41693 (__ieee754_exp10): Handle underflow here rather than multiplying
41694 large negative argument by M_LN10.
41695 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41696 of __ieee754_expf.
41697 * math/e_exp10l.c: Include <float.h>.
41698 (__ieee754_exp10l): Handle underflow here rather than multiplying
41699 large negative argument by M_LN10l.
41700 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41701 spurious overflow exception on underflow.
41702
5ac3ea17
MP
417032012-04-29 Marek Polacek <polacek@redhat.com>
41704
41705 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41706 (__fortify_function): New macro.
41707 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41708 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41709 __extern_always_inline.
41710 * libio/bits/stdio2.h: Likewise.
41711 * libio/bits/stdio.h: Likewise.
41712 * string/string.h: Likewise.
41713 * string/bits/string3.h: Likewise.
41714 * include/stdio.h: Likewise.
41715 * stdlib/bits/stdlib.h: Likewise.
41716 * stdlib/stdlib.h: Likewise.
41717 * rt/bits/mqueue2.h: Likewise.
41718 * rt/mqueue.h: Likewise.
41719 * posix/bits/unistd.h: Likewise.
41720 * posix/unistd.h: Likewise.
41721 * io/bits/poll2.h: Likewise.
41722 * io/bits/fcntl2.h: Likewise.
41723 * io/fcntl.h: Likewise.
41724 * io/sys/poll.h: Likewise.
41725 * misc/bits/syslog.h: Likewise.
41726 * misc/bits/syslog-ldbl.h: Likewise.
41727 * misc/sys/syslog.h: Likewise.
41728 * socket/bits/socket2.h: Likewise.
41729 * socket/sys/socket.h: Likewise.
41730 * debug/tst-chk1.c: Likewise.
41731 * wcsmbs/bits/wchar2.h: Likewise.
41732 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41733 * wcsmbs/wchar.h: Likewise.
41734
ecf0ebfb
AJ
417352012-04-29 Andreas Jaeger <aj@suse.de>
41736
41737 * Makerules (tests): Remove enable-check-abi protection.
41738 (check-abi-warn): Remove.
41739 (check-abi-%): Remove check-abi-warn usage.
41740
41741 * configure.in: Remove check-abi configure option.
41742 * configure: Regenerated.
41743 * config.make.in (enable-check-abi): Remove.
41744
6d5c57fa
AS
417452012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41746
24c5d07e 41747 [BZ #14033]
ded5180a
AS
41748 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41749 double functions to double *_finite functions.
41750
7e0d315d
AS
41751 [BZ #13941]
41752 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41753 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41754 LDBL_MIN_EXP.
41755 * stdio-common/Makefile (tests): Add tst-sprintf3.
41756 * stdio-common/tst-sprintf3.c: New file.
41757
6d5c57fa
AS
41758 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41759 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41760
0749ff8b
JM
417612012-04-28 Joseph Myers <joseph@codesourcery.com>
41762
41763 * conform/conformtest.pl: Remove duplicate typed-constant
41764 handling.
41765
8dbd5d7b
DM
417662012-04-28 David S. Miller <davem@davemloft.net>
41767
41768 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41769 (check-abi-%): Remove AWK script prerequisite and explicit
41770 abilist directory.
41771 (check-abi): Rewrite to just diff the symlist with the abilist.
41772 (config-tls, config-abi-config): Delete, no longer used.
41773 (update-abi-%): Remove AWK script and explicit abilist directory.
41774 (update-abi): Rewrite to simply compare and conditionally copy the
41775 symlist and the sysdep abilist file. Remove update-abi-config
41776 checks.
41777 * abilist/ld.abilist: Remove.
41778 * abilist/libBrokenLocale.abilist: Remove.
41779 * abilist/libanl.abilist: Remove.
41780 * abilist/libcrypt.abilist: Remove.
41781 * abilist/libdl.abilist: Remove.
41782 * abilist/librt.abilist: Remove.
41783 * abilist/libthread_db.abilist: Remove.
41784 * abilist/libutil.abilist: Remove.
41785 * scripts/extract-abilist.awk: Remove.
41786 * scripts/merge-abilist.awk: Remove.
41787 * sysdeps/generic/libcidn.abilist: New file.
41788 * sysdeps/generic/libnss_compat.abilist: New file.
41789 * sysdeps/generic/libnss_db.abilist: New file.
41790 * sysdeps/generic/libnss_dns.abilist: New file.
41791 * sysdeps/generic/libnss_files.abilist: New file.
41792 * sysdeps/generic/libnss_hesiod.abilist: New file.
41793 * sysdeps/generic/libnss_nis.abilist: New file.
41794 * sysdeps/generic/libnss_nisplus.abilist: New file.
41795 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41796 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41797 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41798 file.
41799 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41800 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41801 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41802 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41803 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41804 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41805 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41806 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41807 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41808 file.
41809 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41810 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41811 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41812 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41813 file.
41814 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41815 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41816 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41817 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41818 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41819 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41820 file.
41821 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41822 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41823 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41824 file.
41825 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41826 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41827 New file.
41828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41829 New file.
41830 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41831 New file.
41832 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41833 New file.
41834 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41835 New file.
41836 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41837 New file.
41838 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41839 New file.
41840 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41841 New file.
41842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41843 New file.
41844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41845 New file.
41846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41847 New file.
41848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41849 New file.
41850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41851 New file.
41852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41853 file.
41854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41855 New file.
41856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41857 New file.
41858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41859 file.
41860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41861 New file.
41862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41863 New file.
41864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41865 file.
41866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41867 New file.
41868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41869 New file.
41870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41871 New file.
41872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41873 New file.
41874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41875 New file.
41876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41877 New file.
41878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41880 file.
41881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41882 New file.
41883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41884 file.
41885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41886 file.
41887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41888 file.
41889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41890 file.
41891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41892 file.
41893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41894 New file.
41895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41896 file.
41897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41898 file.
41899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41900 New file.
41901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41902 file.
41903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41905 file.
41906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41907 New file.
41908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41909 file.
41910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41911 file.
41912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41913 file.
41914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41915 file.
41916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41917 file.
41918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41919 New file.
41920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41921 file.
41922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41923 file.
41924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41925 New file.
41926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41927 file.
41928 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41929 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41930 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41931 file.
41932 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41933 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41934 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41935 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41936 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41937 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41938 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41939 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41940 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41941 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41944 file.
41945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41946 New file.
41947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41948 file.
41949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41950 file.
41951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41952 file.
41953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41954 file.
41955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41956 file.
41957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41958 New file.
41959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41960 New file.
41961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41962 file.
41963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41964 New file.
41965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41966 file.
41967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41969 file.
41970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41971 New file.
41972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41973 file.
41974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41975 file.
41976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41977 file.
41978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41979 file.
41980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41981 file.
41982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41983 New file.
41984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41985 New file.
41986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41987 file.
41988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41989 New file.
41990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41991 file.
41992
41d73a1b
JM
419932012-04-28 Joseph Myers <joseph@codesourcery.com>
41994
41995 * conform/conformtest.pl: Fix typo in handling typed-constant from
41996 allow-header.
41997
28aeeda4
JM
419982012-04-27 Joseph Myers <joseph@codesourcery.com>
41999
adae8f5e
JM
42000 * README: Cut down references to pre-2.6 Linux kernels and
42001 Linuxthreads. Update lists of configurations in libc and ports
42002 and sort alphabetically. Say "or newer" with Linux kernel version
42003 requirements.
42004
28aeeda4
JM
42005 * config.h.in [IS_IN_build]: Allow compiling without optimization.
42006
a462cb63
RA
420072012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42008
42009 [BZ #887]
42010 * math/libm-test.inc (logb_test_downward): New test to expose
42011 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42012 rounding mode.
42013
6ad3493e
JM
420142012-04-27 Joseph Myers <joseph@codesourcery.com>
42015
42016 [BZ #14027]
42017 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42018 to be done.
42019 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42020 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42021
2ce4f015
JM
420222012-04-26 Joseph Myers <joseph@codesourcery.com>
42023
5aeb141a
JM
42024 * sysdeps/unix/i386/brk.S: Remove file.
42025 * sysdeps/unix/i386/dl-brk.S: Likewise.
42026 * sysdeps/unix/i386/pipe.S: Likewise.
42027 * sysdeps/unix/i386/sigreturn.S: Likewise.
42028 * sysdeps/unix/i386/syscall.S: Likewise.
42029 * sysdeps/unix/i386/vfork.S: Likewise.
42030 * sysdeps/unix/i386/wait.S: Likewise.
42031
7143acae
JM
42032 * sysdeps/unix/common/tcsendbrk.c: Move to ...
42033 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42034
2ce4f015
JM
42035 * configure.in (arm*-none*): Do not allow without
42036 --enable-hacker-mode.
42037 (netbsd*): Remove case setting base_os.
42038 (386bsd*): Likewise.
42039 (freebsd*): Likewise.
42040 (bsdi*): Likewise.
42041 (osf*): Likewise.
42042 (sunos*): Likewise.
42043 (ultrix*): Likewise.
42044 (newsos*): Likewise.
42045 (dynix*): Likewise.
42046 (*bsd*): Likewise.
42047 (sysv*): Likewise.
42048 (isc*): Likewise.
42049 (esix*): Likewise.
42050 (sco*): Likewise.
42051 (minix*): Likewise.
42052 (irix4*): Likewise.
42053 (irix6*): Likewise.
42054 (solaris[2-9]*): Likewise.
42055 (none): Likewise.
42056 * configure: Regenerated.
42057
0ac229c8
AZ
420582012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42059
42060 [BZ #11521]
42061 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42062 overflow or cancellation in calculating denominator.
42063 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42064 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42065 down expression to avoid unexpected rounding in newer GCCs.
42066 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42067
33f244f4
DM
420682012-04-26 David S. Miller <davem@davemloft.net>
42069
42070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42071 long-double compat symbols.
42072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42085
cfa1f3e8
DM
420862012-04-25 David S. Miller <davem@davemloft.net>
42087
42088 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42089 HWCAP_* values only after the memory barriers have been defined.
42090 (atomic_full_barrier): Define.
42091 (atomic_read_barrier): Define.
42092 (atomic_write_barrier): Define.
42093
6e236b92
SP
420942012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42095
42096 * shlib-versions: Add libgcc_s version information.
42097 * sysdeps/generic/libgcc_s.h: Remove.
42098 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42099 libgcc_s.h.
42100 * sysdeps/gnu/unwind-resume.c: Likewise.
42101 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42102
aab39a09
DM
421032012-04-25 David S. Miller <davem@davemloft.net>
42104
42105 * sysdeps/unix/sparc/brk.S: Delete.
42106 * sysdeps/unix/sparc/dl-brk.S: Delete.
42107 * sysdeps/unix/sparc/pipe.S: Delete.
42108 * sysdeps/unix/sparc/sysdep.S: Delete.
42109 * sysdeps/unix/sparc/sysdep.h: Delete.
42110 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
42111 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42112 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42113 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42114 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
42115 (JUMPTARGET): Remove.
42116 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42117 sysdeps/unix/sparc/sysdep.h
42118 (ENTRY, END): Remove.
42119 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42120
a3cc4f48
JM
421212012-04-25 Joseph Myers <joseph@codesourcery.com>
42122
2ed8cda2
JM
42123 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42124 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42125 -DIS_IN_build.
42126
35d76d59
JM
42127 * timezone/README: Update upstream location and email address for
42128 tzcode and tzdata.
42129 * timezone/zdump.c: Update from tzcode 2012b.
42130 * timezone/zic.c: Likewise.
42131
a3cc4f48
JM
42132 * configure.in (libc_cv_as_needed): Remove test.
42133 * configure: Regenerated.
42134 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42135 conditional definition.
42136 [$(have-as-needed) != yes] (no-as-needed): Likewise.
42137 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42138 * config.make.in (have-as-needed): Remove variable.
42139
ceab42c3
SP
421402012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42141 Paul Pluzhnikov <ppluzhnikov@google.com>
42142
42143 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42144 strings correctly.
42145
3ce2865f
CLT
421462012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
42147
42148 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42149 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42150 * sysdeps/sh/strlen.S: Likewise.
42151
f37e0d68
JM
421522012-04-24 Joseph Myers <joseph@codesourcery.com>
42153
ae186e9a
JM
42154 * sysdeps/unix/fork.S: Remove file.
42155 * sysdeps/unix/i386/fork.S: Likewise.
42156 * sysdeps/unix/sparc/fork.S: Likewise.
42157
b96914af
JM
42158 * sysdeps/unix/system.c: Remove file.
42159 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42160
f37e0d68
JM
42161 * sysdeps/unix/getegid.S: Remove file.
42162 * sysdeps/unix/geteuid.S: Likewise.
42163
87ef29ca
RM
421642012-04-24 Roland McGrath <roland@hack.frob.com>
42165
83bcd236
RM
42166 * scripts/check-localplt.awk: New file.
42167 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42168 of diff.
42169 * scripts/data/localplt-generic.data: Add a comment.
42170
87ef29ca
RM
42171 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42172 NODE when __dir_mkfile failed.
42173 * sysdeps/mach/hurd/symlinkat.c: Likewise.
42174 Reported by Ludovic Courtès <ludo@gnu.org>.
42175
e5a6e567
AJ
421762012-04-24 Andreas Jaeger <aj@suse.de>
42177
42178 * Makerules (common-clean): Also remove gen-as-const-headers
42179 files.
42180
c1820385
JM
421812012-04-24 Joseph Myers <joseph@codesourcery.com>
42182
42183 * Makerules (native-compile): Do not change working directory for
42184 build. Use $(OUTPUT_OPTION) in command.
42185 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42186
94e02fc4
AZ
421872012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42188
42189 [BZ #13886]
42190 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42191 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42192 * math/libm-test.inc (floor_test): Add more tests.
42193 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42194
3a533ca3
JM
421952012-04-24 Joseph Myers <joseph@codesourcery.com>
42196
940ab4b3
JM
42197 * sysdeps/unix/getdents.c: Remove file.
42198 * sysdeps/unix/sysv/getdents.c: Likewise.
42199 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42200
90e037bd
JM
42201 * sysdeps/unix/syscalls.list (madvise): Add syscall from
42202 sysdeps/unix/mman/syscalls.list.
42203 (mmap): Likewise.
42204 (mprotect): Likewise.
42205 (msync): Likewise.
42206 (munmap): Likewise.
42207 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42208 * sysdeps/unix/mman/syscalls.list: Remove.
42209 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42210
3a533ca3
JM
42211 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42212 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42213 * configure: Regenerated.
42214 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42215 $(libgcc_s_suffix).
42216 * config.make.in (libgcc_s_suffix): Remove variable.
42217
1ad743de
JM
422182012-04-23 Joseph Myers <joseph@codesourcery.com>
42219
4ad451e2
JM
42220 * sysdeps/unix/sysv/gethostname.c: Move to ...
42221 * sysdeps/posix/gethostname.c: ... here.
42222
5e37ce39
JM
42223 * sysdeps/unix/execve.S: Remove file.
42224
1ad743de
JM
42225 * sysdeps/unix/_exit.S: Remove file.
42226
4e681b5b
AJ
422272012-04-23 Andreas Jaeger <aj@suse.de>
42228
42229 [BZ #13739]
42230 * manual/Makefile: Remove make dist support, there's no
42231 need for a stand-alone documentation tar ball.
42232 (TEXI2DVI): Define always, it's not in Makeconfig.
42233 (dist): Removed.
42234 (tar-it): Removed.
42235 (edition): Removed.
42236 (glibc-doc-$(edition).tar): Removed
42237 (%.Z): Removed.
42238 (%.gz): Removed.
42239 (%.uu): Removed.
42240 (ETAGS): Remove, it's in Makeconfig.
42241 (move-if-change): Remove, it's in Makeconfig.
42242
38686a03 422432012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
42244
42245 [BZ #13970]
42246 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42247 (strtod, strtof, strtold, strtol, strtoul, strtoq)
42248 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42249 (strtod_l, strtof_l, strtold_l): Remove __wur.
42250 It is not necessarily an error to ignore strtol's return value.
42251 One can reliably look at the stored endptr to decide whether
42252 the number had valid syntax.
42253
7c0616fa
AJ
422542012-04-21 Andreas Jaeger <aj@suse.de>
42255
803cb6b7 42256 [BZ #13739]
7c0616fa
AJ
42257 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42258
b0fe253f
JM
422592012-04-21 Joseph Myers <joseph@codesourcery.com>
42260
42261 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42262 * sysdeps/unix/sysv/Versions: Remove file.
42263
8280f22d
MT
422642012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
42265
42266 [BZ #13927]
42267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42268
75ce411f 422692012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
42270
42271 [BZ #7064]
42272 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42273 version from __vm86.
42274
097d59fa
JM
422752012-04-20 Joseph Myers <joseph@codesourcery.com>
42276
a90f3bcb
JM
42277 * sysdeps/unix/common/lxstat.c: Remove file.
42278 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42279
edc7ea78
JM
42280 * sysdeps/unix/sysv/Makefile: Remove file.
42281
cb78c221
JM
42282 * sysdeps/unix/sysv/direct.h: Remove file.
42283
efa6a45f
JM
42284 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42285 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42286 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42287 * sysdeps/unix/sysv/bits/signum.h: Likewise.
42288 * sysdeps/unix/sysv/bits/stat.h: Likewise.
42289 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42290 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42291
9c9f2d0c
JM
42292 * sysdeps/unix/sysv/setrlimit.c: Remove file.
42293
4541c83b
JM
42294 * sysdeps/unix/xmknod.c: Remove file.
42295 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42296
f5d153a0
JM
42297 * sysdeps/unix/sysv/settimeofday.c: Remove file.
42298
aa746595
JM
42299 * sysdeps/unix/sysv/i386/time.S: Remove file.
42300
cce5905e
JM
42301 * sysdeps/unix/fxstat.c: Remove file.
42302 * sysdeps/unix/xstat.c: Likewise.
42303 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42304
37fa3841
JM
42305 * sysdeps/unix/sysv/sigaction.c: Remove file.
42306
ff1962a3
JM
42307 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42308 (sysdep_headers): Remove variable.
42309 [termio.h not in sysdep_headers] (generated): Likewise.
42310 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42311 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42312 * sysdeps/unix/sysv/tcdrain.c: Likewise.
42313 * sysdeps/unix/sysv/tcflow.c: Likewise.
42314 * sysdeps/unix/sysv/tcflush.c: Likewise.
42315 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42316 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42317 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42318 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42319 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42320
e7740d31
JM
42321 * sysdeps/unix/siglist.c: Remove file.
42322
ee06f18b
JM
42323 * sysdeps/unix/getppid.S: Remove file.
42324
097d59fa
JM
42325 * sysdeps/unix/mkdir.c: Remove file.
42326 * sysdeps/unix/rmdir.c: Likewise.
42327
ff3d51ec
AS
423282012-04-19 Andreas Schwab <schwab@linux-m68k.org>
42329
42330 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42331 ERR_MAX value.
42332 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42333 errlist-compat value.
42334
50f81fd7
DM
423352012-04-18 David S. Miller <davem@davemloft.net>
42336
42337 * sysdeps/generic/memcopy.h (reg_char): Delete.
42338 * debug/strcat_chk.c: Use char, not reg_char.
42339 * debug/strcpy_chk.c: Likewise.
42340 * debug/strncat_chk.c: Likewise.
42341 * debug/strncpy_chk.c: Likewise.
42342 * string/memchr.c: Likewise.
42343 * string/memrchr.c: Likewise.
42344 * string/rawmemchr.c: Likewise.
42345 * string/strcat.c: Likewise.
42346 * string/strchr.c: Likewise.
42347 * string/strchrnul.c: Likewise.
42348 * string/strcmp.c: Likewise.
42349 * string/strcpy.c: Likewise.
42350 * string/strncat.c: Likewise.
42351 * string/strncmp.c: Likewise.
42352 * string/strncpy.c: Likewise.
42353
8ff41c46
WS
423542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42355
42356 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42357 __builtin_memcopy is called when src and dest ranges are known to not
42358 overlap.
42359
6b652f46
WS
423602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42361
42362 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42363 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42364 fwd_align_merge macro call.
42365 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42366 bwd_align_merge macro call.
42367 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42368
b282631e
WS
423692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42370
42371 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42372 bwd_align_merge macros.
42373 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42374 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42375 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42376
95aa737c
DM
423772012-04-18 David S. Miller <davem@davemloft.net>
42378
42379 * sysdeps/sparc/sparc64/memcopy.h: Delete.
42380
7a99a614
AJ
423812012-04-18 Andreas Jaeger <aj@suse.de>
42382
42383 [BZ# 6794]
42384 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42385 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42386 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42387
42388 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42389 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42390 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42391
42392 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42393 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42394 Adjust for changed ldbl-128 files.
42395
42396 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42397 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42398 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42399
e5270c23
DM
424002012-04-17 David S. Miller <davem@davemloft.net>
42401
42402 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42403
fb5e92c9
AS
424042012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42405
42406 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42407 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42408 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42409 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42410 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42411 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42412
76da7265
AZ
424132012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42414
42415 [BZ #6794]
42416 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42417 * math/libm-test.inc: Add ilogb errno and exception tests.
42418 * math/w_ilogb.c: New file: ilogb wrapper.
42419 * math/w_ilogbf.c: New file: ilogbf wrapper.
42420 * math/w_ilogbl.c: New file: ilogbl wrapper.
42421 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42422 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42423 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42424 exception being thrown with 0.0 as argument.
42425 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42426 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42427 exception being thrown with 0.0 as argument.
42428 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42429 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42430 exception being thrown with 0.0 as argument.
42431 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42432 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42433 exception being thrown with 0.0 as argument.
42434 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42435 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 42436 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
42437 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42438 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42439 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42440 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42441 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42442 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42443
0396e69d
PB
424442012-04-17 Petr Baudis <pasky@ucw.cz>
42445
42446 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42447 with altivec.
42448
750b5926
MP
424492012-04-16 Marek Polacek <polacek@redhat.com>
42450
42451 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42452
751728a1
MP
424532012-04-16 Marek Polacek <polacek@redhat.com>
42454
42455 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42456 operands of fdivp instruction.
42457
34a27407
L
424582012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42459
42460 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42461 * elf/tst-auditmod3b.c: Likewise.
42462 * elf/tst-auditmod4b.c: Likewise.
42463 * elf/tst-auditmod5b.c: Likewise.
42464 * elf/tst-auditmod6b.c: Likewise.
42465 * elf/tst-auditmod6c.c: Likewise.
42466 * elf/tst-auditmod7b.c: Likewise.
42467 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42468 * sysdeps/x86_64/preconfigure.in: Likewise.
42469 * sysdeps/x86_64/preconfigure: Regenerated.
42470
7e73e17d
L
424712012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42472
42473 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42474 __ILP32__.
42475
c7a6ab72
AB
424762012-04-13 Antoine Balestrat <merkil33@gmail.com>
42477
42478 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42479 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42480
a9e8e0e0
CL
424812012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42482
42483 [BZ #13973]
42484 * locale/iso-639.def: Fix gl language name. Spotted by
42485 Yaron Shahrabani.
42486
ec98af7d
RM
424872012-04-12 Roland McGrath <roland@hack.frob.com>
42488
42489 [BZ #2074]
42490 * libio/libio.h (__io_write_fn): Update comment.
42491
247c3ede
PB
424922012-04-12 Petr Baudis <pasky@ucw.cz>
42493
42494 [BZ #2074]
42495 * stdio.texi (Hook Functions): The user provided writer function
42496 is not allowed to return -1.
42497
55939d6d
DM
424982012-04-11 David S. Miller <davem@davemloft.net>
42499
42500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42501
90020f5a
MF
425022012-04-11 Mike Frysinger <vapier@gentoo.org>
42503
42504 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42505 Add a leading slash to rtkaio.
42506
288f9098
JM
425072012-04-11 Jim Meyering <meyering@redhat.com>
42508
90020f5a
MF
42509 [BZ #11959]
42510 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42511 It is not necessarily an error to ignore fwrite's return
42512 value. One can reliably use ferror to test for errors after
42513 the fact.
288f9098 42514
4be2b570
L
425152012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42516
42517 * bits/types.h (__snseconds_t): New type.
42518 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42519
42520 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42521 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42522 (__SNSECONDS_T_TYPE): Likewise.
42523 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42524 (__SNSECONDS_T_TYPE): Likewise.
42525 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42526 (__SNSECONDS_T_TYPE): Likewise.
42527
288f9098 425282012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
42529
42530 [BZ #2636]
42531 * manual/time.texi (Processor Time): Return type of times is
42532 elapsed real time since an arbitrary point in the past.
42533 (CPU Time): Move CLK_TCK from here...
42534 (Processor Time): ...to here. Correct description.
42535 * manual/conf.texi (Constants for Sysconf): Correct description of
42536 _SC_CLK_TCK.
42537
d7dd4413
DM
425382012-04-10 David S. Miller <davem@davemloft.net>
42539
42540 [BZ #13967]
42541 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42542 where the is a gap between DT_REL(A) and DT_JMPREL.
42543
b46068fc
L
425442012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42545
42546 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42547 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42548 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42549
73d65cc3
SP
425502012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42551
42552 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42553 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42554 (dl_main): Handle --inhibit-cache.
42555 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42556 _dl_inhibit_cache.
42557 * elf/dl-load.c (_dl_map_object): Use it.
42558 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42559
bcc8d661
JM
425602012-04-09 Joseph Myers <joseph@codesourcery.com>
42561
8f9a2fae
JM
42562 [BZ #13872]
42563 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42564 (__ieee754_powl): Saturate large exponents rather than testing for
42565 overflow of y*log2(x).
42566 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42567 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42568 exceptions.
42569
bcc8d661
JM
42570 [BZ #11521]
42571 * math/s_ctan.c: Include <float.h>.
42572 (__ctan): Avoid internal overflow or cancellation in calculating
42573 denominator.
42574 * math/s_ctanf.c: Likewise.
42575 * math/s_ctanl.c: Likewise.
42576 * math/s_ctanh.c: Likewise.
42577 * math/s_ctanhf.c: Likewise.
42578 * math/s_ctanhl.c: Likewise.
42579 * math/libm-test.inc (ctan_test): Add more tests.
42580 (ctanh_test): Likewise.
42581 * sysdeps/i386/fpu/libm-test-ulps: Update.
42582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42583
823fbbb4
AJ
425842012-04-09 Andreas Jaeger <aj@suse.de>
42585
03879793
AJ
42586 [BZ #6894]
42587 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42588 is an optional BSD extension.
42589
823fbbb4
AJ
42590 [BZ #10254]
42591 * manual/stdio.texi (Opening Streams): Document additional fopen
42592 parameters.
42593
8de131cb
RM
425942012-04-09 Roland McGrath <roland@hack.frob.com>
42595
42596 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42597 %eax without telling the compiler.
42598
c0ed9d7d
CD
425992012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42600
42601 [BZ # 13963]
42602 * manual/install.texi: Use sourceware.org.
42603
c483f6b4
JM
426042012-04-09 Joseph Myers <joseph@codesourcery.com>
42605
d7dd9453
JM
42606 [BZ #13873]
42607 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42608 (__ieee754_pow): Generate overflow and underflow using huge*huge
42609 and tiny*tiny rather than just returning constant infinity or zero
42610 for large exponents.
42611 * math/libm-test.inc (pow_test): Require overflow exceptions for
42612 applicable cases of large exponents.
42613
c483f6b4
JM
42614 [BZ #706]
42615 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42616 (__ieee754_pow): Use iterative multiplication algorithm only for
42617 integer exponents with absolute value below 1024. Check for odd
42618 integer exponents when using algorithm for real exponents.
42619 * math/libm-test.inc (pow_test): Add more tests.
42620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42621
d2de7579
JM
426222012-04-08 Joseph Myers <joseph@codesourcery.com>
42623
42624 [BZ #13705]
42625 * math/libm-test.inc (exp_test): Do not allow overflow exception
42626 on underflow test.
42627
f77f1232
AJ
426282012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42629
42630 [BZ #13705]
42631 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42632 instead of __kernel_standard_f.
42633
3884932b
MF
426342012-04-08 Mike Frysinger <vapier@gentoo.org>
42635
42636 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42637 * sysdeps/x86_64/memset_chk.S: Likewise.
42638
54472e9c
AJ
426392012-04-08 Andreas Jaeger <aj@suse.de>
42640
6ab0fbfc
AJ
42641 [BZ #10153]
42642 * manual/startup.texi (Environment Access): Describe return value
42643 for putenv and setenv.
42644
61efba8c
AJ
42645 [BZ #6895]
42646 * manual/filesys.texi (Directory Entries): Add description for
42647 DT_LNK.
42648
95c3f29a
AJ
42649 [BZ #6890]
42650 * manual/filesys.texi (Directory Entries): Clarify that it's file
42651 system not operating system in the description of DT_UNKNOWN.
42652
54472e9c
AJ
42653 [BZ #6578]
42654 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42655
624254b1
SC
426562012-04-08 Stephen Compall <s11@member.fsf.org>
42657
42658 [BZ #6649]
42659 * manual/llio.texi (Opening and Closing Files): Add cross
42660 reference to explain mode argument.
42661
1e4920e0
MF
426622012-04-07 Mike Frysinger <vapier@gentoo.org>
42663
42664 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42665 * sysdeps/x86_64/memset_chk.S: Likewise.
42666
5ed848f3
DM
426672012-04-07 David S. Miller <davem@davemloft.net>
42668
42669 * elf/elf.h (R_SPARC_WDISP10): Define.
42670 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42671 R_SPARC_SIZE32.
42672 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42673 R_SPARC_SIZE64 and R_SPARC_H34.
42674
96154cd8
CD
426752012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42676
42677 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42678 conditions and remove no longer applicable assertion.
42679
9904dc47
L
426802012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42681
42682 * bits/byteswap.h: Include <features.h>.
42683 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42684 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42685
f8887d0a
L
426862012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42687
42688 * bits/byteswap.h (__bswap_16): Removed.
42689 Include <bits/byteswap-16.h> to get __bswap_16.
42690 * sysdeps/i386/bits/byteswap.h: Likewise.
42691 * sysdeps/s390/bits/byteswap.h: Likewise.
42692 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42693 * bits/byteswap-16.h: New file.
42694 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42695 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42696 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42697 * string/Makefile (headers): Add bits/byteswap-16.h.
42698
62470f60
PP
426992012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42700
42701 [BZ #13895]
42702 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42703 extra indirection.
42704 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42705 * nss/tst-nss-static.c: New.
42706
4dad7bab
RM
427072012-04-06 Robert Millan <rmh@gnu.org>
42708
42709 [BZ #6486]
42710 * manual/llio.texi (File Position Primitive): lseek
42711 refers to WHENCE when it really means OFFSET.
42712
e9142a17
AJ
427132012-04-06 Andreas Jaeger <aj@suse.de>
42714
2c040eff
AJ
42715 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42716 strncmp declarations.
42717
e9142a17
AJ
42718 * abilist/libc.abilist: Add __poll and __ppoll.
42719
ff9f1c5f
DM
427202012-04-05 David S. Miller <davem@davemloft.net>
42721
dcd2ae90
DM
42722 * scripts/check-local-headers.sh: Accept a host triplet in the
42723 path matched by the exclude regexp.
42724
993eb054
DM
42725 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42726 definition.
42727 * sysdeps/powerpc/powerpc32/dl-machine.h
42728 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42729 * sysdeps/s390/s390-32/dl-machine.h
42730 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42731 * sysdeps/sparc/sparc32/dl-machine.h
42732 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42733 * sysdeps/sparc/sparc64/dl-machine.h
42734 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42735
ff9f1c5f
DM
42736 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42737 lazy binding.
48e2e132 42738 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
42739 undefined symbol errors.
42740
48e2e132 42741 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
42742 DT_NEEDED entries.
42743
e80d6f94
MM
427442012-04-05 Michael Matz <matz@suse.de>
42745
42746 [BZ #13592]
42747 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42748
349fa79f
AJ
427492012-04-05 Andreas Jaeger <aj@suse.de>
42750
42751 [BZ #13908]
42752 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42753 comment.
42754
f402708f
KK
427552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42756
42757 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42758 which ROUND is no valid rounding mode.
42759
2ecccfc9
KK
427602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42761
42762 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42763 read again.
42764 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42765
8a53f50f
KK
427662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42767
42768 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42769 an exception using FPU order intentionally.
42770
427712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42772
42773 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42774 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42775 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42776 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42777
d653abb7
SJ
427782012-04-05 Simon Josefsson <simon@josefsson.org>
42779
42780 [BZ #12340]
42781 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42782 EINVAL when BUFLEN is too smal.
42783
c3b1bf7d
TS
427842012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42785
42786 [BZ #13553]
42787 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42788 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42789
b1aa60f3
AJ
427902012-04-03 Andreas Jaeger <aj@suse.de>
42791
c3b1bf7d 42792 [BZ #13938]
67f60a26
AJ
42793 * manual/setjmp.texi (System V contexts): Fix sentence.
42794
b1aa60f3
AJ
42795 [BZ #13926]
42796 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42797 New macro for this case.
42798 [!__GNUC__] (__bswap_64): New inline function for this case.
42799 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42800 * bits/byteswap.h: Likewise.
42801 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42802 ull, guard with __GLIBC_HAVE_LONG_LONG.
42803
42804 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42805 __GLIBC_HAVE_LONG_LONG.
42806
42807 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42808 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42809
39c59c35
TMQMF
428102012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42811
42812 [BZ #13691]
42813 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42814 inptr and inend, rather than using last_ch.
42815
135ffda8
DM
428162012-04-02 David S. Miller <davem@davemloft.net>
42817
42818 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42819 * stdio-common/printf-parse.h (read_int): Change return type to
42820 'int', return -1 on INT_MAX overflow.
42821 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42822 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42823 overflows INT_MAX. Check for overflow of in-format-string precision
42824 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42825 SIZE_MAX not INT_MAX for integer overflow test.
42826 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42827 skip the construct in the format string but do not record anything.
42828 * stdio-common/bug22.c: Adjust to test both width/prevision
42829 INT_MAX overflow as well as total length INT_MAX overflow. Check
42830 explicitly for proper errno values.
42831
228c019e
TS
428322012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42833
302cadd3
TS
42834 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42835 CHAR_MAX.
42836 * string/test-strcmp.c [! WIDE]: Likewise.
42837 * time/tst-mktime2.c: Likewise for INT_MAX.
42838 * string/test-string.h: #include <sys/param.h> for MIN.
42839
228c019e
TS
42840 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42841 * sysdeps/i386/init-first.c (init): Likewise.
42842 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42843 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42844 * sysdeps/sh/init-first.c (init): Likewise.
42845
cfa633f5
UD
428462012-04-01 Ulrich Drepper <drepper@gmail.com>
42847
42848 * po/ru.po: Update from translation team.
d1635ef8 42849 * po/vi.po: Likewise.
cfa633f5 42850
6cd0a5ea
SP
428512012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42852
42853 * resolv/nss_dns/dns-host.c: Merge copyright years.
42854
4b43400f
LD
428552012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42856
42857 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42858 Optimize memcpy with prefetch if
42859 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42860 src, dst pointers have unequal 16 byte alignments.
42861
48c41d04
SP
428622012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42863
42864 [BZ #13928]
42865 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42866 from a CNAME entry and return the minimum ttl for the query.
42867 (gaih_getanswer_slice): Likewise.
42868
b8dc394d
JL
428692012-03-30 Jeff Law <law@redhat.com>
42870
42871 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42872 due to long keys.
42873 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42874 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42875
2f5a5ed0
JL
42876 * resolv/nss_dns/dns-host.c: Update copyright year.
42877
1d39e359
UD
428782012-03-30 Ulrich Drepper <drepper@gmail.com>
42879
c030f70c 42880 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 42881 requests to save a system call. Fix check that all bytes are sent.
c030f70c 42882
1d39e359
UD
42883 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42884 comments for sendmmsg.
42885
428862012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
42887
42888 [BZ #13691]
42889 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42890 with only 1 character between 0x0041 and 0x01b0.
42891 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42892 * wcsmbs/tst-mbsnrtowcs.c: New file.
42893
20fde227
DM
428942012-03-29 David S. Miller <davem@davemloft.net>
42895
42896 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42897 small copies by hand.
42898
984a4237
JL
428992012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42900
42901 [BZ #13761]
57f41c40
AS
42902 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42903 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42904 group memberships.
984a4237 42905
18c9d62b
DM
429062012-03-28 David S. Miller <davem@davemloft.net>
42907
88d85d4f
DM
42908 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42909 that branches into memcpy.
42910 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42911 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42912 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42913 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42914 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42915 bits.
42916 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42917 implementation too.
42918 * sysdeps/sparc/mempcpy.S: New file.
42919
e5aa83e1
DM
42920 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42921 the IFUNC routine in the libc case.
42922 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42923
88570753
DM
42924 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42925 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42926 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42927 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42928 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42929 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42930 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42931 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42932
249d7567
DM
42933 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42934 loop to 256 bytes instead of 64 bytes and fix test signedness.
42935
18c9d62b
DM
42936 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42937 * sysdeps/sparc/sparc32/Makefile: rather than here...
42938 * sysdeps/sparc/sparc64/Makefile: and here.
42939
05f3d1f6
UD
429402012-03-28 Ulrich Drepper <drepper@gmail.com>
42941
42942 * malloc/mallocbug.c: Avoid warnings about unused variables.
42943
86ae07a8
JL
429442012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42945
42946 [BZ #13760]
42947 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42948 in the right place. Discard and retry query if response is
42949 larger than input buffer size.
42950
41bf21a1
JM
429512012-03-28 Joseph Myers <joseph@codesourcery.com>
42952
d6270972
JM
42953 [BZ #369]
42954 [BZ #2678]
42955 [BZ #3866]
42956 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42957 x for large integer exponent.
42958 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42959 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42960 sign of result as needed afterwards.
42961 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42962 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42963 result for underflowing pow the same as for overflow.
42964 (__kernel_standard_l): Handle powl overflow and underflow here
42965 rather than calling __kernel_standard.
42966 * math/libm-test.inc (pow_test): Add more tests.
42967
414fca03 42968 [BZ #3868]
41bf21a1
JM
42969 [BZ #13879]
42970 [BZ #13910]
42971 [BZ #13911]
42972 [BZ #13912]
42973 [BZ #13913]
42974 [BZ #13915]
42975 [BZ #13916]
42976 [BZ #13917]
42977 [BZ #13918]
42978 [BZ #13919]
42979 [BZ #13920]
42980 [BZ #13921]
42981 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42982 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42983 (__kernel_standard_l): New function.
42984 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42985 __kernel_standard.
42986 * math/w_acosl.c (__acosl): Likewise.
42987 * math/w_asinl.c (__asinl): Likewise.
42988 * math/w_atan2l.c (__atan2l): Likewise.
42989 * math/w_atanhl.c (__atanhl): Likewise.
42990 * math/w_coshl.c (__coshl): Likewise.
42991 * math/w_exp10l.c (__exp10l): Likewise.
42992 * math/w_exp2l.c (__exp2l): Likewise.
42993 * math/w_fmodl.c (__fmodl): Likewise.
42994 * math/w_hypotl.c (__hypotl): Likewise.
42995 * math/w_j0l.c (__j0l, __y0l): Likewise.
42996 * math/w_j1l.c (__j1l, __y1l): Likewise.
42997 * math/w_jnl.c (__jnl, __ynl): Likewise.
42998 * math/w_lgammal.c (__lgammal): Likewise.
42999 * math/w_log10l.c (__log10l): Likewise.
43000 * math/w_log2l.c (__log2l): Likewise.
43001 * math/w_logl.c (__logl): Likewise.
43002 * math/w_powl.c (__powl): Likewise.
43003 * math/w_remainderl.c (__remainderl): Likewise.
43004 * math/w_scalbl.c (sysv_scalbl): Likewise.
43005 * math/w_sinhl.c (__sinhl): Likewise.
43006 * math/w_sqrtl.c (__sqrtl): Likewise.
43007 * math/w_tgammal.c (__tgammal): Likewise.
43008 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43009 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43010 * math/libm-test.inc (acos_test): Add more tests.
43011 (acosh_test): Likewise.
43012 (asin_test): Likewise.
43013 (atanh_test): Likewise.
43014 (exp_test): Likewise.
43015 (exp10_test): Likewise.
43016 (exp2_test): Likewise.
43017 (expm1_test): Likewise.
43018 (lgamma_test): Likewise.
43019 (log_test): Likewise.
43020 (log10_test): Likewise.
43021 (log1p_test): Likewise.
43022 (log2_test): Likewise.
43023 (pow_test): Do not allow some spurious overflow exceptions.
43024 (sqrt_test): Add more tests.
43025 (tgamma_test): Likewise.
43026 (y0_test): Likewise.
43027 (y1_test): Likewise.
43028 (yn_test): Likewise.
43029
dd62fda6
AB
430302012-03-27 Anton Blanchard <anton@samba.org>
43031
43032 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43033 MAP_HUGETLB.
43034 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43035 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43036 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43037
1e3cdfda
AJ
430382012-03-27 David S. Miller <davem@davemloft.net>
43039
b855ab85
DM
43040 * conform/Makefile: Run run-conformtest.sh using $(BASH).
43041
1e3cdfda
AJ
43042 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43043 have-as-vis3 check.
43044
430452012-03-27 Andreas Jaeger <aj@suse.de>
43046
43047 * sysdeps/x86_64/elf/configure.in: Moved to ...
43048 * sysdeps/x86_64/configure.in: ... here.
43049 * sysdeps/x86_64/elf/start.S: Moved to ...
43050 * sysdeps/x86_64/start.S: ... here.
43051 * sysdeps/x86_64/elf/configure: Delete.
43052
43053 * sysdeps/x86_64/configure.in: Merge contents from
43054 sysdeps/i386/configure.in (without i686 check).
43055
43056 * sysdeps/i386/elf/Versions: Merge into ...
43057 * sysdeps/i386/Versions: ... this.
43058 * sysdeps/i386/elf/Versions: Delete file.
43059 * sysdeps/i386/elf/start.S: Moved to ...
43060 * sysdeps/i386/start.S: ...here.
43061 * sysdeps/i386/elf/configure.in: Merge into...
43062 * sysdeps/i386/configure.in: ...here.
43063 * sysdeps/i386/elf/configure.in: Delete file.
43064 * sysdeps/i386/elf/configure: Delete file.
43065
43066 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43067 * debug/backtracesyms.c: ... here.
43068 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43069 * debug/backtracesymsfd.c: ... here.
43070 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43071 * sysdeps/generic/ifunc-sel.h: ... here.
43072
43073 * sysdeps/unix/i386/start.c: Delete file.
43074 * sysdeps/unix/sparc/start.c: Delete file.
43075 * sysdeps/unix/start.c: Delete file.
43076
43077 * sysdeps/sh/elf/configure.in: Moved to ...
43078 * sysdeps/sh/configure.in: ... here.
43079 * sysdeps/sh/elf/start.S: Moved to ...
43080 * sysdeps/sh/start.S: ... here.
43081 * sysdeps/sh/elf/configure: Delete file.
43082
43083 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43084 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43085 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43086 * sysdeps/powerpc/powerpc64/entry.h: ... here.
43087 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43088 * sysdeps/powerpc/powerpc64/start.S: here.
43089 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43090 * sysdeps/powerpc/powerpc64/Makefile: ... this.
43091 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43092 * sysdeps/powerpc/powerpc64/configure.in: ... this.
43093 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43094
43095 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43096 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43097 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43098 * sysdeps/powerpc/powerpc32/start.S: ... here.
43099 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43100 * sysdeps/powerpc/powerpc32/configure.in: ... this.
43101 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43102
43103 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43104 * sysdeps/powerpc/ifunc-sel.h: ... here.
43105 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43106 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43107
43108 * sysdeps/sparc/elf/configure.in: Moved to ...
43109 * sysdeps/sparc/configure.in: ... here.
43110 * sysdeps/sparc/elf/configure: Delete file.
43111 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43112 * sysdeps/sparc/sparc32/start.S: ... here.
43113 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43114 * sysdeps/sparc/sparc64/start.S: ... here.
43115 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43116 * sysdeps/sparc/sparc32/Makefile: ... this.
43117 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43118 * sysdeps/sparc/sparc64/Makefile: ... this.
43119
43120 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43121 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43122 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43123 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43124 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43125 * sysdeps/s390/s390-32/setjmp.S: ... here.
43126 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43127 * sysdeps/s390/s390-32/configure.in: ... here.
43128 * sysdeps/s390/s390-32/elf/configure: Delete file.
43129 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43130 * sysdeps/s390/s390-32/start.S: ... here.
43131
43132 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43133 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43134 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43135 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43136 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43137 * sysdeps/s390/s390-64/setjmp.S: ... here.
43138 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43139 * sysdeps/s390/s390-64/configure.in: ... here
43140 * sysdeps/s390/s390-64/elf/configure: Delete file.
43141 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43142 * sysdeps/s390/s390-64/start.S: ... here.
43143 * sysdeps/s390/s390-64/elf/configure: Delete.
43144
43145 * configure.in: Remove support for elf directories in sysdeps.
43146
43147 * configure: Regenerated.
43148 * sysdeps/i386/configure: Regenerated.
43149 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43150 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43151 * sysdeps/s390/s390-32/configure: Regenerated.
43152 * sysdeps/s390/s390-64/configure: Regenerated.
43153 * sysdeps/sh/configure: Regenerated.
43154 * sysdeps/sparc/configure: Regenerated.
43155 * sysdeps/x86_64/configure: Regenerated.
43156
a3f61311
AS
431572012-03-26 Andreas Schwab <schwab@linux-m68k.org>
43158
c876e002
AS
43159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43160
a3f61311
AS
43161 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43162 denormal result into account.
43163
ac4c54f0
RM
431642012-03-25 Roland McGrath <roland@hack.frob.com>
43165
43166 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43167 Reported by Allan McRae <allan@archlinux.org>.
43168
6a9b9c02
JL
431692012-03-23 Jeff Law <law@redhat.com>
43170
43171 * nss/getnssent.c (__nss_getent): Fix typo.
43172
4c42a0c1
DM
431732012-03-23 David S. Miller <davem@davemloft.net>
43174
43175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43176
1532c7ac
L
431772012-03-23 H.J. Lu <hongjiu.lu@intel.com>
43178
43179 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43180 to pad to uint64_t for each field.
43181 (dl_tls_index): Replace unsigned long with uint64_t.
43182
3ff42526
PP
431832012-03-23 Daniel Jacobowitz <dmj@google.com>
43184 Paul Pluzhnikov <ppluzhnikov@google.com>
43185
43186 [BZ #6528]
43187 * grp/Makefile (otherlibs): Don't set it.
43188 * inet/Makefile (otherlibs): Likewise.
43189 * login/Makefile (otherlibs): Likewise.
43190 * nscd/Makefile (otherlibs): Likewise.
43191 * posix/Makefile (otherlibs): Likewise.
43192 * pwd/Makefile (otherlibs): Likewise.
43193 * rt/Makefile (otherlibs): Likewise.
43194 * sunrpc/Makefile (otherlibs): Likewise.
43195 * nss/Makefile (otherlibs): Likewise.
43196 Add libnss_files to routines and static-only-routines.
43197 ($(objpfx)getent): Remove rule.
43198 * resolv/Makefile: Add libnss_dns and libresolv to routines and
43199 static-only-routines.
43200
7c69cd14
JM
432012012-03-22 Joseph Myers <joseph@codesourcery.com>
43202
43203 [BZ #13892]
43204 * math/s_cexp.c: Include <float.h>.
43205 (__cexp): Handle exp result overflowing not necessarily
43206 overflowing both real and imaginary parts of result.
43207 * math/s_cexpf.c: Likewise.
43208 * math/s_cexpl.c: Likewise.
43209 * math/libm-test.inc (cexp_test): Add more tests.
43210 * sysdeps/i386/fpu/libm-test-ulps: Update.
43211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43212
81b035fe
L
432132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43214
43215 * include/link.h (ELFW): New macro.
43216 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43217 Replace ELF64_R_TYPE with ELFW(R_TYPE).
43218
1da7940c
L
432192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43220
43221 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43222 with uint64_t.
43223
b749dbb9
L
432242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43225
43226 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43227 declaration.
43228 (struct La_x32_retval): Likewise.
43229
2ff87f3f
L
432302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43231
43232 * sysdeps/x86_64/preconfigure.in: New file.
43233 * sysdeps/x86_64/preconfigure: New generated file.
43234
c0df8e69
JM
432352012-03-22 Joseph Myers <joseph@codesourcery.com>
43236
48e44791
JM
43237 [BZ #13824]
43238 * math/e_exp2l.c: Include <float.h>.
43239 (__ieee754_exp2l): Handle overflow and underflow cases
43240 separately. Only pass fractional part of argument to
43241 __ieee754_expl.
43242 * math/libm-test.inc (exp2_test): Add more tests.
43243
c0df8e69
JM
43244 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43245 negating x to take absolute value.
43246 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43247 Likewise.
43248 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43249 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43250 Likewise.
43251 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43252 computing low part if x was negated.
43253 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43254
c8e43ba7
L
432552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43256
43257 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43258 la_x32_gnu_pltexit.
43259 (pltexit): Cast int_retval to ptrdiff_t.
43260 * elf/tst-auditmod3b.c: Likewise.
43261 * elf/tst-auditmod4b.c: Likewise.
43262 * elf/tst-auditmod5b.c: Likewise.
43263 * elf/tst-auditmod6b.c: Likewise.
43264 * elf/tst-auditmod6c.c: Likewise.
43265 * elf/tst-auditmod7b.c: Likewise.
43266
43267 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43268 and x32_gnu_pltexit.
43269
43270 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43271 __ELF_NATIVE_CLASS.
43272 (La_x32_regs): New macro.
43273 (La_x32_retval): Likewise.
43274 (la_x32_gnu_pltenter): New function prototype.
43275 (la_x32_gnu_pltexit): Likewise.
43276
7998fa78
AS
432772012-03-21 Andreas Schwab <schwab@linux-m68k.org>
43278
dcb33988
AS
43279 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43280 exponent.
43281
233fc563
AS
43282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43283
7998fa78
AS
43284 * configure.in (libc_cv_cc_nofma): Check for option to disable
43285 generation of FMA instructions.
43286 * configure: Regenerate.
43287 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43288 * sysdeps/ieee754/dbl-64/Makefile: New file.
43289 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43290 Remove brandred-fma4.
43291 (CFLAGS-brandred-fma4.c): Remove.
43292 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43293 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43294 define.
43295 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43296 define.
43297
8e95c99a
L
432982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43299
43300 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43301 LLONG_MAX != LONG_MAX.
43302 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43303 (_fitoa_word): Likewise.
43304 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43305 LLONG_MAX != LONG_MAX.
43306 * stdio-common/_itowa.h: Include <_itoa.h>.
43307 (_itowa_word): Use _ITOA_WORD_TYPE on value.
43308 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
43309 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
43310 only if not defined.
43311 (_ITOA_WORD_TYPE): Likewise.
43312 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43313 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43314
6f4db457
DM
433152012-03-21 David S. Miller <davem@davemloft.net>
43316
43317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43318
7785fe5a
L
433192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43320
43321 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43322 of x86_64 when setting libc_cv_slibdir, libdir and
43323 libc_cv_localedir.
43324 * sysdeps/unix/sysv/linux/configure: Regenerated.
43325
4535cd55
JM
433262012-03-21 Joseph Myers <joseph@codesourcery.com>
43327
43328 * manual/lang.texi (Old Varargs): Remove section.
43329 (How Variadic): Update menu.
43330 (va_start): Do not mention varargs.h.
43331
17228132
TS
433322012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43333 Joseph Myers <joseph@codesourcery.com>
43334
43335 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43336 link test.
43337 * configure: Regenerated.
43338
8149f976
TS
433392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43340
05f3d1f6
UD
43341 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43342 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43343 conformtest.pl
8149f976 43344
1a4ac776
JM
433452012-03-21 Joseph Myers <joseph@codesourcery.com>
43346
be22ce65
JM
43347 * NOTES: Remove.
43348 * Makefile (files-for-dist): Remove NOTES.
43349 (NOTES): Remove rule.
43350 * README: Don't refer to NOTES.
43351 * manual/creature.texi: Don't include macros.texi.
43352 * manual/intro.texi (creature.texi): Remove comment referring to
43353 NOTES.
43354
40b601fb
JM
43355 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43356 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43357 * configure: Regenerated.
43358 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43359 LIBC_TRY_CC_OPTION.
43360 (libc_cv_as_i686): Likewise.
43361 (libc_cv_cc_avx): Likewise.
43362 (libc_cv_cc_sse2avx): Likewise.
43363 (libc_cv_cc_fma4): Likewise.
43364 (libc_cv_cc_novzeroupper): Likewise.
43365 * sysdeps/i386/configure: Regenerated.
43366
1a4ac776
JM
43367 [BZ #13883]
43368 * sysdeps/i386/fpu/s_cexp.S: Remove.
43369 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43370 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43371 * math/libm-test.inc (cexp_test): Add more tests.
43372 * sysdeps/i386/fpu/libm-test-ulps: Update.
43373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43374
a458e7fe
AM
433752012-03-21 Allan McRae <allan@archlinux.org>
43376
43377 * timezone/Makefile: Do not install iso3166.tab and zone.tab
43378
0cb7efc5
JM
433792012-03-21 Joseph Myers <joseph@codesourcery.com>
43380
43381 [BZ #13871]
43382 * math/w_exp2.c: Do not include <float.h>.
43383 (o_threshold, u_threshold): Remove.
43384 (__exp2): Calculate result before checking finiteness and calling
43385 __kernel_standard.
43386 * math/w_exp2f.c: Likewise.
43387 * math/w_exp2l.c: Likewise.
43388 * math/libm-test.inc (exp2_test): Require overflow exception for
43389 1e6 input.
2460d3aa
JM
43390
43391 [BZ #3866]
43392 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43393 range of signed 64-bit integers before using fistpll. Remove
43394 checks for whether integers fit in mantissa bits.
43395 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43396 the range of signed 32-bit integers before using fistpl. Remove
43397 checks for whether integers fit in mantissa bits.
43398 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43399 (__ieee754_powl): Test for y outside the range of signed 64-bit
43400 integers before using fistpll. Reduce 64-bit values to 63-bit
43401 ones as needed.
43402 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43403 divide-by-zero is raised for zero to large negative powers.
43404 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43405 (__ieee754_powl): Test for y outside the range of signed 64-bit
43406 integers before using fistpll. Reduce 64-bit values to 63-bit
43407 ones as needed.
43408 * math/libm-test.inc (pow_test): Add more tests.
43409
eb96ffb0
L
434102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43411
43412 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43413 <stdio-common/_itoa.h>.
43414 * debug/segfault.c: Likewise.
43415 * elf/dl-cache.c: Likewise.
43416 * elf/dl-minimal.c: Likewise.
43417 * elf/dl-misc.c: Likewise.
43418 * elf/dl-sysdep.c: Likewise.
43419 * elf/dl-version.c: Likewise.
43420 * elf/rtld.c: Likewise.
43421 * hurd/hurdsock.c: Likewise.
43422 * hurd/lookup-retry.c: Likewise.
43423 * malloc/malloc.c: Likewise.
43424 * malloc/mtrace.c: Likewise.
43425 * nscd/nscd_getgr_r.c: Likewise.
43426 * nscd/nscd_getpw_r.c: Likewise.
43427 * nscd/nscd_getserv_r.c: Likewise.
43428 * posix/getopt_init.c: Likewise.
43429 * posix/wordexp.c: Likewise.
43430 * stdio-common/_itoa.c: Likewise.
43431 * stdio-common/printf_fphex.c: Likewise.
43432 * stdio-common/vfprintf.c: Likewise.
43433 * string/_strerror.c: Likewise.
43434 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43435 * sysdeps/i386/i686/hp-timing.h: Likewise.
43436 * sysdeps/mach/_strerror.c: Likewise.
43437 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43438 * sysdeps/mach/hurd/sethostid.c: Likewise.
43439 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43440 * sysdeps/mach/xpg-strerror.c: Likewise.
43441 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43442 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43443 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43444 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43445 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43446 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43447 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43448 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43449 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43450 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43451 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43452 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43453 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43454 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43455 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43456 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43457 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43458 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43459 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43460 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43461 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43462
43463 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43464
43465 * stdio-common/_itoa.h: Moved to ...
43466 * sysdeps/generic/_itoa.h: Here.
43467
43468 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43469
43470 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43471 instead of "_itoa.h" and "_itowa.h".
43472 * stdio-common/vfprintf.: Likewise.
43473
d1af992d
L
434742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43475
43476 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43477 <bits/wordsize.h>.
43478 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43479 (__signbit): Likwise.
43480 (llrintf): Likwise.
43481 (llrint): Likwise.
43482
114883e0
L
434832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43484
43485 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43486 __WORDSIZE != 64.
43487
c135cc1b
JM
434882012-03-20 Joseph Myers <joseph@codesourcery.com>
43489
43490 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43491 OVERFLOW_EXCEPTION_OK.
43492 * math/libm-test.inc ("Philosophy"): Update comment about
43493 exception testing.
43494 (OVERFLOW_EXCEPTION): Define.
43495 (OVERFLOW_EXCEPTION_OK): Likewise.
43496 (INVALID_EXCEPTION_OK): Renumber.
43497 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43498 (IGNORE_ZERO_INF_SIGN): Likewise.
43499 (test_exceptions): Handle FE_OVERFLOW.
43500 (exp10_test): Expect overflow exceptions.
43501 (exp2_test): Likewise.
43502 (expm1_test): Likewise.
43503 (nextafter_test): Likewise.
43504 (pow_test): Likewise.
43505 (scalbn_test): Likewise.
43506 (scalbln_test): Likewise.
43507
95443d88
L
435082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43509
43510 * sysdeps/x86_64/bits/atomic.h
43511 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43512 64bit integer.
43513 (atomic_exchange_acq): Likewise.
43514 (__arch_exchange_and_add_body): Likewise.
43515 (__arch_add_body): Likewise.
43516 (atomic_add_negative): Likewise.
43517 (atomic_add_zero): Likewise.
43518
490df6c4
L
435192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43520
c2722551 43521 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
43522 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43523
5e52b189
L
435242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43525
43526 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43527 Check __x86_64__ instead of __WORDSIZE.
43528
a9879d4c
L
435292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43530
43531 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43532
5df98260
DM
435332012-03-19 David S. Miller <davem@davemloft.net>
43534
e1497744
DM
43535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43536
5df98260
DM
43537 * sysdeps/sparc/fpu/fenv_private.h: New file.
43538 * sysdeps/sparc/fpu/math_private.h: Use it.
43539 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43540 Remove.
57f41c40 43541 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
43542 (libc_feholdexcept_setroundl): Remove.
43543 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43544 Remove.
43545 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43546 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43547
b4c35121
L
435482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43549
43550 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43551 int64_t instead of long int.
43552 (INSERT_WORDS64): Likwise.
43553
56965fd7
L
435542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43555
43556 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43557 _Unwind_GetCFA return to _Unwind_Ptr first.
43558
83d1aec8
JM
435592012-03-19 Joseph Myers <joseph@codesourcery.com>
43560
1897ad44
JM
43561 [BZ #13629]
43562 * math/s_clog.c: Include <float.h>.
43563 (__clog): Scale large or subnormal inputs.
43564 * math/s_clogf.c: Likewise.
43565 * math/s_clogl.c: Likewise.
43566 * math/s_clog10.c: Include <float.h>.
43567 (M_LOG10_2): Define.
43568 (__clog10): Scale large or subnormal inputs.
43569 * math/s_clog10f.c: Likewise.
43570 * math/s_clog10l.c: Likewise.
43571 * math/libm-test.inc (clog_test): Add more tests.
43572 (clog10_test): Likewise.
43573 * sysdeps/i386/fpu/libm-test-ulps: Update.
43574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43575
7726d6a9
JM
43576 [BZ #11451]
43577 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43578 x and y.
43579 * math/libm-test.inc (atan2_test): Add another test.
43580
83d1aec8
JM
43581 * Makerules (common-objdir-compile): Remove.
43582 * sysdeps/unix/Makefile (config-generated): Do not add
43583 $(unix-generated) to variable.
43584 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43585 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43586 Remove rule.
43587 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43588 Likewise.
43589 [generic bits/local_lim.h] (before-compile): Do not append to
43590 variable.
43591 [generic bits/local_lim.h] (common-generated): Likewise.
43592 [generic sys/param.h] (before-compile): Do not append to variable.
43593 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43594 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43595 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43596 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43597 include.
43598 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43599 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43600 [generic sys/param.h] ($(addprefix
43601 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43602 [generic sys/param.h] (common-generated): Do not append to
43603 variable.
43604 [generic sys/param.h] (sysdep_headers): Likewise.
43605 [generic bits/errno.h] (before-compile): Do not append to
43606 variable.
43607 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43608 rule.
43609 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43610 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43611 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43612 [generic bits/errno.h] (common-generated): Do not append to
43613 variable.
43614 [generic bits/ioctls.h] (before-compile): Do not append to
43615 variable.
43616 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43617 rule.
43618 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43619 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43620 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43621 rule.
43622 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43623 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43624 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43625 [generic bits/ioctls.h] (common-generated): Do not append to
43626 variable.
43627 [generic sys/syscall.h] (syscall.h): Remove variable.
43628 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43629 rule.
43630 [generic sys/syscall.h] (before-compile): Do not append to
43631 variable.
43632 [generic sys/syscall.h] (common-generated): Likewise.
43633 * sysdeps/unix/errnos-tmpl.c: Remove file.
43634 * sysdeps/unix/errnos.awk: Likewise.
43635 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43636 * sysdeps/unix/ioctls.awk: Likewise.
43637 * sysdeps/unix/mk-local_lim.c: Likewise.
43638 * sysdeps/unix/snarf-ioctls: Likewise.
43639
4851a949
RH
436402012-03-19 Richard Henderson <rth@twiddle.net>
43641
bd37f2ee
RH
43642 * sysdeps/i386/fpu/fenv_private.h: New file.
43643 * sysdeps/i386/fpu/math_private.h: Use it.
43644 (math_opt_barrier, math_force_eval): Remove.
43645 (libc_feholdexcept_setround_53bit): Remove.
43646 (libc_feupdateenv_53bit): Remove.
43647 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43648 (math_opt_barrier, math_force_eval): Remove.
43649 (libc_feholdexcept): Remove.
43650 (libc_feholdexcept_setround): Remove.
43651 (libc_fetestexcept, libc_fesetenv): Remove.
43652 (libc_feupdateenv_test): Remove.
43653 (libc_feupdateenv, libc_feholdsetround): Remove.
43654 (libc_feresetround): Remove.
43655
d0adc922
RH
43656 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43657 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43658
0fe0f1f8
RH
43659 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43660 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43661 (libc_feupdateenv_testl): New.
43662 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43663 (libc_feupdateenv_testf): New.
43664 (libc_feupdateenv): Use libc_feupdateenv_test.
43665 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43666 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43667
eb92c487
RH
43668 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43669 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43670 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43671 (libc_feresetround_noex): New.
43672 (libc_feresetround_noexf): New.
43673 (libc_feresetround_noexl): New.
43674 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43675 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43676 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43677 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43678 SET_RESTORE_ROUND.
43679 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43680 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43681 (__cos): Likewise.
43682 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43683 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43684 SET_RESTORE_ROUND_NOEX.
43685 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43686 SET_RESTORE_ROUND_NOEXF.
43687 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43688 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43689 (libc_feholdsetroundf): New.
43690 (libc_feresetround, libc_feresetroundf): New.
43691
7d2e8012
RH
43692 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43693 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43694 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43695
b4dabbb4
RH
43696 * sysdeps/generic/math_private.h: Include <fenv.h>.
43697 (default_libc_feholdexcept): New.
43698 (default_libc_feholdexcept_setround): New.
43699 (default_libc_fesetenv, default_libc_feupdateenv): New.
43700 (libc_feholdexcept): Only define if undefined.
43701 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43702 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43703 (libc_feholdexcept_setroundl): Likewise.
43704 (libc_feholdexcept_setround_53bit): Likewise.
43705 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43706 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43707 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43708 (libc_feupdateenv_53bit): Likewise.
43709 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43710 (libc_feholdexcept): Convert from macro to inline function.
43711 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43712 (libc_fesetenv, libc_feupdateenv): Likewise.
43713
4851a949
RH
43714 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43715 not previously defined.
43716 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43717 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43718 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43719 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43720 * sysdeps/ieee754/flt-32/math_private.h: New file.
43721 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43722 math_private.h below SET_FLOAT_WORD.
43723 (__isnan, __isinf_ns, __finite): Remove.
43724 (__isnanf, __isinf_nsf, __finitef): Remove.
43725
e79d442e
AS
437262012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43727
43728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43729
90b80344
DM
437302012-03-17 David S. Miller <davem@davemloft.net>
43731
43732 [BZ #6471]
43733 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43734 for 2.16.
43735
edc21804
DM
437362012-03-16 David S. Miller <davem@davemloft.net>
43737
77e927af
DM
43738 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43739 warnings.
43740
374976dd
DM
43741 [BZ #6471]
43742 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43743 properly.
43744 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43745 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43746 sysdep_routines when subdir is sysvipc.
43747 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43748 __getshmlba helper.
43749
edc21804
DM
43750 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43751
473c3ef3
L
437522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43753
43754 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43755 [__LP64__].
43756
eb0f39b6
L
437572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43758
43759 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43760 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43761 (__lround): Renamed to ...
43762 (__llround): This. Replace long int with long long int.
43763 Define lround functions as aliases of llround functions.
43764 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43765
6b6cd74b
L
437662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43767
43768 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43769 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43770 adresses to uintptr_t. Replace "long int" and "unsigned long
43771 int" with "greg_t" on va_arg.
43772
f1a77b01
L
437732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43774
43775 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43776 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43777
43778 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43779 Move e_machine check before EI_CLASS check. Handle x32
43780 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43781 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43782 SKIP_EM_IA_64 and include
43783 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43784
43785 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43786 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43787 (add_system_dir): New macro.
43788
43789 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43790 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43791
11b90b9f
JM
437922012-03-16 Joseph Myers <joseph@codesourcery.com>
43793
c36e1d23
JM
43794 [BZ #2551]
43795 [BZ #2552]
43796 [BZ #2553]
43797 [BZ #2554]
43798 [BZ #2562]
43799 [BZ #2563]
43800 [BZ #2565]
43801 [BZ #2566]
43802 [BZ #2576]
43803 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43804 (y0): Likewise.
43805 * math/w_j0f.c (j0f): Likewise.
43806 (y0f): Likewise.
43807 * math/w_j0l.c (__j0l): Likewise.
43808 (__y0l): Likewise.
43809 * math/w_j1.c (j1): Likewise.
43810 (y1): Likewise.
43811 * math/w_j1f.c (j1f): Likewise.
43812 (y1f): Likewise.
43813 * math/w_j1l.c (__j1l): Likewise.
43814 (__y1l): Likewise.
43815 * math/w_jn.c (jn): Likewise.
43816 (yn): Likewise.
43817 * math/w_jnf.c (jnf): Likewise.
43818 (ynf): Likewise.
43819 * math/w_jnl.c (__jnl): Likewise.
43820 (__ynl): Likewise.
43821 * math/libm-test.inc (j0_test): Add more tests.
43822 (j1_test): Likewise.
43823 (jn_test): Likewise. Add trailing semicolon to existing test.
43824 (y0_test): Likewise.
43825 (y1_test): Likewise.
43826 * sysdeps/i386/fpu/libm-test-ulps: Update.
43827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43828
11b90b9f
JM
43829 [BZ #13851]
43830 [BZ #13854]
43831 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43832 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43833 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43834 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43835 (__tanl): Set errno for infinite argument.
43836 * sysdeps/i386/fpu/mptan.c: Remove.
43837 * sysdeps/i386/fpu/s_tan.S: Likewise.
43838 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43839 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43840 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43841 * math/libm-test.inc (tan_test): Add more tests and enable more
43842 tests for double and long double.
43843 * sysdeps/i386/fpu/libm-test-ulps: Update.
43844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43845
6a1bd2a1
JK
438462012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43847
43848 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43849 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43850
10a803e0
RM
438512012-03-16 Roland McGrath <roland@hack.frob.com>
43852
43853 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43854 * configure.in: Use it for both main tree and add-ons.
43855 * configure: Regenerated.
43856
f196c7f7
L
438572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43858
43859 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43860
8848d99d
JM
438612012-03-16 Joseph Myers <joseph@codesourcery.com>
43862
96cbe7f4
JM
43863 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43864 in comment.
43865
8848d99d
JM
43866 [BZ #13851]
43867 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43868 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43869 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43870 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43871 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43872 infinite argument.
43873 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43874 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43875 != 0 for prec == 2.
43876 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43877 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43878 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43879 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43880 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43881 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43882 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43883 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43884 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43885 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43886 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43887 * math/libm-test.inc (cos_test): Add more tests and enable more
43888 tests for long double.
43889 (sin_test): Likewise.
43890 (sincos_test): Likewise.
43891 * sysdeps/i386/fpu/libm-test-ulps: Update.
43892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43893
dd7f4703
DM
438942012-03-16 David S. Miller <davem@davemloft.net>
43895
43896 * sysdeps/sparc/fpu/math_private.h: New file.
43897
006f1daa
DM
438982012-03-15 David S. Miller <davem@davemloft.net>
43899
c0c83bc8
DM
43900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43901 file.
e6a62e18 43902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
43903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43904 file.
e6a62e18
DM
43905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43910 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43911 sysdep routines.
43912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43913
88cb87d9
DM
43914 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43915 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43916
006f1daa 43917 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
43918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43919 sparc-ifunc.h
006f1daa 43920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
43921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43922 Likewise.
43923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43924 Likewise.
006f1daa
DM
43925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
43928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43929 Likewise.
006f1daa
DM
43930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
43934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43935 Likewise.
43936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43937 Likewise.
006f1daa
DM
43938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43942 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43943 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43944 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43945 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43956 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43957 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43958 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43959 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43960 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43961 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43962
11e0098e
AS
439632012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43964
43965 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43966 scaling.
43967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43968
e85b09d0
AJ
439692012-03-15 Andreas Jaeger <aj@suse.de>
43970
43971 [BZ #13852]
43972 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43973 ieee754/flt-32 implementation for sin, cos and sincos.
43974 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43975 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43976 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43977 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43978 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43979 ieee754/flt-32 implementation for tan.
43980
43981 * math/libm-test.inc (cos_test): Enable some large input tests for
43982 float as well
43983 (sin_test): Likewise.
43984 (sincos_test): Likewise.
43985 (tan_test): Add tests for large input.
43986
43987 * sysdeps/i386/fpu/libm-test-ulps: Update.
43988
81c64153
AJ
439892012-03-15 Andreas Jaeger <aj@suse.de>
43990
43991 [BZ #13658]
43992 * math/libm-test.inc (cos_test): Add more test cases.
43993 (sin_test): Likewise.
43994 (sincos_test): Likewise.
43995
7bbfa5c6
AJ
439962012-03-15 Andreas Jaeger <aj@suse.de>
43997
43998 [BZ #13837]
43999 * math/libm-test.inc (cos_test): Add a test case for large input
44000 value.
44001 (sin_test): Likewise.
44002 (sincos_test): Likewise.
44003
57f41c40
AS
440042012-03-15 Andreas Jaeger <aj@suse.de>
44005 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
44006
44007 [BZ #13658]
0671f479 44008 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
44009 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44010 * sysdeps/i386/fpu/branred.c: Likewise.
44011 * sysdeps/i386/fpu/dosincos.c: Likewise.
44012 * sysdeps/i386/fpu/mpa.c: Likewise.
44013 * sysdeps/i386/fpu/s_cos.S: Likewise.
44014 * sysdeps/i386/fpu/s_sin.S: Likewise.
44015 * sysdeps/i386/fpu/s_sincos.S: Likewise.
44016 * sysdeps/i386/fpu/sincos32.c: Likewise.
44017
44018 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44019 Define.
44020 (libc_feupdateenv_53bit): Define.
44021 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44022 Define.
44023 (libc_feupdateenv_53bit): Define.
44024
44025 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44026 53 bit (without extend i386 double precision).
44027
44028 * math/libm-test.inc (sincos_test): Add tests for large input.
44029 (sin): Likewise.
44030 (cos): Likewise.
44031
44032 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44033
9cad04ea
AS
440342012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44035
44036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44037
f7062b9a
DM
440382012-03-15 David S. Miller <davem@davemloft.net>
44039
44040 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44041 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44042 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44043 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
44055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44056 file.
f7062b9a 44057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
44058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44059 file.
f7062b9a 44060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
44061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44062 file.
f7062b9a 44063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
44064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44065 file.
f7062b9a
DM
44066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44067 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44068 fmin/fmax sysdep routines.
44069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44070
7bd951ff
DM
440712012-03-14 David S. Miller <davem@davemloft.net>
44072
559398ab
DM
44073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44077 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44078 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44079 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44080 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44092 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44093 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44094 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44095 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44096 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44097 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44098 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44099 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
44101 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44102 routines.
44103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44104 file.
559398ab 44105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
44106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44107 file.
559398ab 44108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
44109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44110 file.
559398ab 44111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
44112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44113 file.
559398ab 44114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
44115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44116 file.
559398ab 44117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
44118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44119 file.
44120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44121 file.
44122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44123 file.
44124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44125 file.
44126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44127 New file.
44128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44129 file.
44130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44131 file.
559398ab 44132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
44133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44134 file.
559398ab 44135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
44136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44137 file.
559398ab 44138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
44139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44140 file.
559398ab 44141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
44142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44143 VIS3 routines.
559398ab
DM
44144
44145 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44146 New file.
44147
5a1c1e32
DM
44148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44149
eae47a36
DM
44150 * sysdeps/sparc/configure.in: New file.
44151 * sysdeps/sparc/configure: Generate.
44152 * configure.in (libc_cv_sparc_as_vis3): Substitute.
44153 * configure: Regenerate.
44154 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44155 * config.make.in (have-as-vis3): New.
44156 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44157 available use -Av9d instead of -Av9a.
44158 * sysdeps/sparc/sparc64/Makefile: Likewise.
44159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
44160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44161 New file.
44162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44163 file.
44164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44165 New file.
44166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44167 file.
eae47a36
DM
44168 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44169 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44170 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44171 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44172 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44173
c0c83bc8
DM
44174 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44175 fzeros/fnegs to load 0x80000000 into a float register instead of
44176 using the stack.
7bd951ff
DM
44177 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44178
bd951ccb
JM
441792012-03-14 Joseph Myers <joseph@codesourcery.com>
44180
44181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44182 bits/syscall.h.
44183 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44184 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44185 ($(inst_includedir)/bits/syscall.h): Remove rule.
44186 ($(objpfx)bits/syscall.d): Include instead of
44187 $(objpfx)syscall-list.d.
44188 (generated): Change syscall-list.h and syscall-list.d to
44189 bits/syscall.h and bits/syscall.d.
44190
bb4e6db2
RM
441912012-03-14 Roland McGrath <roland@hack.frob.com>
44192
44193 [BZ #13846]
44194 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44195
aa4a2ae1
JM
441962012-03-14 Joseph Myers <joseph@codesourcery.com>
44197
e456826d
JM
44198 [BZ #13841]
44199 * math/s_csqrt.c: Include <float.h>.
44200 (__csqrt): Scale large or subnormal inputs.
44201 * math/s_csqrtf.c: Likewise.
44202 * math/s_csqrtl.c: Likewise.
44203 * math/libm-test.inc (csqrt_test): Add more tests.
44204 * sysdeps/i386/fpu/libm-test-ulps: Update.
44205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44206
aa4a2ae1
JM
44207 [BZ #13840]
44208 * math/libm-test.inc (hypot_test): Add more tests.
44209
7c10fd35
DM
442102012-03-13 David S. Miller <davem@davemloft.net>
44211
44212 [BZ #13840]
44213 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44214 double-precision for the calculation instead of scaling.
44215
f453b98b
JM
442162012-03-13 Joseph Myers <joseph@codesourcery.com>
44217
44218 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44219 manipulate bits before adding and subtracting TWO52[sx].
44220 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44221 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44222 Likewise.
44223 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44224
09a3453f
DM
442252012-03-13 David S. Miller <davem@davemloft.net>
44226
8e59da90
DM
44227 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44228 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44229 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44230 rtld-global-offsets.h
44231 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44232
2a8ab7f2
DM
44233 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44234 large parameters.
44235
10f62770
DM
44236 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44237
5f0bdb18
DM
44238 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44239 'err' in the ifdef scope in which it is actually used.
44240
09a3453f
DM
44241 * nss/nss_db/db-init.c: Include string.h
44242
b4b2eb5e
DM
442432012-03-12 David S. Miller <davem@davemloft.net>
44244
98bb2f1c
DM
44245 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44246 masking out of the most significant byte of random value used.
44247 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44248 Fix coding style in previous change.
44249
b4b2eb5e
DM
44250 * sysdeps/unix/sysv/linux/kernel-features.h
44251 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44252 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44253 expression.
44254 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44255 later.
44256
6e226b09
DM
442572012-03-11 David S. Miller <davem@davemloft.net>
44258
a1bcbd40
DM
44259 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44260 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44261 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44262 for 'resultvar' otherwise things get truncated on 64-bit.
44263
cb9d6174
DM
44264 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44265 Fix masking out of the most significant byte of random value used.
44266
6e226b09
DM
44267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44268
058c132d
AS
442692012-03-10 Andreas Schwab <schwab@linux-m68k.org>
44270
44271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44272
2d2cd515
DM
442732012-03-09 David S. Miller <davem@davemloft.net>
44274
44275 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44276 variables with appropriate CPP guards.
57f41c40
AS
44277 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44278 from the frame pointer, not the stack pointer. Correct layout
44279 comments. Fix test on resulting framesize and the management of
44280 the outregs buffer for pltexit. Preserve floating point return
44281 values across _dl_call_pltexit call.
2d2cd515
DM
44282 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44283 framesize and the management of the outregs buffer for pltexit.
44284 Preserve floating point return values across _dl_call_pltexit
44285 call.
57f41c40
AS
44286 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44287 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44288 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
44289 (print_exit): Fix format string for return register value.
44290
9a07f9d0
JM
442912012-03-10 Joseph Myers <joseph@codesourcery.com>
44292
44293 * sunrpc/Makefile (others): Add rpcgen.
44294 ($(objpfx)rpcgen): Remove special build rule and dependency on
44295 libc.
44296 * sunrpc/rpcgen.c: New file.
44297
547b5e30
PE
442982012-03-09 Paul Eggert <eggert@cs.ucla.edu>
44299
c524201a
PE
44300 [BZ #13673]
44301 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44302 * stdio-common/bug-vfprintf-nargs.c: Likewise.
44303 * sysdeps/i386/crti.S: Likewise.
44304 * sysdeps/i386/crtn.S: Likewise.
44305 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44306 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44307 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44308 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44309 * sysdeps/sh/crti.S: Likewise.
44310 * sysdeps/sh/crtn.S: Likewise.
44311 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44312
7b6235f2
PE
44313 [BZ #13673]
44314 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44315 with URL.
44316 * locale/programs/locfile-kw.gperf: Likewise.
44317 * locale/programs/charmap-kw.h: Regenerated.
44318 * locale/programs/locfile-kw.h: Likewise.
44319
547b5e30
PE
44320 [BZ #13673]
44321 * intl/plural.y: Replace FSF snail mail address with URL.
44322 * intl/plural.c: Regenerated.
44323
5f0a5dae
RH
443242012-03-09 Richard Henderson <rth@twiddle.net>
44325
44326 * include/math_private.h: Remove file.
44327 * math/math_private.h: Move file ...
44328 * sysdeps/generic/math_private.h: ... here.
44329
b8c03620
RH
44330 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44331 * sysdeps/powerpc/fpu/math_private.h: Likewise.
44332 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44333
4e234f5d 44334 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
44335 and <math_private.h>.
44336 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44337 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44338 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44339 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44340 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44341 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44342 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44343 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44344 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44345 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44346 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44347 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44348 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44349 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44350 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44351 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44352 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44353 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44354 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44355 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44357 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44358 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44359 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44360 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44361 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44362 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44363 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44364 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44366 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44367 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44368 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44369 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44370 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44371 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44372 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44373 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44374 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44375 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44376 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44377 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44378 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44379 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44380 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44381 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44382 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44383 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44384 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44385 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44386 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44387 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44388 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44389 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44390 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44391 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44392 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44393 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44394 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44395 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44396 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44397 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44398 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44399 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44400 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44401 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44402 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44403 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44404 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44405 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44406 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44407 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44408 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44409 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44410 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44411 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44412 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44413 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44414 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44415 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44416 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44417 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44418 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44419 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44420 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44421 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44422 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44423 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44424 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44425 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44426 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44427 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44428 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44429 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44430 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44431 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44432 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44433 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44434 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44435 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44436 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44437 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44438 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44439 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44440 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44441 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44442 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44443 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44444 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44445 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44446 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44447 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44448 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44449 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44450 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44451 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44452 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44453 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44454 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44455 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44456 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44457 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44458 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44459 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44460 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44461 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44462 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44463 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44464 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44465 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44466 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44467 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44468 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44469 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44470 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44471 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44472 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44473 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44474 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44475 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44476 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44477 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44478 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44479 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44480 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44481 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44482 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44483 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44484 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44485 * sysdeps/ieee754/k_standard.c: Likewise.
44486 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44487 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44488 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44489 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44490 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44491 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44492 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44493 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44494 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44495 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44496 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44497 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44498 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44499 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44500 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44501 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44502 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44503 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44504 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44505 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44506 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44507 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44508 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44509 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44510 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44511 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44512 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44513 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44514 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44515 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44516 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44517 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44518 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44519 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44520 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44521 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44522 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44523 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44524 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44525 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44526 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44527 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44528 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44529 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44530 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44531 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44532 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44533 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44534 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44535 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44536 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44537 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44538 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44539 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44540 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44541 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44542 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44543 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44544 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44545 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44546 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44547 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44548 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44549 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44550 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44551 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44552 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44553 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44554 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44555 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44556 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44557 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44558 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44559 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44560 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44561 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44562 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44563 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44564 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44565 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44566 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44567 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44568 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44569 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44570 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44571 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44572 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44573 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44574 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44575 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44576 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44577 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44578 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44579 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44580 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44581 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44582 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44583 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44584 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44585 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44586 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44587 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44588 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44589 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44590 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44591 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44592 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44593 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44594 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44595 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44596 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44597 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44598 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44599 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44600 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44601 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44602 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44603 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44604 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44605 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44606 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44607 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44608 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44609 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44610 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44611 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44612 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44613 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44614 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44615 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44616 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44617 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44618 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44619 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44620 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44621 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44622 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44623 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44624 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44625 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44626 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44627 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44628 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44629 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44630 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44631 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44632 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44633 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44634 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44635 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44636 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44637 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44638 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44639 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44640 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44641 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44642 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44643 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44644 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44645 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44646 * sysdeps/ieee754/s_lib_version.c: Likewise.
44647 * sysdeps/ieee754/s_matherr.c: Likewise.
44648 * sysdeps/ieee754/s_signgam.c: Likewise.
44649 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44650 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44651 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44652 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44653 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44654 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44655 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44656 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44657 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44658 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44659 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44660 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44661 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44662 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44663 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44664 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44665 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44666 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44667 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44668 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 44670
1991fa03
JM
446712012-03-09 Joseph Myers <joseph@codesourcery.com>
44672
44673 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44674 * sunrpc/rpc_main.c: Likewise.
44675 * sunrpc/rpc_svcout.c: Likewise.
44676
60d6f5a6
DM
446772012-03-09 David S. Miller <davem@davemloft.net>
44678
44679 * include/math_private.h: New file.
44680
4962050e
JM
446812012-03-09 Joseph Myers <joseph@codesourcery.com>
44682
02a6f887
JM
44683 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44684 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44685 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44686 from <bits/socket_type.h>.
44687 (enum __socket_type): Don't define here.
44688 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44690 bits/socket_type.h.
44691
c6e013c1
JM
44692 [BZ #13566]
44693 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44694 checking __USE_GNU.
44695
4962050e
JM
44696 * Makerules ($(inst_includedir)/%.h): New rule.
44697 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44698 (install-others): Remove variable setting.
44699 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44700
38842f45
RH
447012012-03-08 Richard Henderson <rth@twiddle.net>
44702
67bb6da6
RH
44703 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44704 from macro to inline function; merge with the
44705 !__LIBC_INTERNAL_MATH_INLINES version.
44706 (__ieee754_sqrtf): Likewise.
44707
15194b4b
RH
44708 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44709 to inline function.
44710 (__rintf, __floor, __floorf): Likewise.
44711
64e21ede
RH
44712 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44713 macro to inline function.
44714 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44715
38842f45
RH
44716 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44717 not <math/math_private.h>.
44718
c64bf5fe
DM
447192012-03-08 David S. Miller <davem@davemloft.net>
44720
44721 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44722 copyright year.
44723 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44724
82d86f28
TS
447252012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44726
44727 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44728 normalization.
44729 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44730 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44731
aea5d727
UD
447322012-03-08 Ulrich Drepper <drepper@gmail.com>
44733
44734 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44735 be defined individually, they must be defined as a block. Define
44736 S for printing a string instead of hidint the different by using a
44737 macro for adding the 'l'.
44738 * stdio-common/tst-fphex-wide.c: Adjust.
44739
70bca0a3
MP
447402012-03-07 Marek Polacek <polacek@redhat.com>
44741
44742 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44743
65b81130
MP
447442012-03-08 Marek Polacek <polacek@redhat.com>
44745
44746 [BZ #13806]
44747 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44748 * stdio-common/tst-fphex.c: Define a few macros to make the
44749 test reusable. Use them.
44750 * stdio-common/tst-fphex-wide.c: New file.
44751
07037eeb
JM
447522012-03-08 Joseph Myers <joseph@codesourcery.com>
44753
a7a93d50
JM
44754 [BZ #6911]
44755 * manual/macros.texi (gnusystems): New macro.
44756 (nongnusystems): Likewise.
44757 (gnulinuxhurdsystems): Likewise.
44758 (gnuhurdsystems): Likewise..
44759 (gnulinuxsystems): Likewise.
44760 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44761 variants of the GNU system, not "GNU system".
44762 * manual/conf.texi: Likewise.
44763 * manual/errno.texi: Likewise. Update example of errno macro
44764 expansion.
44765 * manual/filesys.texi: Likewise.
44766 (getumask): Document as specific to GNU/Hurd.
44767 * manual/install.texi: Likewise. Reword some references to
44768 GNU/Linux.
44769 * manual/intro.texi: Likewise.
44770 * manual/io.texi: Likewise.
44771 (File Name Portability): Detail which constraints are inapplicable
44772 to all GNU systems and which are only inapplicable to GNU/Hurd.
44773 * manual/job.texi: Likewise.
44774 * manual/llio.texi: Likewise.
44775 (O_NOCTTY): Document as present on GNU/Linux.
44776 * manual/maint.texi: Likewise.
44777 * manual/memory.texi: Likewise.
44778 * manual/pattern.texi: Likewise.
44779 * manual/pipe.texi: Likewise.
44780 * manual/process.texi: Likewise.
44781 * manual/resource.texi: Likewise.
44782 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44783 child on GNU/Hurd.
44784 * manual/setjmp.texi: Likewise.
44785 * manual/signal.texi: Likewise.
44786 * manual/startup.texi: Likewise.
44787 * manual/stdio.texi: Likewise.
44788 * manual/terminal.texi: Likewise.
44789 (ONLCR): Document as POSIX.
44790 (OXTABS): Document availability on GNU/Linux as XTABS.
44791 (ONOEOT): Document availability separately from other bits.
44792 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44793 * manual/time.texi: Likewise.
44794 * manual/users.texi: Likewise.
44795 * INSTALL: Regenerated.
44796 * sysdeps/gnu/errlist.c: Regenerated.
44797
07037eeb
JM
44798 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44799 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44800 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44801 puts.
44802 * configure: Regenerated.
44803
d1d3431a
JM
448042012-03-07 Joseph Myers <joseph@codesourcery.com>
44805
af6a1e37
JM
44806 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44807 default includes instead of AC_HEADER_CHECK.
44808 * sysdeps/i386/configure: Regenerated.
44809
d1d3431a
JM
44810 [BZ #10716]
44811 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44812 * math/s_cacoshf.c (__cacoshf): Likewise.
44813 * math/s_cacoshl.c (__cacoshl): Likewise.
44814 * math/s_casinh.c (__casinh): Set signs of result from argument.
44815 * math/s_casinhf.c (__casinhf): Likewise.
44816 * math/s_casinhl.c (__casinhl): Likewise.
44817 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44818 (casinh_test): Add more tests.
44819 * sysdeps/i386/fpu/libm-test-ulps: Update.
44820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44821
482ff4da
UD
448222012-03-07 Ulrich Drepper <drepper@gmail.com>
44823
872fda05
UD
44824 * po/zh_TW.po: Update from translation team.
44825
a4300c7a
UD
44826 * login/Makefile (distribute): Remove variable.
44827 * catgets/Makefile: Likewise.
44828 * mach/Makefile: Likewise.
44829 * malloc/Makefile: Likewise.
44830 * misc/Makefile: Likewise.
44831 * iconv/Makefile: Likewise.
44832 * nscd/Makefile: Likewise.
44833 * hurd/Makefile: Likewise.
44834 * manual/Makefile: Likewise.
44835 * locale/Makefile: Likewise.
44836 * intl/Makefile: Likewise.
44837 * conform/Makefile: Likewise.
44838 * nss/Makefile: Likewise.
44839 * time/Makefile: Likewise.
44840 * soft-fp/Makefile: Likewise.
44841 * dirent/Makefile: Likewise.
44842 * gmon/Makefile: Likewise.
44843 * po/Makefile: Likewise.
44844 * rt/Makefile: Likewise.
44845 * socket/Makefile: Likewise.
44846 * math/Makefile: Likewise.
44847 * signal/Makefile: Likewise.
44848 * debug/Makefile: Likewise.
44849 * elf/Makefile: Likewise.
44850 * timezone/Makefile: Likewise.
44851 * stdlib/Makefile: Likewise.
44852 * iconvdata/Makefile: Likewise.
44853 * sunrpc/Makefile: Likewise.
44854 * io/Makefile: Likewise.
44855 * argp/Makefile: Likewise.
44856 * inet/Makefile: Likewise.
44857 * hesiod/Makefile: Likewise.
44858 * grp/Makefile: Likewise.
44859 * csu/Makefile: Likewise.
44860 * wctype/Makefile: Likewise.
44861 * crypt/Makefile: Likewise.
44862 * libio/Makefile: Likewise.
44863 * string/Makefile: Likewise.
44864 * nis/Makefile: Likewise.
44865 * resolv/Makefile: Likewise.
44866 * stdio-common/Makefile: Likewise.
44867 * wcsmbs/Makefile: Likewise.
44868 * dlfcn/Makefile: Likewise.
44869 * posix/Makefile: Likewise.
44870
3b7c4e74 44871 [BZ #6959]
482ff4da
UD
44872 * timezone/Makefile: Don't install timezone files, just the programs
44873 and scripts.
44874
f72ed77d
UD
448752012-03-06 Ulrich Drepper <drepper@gmail.com>
44876
a000466f
UD
44877 * nss/databases.def: Add missing gshadow entry.
44878
f72ed77d
UD
44879 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44880
a53b7a4e
MP
448812012-03-06 Marek Polacek <polacek@redhat.com>
44882
44883 [BZ #13726]
44884 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44885 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44886 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44887 * stdio-common/tst-long-dbl-fphex.c: New file.
44888
e9258400
DM
448892012-03-06 David S. Miller <davem@davemloft.net>
44890
44891 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44892 (set_obp_int): New function.
44893 (get_obp_int): New function.
44894 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
44895 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44896 Avoid unused variable warnings on 'val' and use builtin_expect.
44897 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44898 __builtin_expect.
e9258400
DM
44899 (INLINE_CLONE_SYSCALL): Likewise.
44900
3bd2c723
DM
449012012-03-05 David S. Miller <davem@davemloft.net>
44902
44903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44904
bbb78d03
AS
449052012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44906
884c5db4
AS
44907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44908
bbb78d03
AS
44909 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44910 only for |x| >= 40.
44911 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44912
1c9f702a 449132012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
44914
44915 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44916 Replace gettimeofday with __vdso_gettimeofday.
44917
7be16f82
RM
44918 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44919 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44920 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
44921
44922 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44923 time with __vdso_time.
44924
ed58a00f
JM
449252012-03-05 Joseph Myers <joseph@codesourcery.com>
44926
44927 * manual/lang.texi (size_t): Note types to which size_t may be
44928 equivalent with the GNU C Library, but do not describe when
44929 differences between them are significant.
44930
30ee4ced
AJ
449312012-03-05 Andreas Jaeger <aj@suse.de>
44932
44933 * sysdeps/i386/fpu/libm-test-ulps: Update.
44934
b7cd39e8
JM
449352012-03-05 Joseph Myers <joseph@codesourcery.com>
44936
44937 [BZ #3976]
44938 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44939 (__ieee754_pow): Save and restore rounding mode and use
44940 round-to-nearest for main computations.
44941 * math/libm-test.inc (pow_test_tonearest): New function.
44942 (pow_test_towardzero): Likewise.
44943 (pow_test_downward): Likewise.
44944 (pow_test_upward): Likewise.
44945 (main): Call the new functions.
44946 * sysdeps/i386/fpu/libm-test-ulps: Update.
44947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
44948
44949 [BZ #3976]
44950 * math/libm-test.inc (cosh_test_tonearest): New function.
44951 (cosh_test_towardzero): Likewise.
44952 (cosh_test_downward): Likewise.
44953 (cosh_test_upward): Likewise.
44954 (sinh_test_tonearest): Likewise.
44955 (sinh_test_towardzero): Likewise.
44956 (sinh_test_downward): Likewise.
44957 (sinh_test_upward): Likewise.
44958 (main): Call the new functions.
44959 * sysdeps/i386/fpu/libm-test-ulps: Update.
44960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44961
6c6a98c9
TV
449622012-03-05 Tom de Vries <tom@codesourcery.com>
44963
44964 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44965 default stack guard is set in last bytes.
44966 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44967
21bb2d2e 449682012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 44969
21bb2d2e 44970 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 44971
21bb2d2e
AJ
44972 [BZ #13656]
44973 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44974 possibly allocate from heap instead of stack.
44975 * stdio-common/bug-vfprintf-nargs.c: New file.
44976 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 44977
c6922934
AS
449782012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44979
44980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44981
bc957d53
MP
449822012-03-03 Marek Polacek <polacek@redhat.com>
44983
44984 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44985 * math/math_private.h: Likewise.
44986 * stdlib/tst-strtod.c: Likewise.
44987 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44988 * sysdeps/x86_64/bits/atomic.h: Likewise.
44989
6358490d
DM
449902012-03-02 David S. Miller <davem@davemloft.net>
44991
44992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44996 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44997 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44998 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44999 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45000
01ae168d
RM
450012012-03-02 Roland McGrath <roland@hack.frob.com>
45002
d9a17c07
RM
45003 [BZ #13792]
45004 * manual/examples/README: New file, says the example source files
45005 can be used under GPL>=2.
45006 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45007 line containing just "*/".
45008 * manual/examples/add.c: Add copyright header (GPL>=2).
45009 * manual/examples/argp-ex1.c: Likewise.
45010 * manual/examples/argp-ex2.c: Likewise.
45011 * manual/examples/argp-ex3.c: Likewise.
45012 * manual/examples/argp-ex4.c: Likewise.
45013 * manual/examples/atexit.c: Likewise.
45014 * manual/examples/db.c: Likewise.
45015 * manual/examples/dir.c: Likewise.
45016 * manual/examples/dir2.c: Likewise.
45017 * manual/examples/execinfo.c: Likewise.
45018 * manual/examples/filecli.c: Likewise.
45019 * manual/examples/filesrv.c: Likewise.
45020 * manual/examples/fmtmsgexpl.c: Likewise.
45021 * manual/examples/genpass.c: Likewise.
45022 * manual/examples/inetcli.c: Likewise.
45023 * manual/examples/inetsrv.c: Likewise.
45024 * manual/examples/isockad.c: Likewise.
45025 * manual/examples/longopt.c: Likewise.
45026 * manual/examples/memopen.c: Likewise.
45027 * manual/examples/memstrm.c: Likewise.
45028 * manual/examples/mkfsock.c: Likewise.
45029 * manual/examples/mkisock.c: Likewise.
45030 * manual/examples/mygetpass.c: Likewise.
45031 * manual/examples/pipe.c: Likewise.
45032 * manual/examples/popen.c: Likewise.
45033 * manual/examples/rprintf.c: Likewise.
45034 * manual/examples/search.c: Likewise.
45035 * manual/examples/select.c: Likewise.
45036 * manual/examples/setjmp.c: Likewise.
45037 * manual/examples/sigh1.c: Likewise.
45038 * manual/examples/sigusr.c: Likewise.
45039 * manual/examples/stpcpy.c: Likewise.
45040 * manual/examples/strdupa.c: Likewise.
45041 * manual/examples/strftim.c: Likewise.
45042 * manual/examples/strncat.c: Likewise.
45043 * manual/examples/subopt.c: Likewise.
45044 * manual/examples/swapcontext.c: Likewise.
45045 * manual/examples/termios.c: Likewise.
45046 * manual/examples/testopt.c: Likewise.
45047 * manual/examples/testpass.c: Likewise.
45048 * manual/examples/timeval_subtract.c: Likewise.
45049
01ae168d
RM
45050 [BZ #13792]
45051 * manual/time.texi (Elapsed Time): Move timeval_subtract example
45052 function to ...
45053 * manual/timeval_subtract.c.texi: ... here, new file.
45054
49efa33d
DM
450552012-03-02 David S. Miller <davem@davemloft.net>
45056
45057 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45058
28afd92d
JM
450592012-03-02 Joseph Myers <joseph@codesourcery.com>
45060
804360ed
JM
45061 [BZ #3976]
45062 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45063 (__sin): Save and restore rounding mode and use round-to-nearest
45064 for all computations.
45065 (__cos): Save and restore rounding mode and use round-to-nearest
45066 for all computations.
45067 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45068 <fenv.h>.
45069 (tan): Save and restore rounding mode and use round-to-nearest for
45070 all computations.
45071 * math/libm-test.inc (cos_test_tonearest): New function.
45072 (cos_test_towardzero): Likewise.
45073 (cos_test_downward): Likewise.
45074 (cos_test_upward): Likewise.
45075 (sin_test_tonearest): Likewise.
45076 (sin_test_towardzero): Likewise.
45077 (sin_test_downward): Likewise.
45078 (sin_test_upward): Likewise.
45079 (tan_test_tonearest): Likewise.
45080 (tan_test_towardzero): Likewise.
45081 (tan_test_downward): Likewise.
45082 (tan_test_upward): Likewise.
45083 (main): Call the new functions.
45084 * sysdeps/i386/fpu/libm-test-ulps: Update.
45085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45086
a6d06d7b
JM
45087 [BZ #10135]
45088 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45089 small n, then large n, before computing and testing k+n.
45090 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45092 Likewise.
45093 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45094 Likewise.
45095 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45096 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45097 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45098 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45099 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45100 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45101 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45102 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45103 * math/libm-test.inc (scalbn_test): Add more tests.
45104 (scalbln_test): Likewise.
45105
07e12bb3
JM
45106 * manual/filesys.texi (mode_t): Describe constraints on size and
45107 signedness, not exact equivalence to a particular type.
45108 (ino_t): Likewise.
45109 (ino64_t): Likewise.
45110 (dev_t): Likewise.
45111 (nlink_t): Likewise.
45112 (blkcnt_t): Likewise.
45113 (blkcnt64_t): Likewise.
45114 * manual/llio.texi (off_t): Likewise.
45115
28afd92d
JM
45116 [BZ #3976]
45117 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45118 (__ieee754_exp): Save and restore rounding mode and use
45119 round-to-nearest for all computations.
45120 * math/libm-test.inc (exp_test_tonearest): New function.
45121 (exp_test_towardzero): Likewise.
45122 (exp_test_downward): Likewise.
45123 (exp_test_upward): Likewise.
45124 (main): Call the new functions.
45125 * sysdeps/i386/fpu/libm-test-ulps: Update.
45126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45127
b1eeb65d
CD
451282012-03-01 Chris Demetriou <cgd@google.com>
45129
45130 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45131 have predictable order.
45132
53362a4b
DM
451332012-03-01 David S. Miller <davem@davemloft.net>
45134
3c969083
DM
45135 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45136
759707de
DM
45137 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45138 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45139 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45140 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45141
dfdb8ff2
DM
45142 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45143 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45144 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45146 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45147 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45148 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45149 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45150 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45151
ead89f96
DM
45152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45153
7f66bd07
DM
45154 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45155 * sysdeps/sparc/fpu/libm-test-ulps: to here.
45156 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45157
53362a4b
DM
45158 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45159 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45160 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45161 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45162 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45163 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45164 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45165 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45166 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45167 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45168 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45169 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45170 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45171 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45172 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45173 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45174 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45175 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45176 * sysdeps/sparc/elf/configure: Regenerated.
45177
7b1902cb
JM
451782012-03-01 Joseph Myers <joseph@codesourcery.com>
45179
bec039bc
JM
45180 * configure.in (AS, LD): Require binutils 2.20 or later.
45181 * configure: Regenerated.
45182 * manual/install.texi (Tools for Compilation): Give binutils 2.20
45183 as required minimum version.
45184 * INSTALL: Regenerated.
45185
7b1902cb
JM
45186 [BZ #2541]
45187 [BZ #4108]
45188 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45189 before squaring exponent.
45190 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45191 bottom long double and 27 bits of top long double before squaring
45192 exponent.
45193 * math/libm-test.inc (erfc_test): Add more tests.
45194 * sysdeps/i386/fpu/libm-test-ulps: Update.
45195 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45197
f775c276
KT
451982012-03-01 Kai Tietz <ktietz@redhat.com>
45199
45200 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45201 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45202 containing bit-fields.
45203 * soft-fp/extended.h (_FP_UNION_E): Likewise.
45204 * soft-fp/single.h (_FP_UNION_S): Likewise.
45205 * soft-fp/double.h (_FP_UNION_D): Likewise.
45206
5b8a4d4a
JM
452072012-02-29 Joseph Myers <joseph@codesourcery.com>
45208
0bab47b6
JM
45209 [BZ #13786]
45210 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45211 not include ../strcmp.S.
45212 [USE_AS_STRNCASECMP_L]: Likewise.
45213 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45214 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45215 * sysdeps/i386/i686/multiarch/strncase_l-c.c
45216 (__strncasecmp_l_ia32): Define as alias to
45217 __strncasecmp_l_nonascii.
45218
0fcad3e2
JM
45219 [BZ #5794]
45220 * math/libm-test.inc (expm1_test): Add test for bug 5794.
45221 * sysdeps/i386/fpu/libm-test-ulps: Update.
45222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45223
5b8a4d4a
JM
45224 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45226
8fdceb2e
JL
452272012-02-29 Jeff Law <law@redhat.com>
45228
45229 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45230 out of bounds read.
45231
1f393a11
MP
452322012-02-29 Marek Polacek <polacek@redhat.com>
45233
45234 [BZ #13706]
45235 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45236 * elf/Makefile: Add rules to run tst-unused-dep.out.
45237
8847f037
DM
452382012-02-28 David S. Miller <davem@davemloft.net>
45239
45240 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45241 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45242 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45244 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45245 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45246
169d7f11
JM
452472012-02-29 Joseph Myers <joseph@codesourcery.com>
45248
45249 * math/libm-test.inc (llround_test): Move one test from
45250 lround_test. Use TEST_f_L in moved test.
45251 (lround_test): Move misplaced test to llround_test. Add testcase
45252 from bug 2561.
45253
39adf059
UD
452542012-02-28 Ulrich Drepper <drepper@gmail.com>
45255
45256 * sysdeps/x86_64/fpu/e_expf.S: New file.
45257 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45258
71b5d1c5
SB
452592012-02-28 Stanislav Brabec <sbrabec@suse.cz>
45260
45261 [BZ #13637]
45262 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45263 of remain_len that may cause incomplete multi-byte character and
45264 false match.
45265 * posix/bug-regex33.c: New file.
45266 * posix/Makefile (tests): Add bug-regex33.
45267
1f77f049
JM
452682012-02-28 Joseph Myers <joseph@codesourcery.com>
45269
45270 * manual/macros.texi: New file.
45271 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45272 * manual/libc.texinfo: Include macros.texi.
45273 * manual/creatute.texi: Likewise.
45274 * manual/install.texi: Likewise.
45275 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45276 @glibcadj{} in references to the GNU C Library.
45277 * manual/charset.texi: Likewise.
45278 * manual/conf.texi: Likewise.
45279 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
45280 when not using those macros.
45281 * manual/creature.texi: Likewise.
45282 * manual/crypt.texi: Likewise.
45283 * manual/errno.texi: Likewise.
45284 * manual/filesys.texi: Likewise.
45285 * manual/header.texi: Likewise.
45286 * manual/install.texi: Likewise.
45287 * manual/intro.texi: Likewise.
45288 * manual/io.texi: Likewise.
45289 * manual/job.texi: Likewise.
45290 * manual/lang.texi: Likewise.
45291 * manual/libc.texiinfo: Likewise.
45292 * manual/llio.texi: Likewise.
45293 * manual/locale.texi: Likewise.
45294 * manual/maint.texi: Likewise.
45295 * manual/math.texi: Likewise.
45296 * manual/memory.texi: Likewise.
45297 * manual/message.texi: Likewise.
45298 * manual/nss.texi: Likewise.
45299 * manual/pattern.texi: Likewise.
45300 * manual/process.texi: Likewise.
45301 * manual/resource.texi: Likewise.
45302 * manual/search.texi: Likewise.
45303 * manual/setjmp.texi: Likewise.
45304 * manual/signal.texi: Likewise.
45305 * manual/socket.texi: Likewise.
45306 * manual/startup.texi: Likewise.
45307 * manual/stdio.texi: Likewise.
45308 * manual/string.texi: Likewise.
45309 * manual/sysinfo.texi: Likewise.
45310 * manual/syslog.texi: Likewise.
45311 * manual/terminal.texi: Likewise.
45312 * manual/time.texi: Likewise.
45313 * manual/users.texi: Likewise.
45314 * INSTALL: Regenerated.
45315 * NOTES: Regenerated.
d40c5d54 45316 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 45317
450bf206
AS
453182012-02-28 Andreas Schwab <schwab@linux-m68k.org>
45319
45320 * include/dirent.h: Include <dirstream.h> before
45321 <dirent/dirent.h>.
45322
741a235b
DM
453232012-02-28 David S. Miller <davem@davemloft.net>
45324
45325 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45326 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45327 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45328 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45329
d6b5aa58
DM
453302012-02-27 David S. Miller <davem@davemloft.net>
45331
1aff59a3
DM
45332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45334 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45335 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45336
d6b5aa58
DM
45337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45338 frame pointer instead of stack pointer relative arg slot.
45339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45340 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45341 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45342
433f48bf
CD
453432012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
45344
45345 [BZ #3992]
45346 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45347
d674b76d
DM
453482012-02-27 David S. Miller <davem@davemloft.net>
45349
45350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45354 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45355 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45356 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45357 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45358
0e7727f7
JM
453592012-02-27 Joseph Myers <joseph@codesourcery.com>
45360
45361 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45362 later. Allow versions 5-9.
43be4ca2 45363 * configure: Regenerated.
0e7727f7
JM
45364 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45365 required minimum version and 4.6 as recommended version. Do not
45366 mention bugs in GCC 2.7 and 2.8.
43be4ca2 45367 * INSTALL: Regenerated.
0e7727f7 45368
a78bc654
DM
453692012-02-27 David S. Miller <davem@davemloft.net>
45370
428d5830
DM
45371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45375 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45376 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45377 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45378 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45379
a78bc654
DM
45380 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45381 manipulate bits before adding and subtracting TWO112[sx].
45382 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45383
4579f81c
RM
453842012-02-27 Roland McGrath <roland@hack.frob.com>
45385
36c8acb4
RM
45386 [BZ #13775]
45387 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45388 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45389 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45390 being in POSIX, because they are in 1003.1-2008.
45391
84ad622b
RM
45392 * rt/tst-aio.c: Include <fcntl.h>.
45393 * rt/tst-aio7.c: Likewise.
45394 * rt/tst-aio64.c: Likewise.
45395
4579f81c
RM
45396 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45397
abd923db
JM
453982012-02-27 Joseph Myers <joseph@codesourcery.com>
45399
45400 * manual/install.texi (--with-headers): Describe headers as
45401 interface headers, not private headers.
45402 (Specific advice for GNU/Linux systems): Describe use of headers
45403 from "make headers_install", not private headers from older
45404 kernels.
43be4ca2 45405 * INSTALL: Regenerated.
abd923db
JM
45406 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45407 Change to 2.6.19.
45408 * sysdeps/unix/sysv/linux/configure: Regenerated.
45409
6664049b
JM
45410 * manual/llio.texi (fclean): Remove documentation.
45411
bb8b6697
JM
45412 * manual/Makefile (libc-texi-generated): New variable. Include
45413 version.texi.
45414 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45415 $(libc-texi-generated), not duplicated list of files.
45416 (version.texi, stamp-version): New rules.
45417 (realclean): Remove $(libc-texi-generated), not individual files
45418 from that list. Do not remove dir-add.texinfo.
45419 * manual/libc.texinfo: Comment out uses of edition numbers and
45420 references to printed manual. Remove last-updated dates.
45421 (EDITION): Comment out.
45422 (ISBN): Likewise.
45423 (VERSION, UPDATED): Remove.
45424 (version.texi): Include.
45425
12e5c3b9
AS
454262012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45427
45428 * sysdeps/posix/spawni.c: Include <signal.h>.
45429 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45430 * sysdeps/pthread/aio_fsync.c: Likewise.
45431
4efeffc1 454322012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 45433
ba63ba08
UD
45434 * conform/Makefile (tests): Run only when not cross-compiling and
45435 when fast-check is not defined.
45436
d94a4670
UD
45437 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45438 * conform/data/limits.h-data: Fixes for POSIX2008.
45439 * conform/run-conformtest.sh: Run all tests.
45440 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45441 headers.
45442 * include/bits/dlfcn.h: Likewise.
45443 * include/langinfo.h: Likewise.
45444 * include/monetary.h: Likewise.
45445 * include/sys/poll.h: Likewise.
45446
45447 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45448 for __USE_GNU.
45449 * posix/spawn.h: Define __need_sigset_t.
45450 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45451 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45452 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45453 to get sigevent_t only.
45454 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45455 only for __USE_GNU.
45456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45457 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45458 process_vm_writev only for __USE_GNU.
45459 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
45460
45461 * conform/Makefile: For now ignore errors from run-conformtest.
45462 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45463 POSIX to avoid namespace pollution. Don't prepend headers.
45464 * conform/data/aio.h-data: Fixes for POSIX testing.
45465 * conform/data/fcntl.h-data: Likewise.
45466 * conform/data/glob.h-data: Likewise.
45467 * conform/data/grp.h-data: Likewise.
45468 * conform/data/pthread.h-data: Likewise.
45469 * conform/data/pwd.h-data: Likewise.
45470 * conform/data/signal.h-data: Likewise.
45471 * conform/data/spawn.h-data: Likewise.
45472 * conform/data/stdio.h-data: Likewise.
45473 * conform/data/stdlib.h-data: Likewise.
45474 * conform/data/stropts.h-data: Likewise.
45475 * conform/data/sys/mman.h-data: Likewise.
45476 * conform/data/sys/stat.h-data: Likewise.
45477 * conform/data/sys/types.h-data: Likewise.
45478 * conform/data/sys/wait.h-data: Likewise.
45479 * conform/data/time.h-data: Likewise.
45480 * conform/data/unistd.h-data: Likewise.
45481 * conform/data/utime.h-data: Likewise.
45482
45483 * io/sys/stat.h: fchmod was always in POSIX.
45484 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45485 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45486 * rt/aio.h: Define __need_timespec before including <time.h>.
45487 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45488 struct. Add forward declaration of pthread_attr_t and use it in
45489 sigevent.
45490 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45491 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45492 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45493 always remove CLK_TCK definition.
45494
c20105c3
AS
454952012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45496
45497 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45498
7a270350
UD
454992012-02-25 Ulrich Drepper <drepper@gmail.com>
45500
31341567
UD
45501 * conform/run-conformtest.sh: New file.
45502 * conform/Makefile: Run run-conformtest for tests.
45503 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45504 support.
45505
45506 * conform/data/uchar.h-data: New file.
45507 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45508 * conform/data/arpa/inet.h-data: Likewise.
45509 * conform/data/assert.h-data: Likewise.
45510 * conform/data/complex.h-data: Likewise.
45511 * conform/data/cpio.h-data: Likewise.
45512 * conform/data/ctype.h-data: Likewise.
45513 * conform/data/dirent.h-data: Likewise.
45514 * conform/data/dlfcn.h-data: Likewise.
45515 * conform/data/errno.h-data: Likewise.
45516 * conform/data/fcntl.h-data: Likewise.
45517 * conform/data/float.h-data: Likewise.
45518 * conform/data/fmtmsg.h-data: Likewise.
45519 * conform/data/fnmatch.h-data: Likewise.
45520 * conform/data/ftw.h-data: Likewise.
45521 * conform/data/glob.h-data: Likewise.
45522 * conform/data/grp.h-data: Likewise.
45523 * conform/data/iconv.h-data: Likewise.
45524 * conform/data/inttypes.h-data: Likewise.
45525 * conform/data/langinfo.h-data: Likewise.
45526 * conform/data/libgen.h-data: Likewise.
45527 * conform/data/limits.h-data: Likewise.
45528 * conform/data/locale.h-data: Likewise.
45529 * conform/data/math.h-data: Likewise.
45530 * conform/data/monetary.h-data: Likewise.
45531 * conform/data/mqueue.h-data: Likewise.
45532 * conform/data/ndbm.h-data: Likewise.
45533 * conform/data/net/if.h-data: Likewise.
45534 * conform/data/netdb.h-data: Likewise.
45535 * conform/data/netinet/in.h-data: Likewise.
45536 * conform/data/nl_types.h-data: Likewise.
45537 * conform/data/poll.h-data: Likewise.
45538 * conform/data/pthread.h-data: Likewise.
45539 * conform/data/pwd.h-data: Likewise.
45540 * conform/data/regex.h-data: Likewise.
45541 * conform/data/sched.h-data: Likewise.
45542 * conform/data/search.h-data: Likewise.
45543 * conform/data/semaphore.h-data: Likewise.
45544 * conform/data/setjmp.h-data: Likewise.
45545 * conform/data/signal.h-data: Likewise.
45546 * conform/data/spawn.h-data: Likewise.
45547 * conform/data/stdarg.h-data: Likewise.
45548 * conform/data/stdio.h-data: Likewise.
45549 * conform/data/stdlib.h-data: Likewise.
45550 * conform/data/string.h-data: Likewise.
45551 * conform/data/strings.h-data: Likewise.
45552 * conform/data/stropts.h-data: Likewise.
45553 * conform/data/sys/ipc.h-data: Likewise.
45554 * conform/data/sys/mman.h-data: Likewise.
45555 * conform/data/sys/msg.h-data: Likewise.
45556 * conform/data/sys/resource.h-data: Likewise.
45557 * conform/data/sys/select.h-data: Likewise.
45558 * conform/data/sys/sem.h-data: Likewise.
45559 * conform/data/sys/shm.h-data: Likewise.
45560 * conform/data/sys/socket.h-data: Likewise.
45561 * conform/data/sys/stat.h-data: Likewise.
45562 * conform/data/sys/statvfs.h-data: Likewise.
45563 * conform/data/sys/time.h-data: Likewise.
45564 * conform/data/sys/timeb.h-data: Likewise.
45565 * conform/data/sys/times.h-data: Likewise.
45566 * conform/data/sys/types.h-data: Likewise.
45567 * conform/data/sys/uio.h-data: Likewise.
45568 * conform/data/sys/un.h-data: Likewise.
45569 * conform/data/sys/utsname.h-data: Likewise.
45570 * conform/data/sys/wait.h-data: Likewise.
45571 * conform/data/syslog.h-data: Likewise.
45572 * conform/data/tar.h-data: Likewise.
45573 * conform/data/termios.h-data: Likewise.
45574 * conform/data/utime.h-data: Likewise.
45575 * conform/data/utmpx.h-data: Likewise.
45576 * conform/data/varargs.h-data: Likewise.
45577 * conform/data/wchar.h-data: Likewise.
45578 * conform/data/wctype.h-data: Likewise.
45579 * conform/data/wordexp.h-data: Likewise.
45580
45581 * include/stropts.h: New file.
45582 * include/uchar.h: New file.
45583 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45584 * include/assert.h: Likewise.
45585 * include/ctype.h: Likewise.
45586 * include/dirent.h: Likewise.
45587 * include/dlfcn.h: Likewise.
45588 * include/fcntl.h: Likewise.
45589 * include/fnmatch.h: Likewise.
45590 * include/glob.h: Likewise.
45591 * include/grp.h: Likewise.
45592 * include/libio.h: Likewise.
45593 * include/locale.h: Likewise.
45594 * include/math.h: Likewise.
45595 * include/net/if.h: Likewise.
45596 * include/netdb.h: Likewise.
45597 * include/netinet/in.h: Likewise.
45598 * include/pthread.h: Likewise.
45599 * include/pwd.h: Likewise.
45600 * include/regex.h: Likewise.
45601 * include/sched.h: Likewise.
45602 * include/search.h: Likewise.
45603 * include/setjmp.h: Likewise.
45604 * include/signal.h: Likewise.
45605 * include/stdio.h: Likewise.
45606 * include/stdlib.h: Likewise.
45607 * include/string.h: Likewise.
45608 * include/sys/cdefs.h: Likewise.
45609 * include/sys/mman.h: Likewise.
45610 * include/sys/msg.h: Likewise.
45611 * include/sys/resource.h: Likewise.
45612 * include/sys/select.h: Likewise.
45613 * include/sys/socket.h: Likewise.
45614 * include/sys/stat.h: Likewise.
45615 * include/sys/statvfs.h: Likewise.
45616 * include/sys/time.h: Likewise.
45617 * include/sys/times.h: Likewise.
45618 * include/sys/uio.h: Likewise.
45619 * include/sys/utsname.h: Likewise.
45620 * include/sys/wait.h: Likewise.
45621 * include/termios.h: Likewise.
45622 * include/time.h: Likewise.
45623 * include/ulimit.h: Likewise.
45624 * include/unistd.h: Likewise.
45625 * include/utime.h: Likewise.
45626 * include/wchar.h: Likewise.
45627 * include/wctype.h: Likewise.
45628 * include/wordexp.h: Likewise.
45629
45630 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45631
7a270350
UD
45632 * time/time.h: TIME_UTC must be a macro.
45633 Make timespec_get available for ISO C11 only as well.
45634
7724defc
UD
456352012-02-24 Ulrich Drepper <drepper@gmail.com>
45636
45637 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45638 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45639
6b1d1d46
JM
456402012-02-24 Joseph Myers <joseph@codesourcery.com>
45641
45642 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 45643
0f8bbd69
JM
456442012-02-24 Joseph Myers <joseph@codesourcery.com>
45645
45646 * manual/texinfo.tex: Update to version 2012-01-19.16.
45647
66ab80bc
JM
456482012-02-24 Joseph Myers <joseph@codesourcery.com>
45649
45650 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45651
74981cc5
RM
456522012-02-24 Roland McGrath <roland@hack.frob.com>
45653
ee968201
RM
45654 [BZ #13738]
45655 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45656 * manual/fdl-1.3.texi: New file.
45657 * manual/fdl-1.1.texi: File removed.
45658
74981cc5
RM
45659 [BZ #13738]
45660 * manual/libc.texinfo (FDL_VERSION): New @set.
45661 Use it for mention of FDL in cover text.
45662 (Documentation License): Use it in @include file name.
45663
7bb764bc
JM
456642012-02-22 Joseph Myers <joseph@codesourcery.com>
45665 Roland McGrath <roland@hack.frob.com>
45666
45667 [BZ #5461]
57f41c40
AS
45668 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45669 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
45670 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45671 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45672 name.
45673 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45674
6cbeae47
JM
456752012-02-22 Joseph Myers <joseph@codesourcery.com>
45676
45677 [BZ #2547]
45678 [BZ #11365]
45679 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45680 manipulate bits before adding and subtracting TWO23[sx].
45681 * math/libm-test.inc (nearbyint_test): Add more tests.
45682
fe45ce09
JM
456832012-02-22 Joseph Myers <joseph@codesourcery.com>
45684
45685 [BZ #2548]
45686 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45687 bits before adding and subtracting TWO23[sx].
45688 * math/libm-test.inc (rint_test): Add more tests.
45689 (rint_test_tonearest): Likewise.
45690 (rint_test_towardzero): Likewise.
45691 (rint_test_downward): Likewise.
45692 (rint_test_upward: Likewise.
45693
ff3b3d82
JM
456942012-02-22 Joseph Myers <joseph@codesourcery.com>
45695
45696 [BZ #10110]
45697 * include/stdc-predef.h: New file. Extracted from features.h.
45698 * include/features.h: Include stdc-predef.h.
45699 * Makefile (headers): Add stdc-predef.h.
45700 * CONFORMANCE (Compiler limitations): Update.
45701
ef0aab35
JM
457022012-02-22 Joseph Myers <joseph@codesourcery.com>
45703
45704 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45705
58639409
DM
457062012-02-21 David S. Miller <davem@davemloft.net>
45707
45708 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45709 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45710
c0e70b25
DM
457112012-02-20 David S. Miller <davem@davemloft.net>
45712
45713 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45714 using a normal save/restore sequence, rather than allocating a
45715 dummy stack frame just to store a frame pointer and restore.
45716 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45717
fb06851d
JM
457182012-02-21 Joseph Myers <joseph@codesourcery.com>
45719
45720 * manual/install.texi: Fix stray word in line-wrapped comment.
45721
7a8b71c3
DM
457222012-02-20 David S. Miller <davem@davemloft.net>
45723
d510c123
DM
45724 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45725 both binutils and gcc support GOTDATA.
45726
0722d7c2
DM
45727 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45728 "rd %pc" in the PIC register setup sequences.
45729
3d2b3019
DM
45730 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45731 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45732 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45733 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45734 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45735 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45736 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45737 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45739 (SYSCALL_ERROR_HANDLER): Likewise.
45740 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45741 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45743 (SYSCALL_ERROR_HANDLER): Likewise.
45744
c80098a9
DM
45745 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45746 (HAVE_GCC_GOTDATA): New.
45747 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45748 relocation support in both binutils and gcc.
45749 * sysdeps/sparc/elf/configure: Regenerate.
45750
3a2545a0
DM
45751 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45752 * sysdeps/sparc/sparc32/elf/configure: Delete.
45753 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45754 * sysdeps/sparc/sparc64/elf/configure: Delete.
45755 * sysdeps/sparc/elf/configure.in: New file.
45756 * sysdeps/sparc/elf/configure: Generate.
45757
7a8b71c3
DM
45758 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45759 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45760 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45761 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45762 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45763
f1e86fca
JM
457642012-02-21 Joseph Myers <joseph@codesourcery.com>
45765
45766 * manual/install.texi: Do not mention specific glibc version
45767 numbers.
45768 * manual/libc.texinfo (VERSION, UPDATED): Update.
45769 (@copying): Use @copyright{} and range of years.
45770
0e7dfaef
JM
457712012-02-21 Joseph Myers <joseph@codesourcery.com>
45772
45773 [BZ #13695]
45774 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45775 [crti.S not in sysdirs] (generated): Do not append.
45776 [crti.S not in sysdirs] (omit-deps): Likewise.
45777 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45778 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45779 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45780 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45781 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45782 Likewise.
45783 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45784 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45785 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45786 * csu/defs.awk: Remove file.
45787 * sysdeps/generic/initfini.c: Likewise.
45788 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45789 variable.
45790 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45791 Likewise.
45792
599af3ca
JM
457932012-02-20 Joseph Myers <joseph@codesourcery.com>
45794
45795 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45796 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45797 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45798 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45799 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45800 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45801 <bits/epoll.h>.
45802 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45803 (__EPOLL_PACKED): Define to empty if not defined by
45804 <bits/epoll.h>.
45805 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45807 bits/epoll.h.
45808
0e499750
JM
458092012-02-20 Joseph Myers <joseph@codesourcery.com>
45810
45811 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45812 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45813 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45814 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45815 <bits/timerfd.h>.
45816 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45818 bits/timerfd.h.
45819
5ad91f6e
JM
458202012-02-20 Joseph Myers <joseph@codesourcery.com>
45821
45822 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45823 in C locale.
45824 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45825 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45828
06b99b02
AJ
458292012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45830
45831 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45832 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45833
7638c0fd
AS
458342012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45835
45836 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45837 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45838 defined.
45839 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45840 Likewise.
45841 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45842 entry for 2.16.
45843
92221550
AJ
458442012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45845
45846 * math/w_acos.c: Use non-signaling floating-point comparisons.
45847 * math/w_acosf.c: Likewise.
45848 * math/w_acosh.c: Likewise.
45849 * math/w_acoshf.c: Likewise.
45850 * math/w_acoshl.c: Likewise.
45851 * math/w_acosl.c: Likewise.
45852 * math/w_asin.c: Likewise.
45853 * math/w_asinf.c: Likewise.
45854 * math/w_asinl.c: Likewise.
45855 * math/w_atanh.c: Likewise.
45856 * math/w_atanhf.c: Likewise.
45857 * math/w_atanhl.c: Likewise.
45858 * math/w_exp2.c: Likewise.
45859 * math/w_exp2f.c: Likewise.
45860 * math/w_exp2l.c: Likewise.
45861 * math/w_j0.c: Likewise.
45862 * math/w_j0f.c: Likewise.
45863 * math/w_j0l.c: Likewise.
45864 * math/w_j1.c: Likewise.
45865 * math/w_j1f.c: Likewise.
45866 * math/w_j1l.c: Likewise.
45867 * math/w_jn.c: Likewise.
45868 * math/w_jnf.c: Likewise.
45869 * math/w_log.c: Likewise.
45870 * math/w_log10.c: Likewise.
45871 * math/w_log10f.c: Likewise.
45872 * math/w_log10l.c: Likewise.
45873 * math/w_log2.c: Likewise.
45874 * math/w_log2f.c: Likewise.
45875 * math/w_log2l.c: Likewise.
45876 * math/w_logf.c: Likewise.
45877 * math/w_logl.c: Likewise.
45878 * math/w_sqrt.c: Likewise.
45879 * math/w_sqrtf.c: Likewise.
45880 * math/w_sqrtl.c: Likewise.
45881 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45882 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45883 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45884 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45885 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45886
ebaf36eb
JM
458872012-02-19 Joseph Myers <joseph@codesourcery.com>
45888
45889 [BZ #9739]
45890 * manual/string.texi (strnlen): Use correct parameter name in
45891 equivalent expression.
45892
71c254a6
JM
458932012-02-19 Joseph Myers <joseph@codesourcery.com>
45894
45895 [BZ #11174]
45896 * manual/users.texi (seteuid): Consistently use neweuid for
45897 argument name.
45898
16d2c631
JM
458992012-02-19 Joseph Myers <joseph@codesourcery.com>
45900
45901 [BZ #13704]
45902 * manual/nss.texi (Services in the NSS configuration): Correct
45903 list of services in example configuration file.
45904
cd837b09
NB
459052012-02-19 Nick Bowler <nbowler@draconx.ca>
45906
45907 [BZ #11322]
45908 * manual/arith.texi: Remove statements about negative zero
45909 behaving identically to zero.
45910
02c4bbad
JM
459112012-02-18 Joseph Myers <joseph@codesourcery.com>
45912
45913 [BZ #5993]
45914 * manual/install.texi: Do not document upgrading from libc5.
45915
366842e7
JM
459162012-02-18 Joseph Myers <joseph@codesourcery.com>
45917
45918 [BZ #4596]
45919 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45920
dd54084d
DM
459212012-02-18 David S. Miller <davem@davemloft.net>
45922
45923 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45924 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45925 %o7 across the call.
45926 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45927 instead.
45928 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45929 SETUP_PIC_REG_LEAF.
45930 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45931 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45932 * sysdeps/sparc/crtn.S: Likewise.
45933
2bcc53a3
UD
459342012-02-17 Ulrich Drepper <drepper@gmail.com>
45935
45936 * aout/Makefile: Remove.
45937
09c093b5
RK
459382012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45939
45940 [BZ #13058]
45941 * manual/examples/argp-ex1.c (main): Format definition in GNU
45942 style.
45943 * manual/examples/argp-ex2.c (main): Likewise.
45944 * manual/examples/argp-ex3.c (main): Likewise.
45945 * manual/examples/argp-ex4.c (main): Likewise.
45946 * manual/examples/longopt.c (main): Use new-style prototype
45947 definition.
45948 * manual/examples/strncat.c (main): Specify return type and use
45949 (void) for arguments.
45950 * manual/examples/subopt.c (main): Use char **argv argument.
45951
2ee633a2
JM
459522012-02-17 Joseph Myers <joseph@codesourcery.com>
45953
45954 [BZ #5077]
45955 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45956 rounding modes.
45957
0520adde
FB
459582012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45959
45960 [BZ #6907]
45961 * manual/string.texi (strchr): Change when strchrnul is
45962 recommended.
45963
3f4081cd
DGM
459642012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45965
45966 [BZ #174]
45967 * manual/locale.texi (setlocale): Document LOCPATH.
45968
d1b10e78
JM
459692012-02-17 Joseph Myers <joseph@codesourcery.com>
45970
45971 [BZ #10210]
45972 * manual/process.texi (execle): Move @dots{} before last argument.
45973
79c6869c
PB
459742012-02-17 Paul Bolle <pebolle@tiscali.nl>
45975
45976 [BZ #12047]
45977 * manual/charset.texi (Generic Charset Conversion): Fix typo
45978 (LC_TYPE -> LC_CTYPE).
45979
cc6e48bc
NB
459802012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45981
45982 [BZ #5805]
45983 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45984 (scalbnf): Likewise.
45985 (scalbnl): Likewise.
45986 (scalbln): Likewise.
45987 (scalblnf): Likewise.
45988 (scalblnl): Likewise.
45989 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45990 (vwarnx): Likewise.
45991 (verr): Likewise.
45992 (verrx): Likewise.
45993 * manual/filesys.texi (telldir): Use braces around return type.
45994 * manual/llio.texi (mmap): Add space after comma.
45995 (mmap64): Likewise.
45996 * manual/math.texi (jn): Use @var{} on parameter names.
45997 (jnf): Likewise.
45998 (jnl): Likewise.
45999 (yn): Likewise.
46000 (ynf): Likewise.
46001 (ynl): Likewise.
46002 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46003 line.
46004 * manual/resource.texi (ulimit): Use @dots{} instead of literal
46005 "...".
46006 (sched_get_priority_min): Remove semicolon on @deftypefun line.
46007 (sched_get_priority_max): Likewise.
46008 * manual/signal.texi (sigvec): Add space after comma.
46009 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46010 names.
46011 (if_indextoname): Likewise.
46012 (if_freenameindex): Likewise.
46013 (sendto): Use ',' instead of '.' in prototype.
46014 * manual/startup.texi (syscall): Use @dots{} instead of literal
46015 "...".
46016 * manual/stdio.texi (__fpending): Separate initial words of
46017 paragraph from @deftypefun line.
46018 * manual/syslog.texi (syslog): Use @dots{} instead of literal
46019 "...".
46020 (vsyslog): Use @var{} on parameter names.
46021 * manual/terminal.texi (stty): Use @var{} on parameter names.
46022 * manual/users.texi (getutmp): Use @var{} on parameter names.
46023 (getutmpx): Likewise.
46024
5b23062f
JM
460252012-02-17 Joseph Myers <joseph@codesourcery.com>
46026
46027 [BZ #6884]
46028 * manual/stdio.texi (fopen): Fix typos in description of
46029 ",ccs=STRING".
46030
8dee4833
AJ
460312012-02-17 Aurelien Jarno <aurelien@aurel32.net>
46032
46033 [BZ #4026]
46034 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46035 get clock_id definition.
46036
9078ce93
TS
460372012-02-17 Thomas Schwinge <thomas@schwinge.name>
46038
46039 [BZ #4822]
46040 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46041 (madvise): Cast every argument to void on its own.
46042
3835c55f
JM
460432012-02-17 Joseph Myers <joseph@codesourcery.com>
46044
46045 [BZ #9902]
46046 * manual/startup.texi (Exit Status): Fix typo.
46047
35c47e37
JM
460482012-02-17 Joseph Myers <joseph@codesourcery.com>
46049
46050 [BZ #10140]
46051 * manual/examples/argp-ex1.c: Include <stdlib.h>.
46052 * manual/examples/argp-ex2.c: Likewise.
46053 * manual/examples/argp-ex3.c: Likewise.
46054
e3b69ca7
RH
460552012-02-16 Richard Henderson <rth@redhat.com>
46056
46057 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46058 * sysdeps/s390/s390-32/initfini.c: Remove.
46059 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46060 * sysdeps/s390/s390-64/initfini.c: Remove.
46061
df83af67
KK
460622012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46063
46064 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46065 compiler output for sysdeps/generic/initfini.c.
46066 * sysdeps/sh/elf/initfini.c: Remove file.
46067
f63f3380
DM
460682012-02-16 David S. Miller <davem@davemloft.net>
46069
fb59b3a4
DM
46070 [BZ #11494]
46071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46072
f63f3380
DM
46073 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46074 * sysdeps/sparc/crti.S: New file.
46075 * sysdeps/sparc/crtn.S: New file.
46076 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46077 * sysdeps/sparc/sparc64/Makefile: Likewise.
46078
df6a4a4a
MF
460792012-02-15 Mike Frysinger <vapier@gentoo.org>
46080
6dd8f3dc 46081 [BZ #3335]
df6a4a4a
MF
46082 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46083
1cac7236
RM
460842012-02-15 Roland McGrath <roland@hack.frob.com>
46085
d2c736f8
RM
46086 [BZ #4822]
46087 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46088
1cac7236
RM
46089 * mach/devstream.c (cookie_io_functions_t): Macro removed.
46090 (write, read, close): Likewise.
46091 Patch by Aurelien Jarno <aurelien@aurel32.net>.
46092
8e475601
JM
460932012-02-15 Joseph Myers <joseph@codesourcery.com>
46094
46095 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46096 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46097 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46098 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46099 <bits/signalfd.h>.
46100 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46102 bits/signalfd.h.
46103
ed656b40
MP
461042012-02-14 Marek Polacek <polacek@redhat.com>
46105
46106 * sysdeps/x86_64/crti.S: New file.
46107 * sysdeps/x86_64/crtn.S: New file.
46108 * sysdeps/x86_64/elf/initfini.c: Remove file.
46109
2a979d3a
JM
461102012-02-13 Joseph Myers <joseph@codesourcery.com>
46111
46112 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46113 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46114 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46115 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46116 <bits/inotify.h>.
46117 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46119 bits/inotify.h.
46120
2a418ac3
JM
461212012-02-13 Joseph Myers <joseph@codesourcery.com>
46122
46123 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46124 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46125 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46126 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46127 <bits/eventfd.h>.
46128 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46130 bits/eventfd.h.
46131
fb779be7
TS
461322012-02-10 Thomas Schwinge <thomas@codesourcery.com>
46133
e19e83c5
RM
46134 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46135 __feraiseexcept instead of feraiseexcept.
7c35ffed 46136
fb779be7
TS
46137 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46138 nanosleep invocations.
46139 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46140 strings, and add error checking for a nanosleep invocations.
46141
59ba27a6
PE
461422012-02-09 Paul Eggert <eggert@cs.ucla.edu>
46143
46144 Replace FSF snail mail address with URLs, as per GNU coding standards.
46145 Most of the snail mail addresses were wrong anyway, and omitting
46146 them makes the source code easier to maintain. Almost all of the
46147 changes are to license notices and to locale LC_IDENTIFICATION
46148 addresses, except for this one:
46149 * manual/libc.texinfo: In "Published by", give the FSF's URL,
46150 not its snail mail address.
46151
57b957eb
RH
461522012-02-09 Richard Henderson <rth@twiddle.net>
46153
af850b1c
RH
46154 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46155 of kernel-features.h.
46156
57b957eb
RH
46157 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46158
6b73181a
MP
461592012-02-08 Marek Polacek <polacek@redhat.com>
46160
46161 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46162 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46163 * sysdeps/gnu/_G_config.h: Likewise.
46164 * sysdeps/generic/_G_config.h: Likewise.
46165
26ecc33a
AS
461662012-02-08 Andreas Schwab <schwab@linux-m68k.org>
46167
6c6dbc63
AS
46168 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46169 tests.
46170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46171
e216c012
AS
46172 * sysdeps/powerpc/powerpc32/crti.S: New file.
46173 * sysdeps/powerpc/powerpc32/crtn.S: New file.
46174 * sysdeps/powerpc/powerpc64/crti.S: New file.
46175 * sysdeps/powerpc/powerpc64/crtn.S: New file.
46176
26ecc33a
AS
46177 * Makeconfig (have-initfini): Don't set.
46178 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46179 * configure.in (nopic_initfini): Don't substitute.
46180 * config.h.in (HAVE_INITFINI): Don't #undef.
46181 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46182 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46183
3add8e13
JM
461842012-02-08 Joseph Myers <joseph@codesourcery.com>
46185
46186 Support crti.S and crtn.S provided directly by architectures.
46187 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46188 [crti.S in sysdirs] (omit-deps): Likewise.
46189 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46190 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46191 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46192 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46193 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46194 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46195 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46196 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46197 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46198 compiler output for sysdeps/generic/initfini.c.
46199 * sysdeps/i386/elf/Makefile: Remove file.
46200 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46201
a22f12b4
MP
462022012-02-07 Marek Polacek <polacek@redhat.com>
46203
46204 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46205 * sysdeps/gnu/_G_config.h: Likewise.
46206 * sysdeps/mach/hurd/_G_config.h: Likewise.
46207
148cf100
MP
462082012-02-07 Marek Polacek <polacek@redhat.com>
46209
46210 * math/Makefile (tests): Add tst-CMPLX2.
46211 * math/tst-CMPLX2.c: New file.
46212
cfdc0dd7
AS
462132012-02-07 Andreas Schwab <schwab@linux-m68k.org>
46214
84ba42c4
AS
46215 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46216
cfdc0dd7
AS
46217 * math/libm-test.inc (jn_test): Add missing L suffix.
46218
622c86f4
MP
462192012-02-06 Marek Polacek <polacek@redhat.com>
46220
46221 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46222 * sysdeps/i386/fpu/e_powf.S: Likewise.
46223 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46224 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46225 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46226 * sysdeps/i386/fpu/e_pow.S: Likewise.
46227 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46228 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46229 * sysdeps/i386/fpu/s_expm1.S: Likewise.
46230 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46231 * sysdeps/i386/fpu/e_log2.S: Likewise.
46232 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46233 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46234 * sysdeps/i386/fpu/e_powl.S: Likewise.
46235 * sysdeps/i386/fpu/s_log1p.S: Likewise.
46236 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46237 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46238 * sysdeps/i386/fpu/e_logl.S: Likewise.
46239 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46240 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46241 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46242 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46243 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46244 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46245 * sysdeps/i386/fpu/e_log.S: Likewise.
46246 * sysdeps/i386/fpu/s_cexp.S: Likewise.
46247 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46248 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46249 * sysdeps/i386/fpu/e_logf.S: Likewise.
46250 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46251 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46252 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46253 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46254 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46255 * sysdeps/i386/fpu/e_log10.S: Likewise.
46256 * sysdeps/i386/fpu/s_frexp.S: Likewise.
46257 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46258 * sysdeps/i386/fpu/s_asinh.S: Likewise.
46259 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46260 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46261 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46262 * sysdeps/i386/asm-syntax.h: Likewise.
46263 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46264 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46265 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46266 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46267 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46268 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46269 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46270 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46271 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46272 * sysdeps/powerpc/sysdep.h: Likewise.
46273 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46274 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46275
d4a54ac6
JM
462762012-02-06 Joseph Myers <joseph@codesourcery.com>
46277
46278 [BZ #411]
46279 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46280
314054ea
JM
462812012-02-06 Joseph Myers <joseph@codesourcery.com>
46282
46283 * sysdeps/i386/sysdep.h: Include <features.h>.
46284 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46285 version.
46286
d8e0ca50
JM
462872012-02-05 Joseph Myers <joseph@codesourcery.com>
46288
46289 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46290 Define.
46291 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46292 LOAD_PIC_REG_STR.
46293
b1da7dd9
JM
462942012-02-03 Joseph Myers <joseph@codesourcery.com>
46295
46296 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46297 (SETUP_PIC_REG): Use GET_PC_THUNK.
46298 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46299 macro.
46300
9a1d9254
JM
463012012-02-03 Joseph Myers <joseph@codesourcery.com>
46302
46303 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46304 for non-PIC compilation.
46305 (SETUP_PIC_REG): Add .p2align directive.
46306 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46307 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46308 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46309 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46310 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46311 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46312 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46313 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46314 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46315 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46316 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46317 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46318 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46319 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46320 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46321 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46322 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46323 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46324 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46325 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46326 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46327 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46328 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46329 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46330 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46332 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46333 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46334 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46335 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46336 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46337 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46338 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46339 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46340 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46341 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46342 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46343 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46344 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46345 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46346 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46347
65dc3b75
JM
463482012-02-03 Joseph Myers <joseph@codesourcery.com>
46349
46350 * math/tst-CMPLX.c: Include <stdio.h>.
46351
d55bf177
JM
463522012-01-31 Joseph Myers <joseph@codesourcery.com>
46353
46354 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46355 float.
46356 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46357 * sysdeps/sparc/bits/mathdef.h: Likewise.
46358
69db4f8f
MP
463592012-01-31 Marek Polacek <polacek@redhat.com>
46360
46361 * libio/libio.h: Don't define _PARAMS.
46362 * locale/programs/config.h: Don't define PARAMS.
46363 * stdlib/strtol_l.c: Likewise.
46364 (__strtol_l): Remove PARAMS from the prototype.
46365
41b81892
UD
463662012-01-31 Ulrich Drepper <drepper@gmail.com>
46367
3b49edc0
UD
46368 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
46369 names. Just use the correct names. Remove unnecessary wrapper
46370 functions.
46371 * malloc/arena.c: Likewise.
46372 * malloc/hooks.c: Likewise.
46373
41b81892
UD
46374 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46375 ARENA_TEST says not to. Simplify test for creation of a new arena.
46376 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46377
27a25b6e
UD
463782012-01-30 Ulrich Drepper <drepper@gmail.com>
46379
46380 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46381 into tail calls.
46382 (update_get_addr): New function.
46383 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46384 GET_ADDR_MODULE parameter.
46385
c8a89e7d
JM
463862012-01-30 Joseph Myers <joseph@codesourcery.com>
46387
46388 * crypt/cert.c: Remove __STDC__ conditionals.
46389 * crypt/crypt-entry.c: Likewise.
46390 * crypt/crypt_util.c: Likewise.
46391 * libio/filedoalloc.c: Likewise.
46392 * libio/fileops.c: Likewise.
46393 * libio/genops.c: Likewise.
46394 * libio/iofclose.c: Likewise.
46395 * libio/iofdopen.c: Likewise.
46396 * libio/iofopen.c: Likewise.
46397 * libio/iofopen64.c: Likewise.
46398 * libio/iogetdelim.c: Likewise.
46399 * libio/iopopen.c: Likewise.
46400 * libio/obprintf.c: Likewise.
46401 * libio/oldfileops.c: Likewise.
46402 * libio/oldiofclose.c: Likewise.
46403 * libio/oldiofdopen.c: Likewise.
46404 * libio/oldiofopen.c: Likewise.
46405 * libio/oldiopopen.c: Likewise.
46406 * libio/wfiledoalloc.c: Likewise.
46407 * libio/wgenops.c: Likewise.
46408 * locale/programs/xmalloc.c: Likewise.
46409 * misc/syslog.c: Likewise.
46410 * stdio-common/xbug.c: Likewise.
46411 * string/memchr.c: Likewise.
46412 * string/memcmp.c: Likewise.
46413 * string/memrchr.c: Likewise.
46414 * string/rawmemchr.c: Likewise.
46415 * sysdeps/posix/getcwd.c: Likewise.
46416 * time/strftime_l.c: Likewise.
46417
3b100462
JM
464182012-01-30 Joseph Myers <joseph@codesourcery.com>
46419
46420 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
46421 * config.make.in (config-cflags-sse2avx): Define.
46422 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46423 Fix typo.
46424
607998af
CM
464252012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46426
46427 * scripts/config.guess: Update from upstream config git repository.
46428 * scripts/config.sub: Likewise.
46429
3601428f
CM
464302012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46431
3ac8b282
CM
46432 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46433 (EM_NUM): Update.
46434 (R_TILEPRO_*, R_TILEGX_*): New macros.
46435
e034841e
CM
46436 * scripts/firstversions.awk: Fix bug in version range handling.
46437
540d7568
CM
46438 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46439
3601428f
CM
46440 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46441
463de862
CM
46442 * include/sys/epoll.h: New file.
46443 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46444 libc_hidden_def.
46445
73139a76
UD
464462012-01-28 Ulrich Drepper <drepper@gmail.com>
46447
96bc5b45
UD
46448 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46449 Avoid unnecessary __WORDSIZE == 64 test.
46450 (fmaxf): Use VEX format if possible.
46451 (fmax): Likewise.
46452 (fminf): Likewise.
46453 (fmin): Likewise.
46454
56f6f6a2
UD
46455 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46456 * math/math_private.h: Remove libc_fegetround* and
46457 libc_fesetround*.
46458 * sysdeps/i386/configure.in: Check for -msse2avx.
46459 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46460 also if SSE2AVX is defined.
46461 Remove libc_fegetround* and libc_fesetround*.
46462 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46463 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46464 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46465 of HAS_YMM_USABLE.
46466 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46467 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46468 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46469 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46470 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46471
73139a76
UD
46472 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46473
d73f93a4
AZ
464742012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46475
46476 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46477 size is not set.
46478 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46479
6ee65ed6
UD
464802012-01-27 Ulrich Drepper <drepper@gmail.com>
46481
46482 [BZ #13618]
46483 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46484 relocation.
46485 * Makeconfig (libm): Define.
46486 * elf/Makefile: Add rules to build and run tst-relsort1.
46487 * elf/tst-relsort1.c: New file.
46488 * elf/tst-relsort1mod1.c: New file.
46489 * elf/tst-relsort1mod2.c: New file.
46490
8db21882
JM
464912012-01-27 Joseph Myers <joseph@codesourcery.com>
46492
46493 * math/s_ldexp.c: Remove __STDC__ conditionals.
46494 * math/s_ldexpf.c: Likewise.
46495 * math/s_ldexpl.c: Likewise.
46496 * math/s_nextafter.c: Likewise.
46497 * math/s_nexttowardf.c: Likewise.
46498 * math/s_significand.c: Likewise.
46499 * math/s_significandf.c: Likewise.
46500 * math/s_significandl.c: Likewise.
46501 * math/w_jnl.c: Likewise.
46502 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46503 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46504 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46505 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46506 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46507 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46508 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46509 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46510 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46511 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46512 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46513 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46514 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46515 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46516 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46517 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46518 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46519 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46520 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46521 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46522 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46523 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46524 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46525 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46526 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46527 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46528 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46529 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46530 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46531 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46532 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46533 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46534 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46535 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46536 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46537 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46538 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46539 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46540 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46541 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46542 * sysdeps/ieee754/k_standard.c: Likewise.
46543 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46544 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46545 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46546 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46547 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46548 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46549 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46550 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46551 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46552 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46553 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46554 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46555 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46556 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46557 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46558 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46559 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46560 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46561 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46562 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46563 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46564 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46565 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46566 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46567 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46568 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46569 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46570 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46571 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46572 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46573 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46574 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46575 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46576 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46577 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46578 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46579 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46580 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46581 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46582 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46583 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46584 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46585 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46586 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46587 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46588 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46589 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46590 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46591 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46592 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46593 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46594 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46595 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46596 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46597 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46598 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46599 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46600 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46601 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46602 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46603 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46604 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46605 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46606 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46607 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46608 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46609 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46610 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46611 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46612 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46613 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46614 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46615 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46616 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46617 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46618 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46619 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46620 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46621 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46622 * sysdeps/ieee754/s_matherr.c: Likewise.
46623 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46624 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46625 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46626 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46627
965a54a4
JM
466282012-01-26 Joseph Myers <joseph@codesourcery.com>
46629
46630 * crypt/md5.h: Remove __STDC__ conditionals.
46631 * libio/libioP.h: Likewise.
46632 * locale/programs/config.h: Likewise.
46633 * sysdeps/generic/sysdep.h: Likewise.
46634 * sysdeps/i386/asm-syntax.h: Likewise.
46635 * sysdeps/s390/asm-syntax.h: Likewise.
46636 * sysdeps/unix/sysdep.h: Likewise.
46637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46639
7071ad79
JM
466402012-01-26 Joseph Myers <joseph@codesourcery.com>
46641
46642 * libio/libio.h: Remove __STDC__ conditionals.
46643 * malloc/obstack.h: Likewise.
46644 * math/complex.h: Likewise.
46645 * math/math.h: Likewise.
46646 * sysdeps/generic/_G_config.h: Likewise.
46647 * sysdeps/gnu/_G_config.h: Likewise.
46648 * sysdeps/mach/hurd/_G_config.h: Likewise.
46649 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46650 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46651 * sysdeps/sparc/bits/mathdef.h: Likewise.
46652
afc5ed09
UD
466532012-01-26 Ulrich Drepper <drepper@gmail.com>
46654
46655 [BZ #13583]
46656 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 46657 Clean up HAS_* macros.
afc5ed09 46658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
46659 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46660 possible.
46661 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46662 HAS_AVX.
46663 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46664 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46665 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46666 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46667 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 46668
bdb6de1d
JM
466692012-01-25 Joseph Myers <joseph@codesourcery.com>
46670
46671 * elf/tst-unique3.cc (gets): Remove declaration.
46672 * elf/tst-unique3lib.cc (gets): Likewise.
46673 * elf/tst-unique3lib2.cc (gets): Likewise.
46674 * elf/tst-unique4.cc (gets): Likewise.
46675
b15549e6
UD
466762012-01-24 Ulrich Drepper <drepper@gmail.com>
46677
46678 * include/stdio.h: Add C++ protection. Add gets declarations and
46679 definitions.
46680 * debug/tst-chk1.c: Don't declare gets here.
46681 * stdio-common/tst-gets.c: Likewise.
46682
a037381f
JM
466832012-01-24 Joseph Myers <joseph@codesourcery.com>
46684
46685 * posix/glob: Remove directory.
46686
f1d4aa75
JM
466872012-01-24 Joseph Myers <joseph@codesourcery.com>
46688
46689 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46690
81c0c964
PT
466912012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46692
46693 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46694 of the non-standard EPFNOSUPPORT.
46695
0ea698ae
ST
466962011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46697
46698 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46699 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46700 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46701
d220b117
UD
467022012-01-21 Ulrich Drepper <drepper@gmail.com>
46703
46704 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46705
3e1aa84e
UD
467062012-01-20 Ulrich Drepper <drepper@gmail.com>
46707
46708 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46709 transient errors.
46710 * nscd/grpcache.c (cache_addgr): Likewise.
46711 * nscd/hstcache.c (cache_addhst): Likewise.
46712 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46713 * nscd/pwdcache.c (cache_addpw): Likewise.
46714 * nscd/servicescache.c (cache_addserv): Likewise.
46715
400aa020
UD
467162012-01-16 Ulrich Drepper <drepper@gmail.com>
46717
d77e7869
UD
46718 * malloc/malloc.c: Various cleanups.
46719 * malloc/hooks.c: Likewise.
46720
400aa020
UD
46721 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46722 * stdlib/bug-fmtmsg1.c: New file.
46723
46724 * stdlib/fmtmsg.c (init): Add missing unlock.
46725 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46726
e0a309cf
MP
467272012-01-12 Marek Polacek <polacek@redhat.com>
46728
46729 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46730 and _GNU_SOURCE.
46731
929d11c7
WS
467322012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46733
46734 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46735 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46736 macro to ensure uniqueness of label name.
46737 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46738 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46739
41d0e869
UD
467402012-01-11 Ulrich Drepper <drepper@gmail.com>
46741
0cc5ed3b
UD
46742 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46743
41d0e869
UD
46744 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46745 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46746 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46747 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46748
a47a831a
UD
467492012-01-10 Ulrich Drepper <drepper@gmail.com>
46750
daa891c0
UD
46751 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46752
46753 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46754 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46755 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46756
e58ef0f2
UD
46757 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46758
a47a831a 46759 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
46760 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46761 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 46762 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
46763
46764 * math/bits/math-finite.h: Add ldexp support.
46765
a0bfc9c7
MP
467662012-01-10 Marek Polacek <polacek@redhat.com>
46767
46768 * locale/programs/localedef.h (show_archive_content): Add noreturn
46769 attribute.
46770
d6e97a1d
UD
467712012-01-09 Ulrich Drepper <drepper@gmail.com>
46772
46773 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46774
d5835c26
UD
467752012-01-08 Ulrich Drepper <drepper@gmail.com>
46776
e5f484c6
UD
46777 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46778
d5835c26
UD
46779 * io/Makefile (headers): Add bits/poll2.h.
46780
d1f741e9
WS
467812011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46782
46783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46784 typo #include statement.
46785
ec09c1c4
UD
467862012-01-08 Ulrich Drepper <drepper@gmail.com>
46787
46788 * include/sys/cdefs.h: Define __attribute_alloc_size.
46789 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46790 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46791 * elf/pldd.c: Likewise.
46792 * iconv/iconv_charmap.c: Likewise.
46793 * iconv/iconvconfig.c: Likewise.
46794 * iconv/strtab.c: Likewise.
46795 * locale/programs/locale.c: Likewise.
46796 * locale/programs/localedef.h: Likewise.
46797 * locale/programs/simple-hash.c: Likewise.
46798 * nscd/nscd.h: Likewise.
46799 * nss/makedb.c: Likewise.
46800 * sysdeps/generic/ldconfig.h: Likewise.
46801 * locale/programs/localedef.c: Remove xmalloc prototype.
46802 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46803
20b38e03
PP
468042012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46805
46806 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46807 appropriate.
46808
a0da5fe1
UD
468092012-01-08 Ulrich Drepper <drepper@gmail.com>
46810
1d5a644a 46811 * math/Makefile (tests): Add tst-CMPLX.
669704fd 46812 * math/tst-CMPLX.c: New file.
1d5a644a 46813
8784a6db
UD
46814 * math/complex.h (CMPLXL): Fix typo.
46815
d9a216c0
UD
46816 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46817 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46818 GLIBC_2.16.
46819 * debug/tst-chk1.c: Add poll and ppoll tests.
46820 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46821 * include/sys/poll.h: Add hidden proto for ppoll.
46822 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46823 * sysdeps/mach/hurd/ppoll.c: Likewise.
46824 * io/ppoll.c: Likewise.
46825 * debug/poll_chk.c: New file.
46826 * debug/ppoll_chk.c: New file.
46827 * include/bits/poll2.h: New file.
46828 * io/bits/poll2.h: New file.
46829
ac097f5c
UD
46830 [BZ #1350]
46831 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46832
2119dcfa
UD
46833 * configure.in: static is always set to yes. Remove.
46834 * config.make.in: Don't set build-static.
46835 * Makeconfig: Remove use of build-static.
46836 * dlfcn/Makefile: Likewise.
46837 * elf/Makefile: Likewise.
46838 * math/Makefile: Likewise.
46839 * misc/Makefile: Likewise.
46840 * nptl/Makefile: Likewise.
46841 * sysdeps/mach/hurd/Makefile: Likewise.
46842
121766a9
UD
46843 * configure.in: PWD_P is not used anymore.
46844 * config.make.in: Remove PWD_P entry.
46845
51a1d39c 46846 * configure.in: Remove last remnants of RANLIB.
8720d066 46847 No need to check for signed size_t anymore.
215f4bdc
UD
46848 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46849 and IA-64.
3857022a 46850 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
46851 * aclocal.m4: Likewise.
46852
d3ed7225
UD
46853 * wcsmbs/mbrtoc16.c: Implement using towc function.
46854 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46855 * wcsmbs/wcsmbsload.c: Likewise.
46856 * iconv/gconv_simple.c: Likewise.
46857 * iconv/gconv_int.h: Likewise.
46858 * iconv/gconv_builtin.h: Likewise.
46859 * iconv/iconv_prog.c: Remove CHAR16 handling.
46860
46861 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46862
46863 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46864
a0da5fe1
UD
46865 * configure.in: Remove --with-elf and --enable-bounded options.
46866 Dont set base_machine for ia64. More non-ELF conditions removed.
46867 Remove testing and setting of leading underscore information.
46868 * config.make.in (build-bounded): Set to no.
46869 * config.h.in: Remove NO_UNDERSCORES entry.
46870 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46871 them.
46872 * csu/start.c: Remove !NO_UNDERSCORE code.
46873 * locale/localeinfo.h: Likewise.
46874 * sysdeps/generic/machine-gmon.h: Likewise.
46875 * sysdeps/generic/sysdep.h: Likewise.
46876 * sysdeps/i386/sysdep.h: Likewise.
46877 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46878 * sysdeps/mach/sysdep.h: Likewise.
46879 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46880 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46881 * sysdeps/sh/sysdep.h: Likewise.
46882 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46883 * sysdeps/unix/i386/sysdep.S: Likewise.
46884 * sysdeps/unix/sparc/start.c: Likewise.
46885 * sysdeps/unix/sparc/sysdep.S: Likewise.
46886 * sysdeps/unix/sparc/sysdep.h: Likewise.
46887 * sysdeps/unix/start.c: Likewise.
46888 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46889 * sysdeps/x86_64/sysdep.h: Likewise.
46890
df78418a
UD
468912012-01-07 Ulrich Drepper <drepper@gmail.com>
46892
a784e502
UD
46893 [BZ #13553]
46894 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46895 for non-gcc.
46896 * argp/argp-fmtstream.h: Use const instead __const.
46897 * argp/argp.h: Likewise.
46898 * assert/assert.h: Likewise.
46899 * bits/fenv.h: Likewise.
46900 * bits/sched.h: Likewise.
46901 * bits/sigset.h: Likewise.
46902 * bits/sigthread.h: Likewise.
46903 * catgets/nl_types.h: Likewise.
46904 * conform/data/pthread.h-data: Likewise.
46905 * crypt/crypt-private.h: Likewise.
46906 * crypt/crypt.h: Likewise.
46907 * crypt/crypt_util.c: Likewise.
46908 * ctype/ctype.h: Likewise.
46909 * debug/execinfo.h: Likewise.
46910 * debug/mbsnrtowcs_chk.c: Likewise.
46911 * debug/mbsrtowcs_chk.c: Likewise.
46912 * debug/wcsnrtombs_chk.c: Likewise.
46913 * debug/wcsrtombs_chk.c: Likewise.
46914 * debug/wcstombs_chk.c: Likewise.
46915 * dirent/dirent.h: Likewise.
46916 * dlfcn/dlfcn.h: Likewise.
46917 * elf/neededtest4.c: Likewise.
46918 * grp/grp.h: Likewise.
46919 * gshadow/gshadow.h: Likewise.
46920 * iconv/gconv.h: Likewise.
46921 * iconv/gconv_int.h: Likewise.
46922 * iconv/gconv_simple.c: Likewise.
46923 * iconv/iconv.h: Likewise.
46924 * iconv/loop.c: Likewise.
46925 * iconv/skeleton.c: Likewise.
46926 * include/aio.h: Likewise.
46927 * include/aliases.h: Likewise.
46928 * include/argz.h: Likewise.
46929 * include/arpa/inet.h: Likewise.
46930 * include/assert.h: Likewise.
46931 * include/dirent.h: Likewise.
46932 * include/dlfcn.h: Likewise.
46933 * include/execinfo.h: Likewise.
46934 * include/fcntl.h: Likewise.
46935 * include/fenv.h: Likewise.
46936 * include/glob.h: Likewise.
46937 * include/grp.h: Likewise.
46938 * include/libintl.h: Likewise.
46939 * include/mntent.h: Likewise.
46940 * include/netdb.h: Likewise.
46941 * include/pwd.h: Likewise.
46942 * include/rpc/netdb.h: Likewise.
46943 * include/sched.h: Likewise.
46944 * include/search.h: Likewise.
46945 * include/shadow.h: Likewise.
46946 * include/signal.h: Likewise.
46947 * include/stdio.h: Likewise.
46948 * include/stdlib.h: Likewise.
46949 * include/string.h: Likewise.
46950 * include/sys/socket.h: Likewise.
46951 * include/sys/stat.h: Likewise.
46952 * include/sys/statfs.h: Likewise.
46953 * include/sys/statvfs.h: Likewise.
46954 * include/sys/syslog.h: Likewise.
46955 * include/sys/time.h: Likewise.
46956 * include/sys/uio.h: Likewise.
46957 * include/time.h: Likewise.
46958 * include/unistd.h: Likewise.
46959 * include/utmp.h: Likewise.
46960 * include/wchar.h: Likewise.
46961 * include/wctype.h: Likewise.
46962 * inet/aliases.h: Likewise.
46963 * inet/arpa/inet.h: Likewise.
46964 * inet/netinet/ether.h: Likewise.
46965 * inet/netinet/in.h: Likewise.
46966 * intl/libintl.h: Likewise.
46967 * io/bits/fcntl2.h: Likewise.
46968 * io/fcntl.h: Likewise.
46969 * io/ftw.h: Likewise.
46970 * io/sys/poll.h: Likewise.
46971 * io/sys/stat.h: Likewise.
46972 * io/sys/statfs.h: Likewise.
46973 * io/sys/statvfs.h: Likewise.
46974 * io/utime.h: Likewise.
46975 * libio/bits/stdio.h: Likewise.
46976 * libio/bits/stdio2.h: Likewise.
46977 * libio/libio.h: Likewise.
46978 * libio/libioP.h: Likewise.
46979 * libio/stdio.h: Likewise.
46980 * locale/lc-ctype.c: Likewise.
46981 * locale/locale.h: Likewise.
46982 * login/utmp.h: Likewise.
46983 * malloc/arena.c: Likewise.
46984 * malloc/malloc.c: Likewise.
46985 * malloc/malloc.h: Likewise.
46986 * malloc/mcheck.c: Likewise.
46987 * malloc/mtrace.c: Likewise.
46988 * math/bits/mathcalls.h: Likewise.
46989 * math/fenv.h: Likewise.
46990 * math/math_private.h: Likewise.
46991 * misc/bits/error.h: Likewise.
46992 * misc/bits/syslog.h: Likewise.
46993 * misc/err.h: Likewise.
46994 * misc/error.h: Likewise.
46995 * misc/fstab.h: Likewise.
46996 * misc/mntent.h: Likewise.
46997 * misc/regexp.h: Likewise.
46998 * misc/search.h: Likewise.
46999 * misc/sgtty.h: Likewise.
47000 * misc/sys/mman.h: Likewise.
47001 * misc/sys/syslog.h: Likewise.
47002 * misc/sys/uio.h: Likewise.
47003 * misc/sys/xattr.h: Likewise.
47004 * misc/ttyent.h: Likewise.
47005 * nis/rpcsvc/ypclnt.h: Likewise.
47006 * nss/nss.h: Likewise.
47007 * posix/bits/unistd.h: Likewise.
47008 * posix/fnmatch.h: Likewise.
47009 * posix/glob.h: Likewise.
47010 * posix/sched.h: Likewise.
47011 * posix/spawn.h: Likewise.
47012 * posix/sys/wait.h: Likewise.
47013 * posix/unistd.h: Likewise.
47014 * posix/wordexp.h: Likewise.
47015 * pwd/pwd.h: Likewise.
47016 * resolv/netdb.h: Likewise.
47017 * resource/sys/resource.h: Likewise.
47018 * rt/aio.h: Likewise.
47019 * rt/bits/mqueue2.h: Likewise.
47020 * rt/mqueue.h: Likewise.
47021 * shadow/shadow.h: Likewise.
47022 * signal/signal.h: Likewise.
47023 * socket/send.c: Likewise.
47024 * socket/sendto.c: Likewise.
47025 * socket/sys/socket.h: Likewise.
47026 * stdio-common/printf.h: Likewise.
47027 * stdlib/bits/stdlib.h: Likewise.
47028 * stdlib/fmtmsg.h: Likewise.
47029 * stdlib/monetary.h: Likewise.
47030 * stdlib/stdlib.h: Likewise.
47031 * stdlib/ucontext.h: Likewise.
47032 * streams/stropts.h: Likewise.
47033 * string/argz.h: Likewise.
47034 * string/bits/string2.h: Likewise.
47035 * string/string.h: Likewise.
47036 * string/strings.h: Likewise.
47037 * sunrpc/rpc/auth.h: Likewise.
47038 * sunrpc/rpc/auth_des.h: Likewise.
47039 * sunrpc/rpc/clnt.h: Likewise.
47040 * sunrpc/rpc/netdb.h: Likewise.
47041 * sunrpc/rpc/pmap_clnt.h: Likewise.
47042 * sunrpc/rpc/xdr.h: Likewise.
47043 * sysdeps/generic/inttypes.h: Likewise.
47044 * sysdeps/generic/net/if.h: Likewise.
47045 * sysdeps/generic/sys/swap.h: Likewise.
47046 * sysdeps/gnu/net/if.h: Likewise.
47047 * sysdeps/gnu/utmpx.h: Likewise.
47048 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47049 * sysdeps/i386/i486/bits/string.h: Likewise.
47050 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47051 * sysdeps/s390/bits/string.h: Likewise.
47052 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47053 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47054 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47055 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47056 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47057 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47058 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47059 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47060 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47061 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47062 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47063 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47064 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47065 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47066 * sysdeps/unix/sysv/linux/readv.c: Likewise.
47067 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47068 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47069 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47070 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47071 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47072 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47073 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47074 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47075 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47076 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47077 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47078 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47079 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47080 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47081 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47082 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47083 * sysvipc/sys/ipc.h: Likewise.
47084 * sysvipc/sys/msg.h: Likewise.
47085 * sysvipc/sys/sem.h: Likewise.
47086 * sysvipc/sys/shm.h: Likewise.
47087 * termios/termios.h: Likewise.
47088 * time/sys/time.h: Likewise.
47089 * time/time.h: Likewise.
47090 * wcsmbs/bits/wchar2.h: Likewise.
47091 * wcsmbs/uchar.h: Likewise.
47092 * wcsmbs/wchar.h: Likewise.
47093 * wctype/wctype.h: Likewise.
47094
0269750c
UD
47095 [BZ #13551]
47096 * Makeconfig: Remove all but ELF support including AIX support.
47097 * Makerules: Likewise.
47098 * config.h.in: Likewise.
47099 * config.make.in: Likewise.
47100 * configure: Likewise.
47101 * configure.in: Likewise.
47102 * csu/Makefile: Likewise.
47103 * csu/version.c: Likewise.
47104 * debug/Makefile: Likewise.
47105 * dlfcn/Makefile: Likewise.
47106 * elf/Makefile: Likewise.
47107 * extra-lib.mk: Likewise.
47108 * iconv/Makefile: Likewise.
47109 * include/libc-symbols.h: Likewise.
47110 * include/shlib-compat.h: Likewise.
47111 * resolv/Makefile: Likewise.
47112 * resolv/res_libc.c: Likewise.
47113 * rt/Makefile: Likewise.
47114 * sysdeps/i386/asm-syntax.h: Likewise.
47115 * sysdeps/i386/sysdep.h: Likewise.
47116 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47117 * sysdeps/mach/sysdep.h: Likewise.
47118 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47119 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47120 * sysdeps/s390/asm-syntax.h: Likewise.
47121 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47122 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47123 * sysdeps/sh/sysdep.h: Likewise.
47124 * sysdeps/unix/sparc/sysdep.h: Likewise.
47125 * sysdeps/wordsize-32/divdi3.c: Likewise.
47126 * sysdeps/x86_64/sysdep.h: Likewise.
47127
00bbd29b
UD
47128 * argp/Versions: Remove _argp_unlock_xxx.
47129
47130 [BZ #13559]
47131 * abilist/ld.abilist: Update. Adjust for removal of tls option.
47132 * abilist/libBrokenLocale.abilist: Likewise.
47133 * abilist/libanl.abilist: Likewise.
47134 * abilist/libc.abilist: Likewise.
47135 * abilist/libcrypt.abilist: Likewise.
47136 * abilist/libdl.abilist: Likewise.
47137 * abilist/libm.abilist: Likewise.
47138 * abilist/libnsl.abilist: Likewise.
47139 * abilist/libpthread.abilist: Likewise.
47140 * abilist/libresolv.abilist: Likewise.
47141 * abilist/librt.abilist: Likewise.
47142 * abilist/libthread_db.abilist: Likewise.
47143 * abilist/libutil.abilist: Likewise.
47144 * abilist/libnss_db.abilist: New file.
47145
47146 * scripts/abilist.awk: Add support for indirect functions.
47147
a2693a0e
UD
47148 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47149
3f05895f
UD
47150 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47151
ecb6fb48
UD
47152 * shlib-versions: Remove entries for ports architectures.
47153
664f8cb9
UD
47154 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
47155 files in ports.
47156 * elf/stackguard-macros.h: Remove support for IA-64.
47157 * elf/tst-auditmod1.c: Likewise.
47158 * sysdeps/generic/ldsodefs.h: Likewise.
47159
7ae81d88
UD
47160 * sysdeps/unix/sysv/linux/configure.in: Ports should define
47161 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47162 configure files.
47163
bdeba135
UD
47164 [BZ #13552]
47165 * configure.in: Remove --enable-omitfp support.
47166 * FAQ.in: Adjust.
47167 * config.make.in: Likewise.
47168 * Makeconfig: Likewise.
47169 * manual/install.texi: Likewise.
47170
d75a0a62
UD
47171 In case anyone cares, the IA-64 architecture could move to ports.
47172 * sysdeps/ia64/*: Removed.
47173 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 47174 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 47175
dcc9756b
UD
47176 [BZ #13555]
47177 * configure.in: Remove entries for unsupported architectures.
47178
d3761ebc 47179 [BZ #13533]
9954432e
UD
47180 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47181 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
47182 routines.
47183 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47184 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47185 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
47186 fall back to using wcrtomb.
47187 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47188 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
47189 renaming.
47190 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47191 * wcsmbs/tst-c16c32-1.c: New file.
47192
47193 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47194 local variable.
47195
c3a87236
UD
47196 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47197
28926a1b
UD
47198 * elf/tst-unique3.cc: Add explicit declaration of gets.
47199 * elf/tst-unique3lib.cc: Likewise.
47200 * elf/tst-unique3lib2.cc: Likewise.
47201 * elf/tst-unique4.cc: Likewise.
47202
df78418a
UD
47203 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47204
8ecd6b2a
JM
472052012-01-06 Joseph Myers <joseph@codesourcery.com>
47206
47207 [BZ #13566]
47208 * assert/assert.h (static_assert): Don't define for C++.
47209 * libio/stdio.h (gets): Do declare for C++ <= C++11.
47210 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47211
9f115170
UD
472122012-01-03 Ulrich Drepper <drepper@gmail.com>
47213
5e0d0300
UD
47214 * iconv/loop.c (single loop): Fix assertion in storing of
47215 remaining bytes.
47216
9f115170
UD
47217 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47218
81fb02b0
UD
472192012-01-01 Ulrich Drepper <drepper@gmail.com>
47220
47221 * posix/getconf.c: Update copyright year.
47222 * nss/getent.c: Likewise.
a316c1f6 47223 * nss/makedb.c: Likewise.
81fb02b0
UD
47224 * iconv/iconvconfig.c: Likewise.
47225 * iconv/iconv_prog.c: Likewise.
47226 * elf/ldconfig.c: Likewise.
a316c1f6
UD
47227 * elf/pldd.c: Likewise.
47228 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
47229 * catgets/gencat.c: Likewise.
47230 * csu/version.c: Likewise.
47231 * elf/ldd.bash.in: Likewise.
47232 * elf/sprof.c (print_version): Likewise.
47233 * locale/programs/locale.c: Likewise.
47234 * locale/programs/localedef.c: Likewise.
a316c1f6 47235 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
47236 * nscd/nscd.c (print_version): Likewise.
47237 * debug/xtrace.sh: Likewise.
47238 * malloc/memusage.sh: Likewise.
47239 * malloc/mtrace.pl: Likewise.
47240 * debug/catchsegv.sh: Likewise.
47241
2ba92745
JJ
472422011-12-30 Jakub Jelinek <jakub@redhat.com>
47243
47244 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47245 pure attribute.
47246
dadebdae
UD
472472011-12-24 Ulrich Drepper <drepper@gmail.com>
47248
d3761ebc 47249 [BZ #13533]
db6af3eb
UD
47250 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47251 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47252 transformations.
47253 * iconv/gconv_int.h: Likewise.
47254 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47255 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47256 from libc for GLIBC_2.16.
47257 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47258 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47259 * wcsmbs/uchar.h: Really define mbstate_t.
47260 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47261 * wcsmbs/c16rtomb.c: New file.
47262 * wcsmbs/mbrtoc16.c: New file.
47263 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47264 for C/POSIX locale.
47265 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47266 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47267
dadebdae
UD
47268 * wcsmbs/wchar.h: Add missing __restrict.
47269
67371b56
UD
472702011-12-23 Ulrich Drepper <drepper@gmail.com>
47271
74033a25
UD
47272 [BZ #13532]
47273 * time/Makefile (routines): Add timespec_get.
47274 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47275 * time/time.h: Define TIME_UTC and declare timespec_get. Define
47276 timespec for ISO C11.
47277 * time/timespec_get.c: New file.
47278 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47279 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47280
380d7e87
UD
47281 [BZ #13531]
47282 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47283 * stdlib/stdlib.h: Declare aligned_alloc.
47284 * Versions.def: Add GLIBC_2.16 for libc.
47285 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47286
4e9e7a35
UD
47287 [BZ 13527]
47288 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47289 ISO C11.
47290
380d7e87 47291 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
47292 code.
47293
03a71829
UD
47294 [BZ #13528]
47295 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47296
839e283e
UD
47297 [BZ #13529]
47298 * assert/assert.h (static_assert): Define.
47299
ce5294e2 47300 * version.h: Update for 2.16 development version.
90fa7312 47301
8d44e150 47302 [BZ #13526]
d7809905
UD
47303 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47304 _ISOC11_SOURCE.
47305
c0da14cd
UD
47306 * version.h (RELEASE): Bump for 2.15 release.
47307 * include/features.h (__GLIBC_MINOR__): Bump to 15.
47308
530a3249
MP
47309 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47310 Patch by Marek Polacek <mpolacek@redhat.com>.
47311
67371b56
UD
47312 * bits/byteswap.h: Protect long long constants with __extension__.
47313 * sysdeps/i386/bits/byteswap.h: Likewise.
47314 * sysdeps/ia64/bits/byteswap.h: Likewise.
47315 * sysdeps/s390/bits/byteswap.h: Likewise.
47316 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47317
15db4de1
LD
473182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47319
47320 [BZ #13540]
bbe315ea
LD
47321 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47322 destination buffer.
15db4de1
LD
47323 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47324
2b2596b1
MP
473252011-12-23 Marek Polacek <polacek@redhat.com>
47326
47327 * elf/dl-addr.c (determine_info): Add inline keyword.
47328 * elf/tst-auditmod4b.c (check_avx): Likewise.
47329 * elf/tst-auditmod6b.c (check_avx): Likewise.
47330 * elf/tst-auditmod6c.c (check_avx): Likewise.
47331 * elf/tst-auditmod7b.c (check_avx): Likewise.
47332
70c6c246
UD
473332011-12-23 Ulrich Drepper <drepper@gmail.com>
47334
47335 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47336 !__SSE_MATH__.
47337
c044cf14
LD
473382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47339
15db4de1 47340 [BZ #13540]
c044cf14
LD
47341 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47342 processing for last bytes.
47343
6b13d9d9
BH
473442011-08-06 Bruno Haible <bruno@clisp.org>
47345
d455f537
BH
47346 [BZ #13061]
47347 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47348 U+0385, not to U+1FEE.
47349
6b13d9d9
BH
47350 [BZ #13062]
47351 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47352 entry for U+00A5 U+0301.
47353
db910efd
UD
473542011-12-22 Ulrich Drepper <drepper@gmail.com>
47355
27deeafc
UD
47356 [BZ #13166]
47357 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47358 buffer for the output is too small.
47359
aed9d171
UD
47360 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47361 optimization.
47362
db910efd
UD
47363 [BZ #13185]
47364 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47365 SSE flags if possible.
47366
2bd779ae
LD
473672011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47368
e7f9dac3 47369 [BZ #13540]
2bd779ae
LD
47370 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47371 processing for last bytes.
47372
154bfc16
JM
473732011-12-22 Joseph Myers <joseph@codesourcery.com>
47374
47375 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47376 (syscall-list-default-options, syscall-list-default-condition)
47377 (syscall-list-includes): Define.
47378 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47379 list of ABIs and options and #if conditions for each ABI. Do not
47380 handle common syscalls between ABIs specially.
47381 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47382 Remove.
47383 (syscall-list-variants, syscall-list-32bit-options)
47384 (syscall-list-32bit-condition, syscall-list-64bit-options)
47385 (syscall-list-64bit-condition): Define.
47386 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47387 (syscall-list-variants, syscall-list-32bit-options)
47388 (syscall-list-32bit-condition, syscall-list-64bit-options)
47389 (syscall-list-64bit-condition): Define.
47390 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47391 Remove.
47392 (syscall-list-variants, syscall-list-32bit-options)
47393 (syscall-list-32bit-condition, syscall-list-64bit-options)
47394 (syscall-list-64bit-condition): Define.
47395 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47396 Remove.
47397 (syscall-list-variants, syscall-list-32bit-options)
47398 (syscall-list-32bit-condition, syscall-list-64bit-options)
47399 (syscall-list-64bit-condition): Define.
47400
21eaf3a5
UD
474012011-12-22 Ulrich Drepper <drepper@gmail.com>
47402
16c6f992
UD
47403 * locale/iso-639.def: Add brx entry.
47404
41043168
UD
47405 [BZ #13328]
47406 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47407 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47408
21eaf3a5
UD
47409 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47410 __feraiseexcept_renamed.
47411
e3a851a2
UD
474122011-12-21 Ulrich Drepper <drepper@gmail.com>
47413
4920765e
UD
47414 [BZ #13538]
47415 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47416 EPOLLET with unsigned values.
47417 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47418 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47419
e3a851a2
UD
47420 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47421 to large cancellation.
47422 * math/s_cacoshf.c: Likewise.
47423 * math/s_cacoshl.c: Likewise.
47424
b27e24b8
RK
474252011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47426
47427 [BZ #13305]
aebefeee 47428 [BZ #12786]
b27e24b8
RK
47429 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47430 * math/s_cacoshf.c: Likewise.
47431 * math/s_cacoshl.c: Likewise.
47432
ee190f67
UD
474332011-12-21 Ulrich Drepper <drepper@gmail.com>
47434
47435 [BZ #13439]
47436 * iconv/gconv.h: Define __GCONV_SWAP.
47437 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47438 * iconvdata/utf-16.c: Likewise.
47439 * iconvdata/utf-32.c: Likewise.
47440
707f25df
AS
474412011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47442
47443 [BZ #13524]
47444 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47445 numerator after shifting it by one limb.
47446
d2daaa1e
RÁE
474472011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47448
47449 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47450 under [__USE_EXTERN_INLINES].
47451
a4647e72
UD
474522011-12-17 Ulrich Drepper <drepper@gmail.com>
47453
47454 [BZ #13446]
47455 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47456
f0b264f1
AZ
474572011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47458
47459 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47460 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47461 optimized code.
47462 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47463 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47464 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47465 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47466 for strncasecmp/strncasecmp_l compilation.
47467 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47468 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47469
8ef4f244
MP
474702011-12-08 Marek Polacek <mpolacek@redhat.com>
47471
47472 [BZ #13484]
47473 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47474 of __asm__.
47475
97ac2654
UD
474762011-12-17 Ulrich Drepper <drepper@gmail.com>
47477
47478 [BZ #13506]
47479 * time/tzfile.c (__tzfile_read): Check values from file header.
47480
91d2a845
WS
474812011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47482
47483 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47484 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47485 * powerpc/powerpc32/dl-start.S: Likewise.
47486 * powerpc/powerpc32/elf/start.S: Likewise.
47487 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47488 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47489 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47490 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47491 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47492 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47493 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47494 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47495 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47496 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47497 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47498 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47499 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47500 * powerpc/powerpc32/memset.S: Likewise.
47501 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47502 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47503 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47504 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47505 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47506 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47507 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47508 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47509 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47510 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47511 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47512 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47513 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47514
a1267ba1
AZ
475152011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47516
47517 * math/libm-test.inc: Added more nearbyint tests.
47518 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47519 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47520 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47521 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47522
ad8ac1bd
RL
475232011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47524
47525 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47526 FD_CLOEXEC.
47527
1d3e4b61
UD
475282011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47529
47530 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47531 Add wcscpy-ssse3 wcscpy-c.
47532 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47533 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47534 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47535 * sysdeps/x86_64/wcschr.S: New file.
47536 * sysdeps/x86_64/wcsrchr.S: New file.
47537 * string/test-strcmp.c: Remove checking of wcscmp function for
47538 wrong alignments.
47539 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47540 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47541 wcsrchr-sse2 wcsrchr-c.
47542 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47543 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47544 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47545 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47546 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47547 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47548 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47549 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47550 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47551 * wcsmbc/wcschr.c (WCSCHR): New macro.
47552
5b330a2d
UD
475532011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47554
47555 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47556 * wcsmbs/test-wcsrchr.c: New file.
47557 * string/test-strrchr.c: Add wcsrchr support.
47558 (WIDE): New macro.
47559 * wcsmbs/test-wcscpy.c: New file.
47560 * string/test-strcpy.c: Add wcscpy support.
47561 (WIDE): New macro.
26428b7c 47562
f039c043
UD
475632011-12-10 Ulrich Drepper <drepper@gmail.com>
47564
47565 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47566 the inner loop.
47567
850fb039
AS
475682011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47569
47570 [BZ #13472]
47571 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47572
4efbd5cb
UD
475732011-12-04 Ulrich Drepper <drepper@gmail.com>
47574
52ff5dd0 47575 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 47576 Minor optimizations.
52ff5dd0 47577
4efbd5cb
UD
47578 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47579 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47580 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47581
8a426e12
UD
475822011-12-03 Ulrich Drepper <drepper@gmail.com>
47583
aff2453d
UD
47584 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47585 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47586 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47587 for gcc to avoid warnings.
47588 * inet/Makefile (tests): Add tst-checks.
47589 * inet/tst-checks.c: New file.
47590
47591 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47592 warning.
47593
47594 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47595 __wmemcmp_sse2.
47596
47597 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47598 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47599
8a426e12
UD
47600 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47601
9bea3473
UD
476022011-12-02 Ulrich Drepper <drepper@gmail.com>
47603
3a965496
UD
47604 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47605 problem.
47606
9bea3473
UD
47607 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47608
f101631b
UD
476092011-11-29 Joseph Myers <joseph@codesourcery.com>
47610
47611 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47612 conditional on GCC version.
47613 (__arch_compare_and_exchange_val_8_acq)
47614 (__arch_compare_and_exchange_val_16_acq)
47615 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47616 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47617 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47618
a98275aa
UD
476192011-12-02 Joseph Myers <joseph@codesourcery.com>
47620
47621 * sysdeps/sh/backtrace.c: New file.
47622
d4cc29a2
AS
476232011-12-02 Andreas Schwab <schwab@redhat.com>
47624
47625 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47626 parenthesis.
47627
6257af2d
AS
476282011-12-01 Andreas Schwab <schwab@redhat.com>
47629
47630 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47631 falling back to utime.
47632
b5f44c1a
AS
476332011-11-30 Andreas Schwab <schwab@redhat.com>
47634
47635 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47636 expectations for float.
47637
f3a6cc0a
AS
476382011-11-29 Andreas Schwab <schwab@redhat.com>
47639
47640 * locale/weight.h (findidx): Add parameter len.
47641 * locale/weightwc.h (findidx): Likewise.
47642 * posix/fnmatch_loop.c (FCT): Adjust caller.
47643 * posix/regcomp.c (build_equiv_class): Likewise.
47644 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47645 * posix/regexec.c (check_node_accept_bytes): Likewise.
47646 * string/strcoll_l.c (STRCOLL): Likewise.
47647 * string/strxfrm_l.c (STRXFRM): Likewise.
47648
9d65ea3a
UD
476492011-11-17 Ulrich Drepper <drepper@gmail.com>
47650
47651 * Makefile.in: Remove CVSOPT handling.
47652 * configure.in: Remove use of AC_REVISION.
47653 * iconvdata/Makefile (distribute): No need to filter out CVS.
47654 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47655 handling.
47656
5583a086
AS
476572011-11-16 Andreas Schwab <schwab@redhat.com>
47658
47659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47660 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47661 [USE_AS_STRNCASECMP_L]: Likewise.
47662 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47663 NO_TLS_DIRECT_SEG_REFS.
47664 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47665 Fix argument offsets for non-PIC.
47666 [USE_AS_STRNCASECMP_L]: Likewise.
47667 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47668 NO_TLS_DIRECT_SEG_REFS.
47669
d62a8200
UD
476702011-11-15 Ulrich Drepper <drepper@gmail.com>
47671
9d65ea3a 47672 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
47673 O_CLOEXEC.
47674 * locale/loadlocale.c (_nl_load_locale): Likewise.
47675
09f93bd3
AS
476762011-11-15 Andreas Schwab <schwab@redhat.com>
47677
446514f9
AS
47678 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47679 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47680 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47681 (SYSCALL_GETTIME): Set errno on error.
47682
09f93bd3
AS
47683 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47684 count references to noai6ai_cached.
47685
312be3f9
UD
476862011-11-15 Ulrich Drepper <drepper@gmail.com>
47687
47688 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47689
47690 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47691 FD_CLOEXEC for /proc/self/maps.
47692
47693 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47694 FD_CLOEXEC for /proc/meminfo.
47695
47696 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47697 gai.conf.
47698
47699 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47700 FD_CLOEXEC for given file.
47701
47702 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47703
47704 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47705 FD_CLOEXEC for /etc/hosts.
47706 (_gethtent): Likewise.
47707
47708 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47709
47710 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47711 cancellation and set FD_CLOEXEC for /etc/netgroup.
47712
47713 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47714 reading /etc/publickey.
47715
47716 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47717 allow cancellation when reading /etc/group.
47718
47719 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47720 cancellation.
47721 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47722
47723 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47724 when using data file.
47725
47726 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47727
47728 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47729 (write_nis_obj): Use "c" and "e" in fopen.
47730
47731 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47732
47733 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47734
47735 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47736
47737 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47738
47739 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47740 locale.alias.
47741
47742 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47743
47744 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47745
47746 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47747
47748 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47749 file parsing and set FD_CLOEXEC.
47750
82af0fa8
UD
477512011-11-14 Ulrich Drepper <drepper@gmail.com>
47752
47753 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47754
a5fb313c
AS
477552011-11-14 Andreas Schwab <schwab@redhat.com>
47756
47757 * malloc/arena.c (arena_get2): Don't call reused_arena when
47758 _int_new_arena failed.
47759
6abf3465
UD
477602011-11-14 Ulrich Drepper <drepper@gmail.com>
47761
47762 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47763 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47764 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47765 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47766 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47767 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47768 to compile strcasecmp and strncasecmp.
47769 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47770 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47771
47772 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47773
76e3966e
UD
477742011-11-13 Ulrich Drepper <drepper@gmail.com>
47775
47776 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47777 locale-defines.sym to gen-as-const-headers.
47778 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47779 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47780 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47781 to compile strcasecmp and strncasecmp.
47782 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47783 strcasecmp_l and strncasecmp_l.
47784 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47785 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47786 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47787 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47788 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47789 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47790 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47791 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47792 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47793 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47794 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47795
ab26144e
UD
477962011-11-12 Ulrich Drepper <drepper@gmail.com>
47797
7edb22ef
UD
47798 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47799 result of SYSDEP_GETTIME_CPU to retval.
47800 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47801 parameter list to macro. Remove trailing semicolon. Adjust users.
47802
9694fc44
UD
47803 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47804 variable.
47805
8ad89ef8
UD
47806 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47807 mantissa words.
47808 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47809
0c822ef9
UD
47810 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47811 from unused variable.
47812
874e0564
UD
47813 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47814 DWARF definitions.
47815 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47816 for assembling.
47817
3a2edc79
UD
47818 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47819 over namespaces.
47820
f3c2577f
UD
47821 * sunrpc/rpc_prot.c (rejected): Fix case value.
47822
294ce126
UD
47823 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47824 unsigned long long int to avoid warnings in shift.
47825
5e2b63c6
UD
47826 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47827 of use of trans.
47828 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47829 variable tmp.
47830
e7f4b08e
UD
47831 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47832 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47833 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47834
ab26144e
UD
47835 * nis/nis_table.c (nis_list): Use variable of correct type for
47836 result of __follow_path call.
47837
8a6d5255
AZ
478382011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47839
47840 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47841 of math functions ceil, trunc, floor, round, and sqrt, when
47842 avaliable on the platform.
47843 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47844 name clash.
47845 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47846 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47847 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47848
aaddc98c
MP
478492011-10-30 Marek Polacek <mpolacek@redhat.com>
47850
47851 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47852 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47853
95b7042b
RM
478542011-11-11 Roland McGrath <roland@hack.frob.com>
47855
47856 * include/unistd.h: Fix __readlink return type.
47857 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47858
57769839
UD
478592011-11-11 Ulrich Drepper <drepper@gmail.com>
47860
47861 * stdlib/ucontext.h: Undo last change for makecontext.
47862
edc5984d
AS
478632011-11-11 Andreas Schwab <schwab@redhat.com>
47864
98591e58
AS
47865 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47866
edc5984d
AS
47867 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47868 * setjmp/setjmp.h: Mark functions as non-leaf.
47869 * setjmp/bits/setjmp2.h: Likewise.
47870 * stdlib/ucontext.h: Likewise.
47871
77cdc054
AS
478722011-11-10 Andreas Schwab <schwab@redhat.com>
47873
47874 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47875 (reused_arena): Don't check arena limit.
47876 (arena_get2): Atomically check arena limit.
47877
fe72eebd
UD
478782011-11-08 Ulrich Drepper <drepper@gmail.com>
47879
5f078c32
UD
47880 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47881 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47882
fe72eebd
UD
47883 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47884 instructions.
47885
ae1bc2fa
AS
478862011-11-07 Andreas Schwab <schwab@redhat.com>
47887
7583a88d
AS
47888 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47889 handler when locking.
47890
ae1bc2fa
AS
47891 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47892 Fix size of allocated buffer.
47893
10fb0bfa
AS
478942011-11-04 Andreas Schwab <schwab@redhat.com>
47895
998832a4
AS
47896 [BZ #10103]
47897 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47898 declarations for long double functions.
47899 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47900
10fb0bfa
AS
47901 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47902
3d7ba52b
AS
479032011-11-03 Andreas Schwab <schwab@redhat.com>
47904
a9ae54a1
AS
47905 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47906 installed.
47907
3d7ba52b
AS
47908 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47909 is disabled.
47910
bc8db248
ST
479112011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47912
47913 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47914
45b96dd6
AS
479152011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47916
647776f6
AS
47917 * include/alloca.h (stackinfo_alloca_round): Define.
47918 (extend_alloca): Use it.
47919 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47920 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47921 here.
47922
d91a8b93
AS
47923 * scripts/check-local-headers.sh: Ignore libaudit.h.
47924
45b96dd6
AS
47925 * nscd/Makefile (extra-objs): Make recursively expanded.
47926
432d41ce
UD
479272011-11-01 Ulrich Drepper <drepper@gmail.com>
47928
34372fc6
UD
47929 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47930 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47931
fadb59f8
UD
47932 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47933 * posix/tst-rfc3484-2.c: Likewise.
47934 * posix/tst-rfc3484-3.c: Likewise.
47935
78239589
UD
47936 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47937 process_vm_writev.
47938 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47939 process_vm_writev.
47940 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47941 process_vm_writev from libc using GLIBC_2.15 version.
47942
432d41ce
UD
47943 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47944
02f9c6cf
PP
479452011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47946
47947 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47948 stack usage.
47949
3a2c0242
UD
479502011-10-31 Ulrich Drepper <drepper@gmail.com>
47951
f4ec4833
UD
47952 [BZ #13367]
47953 * nss/getent.c (initgroups_keys): Show error message in case no group
47954 names are given.
47955
3a2c0242
UD
47956 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47957 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47958 __bump_nl_timestamp.
47959 * nscd/connections (nscd_init): When host database is served open
47960 netlink socket and request notification about configuration changes.
47961 (main_loop_poll): Track netlink file descriptor and bump timestamp
47962 in case data becomes available.
47963 (main_loop_epoll): Likewise.
47964 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47965 (database_pers_head): Add extra_data fileds.
47966 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47967 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47968 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47969 Adjust caller.
47970 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47971 in6ai data, call __free_in6ai.
47972 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47973 Add -DHAVE_NETLINK.
47974 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47975 interface information. Reuse previous data if netlink timestamp
47976 is not changed.
47977 (__bump_nl_timestamp): New function.
47978 (__free_in6ai): New function.
47979
636064eb
UD
479802011-10-30 Ulrich Drepper <drepper@gmail.com>
47981
47982 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47983 close_not_cancel_no_status here.
47984 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47985
9beb2334
UD
479862011-10-29 Ulrich Drepper <drepper@gmail.com>
47987
6ef76f3b
UD
47988 [BZ #13276]
47989 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47990 return value.
47991
0ffc4f3e 47992 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
47993 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47994 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47995
cb95113e
UD
479962011-07-03 Andreas Jaeger <aj@suse.de>
47997
47998 [BZ #10709]
47999 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48000 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48001 * math/libm-test.inc (sin_test): Add test case.
48002
a1b560ff
UD
480032011-10-29 Ulrich Drepper <drepper@gmail.com>
48004
c9aaface
UD
48005 [BZ #13337]
48006 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48007 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48008
d272e7f1
UD
48009 * elf/chroot_canon.c (chroot_canon): Cleanups.
48010
1bc33071
UD
48011 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48012
1760874d
TJ
48013 [BZ #13335]
48014 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48015 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48016
51d91b18
UD
48017 * string/test-strchr.c: Make usable for strchrnul testing.
48018 * string/test-strchrnul.c: New file.
48019 * string/Makefile (strop-tests): Add strchrnul.
48020
a1b560ff 48021 * po/it.po: Update from translation team.
b611fb81 48022 * po/es.po: Likewise.
a1b560ff 48023
a5b81e1f
UD
480242011-10-28 Ulrich Drepper <drepper@gmail.com>
48025
fd52bc6d
UD
48026 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48027 the three constants needed as parameters. Drop the others.
48028 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48029 __m128i_strloadu_tolower.
52e4b9eb
UD
48030 Create and initialize variable zero and use it in all the places
48031 where _mm_setzero_si128 was used.
fd52bc6d 48032
a5b81e1f
UD
48033 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48034 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48035 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48036 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48037 anymore.
48038 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48039 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48040 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48041 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48042 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48043 __mpranred, __mptan.
48044 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48045 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48046 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48047 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48048 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48049 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48050 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48051 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48052 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48053
b4343346
AS
480542011-10-28 Andreas Schwab <schwab@redhat.com>
48055
0c92d8a8
AS
48056 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48057 redefine if SHARED.
48058 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48059
b4343346
AS
48060 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48061 wide char related routines to wcsmbs subdir.
48062
3871f58f
AS
480632011-10-27 Andreas Schwab <schwab@redhat.com>
48064
48065 [BZ #13344]
48066 * misc/sys/cdefs.h (__THROWNL): Define.
48067 * posix/unistd.h: Use __THREADNL instead of __THREAD
48068 for memory synchronization functions.
48069
94d44d9f
RM
480702011-10-26 Roland McGrath <roland@hack.frob.com>
48071
21b64b15 48072 [BZ #13349]
94d44d9f
RM
48073 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48074 doesn't exist.
48075 * manual/stdio.texi (Obstack Streams): Node removed.
48076
f6ce9294
AS
480772011-10-26 Andreas Schwab <schwab@redhat.com>
48078
80479147
AS
48079 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48080 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48081 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48082
f6ce9294
AS
48083 * math/math_private.h (math_force_eval): Allow non-addressable
48084 arguments.
48085 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48086
618280a1
UD
480872011-10-25 Ulrich Drepper <drepper@gmail.com>
48088
e0016b11
UD
48089 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48090 file is not needed.
48091
48092 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48093 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48094 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48095 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48096 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48097 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48098 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48099 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48100 Add AVX variants.
48101 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48102 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48103 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48104 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48105 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48106 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48107 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48108 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48109 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48110 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48111 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48112 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48113 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48114 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48115 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48116 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48117 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48118 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48119 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48120
48121 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48122 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
48123
618280a1
UD
48124 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48125 place. Use VEX encoding when compiling for AVX.
48126
37822576
AS
481272011-10-25 Andreas Schwab <schwab@redhat.com>
48128
1f1e1947
AS
48129 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48130 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48131
37822576
AS
48132 * string/test-strchr.c (do_test): Don't generate NUL bytes.
48133
31ea014d
UD
481342011-10-25 Ulrich Drepper <drepper@gmail.com>
48135
d7826aa1 48136 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 48137 useless if() expression.
d7826aa1
UD
48138 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48139 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48140 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48141 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48142 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48143 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48144 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48145 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48146 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48147 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48148 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48149 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48150 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48151 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48152 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48153 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48154 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48155 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48156 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48157
31ea014d
UD
48158 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48159
16437fec
AS
481602011-10-25 Andreas Schwab <schwab@redhat.com>
48161
48162 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48163 condition.
48164 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48165
31d3cc00
UD
481662011-10-25 Ulrich Drepper <drepper@gmail.com>
48167
48168 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48169 .text section. Avoid duplicate constants.
48170 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48171 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48172 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48173 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48174 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48176 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48177 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48178 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48179 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48180 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48181 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48182 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48183 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48184 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48185 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48186 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48187 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48188 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48189 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48190 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48191 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48192 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48193 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48194 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48195 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48196 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48197 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48198 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48199 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48200 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48201 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48202 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48203 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48204 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48205 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48206 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48207 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48208 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48209 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48210 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48211 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48212 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48213 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48214 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48215
58985aa9
UD
482162011-10-24 Ulrich Drepper <drepper@gmail.com>
48217
202c9deb
UD
48218 * sysdeps/x86_64/dla.h: Move to ...
48219 * sysdeps/x86_64/fpu/dla.h: ...here.
48220 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48221 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 48222
af968f62
UD
48223 * config.make.in: Add have-mfma4 entry.
48224 * configure.in: Substitute libc_cv_cc_fma4.
48225 * math/Makefile (dbl-only-routines): Add sincostab.
48226 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48227 Use __sincostab not sincos.
48228 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48229 name is a macro.
48230 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48231 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48232 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
48234 using __copysign.
48235 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
48236 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
48237 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48238 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48239 and __inv.
48240 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48241 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48242 __copysign.
48243 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
48244 define aliases when function name is a macro.
48245 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48246 sysdeps/ieee754/dbl-64/sincos.tbl.
48247 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48248 fma4-enabled routines.
48249 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48250 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48251 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48252 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48253 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48254 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48255 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48256 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48257 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48258 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48259 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48260 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48261 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48262 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48263 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48264 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48265 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48266 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48267 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48268 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48269 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48270 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48271 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48272 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48273 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48274 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48276 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48277 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48278 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48279
58985aa9
UD
48280 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48281 rename.
48282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48283 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48284 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48288 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48290
a201fbcf
AS
482912011-10-24 Andreas Schwab <schwab@redhat.com>
48292
48293 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48294
fc2ee42a
LD
482952011-10-23 Ulrich Drepper <drepper@gmail.com>
48296
bb3129bd
UD
48297 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48298
0275fff8
UD
48299 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48300 prediction.
48301 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48302
2fa2ae85
UD
48303 * string/strnlen.c: Don't define STRNLEN, reverse logic.
48304 Remove unused variable magic_bits.
48305 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48306
fc2ee42a
LD
48307 * string/strnlen.c: Define and use STRNLEN macro.
48308 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48309 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48310 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48311 * wcsmbs/wcslen.c: Define and use WCSLEN.
48312 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48313 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48314 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48315 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48316 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48317 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48318 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48319
ce7dd29f
LD
483202011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48321
48322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48323 strnlen-sse2-no-bsf.
48324 Rename strlen-no-bsf to strlen-sse2-no-bsf.
48325 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48326 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48327 Add strnlen support.
48328 (USE_AS_STRNLEN): New macro.
48329 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48330 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48331 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48332 * sysdeps/x86_64/wcslen.S: New file.
48333
979c70a3
MZ
483342011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
48335
48336 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48337 XMM-moves are used for copying on small sizes.
48338
2d09f82f
LD
483392011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48340
48341 * wcsmbs/Makefile (strop-tests): Add wcschr.
48342 * wcsmbs/test-wcschr.c: New file.
48343 * string/test-strchr.c: Update.
48344 Add wcschr support.
48345 (WIDE): New macro.
48346
619fccca
LD
483472011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48348
2d09f82f 48349 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
48350 * wcsmbs/test-wcslen.c: New file.
48351 * string/test-strlen.c: Update.
48352 Add wcslen support.
48353 (WIDE): New macro.
48354
09f699ea
UD
483552011-10-23 Ulrich Drepper <drepper@gmail.com>
48356
48357 * po/it.po: Update from translation team.
48358
95584d3b
LD
483592011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48360
48361 * sysdeps/x86_64/wcscmp.S: Update.
48362 Fix wrong comparison semantics.
48363 wcscmp shall use signed comparison not unsigned.
48364 Don't use substraction to avoid overflow bug.
48365 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48366 * wcsmbc/wcscmp.c: Likewise.
48367 * string/test-strcmp.c: Likewise.
48368 Add new tests to check cases with negative values.
48369
c8b3296b
UD
483702011-10-23 Ulrich Drepper <drepper@gmail.com>
48371
48372 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48373 * sysdeps/x86_64/dla.h: ...here. New file.
48374 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48379 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48380 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48381 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48382 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48383
246ad57a
AS
483842011-10-23 Andreas Schwab <schwab@linux-m68k.org>
48385
48386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48387 __ynl_finite aliases.
48388
a1a87169
UD
483892011-10-22 Ulrich Drepper <drepper@gmail.com>
48390
0d355eb7
UD
48391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48392
a1a87169
UD
48393 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48394 define DLA_FMA.
48395 [DLA_FMA] (EMULV): Use DLA_FMA.
48396 [DLA_FMA] (MUL12): Use EMULV.
48397 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48398 that are not needed.
48399 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48402 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48403 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48404 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48406
ee2aafe0
AS
484072011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48408
48409 * math/s_nan.c: Undef __nan.
48410 * math/s_nanf.c: Undef __nanf.
48411 * math/s_nanl.c: Undef __nanl.
48412 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48413 "math_private.h".
48414
bc62c2fb
UD
484152011-10-22 Ulrich Drepper <drepper@gmail.com>
48416
77425c63
UD
48417 * math/s_catan.c: Add branch predictions.
48418 * math/s_catanf.c: Likewise.
48419 * math/s_catanh.c: Likewise.
48420 * math/s_catanhf.c: Likewise.
48421 * math/s_catanhl.c: Likewise.
48422 * math/s_catanl.c: Likewise.
48423 * math/s_cexp.c: Likewise.
48424 * math/s_cexpf.c: Likewise.
48425 * math/s_cexpl.c: Likewise.
48426 * math/s_clog.c: Likewise.
48427 * math/s_clog10.c: Likewise.
48428 * math/s_clog10f.c: Likewise.
48429 * math/s_clog10l.c: Likewise.
48430 * math/s_clogf.c: Likewise.
48431 * math/s_clogl.c: Likewise.
48432 * math/s_csqrt.c: Likewise.
48433 * math/s_csqrtf.c: Likewise.
48434 * math/s_csqrtl.c: Likewise.
48435 * math/s_ctanf.c: Likewise.
48436 * math/s_ctanh.c: Likewise.
48437 * math/s_ctanhf.c: Likewise.
48438 * math/s_ctanhl.c: Likewise.
48439 * math/s_ctanl.c: Likewise.
48440
bc62c2fb
UD
48441 * math/math_private.h: Define __nan, __nanf, __nanl.
48442 * math/s_cacosh.c: Include <math_private.h>.
48443 * math/s_cacoshl.c: Likewise.
48444 * math/s_casinh.c: Likewise.
48445 * math/s_casinhf.c: Likewise.
48446 * math/s_casinhl.c: Likewise.
48447 * math/s_ccos.c: Rely entire on ccosh.
48448 * math/s_ccosf.c: Rely entire on ccoshf.
48449 * math/s_ccosl.c: Rely entirely on ccoshl.
48450 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48451 Remove tests for FE_INVALID.
48452 * math/s_ccoshf.c: Likewise.
48453 * math/s_ccoshl.c: Likewise.
48454 * math/s_csin.c: Likewise.
48455 * math/s_csinf.c: Likewise.
48456 * math/s_csinh.c Likewise.
48457 * math/s_csinhf.c: Likewise.
48458 * math/s_csinhl.c: Likewise.
48459 * math/s_csinl.c: Likewise.
48460 * math/s_ctan.c: Likewise.
48461 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48462 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48463 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48464
8ec250a4
UD
484652011-10-21 Ulrich Drepper <drepper@gmail.com>
48466
c196fed8
UD
48467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48468 compilation problems.
48469
8ec250a4
UD
48470 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48471 __builtin_expect.
48472
8d4f46c6
UD
484732011-10-20 Ulrich Drepper <drepper@gmail.com>
48474
ed72b654
UD
48475 * sysdeps/i386/configure.in: Test for -mfma4 option.
48476 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48477 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48478 COMMON_CPUID_INDEX_80000001.
48479 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48480 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48481 use it if FMA3 is not supported.
48482 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48483
8d4f46c6
UD
48484 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48485 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48486
d45c60c2
AS
484872011-10-20 Andreas Schwab <schwab@redhat.com>
48488
48489 [BZ #12892]
48490 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48491 it would create a cycle with a link time dependency.
48492
d9a4d2ab
UD
484932011-10-19 Ulrich Drepper <drepper@gmail.com>
48494
855d1560
UD
48495 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48496 instruction.
48497 * string/Makefile (strop-tests): Add rawmemchr.
48498 * string/test-rawmemchr.c: New file.
48499
d9a4d2ab
UD
48500 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48501 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48502 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48503 when compiling str{,n}casecmp and when AVX is available. Hook up
48504 new optimized code in initializers.
48505
8f3b1ffe
AS
485062011-10-19 Andreas Schwab <schwab@redhat.com>
48507
48508 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48509 __feraiseexcept instead of feraiseexcept.
48510
d38f1dba
UD
485112011-10-18 Ulrich Drepper <drepper@gmail.com>
48512
d9a8d0ab
UD
48513 * math/math_private.h: Define defaults for libc_fetestexcept and
48514 libc_feupdateenv.
48515 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48516 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48517 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48518 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48519 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48520 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48521 libc_fetestexcept and libc_feupdateenv.
48522
4855e3dd
UD
48523 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48524 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48525 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48526 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48527 libc_feholdexcept_setround.
48528
581d30e3
UD
48529 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48530 Add s_nearbyint-c and s_nearbyintf-c.
48531 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48532 nearbyintf inlines.
48533 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48534 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48535 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48536 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48537
d38f1dba
UD
48538 * math/math_private.h: Define defaults for libc_fegetround,
48539 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48540 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48541 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48542 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48543 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48544 standard functions.
48545 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48546 Remove comments and hacks for old compiler versions.
48547 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48548 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48549 libc_feholdexceptl.
48550
caa6c9d8
AS
485512011-10-18 Andreas Schwab <schwab@redhat.com>
48552
48553 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
48554 (__feraiseexcept_renamed): Add __NTH.
48555 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
48556 namespace violations.
48557
97c066e6
UD
485582011-10-17 Ulrich Drepper <drepper@gmail.com>
48559
99ce7b04
UD
48560 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48561
1004d182
UD
48562 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48563
228a984d
UD
48564 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48565 recently added interfaces.
48566 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48567
c8553a6a
UD
48568 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48569 about macro parameter expansion.
48570
ed22dcf6
UD
48571 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48572 __NO_MATH_INLINES is defined. Cleanups.
48573
48574 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48575 and __floorf is target has SSE4.1.
48576 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48577 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48578 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48579 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48580
b171c137
UD
48581 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48582 name.
48583 (floorf): Likewise.
48584
97c066e6
UD
48585 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48586
629f62ef
AS
485872011-10-17 Andreas Schwab <schwab@redhat.com>
48588
49a43d80
AS
48589 * misc/sys/cdefs.h: Fix last change.
48590
629f62ef
AS
48591 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48592 database lookup.
48593
e453f6cd
UD
485942011-10-16 Ulrich Drepper <drepper@gmail.com>
48595
aa78043a
UD
48596 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48597
ad0f5cad
UD
48598 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48599 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48600 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48601 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48602 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48603 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48604 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48605 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48606 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48607 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48608 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48609 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48610 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48611 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48612 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48613 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48614 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48615 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48616 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48617 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48618 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48619 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48620
48621 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48622 ceil, ceilf, floor, floorf.
48623
48624 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48625 Perform IRELATIVE relocations last.
48626
e453f6cd
UD
48627 * elf/do-rel.h: Add another parameter nrelative, replacing the
48628 local variable with the same name. Change name of the function
48629 to end in Rel or Rela (uppercase).
48630 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48631 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48632 elf_dynamic_do_##reloc function.
48633
fd5bdc09
UD
486342011-10-15 Ulrich Drepper <drepper@gmail.com>
48635
79b195b5
UD
48636 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48637 is sufficient, at least on modern CPUs.
48638
d4a28569
UD
48639 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48640
b61099b5
UD
48641 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48642 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48643
bcf01e6d
UD
48644 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48645 __expl_finite.
48646 * math/bits/math-finite.h: Add entries for exp.
48647 * math/e_expl.c: Add __*_finite alias.
48648 * sysdeps/i386/fpu/e_exp.S: Likewise.
48649 * sysdeps/i386/fpu/e_expf.S: Likewise.
48650 * sysdeps/i386/fpu/e_expl.c: Likewise.
48651 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48652 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48653 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48654 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48655 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48656 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48657 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48658
ba1a0d59
UD
48659 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48660 is sufficient, at least on modern CPUs.
48661
fd5bdc09
UD
48662 * ctype/ctype-info.c (__ctype_init): Define.
48663 * include/ctype.h (__ctype_init): Declare.
48664 (__ctype_b_loc): The variable is always initialized.
48665 (__ctype_toupper_loc): Likewise.
48666 (__ctype_tolower_loc): Likewise.
48667 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48668 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48669
7872cfb0
AS
486702011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48671
b468825a
AS
48672 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48673
7872cfb0
AS
48674 * configure.in: Also look in $cxxmachine/include for C++ system
48675 headers.
48676
be13f7bf
LD
486772011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48678
48679 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48680 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48681 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48682 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48683 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48684 (USE_AS_WMEMCMP): New macro.
48685 Fixing indents.
48686 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48687 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48688 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48689 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48691 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48692 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48693 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48694 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48695 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48696 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48697 (USE_AS_WMEMCMP): New macro.
48698 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48699 * sysdeps/string/test-memcmp.c: Update.
48700 Fix simple_wmemcmp.
48701 Add new tests.
48702 * wcsmbs/wmemcmp.c: Update.
48703 (WMEMCMP): New macro.
48704 Fix overflow bug.
48705
556a2007
AJ
487062011-10-12 Andreas Jaeger <aj@suse.de>
48707
48708 [BZ #13268]
48709 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48710
538faaa7
UD
487112011-10-15 Ulrich Drepper <drepper@gmail.com>
48712
ab6737ff
UD
48713 * libio/iofwide.c (do_length): Avoid warning.
48714
538faaa7
UD
48715 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48716
396a21b1
UD
487172011-10-14 Ulrich Drepper <drepper@gmail.com>
48718
cdf2901f
UD
48719 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48720
38ad40ce
UD
48721 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48722 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48723 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48724 * sysdeps/i386/i686/fpu/e_log.S: New file.
48725 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48726 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48727
396a21b1
UD
48728 * ctype/ctype.h: Add support for inlined isXXX functions when
48729 compiling C++ code.
48730
6b1f68c9
AS
487312011-10-14 Andreas Schwab <schwab@redhat.com>
48732
349290c0
AS
48733 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48734
6b1f68c9
AS
48735 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48736
f2282d42
RM
487372011-10-13 Roland McGrath <roland@hack.frob.com>
48738
48739 [BZ #13291]
48740 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48741
5298ffa8
AS
487422011-10-13 Andreas Schwab <schwab@redhat.com>
48743
714fad23
AS
48744 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48745 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48746 feraiseexcept.
48747
81dcc7fb
AS
48748 * sysdeps/x86_64/memrchr.S: Check for zero size.
48749
5298ffa8
AS
48750 * string/stratcliff.c: Add memrchr tests.
48751
951fbcec
LD
487522011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48753
48754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48755 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48756 rawmemchr-sse2 rawmemchr-sse2-bsf.
48757 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48758 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48759 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48760 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48761 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48762 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48763 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48764 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48765 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48766 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48767 * string/memrchr.c (MEMRCHR): New macro.
48768
0ac5ae23
UD
487692011-10-12 Ulrich Drepper <drepper@gmail.com>
48770
48771 Add integration with gcc's -ffinite-math-only and optimize wrapper
48772 functions in libm.
48773 * Versions.def: Define GLIBC_2.15 version for libm.
48774 * math/Makefile (headers): Add bits/math-finite.h.
48775 * math/bits/math-finite.h: New file.
48776 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48777 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48778 * math/e_acoshl.c: Add __*_finite alias.
48779 * math/e_acosl.c: Likewise.
48780 * math/e_asinl.c: Likewise.
48781 * math/e_atan2l.c: Likewise.
48782 * math/e_atanhl.c: Likewise.
48783 * math/e_coshl.c: Likewise.
48784 * math/e_exp10.c: Likewise.
48785 * math/e_exp10f.c: Likewise.
48786 * math/e_exp10l.c: Likewise.
48787 * math/e_exp2l.c: Likewise.
48788 * math/e_fmodl.c: Likewise.
48789 * math/e_gammal_r.c: Likewise.
48790 * math/e_hypotl.c: Likewise.
48791 * math/e_j0l.c: Likewise.
48792 * math/e_j1l.c: Likewise.
48793 * math/e_jnl.c: Likewise.
48794 * math/e_lgammal_r.c: Likewise.
48795 * math/e_log10l.c: Likewise.
48796 * math/e_log2l.c: Likewise.
48797 * math/e_logl.c: Likewise.
48798 * math/e_powl.c: Likewise.
48799 * math/e_sinhl.c: Likewise.
48800 * math/e_sqrtl.c: Likewise.
48801 * math/e_scalb.c: Completely rewritten and optimized.
48802 * math/e_scalbf.c: Likewise.
48803 * math/e_scalbl.c: Likewise.
48804 * math/w_acos.c: Likewise.
48805 * math/w_acosf.c: Likewise.
48806 * math/w_acosl.c: Likewise.
48807 * math/w_acosh.c: Likewise.
48808 * math/w_acoshf.c: Likewise.
48809 * math/w_acoshl.c: Likewise.
48810 * math/w_asin.c: Likewise.
48811 * math/w_asinf.c: Likewise.
48812 * math/w_asinl.c: Likewise.
48813 * math/w_atan2.c: Likewise.
48814 * math/w_atan2f.c: Likewise.
48815 * math/w_atan2l.c: Likewise.
48816 * math/w_atanh.c: Likewise.
48817 * math/w_atanhf.c: Likewise.
48818 * math/w_atanhl.c: Likewise.
48819 * math/w_exp10.c: Likewise.
48820 * math/w_exp10f.c: Likewise.
48821 * math/w_exp10l.c: Likewise.
48822 * math/w_fmod.c: Likewise.
48823 * math/w_fmodf.c: Likewise.
48824 * math/w_fmodl.c: Likewise.
48825 * math/w_j0.c: Likewise.
48826 * math/w_j0f.c: Likewise.
48827 * math/w_j0l.c: Likewise.
48828 * math/w_j1.c: Likewise.
48829 * math/w_j1f.c: Likewise.
48830 * math/w_j1l.c: Likewise.
48831 * math/w_jn.c: Likewise.
48832 * math/w_jnf.c: Likewise.
48833 * math/w_log.c: Likewise.
48834 * math/w_logf.c: Likewise.
48835 * math/w_logl.c: Likewise.
48836 * math/w_log10.c: Likewise.
48837 * math/w_log10f.c: Likewise.
48838 * math/w_log10l.c: Likewise.
48839 * math/w_log2.c: Likewise.
48840 * math/w_log2f.c: Likewise.
48841 * math/w_log2l.c: Likewise.
48842 * math/w_pow.c: Likewise.
48843 * math/w_powf.c: Likewise.
48844 * math/w_powl.c: Likewise.
48845 * math/w_remainder.c: Likewise.
48846 * math/w_remainderf.c: Likewise.
48847 * math/w_remainderl.c: Likewise.
48848 * math/w_scalb.c: Likewise.
48849 * math/w_scalbf.c: Likewise.
48850 * math/w_scalbl.c: Likewise.
48851 * math/w_sqrt.c: Likewise.
48852 * math/w_sqrtf.c: Likewise.
48853 * math/w_sqrtl.c: Likewise.
48854 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48855 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48856 used.
48857 * math/math_private.h: Declare __kernel_standard_f.
48858 * math/w_cosh.c: Remove cruft and optimize a bit.
48859 * math/w_coshf.c: Likewise.
48860 * math/w_coshl.c: Likewise.
48861 * math/w_exp2.c: Likewise.
48862 * math/w_exp2f.c: Likewise.
48863 * math/w_exp2l.c: Likewise.
48864 * math/w_hypot.c: Likewise.
48865 * math/w_hypotf.c: Likewise.
48866 * math/w_hypotl.c: Likewise.
48867 * math/w_lgamma.c: Likewise.
48868 * math/w_lgamma_r.c: Likewise.
48869 * math/w_lgammaf.c: Likewise.
48870 * math/w_lgammaf_r.c: Likewise.
48871 * math/w_lgammal.c: Likewise.
48872 * math/w_lgammal_r.c: Likewise.
48873 * math/w_sinh.c: Likewise.
48874 * math/w_sinhf.c: Likewise.
48875 * math/w_sinhl.c: Likewise.
48876 * math/w_tgamma.c: Likewise.
48877 * math/w_tgammaf.c: Likewise.
48878 * math/w_tgammal.c: Likewise.
48879 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48880 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48881 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48882 Minor optimizations. Pretty printing. Remove cruft.
48883 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48884 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48885 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48886 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48887 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48888 * sysdeps/i386/fpu/e_asin.S: Likewise.
48889 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48890 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48891 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48892 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48893 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48894 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48895 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48896 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48897 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48898 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48899 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48900 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48901 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48902 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48903 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48904 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48905 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48906 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48907 * sysdeps/i386/fpu/e_log.S: Likewise.
48908 * sysdeps/i386/fpu/e_log10.S: Likewise.
48909 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48910 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48911 * sysdeps/i386/fpu/e_log2.S: Likewise.
48912 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48913 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48914 * sysdeps/i386/fpu/e_logf.S: Likewise.
48915 * sysdeps/i386/fpu/e_logl.S: Likewise.
48916 * sysdeps/i386/fpu/e_pow.S: Likewise.
48917 * sysdeps/i386/fpu/e_powf.S: Likewise.
48918 * sysdeps/i386/fpu/e_powl.S: Likewise.
48919 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48920 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48921 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48922 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48923 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48924 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48925 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48926 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48927 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48928 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48929 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48930 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48931 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48932 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48933 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48934 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48935 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48936 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48937 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48938 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48939 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48941 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48942 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48944 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48945 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48946 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48947 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48948 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48949 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48950 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48951 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48952 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48953 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48954 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48955 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48956 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48957 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48958 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48959 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48960 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48961 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48962 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48963 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48964 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48965 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48966 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48967 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48968 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48969 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48970 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48971 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48972 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48973 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48974 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48975 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48976 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48977 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48978 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48979 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48980 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48981 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48982 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48983 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48984 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48985 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48986 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48987 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48988 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48989 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48991 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48992 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48993 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48994 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48995 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48996 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48997 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48998 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48999 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49000 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49001 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49002 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49003 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49004 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49005 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49006 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49007 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49008 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49009 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49010 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49011 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49012 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49013 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49014 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49015 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49016 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49017 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49018 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49019 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49020 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49021 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49022 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49023 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49024 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49025 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49026 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49027 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49028 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49029 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49030 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49031 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49032 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49033 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49034 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49035 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49036 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49037 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49038 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
49039 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49040 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49041 (__isnanf): Likewise.
49042 (__isinf_ns): Likewise.
49043 (__isinf_nsf): Likewise.
49044 (__finite): Likewise.
49045 (__finitef): Likewise.
49046 (__ieee754_sqrt): Define as macro.
49047 (__ieee754_sqrtf): Define as macro.
49048 (__ieee754_sqrtl): Define as macro.
49049 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49050 inlined copy.
49051 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49052 __FINITE_MATH_ONLY__ consistent.
49053 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49054
12cc2fcd
AS
490552011-10-10 Andreas Schwab <schwab@linux-m68k.org>
49056
a843a204
AS
49057 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49058 of rawmemchr.
49059
12cc2fcd
AS
49060 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49061
c853acd5
UD
490622011-10-09 Ulrich Drepper <drepper@gmail.com>
49063
49064 * po/ja.po: Update from translation team.
49065
c658d255
RM
490662011-10-08 Roland McGrath <roland@hack.frob.com>
49067
110946e4
RM
49068 * locale/programs/locarchive.c (prepare_address_space): New function.
49069 (create_archive, enlarge_archive, open_archive): Use it.
49070
50604220
RM
49071 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49072 inside [SHARED], where it is used.
49073
c658d255
RM
49074 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49075
49076 * nss/getent.c (netgroup_keys): Remove unused variable.
49077 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49078
6a621eb7
UD
490792011-10-08 Ulrich Drepper <drepper@gmail.com>
49080
7edb55ce
UD
49081 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49082 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49084 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49085 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49086 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49087 * math/Makefile (libm-calls): Add s_isinf_ns.
49088 * math/divtc3.c: Use __isinf_nsl instead of isinf.
49089 * math/multc3.c: Likewise.
49090 * math/s_casin.c: Likewise.
49091 * math/s_casinf.c: Likewise.
49092 * math/s_casinl.c: Likewise.
49093 * math/s_ccos.c: Likewise.
49094 * math/s_ccosf.c: Likewise.
49095 * math/s_ccosl.c: Likewise.
49096 * math/s_ctan.c: Likewise.
49097 * math/s_ctanf.c: Likewise.
49098 * math/s_ctanh.c: Likewise.
49099 * math/s_ctanhf.c: Likewise.
49100 * math/s_ctanhl.c: Likewise.
49101 * math/s_ctanl.c: Likewise.
49102 * math/w_fmod.c: Likewise.
49103 * math/w_fmodf.c: Likewise.
49104 * math/w_fmodl.c: Likewise.
49105 * math/w_remainder.c: Likewise.
49106 * math/w_remainderf.c: Likewise.
49107 * math/w_remainderl.c: Likewise.
49108 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49109 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49110 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49111 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49112 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49113 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49114 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49115 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49116
187da0ae
UD
49117 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49118 of the number.
49119 * stdio-common/printf_fphex.c: Likewise.
49120 * stdio-common/printf_size.c: Likewise.
49121
9277c064
UD
49122 * math/e_exp10.c: Include math_private.h using <...> not "...".
49123 * math/e_exp10f.c: Likewise.
49124 * math/e_exp10l.c: Likewise.
49125 * math/e_exp2l.c: Likewise.
49126 * math/e_j0l.c: Likewise.
49127 * math/e_j1l.c: Likewise.
49128 * math/e_jnl.c: Likewise.
49129 * math/e_lgammal_r.c: Likewise.
49130 * math/e_rem_pio2l.c: Likewise.
49131 * math/e_scalb.c: Likewise.
49132 * math/e_scalbf.c: Likewise.
49133 * math/e_scalbl.c: Likewise.
49134 * math/k_cosl.c: Likewise.
49135 * math/k_sinl.c: Likewise.
49136 * math/k_tanl.c: Likewise.
49137 * math/s_cacoshf.c: Likewise.
49138 * math/s_catan.c: Likewise.
49139 * math/s_catanf.c: Likewise.
49140 * math/s_catanh.c: Likewise.
49141 * math/s_catanhf.c: Likewise.
49142 * math/s_catanhl.c: Likewise.
49143 * math/s_catanl.c: Likewise.
49144 * math/s_ccosh.c: Likewise.
49145 * math/s_ccoshf.c: Likewise.
49146 * math/s_ccoshl.c: Likewise.
49147 * math/s_cexp.c: Likewise.
49148 * math/s_cexpf.c: Likewise.
49149 * math/s_cexpl.c: Likewise.
49150 * math/s_clog.c: Likewise.
49151 * math/s_clog10.c: Likewise.
49152 * math/s_clog10f.c: Likewise.
49153 * math/s_clog10l.c: Likewise.
49154 * math/s_clogf.c: Likewise.
49155 * math/s_clogl.c: Likewise.
49156 * math/s_csin.c: Likewise.
49157 * math/s_csinf.c: Likewise.
49158 * math/s_csinh.c: Likewise.
49159 * math/s_csinhf.c: Likewise.
49160 * math/s_csinhl.c: Likewise.
49161 * math/s_csinl.c: Likewise.
49162 * math/s_csqrt.c: Likewise.
49163 * math/s_csqrtf.c: Likewise.
49164 * math/s_csqrtl.c: Likewise.
49165 * math/s_ctan.c: Likewise.
49166 * math/s_ctanf.c: Likewise.
49167 * math/s_ctanh.c: Likewise.
49168 * math/s_ctanhf.c: Likewise.
49169 * math/s_ctanhl.c: Likewise.
49170 * math/s_ctanl.c: Likewise.
49171 * math/s_ldexp.c: Likewise.
49172 * math/s_ldexpf.c: Likewise.
49173 * math/s_ldexpl.c: Likewise.
49174 * math/s_significand.c: Likewise.
49175 * math/s_significandf.c: Likewise.
49176 * math/s_significandl.c: Likewise.
49177 * math/w_acos.c: Likewise.
49178 * math/w_acosf.c: Likewise.
49179 * math/w_acosh.c: Likewise.
49180 * math/w_acoshf.c: Likewise.
49181 * math/w_acoshl.c: Likewise.
49182 * math/w_acosl.c: Likewise.
49183 * math/w_asin.c: Likewise.
49184 * math/w_asinf.c: Likewise.
49185 * math/w_asinl.c: Likewise.
49186 * math/w_atan2.c: Likewise.
49187 * math/w_atan2f.c: Likewise.
49188 * math/w_atan2l.c: Likewise.
49189 * math/w_atanh.c: Likewise.
49190 * math/w_atanhf.c: Likewise.
49191 * math/w_atanhl.c: Likewise.
49192 * math/w_cosh.c: Likewise.
49193 * math/w_coshf.c: Likewise.
49194 * math/w_coshl.c: Likewise.
49195 * math/w_dremf.c: Likewise.
49196 * math/w_exp10.c: Likewise.
49197 * math/w_exp10f.c: Likewise.
49198 * math/w_exp10l.c: Likewise.
49199 * math/w_exp2.c: Likewise.
49200 * math/w_exp2f.c: Likewise.
49201 * math/w_fmod.c: Likewise.
49202 * math/w_fmodf.c: Likewise.
49203 * math/w_fmodl.c: Likewise.
49204 * math/w_hypot.c: Likewise.
49205 * math/w_hypotf.c: Likewise.
49206 * math/w_hypotl.c: Likewise.
49207 * math/w_j0.c: Likewise.
49208 * math/w_j0f.c: Likewise.
49209 * math/w_j0l.c: Likewise.
49210 * math/w_j1.c: Likewise.
49211 * math/w_j1f.c: Likewise.
49212 * math/w_j1l.c: Likewise.
49213 * math/w_jn.c: Likewise.
49214 * math/w_jnf.c: Likewise.
49215 * math/w_jnl.c: Likewise.
49216 * math/w_lgamma.c: Likewise.
49217 * math/w_lgamma_r.c: Likewise.
49218 * math/w_lgammaf.c: Likewise.
49219 * math/w_lgammaf_r.c: Likewise.
49220 * math/w_lgammal.c: Likewise.
49221 * math/w_lgammal_r.c: Likewise.
49222 * math/w_log.c: Likewise.
49223 * math/w_log10.c: Likewise.
49224 * math/w_log10f.c: Likewise.
49225 * math/w_log10l.c: Likewise.
49226 * math/w_log2.c: Likewise.
49227 * math/w_log2f.c: Likewise.
49228 * math/w_log2l.c: Likewise.
49229 * math/w_logf.c: Likewise.
49230 * math/w_logl.c: Likewise.
49231 * math/w_pow.c: Likewise.
49232 * math/w_powf.c: Likewise.
49233 * math/w_powl.c: Likewise.
49234 * math/w_remainder.c: Likewise.
49235 * math/w_remainderf.c: Likewise.
49236 * math/w_remainderl.c: Likewise.
49237 * math/w_scalb.c: Likewise.
49238 * math/w_scalbf.c: Likewise.
49239 * math/w_scalbl.c: Likewise.
49240 * math/w_sinh.c: Likewise.
49241 * math/w_sinhf.c: Likewise.
49242 * math/w_sinhl.c: Likewise.
49243 * math/w_sqrt.c: Likewise.
49244 * math/w_sqrtf.c: Likewise.
49245 * math/w_sqrtl.c: Likewise.
49246 * math/w_tgamma.c: Likewise.
49247 * math/w_tgammaf.c: Likewise.
49248 * math/w_tgammal.c: Likewise.
49249
6a621eb7
UD
49250 * po/ja.po: Update from translation team.
49251
bf582445
AJ
492522011-09-29 Andreas Jaeger <aj@suse.de>
49253
f9efbf3a
AJ
49254 [BZ #13179]
49255 * sunrpc/netname.c (netname2host): Fix logic.
49256
bf582445
AJ
49257 [BZ #6779]
49258 [BZ #6783]
49259 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49260 correctly.
49261 * math/w_remainder.c (__remainder): Likewise.
49262 * math/w_remainderf.c (__remainderf): Likewise.
49263 * math/libm-test.inc (remainder_test): Add test cases.
49264
48693bea
AK
492652011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49266
49267 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
49268 sdiv_qrnnd.
49269
42622229
LD
492702011-10-07 Ulrich Drepper <drepper@gmail.com>
49271
49272 * string/test-memcmp.c: Avoid unncessary #defines.
49273 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49274
093ecf92
LD
492752011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49276
49277 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49278 Use new sse2 version for core i3 - i7 as it's faster
49279 than sse42 version.
49280 (bit_Prefer_PMINUB_for_stringop): New.
49281 * sysdeps/x86_64/rawmemchr.S: Update.
49282 Replace with faster SSE2 version.
49283 * sysdeps/x86_64/memrchr.S: New file.
49284 * sysdeps/x86_64/memchr.S: Update.
49285 Replace with faster SSE2 version.
49286
fde56e5c
MP
492872011-09-12 Marek Polacek <mpolacek@redhat.com>
49288
49289 * elf/dl-load.c (lose): Add cast to avoid warning.
49290
21fd49a9
UD
492912011-10-07 Ulrich Drepper <drepper@gmail.com>
49292
5a06e643
UD
49293 * po/ca.po: Update from translation team.
49294
684ae515
UD
49295 * inet/getnetgrent_r.c: Hook up nscd.
49296 * nscd/Makefile (routines): Add nscd_netgroup.
49297 (nscd-modules): Add netgroupcache.
49298 (CFLAGS-netgroupcache.c): Define.
49299 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49300 (cache_search): Add const to second parameter.
49301 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49302 INNETGR.
49303 (dbs): Add netgrdb entry.
49304 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49305 (verify_persistent_db): Handle netgrdb.
49306 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49307 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49308 GETFDNETGR.
49309 (netgroup_response_header): Define.
49310 (innetgroup_response_header): Define.
49311 (datahead): Add netgroup_response_header and innetgroup_response_header
49312 elements.
49313 * nscd/nscd.conf: Add entries for netgroup cache.
49314 * nscd/nscd.h (dbtype): Add netgrdb.
49315 (_PATH_NSCD_NETGROUP_DB): Define.
49316 (netgroup_iov_disabled): Declare.
49317 (xmalloc, xcalloc, xrealloc): Move declarations here.
49318 (cache_search): Adjust prototype.
49319 Add netgroup-related prototypes.
49320 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49321 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49322 (__nscd_innetgr): Declare.
49323 * nscd/selinux.c (perms): Use access_vector_t as element type and
49324 add netgroup-related initializers.
49325 * nscd/netgroupcache.c: New file.
49326 * nscd/nscd_netgroup.c: New file.
49327 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49328 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49329 For four parameters use innetgr.
49330 * nss/nss_files/files-init.c: Add definition and callback for netgr.
49331 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49332 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49333 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49334
21fd49a9
UD
49335 * nscd/connections.c (register_traced_file): Don't register file
49336 for disabled databases.
49337
054c0457
UD
493382011-10-06 Ulrich Drepper <drepper@gmail.com>
49339
32b63198
UD
49340 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49341
054c0457
UD
49342 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49343 from tree and freeing node.
49344
64031225
JO
493452011-09-25 Jiri Olsa <jolsa@redhat.com>
49346
49347 * nss/nsswitch.c (__nss_database_lookup): Handle
49348 nss_parse_service_list out of memory case.
49349
0490345c
JO
493502011-09-15 Jiri Olsa <jolsa@redhat.com>
49351
49352 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49353 out of memory case.
49354
3a62d00d
AS
493552011-10-04 Andreas Schwab <schwab@redhat.com>
49356
49357 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49358 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49359 pass it down.
49360 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49361 elf_machine_rela, elf_machine_lazy_rel.
49362 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49363 (ELF_DYNAMIC_DO_REL): Likewise.
49364 (ELF_DYNAMIC_DO_RELA): Likewise.
49365 (ELF_DYNAMIC_RELOCATE): Likewise.
49366 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49367 to ELF_DYNAMIC_DO_REL.
49368 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49369 (dl_main): In trace mode always set __RTLD_NOIFUNC.
49370 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49371 elf_machine_rela.
49372 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49373 skip_ifunc, don't call ifunc function if non-zero.
49374 (elf_machine_rela): Likewise.
49375 (elf_machine_lazy_rel): Likewise.
49376 (elf_machine_lazy_rela): Likewise.
49377 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49378 (elf_machine_lazy_rel): Likewise.
49379 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49380 Likewise.
49381 (elf_machine_lazy_rel): Likewise.
49382 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49383 Likewise.
49384 (elf_machine_lazy_rel): Likewise.
49385 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49386 (elf_machine_lazy_rel): Likewise.
49387 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49388 (elf_machine_lazy_rel): Likewise.
49389 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49390 (elf_machine_lazy_rel): Likewise.
49391 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49392 (elf_machine_lazy_rel): Likewise.
49393 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49394 (elf_machine_lazy_rel): Likewise.
49395 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49396 (elf_machine_lazy_rel): Likewise.
49397
68577918
UD
493982011-09-28 Ulrich Drepper <drepper@gmail.com>
49399
49400 * nss/nss_files/files-init.c (_nss_files_init): Use static
49401 initialization for all the *_traced_file variables.
49402
68822d74
AS
494032011-09-28 Andreas Schwab <schwab@redhat.com>
49404
49405 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49406
2056100b
RM
494072011-09-27 Roland McGrath <roland@hack.frob.com>
49408
49409 [BZ #13226]
49410 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49411
32c76b63
AS
494122011-09-27 Andreas Schwab <schwab@redhat.com>
49413
49414 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49415 Reread the line before reparsing it.
49416
bf972c9d
AS
494172011-09-26 Andreas Schwab <schwab@redhat.com>
49418
49419 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49420
e057a1b5
JM
494212011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49422 Maxim Kuvyrkov <maxim@codesourcery.com>
49423 Joseph Myers <joseph@codesourcery.com>
49424
49425 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49426 if needed for __stack_chk_guard.
49427
bc7e1c36
RM
494282011-09-19 Roland McGrath <roland@hack.frob.com>
49429
ecb1482f
RM
49430 * sysdeps/posix/spawni.c (script_execute): Always define it.
49431 It will be optimized away if unused.
49432 (maybe_script_execute): New function.
49433 (__spawni): Call it.
49434
bc7e1c36
RM
49435 * Makerules: Don't include tls.make.
49436 (config-tls): Always set to thread.
49437 * tls.make.c: File removed.
49438
1c3b002b
MF
494392011-09-19 Mike Frysinger <vapier@gentoo.org>
49440
49441 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49442 * config.make.in (CPPFLAGS-config): New substituted variable.
49443
2840865d
UD
494442011-09-15 Ulrich Drepper <drepper@gmail.com>
49445
88738eb6
UD
49446 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49447
cbf645a6 49448 [BZ #13192]
2840865d
UD
49449 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49450 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49451
b402e91a
RM
494522011-09-15 Roland McGrath <roland@hack.frob.com>
49453
49454 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49455 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49456 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49457 (CALL_FAIL): Likewise.
49458 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49459 (CALL_FAIL): Macro removed.
49460 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49461
4c1a1f71
UD
494622011-09-15 Ulrich Drepper <drepper@gmail.com>
49463
49464 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49465 for __FINITE_MATH_ONLY__ == 1.
49466
edc121be
AS
494672011-09-15 Andreas Schwab <schwab@redhat.com>
49468
49469 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49470 __ieee754_sqrt instead of sqrt.
49471 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49472 __ieee754_sqrtf instead of sqrtf.
49473 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49474 __floorf instead of floorf.
49475 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49476 __floorf, __truncf instead of floorf, truncf.
49477
cd205654
UD
494782011-09-14 Ulrich Drepper <drepper@gmail.com>
49479
ee4d0315
UD
49480 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49481
cd205654
UD
49482 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49483 __extern_always_inline.
49484 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49485 32-bit.
49486
48b67d71
AS
494872011-09-14 Andreas Schwab <schwab@redhat.com>
49488
49489 * elf/rtld.c (dl_main): Also relocate in dependency order when
49490 doing symbol dependency testing.
49491
1ae12c75
AS
494922011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49493
49494 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49495 Always define `refsym'.
49496
995a80df
AS
494972011-09-13 Andreas Schwab <schwab@redhat.com>
49498
e529793b
AS
49499 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49500 (__FD_ELT): Renamed from __FDELT.
49501 * misc/bits/select2.h (__FD_ELT): Likewise.
49502 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49503 __FD_MASK instead of __FDELT, __FDMASK.
49504 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49505 Likewise.
49506 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49507 Likewise.
49508
52d4fef8
AS
49509 * elf/Makefile (gen-ldd): Fix pattern.
49510
995a80df
AS
49511 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49512 (init_tls): Likewise.
49513
8682f8b0
UD
495142011-09-12 Ulrich Drepper <drepper@gmail.com>
49515
49516 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49517
de82006d
AS
495182011-09-12 Andreas Schwab <schwab@redhat.com>
49519
a7c8e6a1
AS
49520 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49521 `struct cmsghdr *' instead of `void *'.
49522 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49523 Likewise.
49524
0f31fe77
AS
495252011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49526
49527 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49528 if non-absolute.
49529 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49530 ldd_rewrite_script.
0f31fe77 49531
32b4c839
UD
495322011-09-11 Ulrich Drepper <drepper@gmail.com>
49533
83cd1420
UD
49534 * configure.in: Remove --with-tls option.
49535 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49536 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49537 out in case it is missing.
49538 * sysdeps/ia64/elf/configure.in: Likewise.
49539 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49540 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49541 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49542 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49543 * sysdeps/sh/elf/configure.in: Likewise.
49544 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49545 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49546 * sysdeps/x86_64/elf/configure.in: Likewise.
49547 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49548 * sysdeps/mach/hurd/tls.h: Likewise.
49549
633f745d
UD
49550 [BZ #13067]
49551 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49552
f318beb8
UD
49553 [BZ #13090]
49554 * configure.in: Fix use of AC_INIT.
49555
32b4c839
UD
49556 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49557
3ce1f295
UD
495582011-09-10 Ulrich Drepper <drepper@gmail.com>
49559
bb016596
UD
49560 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49561 __set_errno.
8e58439c
UD
49562 * malloc/hooks.c: Likewise.
49563
aebae053 49564 [BZ #11929]
02d46fc4
UD
49565 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49566 variables statically.
49567 (narenas): Initialize.
49568 (list_lock): Initialize.
bb016596
UD
49569 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49570 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
49571 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49572 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49573 Add initializers to main_arena and mp_.
49574 (malloc_state): Remove pagesize member. Change all users to use
49575 GLRO(dl_pagesize).
49576
49577 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49578 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49579 is always initialized.
49580
22a89187
UD
49581 * malloc/malloc.c: Removed unused configurations and dead code.
49582 * malloc/arena.c: Likewise.
49583 * malloc/hooks.c: Likewise.
02d46fc4 49584 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 49585
d063d164
UD
49586 * include/tls.h: Removed. USE___THREAD must always be defined.
49587 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49588 * elf/dl-libc.c: Likewise.
49589 * elf/dl-tsd.c: Likewise.
49590 * include/errno.h: Likewise.
49591 * include/netdb.h: Likewise.
49592 * include/resolv.h: Likewise.
49593 * inet/herrno-loc.c: Likewise.
49594 * inet/herrno.c: Likewise.
49595 * malloc/arena.c: Likewise.
49596 * malloc/hooks.c: Likewise.
49597 * malloc/malloc.c: Likewise.
49598 * resolv/res-state.c: Likewise.
49599 * resolv/res_libc.c: Likewise.
49600 * sysdeps/i386/dl-machine.h: Likewise.
49601 * sysdeps/ia64/dl-machine.h: Likewise.
49602 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49603 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49604 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49605 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49606 * sysdeps/sh/dl-machine.h: Likewise.
49607 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49608 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49609 * sysdeps/unix/i386/sysdep.S: Likewise.
49610 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49611 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49612 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49613 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49614 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49615 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49616 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49618 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49620 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49621 * sysdeps/x86_64/dl-machine.h: Likewise.
49622 * tls.make.c: Likewise.
49623
3ce1f295
UD
49624 * configure.in: Remove --with-__thread option. Make tests for
49625 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49626 tls_model attribute fail if no support is available. Remove
49627 USE_IN_LIBIO.
49628 * Makeconfig: Adjust for dropped configure option. All features are
49629 now mandatory.
49630 * Makerules: Likewise.
49631 * Versions.def: Likewise.
49632 * argp/argp-fmtstream.c: Likewise.
49633 * argp/argp-fmtstream.h: Likewise.
49634 * argp/argp-help.c: Likewise.
49635 * assert/assert.c: Likewise.
49636 * config.h.in: Likewise.
49637 * config.make.in: Likewise.
49638 * configure: Likewise.
49639 * configure.in: Likewise.
49640 * csu/Versions: Likewise.
49641 * csu/init.c: Likewise.
49642 * elf/tst-audit2.c: Likewise.
49643 * elf/tst-tls10.c: Likewise.
49644 * elf/tst-tls10.h: Likewise.
49645 * elf/tst-tls11.c: Likewise.
49646 * elf/tst-tls12.c: Likewise.
49647 * elf/tst-tls14.c: Likewise.
49648 * elf/tst-tlsmod11.c: Likewise.
49649 * elf/tst-tlsmod12.c: Likewise.
49650 * elf/tst-tlsmod13.c: Likewise.
49651 * elf/tst-tlsmod13a.c: Likewise.
49652 * elf/tst-tlsmod14a.c: Likewise.
49653 * elf/tst-tlsmod15b.c: Likewise.
49654 * elf/tst-tlsmod16a.c: Likewise.
49655 * elf/tst-tlsmod16b.c: Likewise.
49656 * elf/tst-tlsmod7.c: Likewise.
49657 * elf/tst-tlsmod8.c: Likewise.
49658 * elf/tst-tlsmod9.c: Likewise.
49659 * gmon/gmon.c: Likewise.
49660 * grp/fgetgrent_r.c: Likewise.
49661 * grp/putgrent.c: Likewise.
49662 * hurd/fopenport.c: Likewise.
49663 * include/libc-symbols.h: Likewise.
49664 * include/tls.h: Likewise.
49665 * intl/gettextP.h: Likewise.
49666 * intl/loadinfo.h: Likewise.
49667 * locale/global-locale.c: Likewise.
49668 * locale/localeinfo.h: Likewise.
49669 * mach/devstream.c: Likewise.
49670 * malloc/arena.c: Likewise.
49671 * malloc/set-freeres.c: Likewise.
49672 * misc/err.c: Likewise.
49673 * misc/getttyent.c: Likewise.
49674 * misc/mntent_r.c: Likewise.
49675 * posix/getopt.c: Likewise.
49676 * posix/wordexp.c: Likewise.
49677 * pwd/fgetpwent_r.c: Likewise.
49678 * resolv/Versions: Likewise.
49679 * resolv/res_hconf.c: Likewise.
49680 * shadow/fgetspent_r.c: Likewise.
49681 * shadow/putspent.c: Likewise.
49682 * stdio-common/printf_fphex.c: Likewise.
49683 * stdio-common/tmpfile.c: Likewise.
49684 * stdlib/abort.c: Likewise.
49685 * stdlib/fmtmsg.c: Likewise.
49686 * sunrpc/auth_unix.c: Likewise.
49687 * sunrpc/clnt_perr.c: Likewise.
49688 * sunrpc/clnt_tcp.c: Likewise.
49689 * sunrpc/clnt_udp.c: Likewise.
49690 * sunrpc/clnt_unix.c: Likewise.
49691 * sunrpc/openchild.c: Likewise.
49692 * sunrpc/svc_simple.c: Likewise.
49693 * sunrpc/svc_tcp.c: Likewise.
49694 * sunrpc/svc_udp.c: Likewise.
49695 * sunrpc/svc_unix.c: Likewise.
49696 * sunrpc/xdr.c: Likewise.
49697 * sunrpc/xdr_array.c: Likewise.
49698 * sunrpc/xdr_rec.c: Likewise.
49699 * sunrpc/xdr_ref.c: Likewise.
49700 * sunrpc/xdr_stdio.c: Likewise.
49701
1248c1c4
PB
497022011-09-09 Ulrich Drepper <drepper@gmail.com>
49703
49704 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49705
497062011-07-03 Andreas Jaeger <aj@suse.de>
49707
49708 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49709 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49710 regenerate with gen-libm-tests.pl.
49711
497122010-05-12 Petr Baudis <pasky@suse.cz>
49713
49714 [BZ #11589]
49715 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49716 around j0() zero points by switching to j1().
49717 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49718 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49719 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49720 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49721
f22e1074
UD
497222011-09-09 Ulrich Drepper <drepper@gmail.com>
49723
f19009c1
UD
49724 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49725 instead of 0.
49726 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 49727 instead of 0.
f19009c1
UD
49728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49729 Patch in part by Pavel Roskin <proski@gnu.org>.
49730
3f8cc204
UD
49731 [BZ #13138]
49732 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49733 realloc.
49734 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49735 Free memory block if necessary.
49736
f22e1074
UD
49737 [BZ #12847]
49738 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49739 be NULL. Don't lock in this case.
49740
0a2349f9
RM
497412011-09-09 Roland McGrath <roland@hack.frob.com>
49742
49743 * elf/elf.h (ELFOSABI_GNU): New macro.
49744 (ELFOSABI_LINUX): Define to that.
49745
f3cdd467
DZ
497462011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49747
49748 * string/strncat.c (strncat): Undef the symbol in case it has been
49749 defined in bits/string.h.
49750
74718d13
UD
497512011-09-09 Ulrich Drepper <drepper@gmail.com>
49752
633e9e0f
UD
49753 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49754
0a2349f9 49755 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
49756 link map.
49757
f9924780
AJ
497582011-08-17 Andreas Jaeger <aj@suse.de>
49759
49760 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49761
7f5517aa
PP
497622011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49763 Ian Lance Taylor <iant@google.com>
49764
49765 * math/libm-test.inc (lround_test): New testcase.
49766 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49767
762011fe
UD
497682011-09-08 Ulrich Drepper <drepper@gmail.com>
49769
92963737
UD
49770 * Makefile: Remove support for automatic cvs check-ins.
49771 * Makerules: Likewise.
49772 * config.make.in: Likewise.
49773 * configure.in: Likewise.
49774 * intl/Makefile: Likewise.
49775 * locale/Makefile: Likewise.
49776 * po/Makefile: Likewise.
49777 * posix/Makefile: Likewise.
49778 * sysdeps/gnu/Makefile: Likewise.
49779 * sysdeps/mach/hurd/Makefile: Likewise.
49780 * sysdeps/sparc/sparc32/Makefile: Likewise.
49781
b0727fd8
JS
49782 [BZ #13118]
49783 * posix/Makefile (bug-regex32-ENV): Define.
49784 Patch by John Stanley <jpsinthemix@verizon.net>.
49785
a0f33f99
UD
49786 * misc/Makefile (headers): Add bits/select2.h.
49787 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49788 * misc/bits/select2.h: New file.
49789 * include/bits/select2.h: New file.
49790 * debug/Makefile (routines): Add fdelt_chk.
49791 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49792 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49793 FD_ISSET.
49794 * debug/fdelt_chk.c: New file.
49795
762011fe
UD
49796 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49797 * wcsmbs/test-wmemcmp.c: Likewise.
49798 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 49799 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
49800
498012011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49802
49803 * string/Makefile (strop-tests): Add memcmp.
49804 * string/test-wmemcmp.c: New file.
49805 * string/test-memcmp.c: Add wmemcmp support.
49806
7f513ec8
RM
498072011-09-08 Roland McGrath <roland@hack.frob.com>
49808
0442afb4
RM
49809 [BZ #13153]
49810 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49811 2011-07-19 change.
49812
7f513ec8
RM
49813 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49814 garbage value in a __mach_port_mod_refs call in the cases of the
49815 task-self and thread-self ports.
49816
a12b2239
ST
498172011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49818
49819 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49820
610f9ab4
AS
498212011-09-08 Andreas Schwab <schwab@redhat.com>
49822
7f513ec8 49823 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 49824
48882a1a
LD
498252011-09-07 Ulrich Drepper <drepper@gmail.com>
49826
b49865be
UD
49827 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49828
fdc86bc9
UD
49829 * elf/dl-libc.c (dlerror_run): Pass back error code from
49830 dl_catch_error.
49831
c966526a
UD
49832 [BZ #13123]
49833 * elf/dl-load.c (lose): Free l_origin if it is valid.
49834
48882a1a
LD
49835 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49836 names.
49837 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49838 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49839 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49840 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49841 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49842 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49843
77a2a8b4
AZ
498442011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49845
49846 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49847 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49848 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49849 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49850 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49851 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49852 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49853 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49854 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49855 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49856
24f579d8
AM
498572011-08-15 Alan Modra <amodra@gmail.com>
49858
49859 [BZ #13092]
49860 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49861 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49862 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49863 ppc_mcount to static-only-routines.
49864 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49865 __mcount_internal.
49866 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49867 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49868
3d4837df
UD
498692011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49870
49871 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49872 for finite and infinity parameters.
49873
22700377
WS
498742011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49875
49876 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49877 and add nop instructions for throughput optimization.
49878 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49879
5025581e
WS
498802011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49881
49882 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49883 aligned copy for power7 with vector-scalar instructions.
49884 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49885
08a300c9
L
498862011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49887
49888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49889 AVX check.
49890
59178ef9
AS
498912011-09-07 Andreas Schwab <schwab@redhat.com>
49892
49893 [BZ #13144]
49894 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49895 last change.
49896
e38ba7ab
UD
498972011-09-07 Ulrich Drepper <drepper@gmail.com>
49898
49899 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49900 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49901 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49902 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49903 clock_gettime.
49904
d53a73ac
UD
499052011-09-06 Ulrich Drepper <drepper@gmail.com>
49906
fc8bffcc
UD
49907 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49908 Forgot to demangle the pointer.
49909
ceaa0c5d
UD
49910 * sysdeps/i386/sysdep.h: Define atom_text_section.
49911 * sysdeps/x86_64/sysdep.h: Likewise.
49912 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49913 section with atom_text_section.
49914 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49915 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49916 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49917 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49918 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49919
a77d3c17
UD
49920 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49921 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49922 already be defined. Change to take two parameters and don't assign
49923 result to variable. Adjust all users.
49924 Define INTERNAL_GETTIME if not already defined.
49925 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49926 call.
49927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49928 HAVE_CLOCK_GETTIME_VSYSCALL.
49929 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49930
d53a73ac
UD
49931 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49932 gettimeofday vsyscall, just use time.
49933
a8f84144
AS
499342011-09-06 Andreas Schwab <schwab@redhat.com>
49935
49936 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49937 <errno.h>.
49938
ef606249
UD
499392011-09-06 Ulrich Drepper <drepper@gmail.com>
49940
49941 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49942 syscall on x86-64.
49943 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49944 syscall.
49945 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49946 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49947 syscall if possible.
49948
6585cb60
UD
499492011-09-05 Ulrich Drepper <drepper@gmail.com>
49950
49951 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49952 e_ident. Don't pass to find_mapsXX.
49953 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49954
a5f524e4
LD
499552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49956
49957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49958 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49959 * sysdeps/x86_64/multiarch/strchr.S: Update.
49960 Check bit_slow_BSF bit.
49961 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49962 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49963 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49964
554881ef
UD
499652011-09-05 Ulrich Drepper <drepper@gmail.com>
49966
d96de963
UD
49967 [BZ #13134]
49968 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49969 before glibc 2.15.
49970 (tryshell): Define.
49971 (__spawni): Change last parameter to be flag. Test
49972 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49973 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49974 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49975 * posix/spawni.c: Likewise.
49976 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49977 * posix/spawnp.c: Likewise. Change normal version to use
49978 SPAWN_XFLAGS_USE_PATH.
49979 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49980 SPAWN_XFLAGS_TRY_SHELL.
49981
d48e5868
UD
49982 [BZ #13150]
49983 * posix/glob.h: Remove gcc 1.x support.
49984
554881ef
UD
49985 [BZ #13068]
49986 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49987
693fb948
LD
499882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49989
49990 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49991 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49992 strrchr-sse2-bsf
49993 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49994 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49995 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49996 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49997 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49998 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49999
1b48c537
UD
500002011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50001
49d42c37
UD
50002 * sysdeps/x86_64/wcscmp.S: New file.
50003
1b48c537
UD
50004 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50005 wcscmp-c wcscmp-sse2
50006 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50007 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50008 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50009 * wcsmbs/wcscmp.c: Allow renaming.
50010
15c95c5d
DM
500112011-09-05 David S. Miller <davem@davemloft.net>
50012
50013 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50014 stack slot, rather than the struct return pointer slot.
50015 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50016 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50018 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50019
2f0ad8f3
UD
500202011-09-05 Ulrich Drepper <drepper@gmail.com>
50021
d88ae418
UD
50022 * po/ja.po: Update from translation team.
50023
2f0ad8f3
UD
50024 [BZ #13144]
50025 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50026 kernel in 64-bit binaries.
50027
5f4318d1
DM
500282011-09-01 David S. Miller <davem@davemloft.net>
50029
50030 * elf/elf.h (HWCAP_SPARC_*): Move to..
50031 * sysdeps/sparc/sysdep.h: this new file and add new values.
50032 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50033 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50034 _DL_HWCAP_COUNT to 24.
50035 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50036 entries.
50037 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50038 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50039 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50040 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50041 instead of magic constants.
50042 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50043
3ba57516
DM
500442011-08-31 David S. Miller <davem@davemloft.net>
50045
50046 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50047 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50048 Reimplement to do errno handling inline.
50049 (SYSCALL_ERROR_HANDLER): New macro.
50050 (__SYSCALL_STRING): Do not do errno handling in asm.
50051 (__CLONE_SYSCALL_STRING): Delete.
50052 (__INTERNAL_SYSCALL_STRING): Delete.
50053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50054 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50055 (PSEUDO): Reimplement to do errno handling inline.
50056 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50057 (SYSCALL_ERROR_HANDLER): New macro.
50058 (__SYSCALL_STRING): Do not do errno handling in asm.
50059 (__CLONE_SYSCALL_STRING): Delete.
50060 (__INTERNAL_SYSCALL_STRING): Delete.
50061 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50062 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50063 i386.
50064 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50065 (inline_syscall*): Add 'err' argument.
50066 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50067 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50068 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50069 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50070
50071 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50072 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50073
2bc17433
AS
500742011-08-30 Andreas Schwab <schwab@redhat.com>
50075
50076 * elf/rtld.c (dl_main): Relocate objects in dependency order.
50077
fbeb5f4d
JO
500782011-08-29 Jiri Olsa <jolsa@redhat.com>
50079
50080 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50081 directive.
50082
ad69cc26
DM
500832011-08-24 David S. Miller <davem@davemloft.net>
50084
50085 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50086
39dd69df
AS
500872011-08-24 Andreas Schwab <schwab@redhat.com>
50088
50089 * elf/Makefile: Add rules to build and run unload8 test.
50090 * elf/unload8.c: New file.
50091 * elf/unload8mod1.c: New file.
50092 * elf/unload8mod1x.c: New file.
50093 * elf/unload8mod2.c: New file.
50094 * elf/unload8mod3.c: New file.
50095
50096 * elf/dl-close.c (_dl_close_worker): Reset private search list if
50097 it wasn't used.
50098
2c0b250a
DM
500992011-08-23 David S. Miller <davem@davemloft.net>
50100
50101 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50102 subtract stack bias.
50103 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50104 %sp not %fp in calculations.
50105 (_JMPBUF_UNWINDS_ADJ): Likewise.
50106
22044b48
DM
50107 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50108 (aio_suspend): Call it to force an exception region around the
50109 AIO_MISC_WAIT() invocation.
50110
2cae4995
AS
501112011-08-23 Andreas Schwab <schwab@redhat.com>
50112
50113 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50114 backslash.
50115
873a772e
AJ
501162011-07-04 Aurelien Jarno <aurelien@aurel32.net>
50117
50118 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50119 protection macro.
50120 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50121 and <dl-machine.h>.
50122 (Elf64_FuncDesc): Remove.
50123
25ad0df1
DM
501242011-08-22 David S. Miller <davem@davemloft.net>
50125
50126 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50127 sigaltstack check, add missing cfi directives.
50128 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50129 missing cfi directives, and sigaltstack handling.
50130
e888bcbe
AS
501312011-08-16 Andreas Schwab <schwab@redhat.com>
50132
50133 [BZ #11724]
50134 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50135 object is seen twice.
50136 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50137
50138 * elf/Makefile (distribute): Add tst-initorder2.c.
50139 (tests): Add tst-initorder2.
50140 (modules-names): Add tst-initorder2a tst-initorder2b
50141 tst-initorder2c tst-initorder2d. Add rules to build them.
50142 ($(objpfx)tst-initorder2.out): New rule.
50143 * elf/tst-initorder2.c: New file.
50144 * elf/tst-initorder2.exp: New file.
50145
87162f46
AS
501462011-08-22 Andreas Schwab <schwab@redhat.com>
50147
70538b7f
AS
50148 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50149
f55ffe58
AS
50150 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50151 dependencies back to end of function.
50152
87162f46
AS
50153 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50154 $(elfobjdir)/ld.so.
50155
91b392a4
UD
501562011-08-21 Ulrich Drepper <drepper@gmail.com>
50157
50158 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50159 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50160 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50161 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50162 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50163 of __vdso_gettimeofday.
50164 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50165 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
50166 attribute_hidden.
50167 (_libc_vdso_platform_setup): Remove initialization of
50168 __vdso_gettimeofday and __vdso_time.
50169
5c43483f
UD
501702011-08-20 Ulrich Drepper <drepper@gmail.com>
50171
775a77e7
UD
50172 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50173 and fgetc_unlocked.
50174 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50175 getc_unlocked.
89f447ed 50176
49c74ba9
UD
50177 * elf/dl-open.c (add_to_global): Report additions to the global scope
50178 for LD_DEBUG=scopes.
50179 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 50180 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 50181
5c43483f
UD
50182 [BZ #13114]
50183 * stdio-common/Makefile (tests): Add bug24.
50184 * stdio-common/bug24.c: New file.
50185
a101b025
AJ
501862011-08-19 Andreas Jaeger <aj@suse.de>
50187
50188 [BZ #13114]
50189 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50190 non-existant file when using close-on-exec mode.
50191
c88f1766
UD
501922011-08-20 Ulrich Drepper <drepper@gmail.com>
50193
0276a718
UD
50194 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50195 the very first instruction.
50196
c88f1766
UD
50197 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50198 the CFI state in the end.
50199 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50200 inclusion of dl-trampoline.h.
50201 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50202
51ccffa0
AS
502032011-08-19 Andreas Schwab <schwab@redhat.com>
50204
94d7165f
AS
50205 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50206 expectations for long double.
50207
51ccffa0
AS
50208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50209 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50210
fd708658 502112011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
50212
50213 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50214 artificual limit depends upon the system page size.
50215
44f0a71e
UD
502162011-08-17 Ulrich Drepper <drepper@gmail.com>
50217
50218 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50219 * resolv/Makefile: Define CFLAGS-libresolv.
50220
8de79a24
AS
502212011-08-17 Andreas Schwab <schwab@redhat.com>
50222
50223 * nss/makedb.c (compute_tables): Make variables used in nested
50224 function static.
50225
27724598
UD
502262011-08-17 Ulrich Drepper <drepper@gmail.com>
50227
c5305d88
UD
50228 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50229 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50230 if buffer was too small.
50231
27724598
UD
50232 * elf/pldd.c (main): Attach to all threads in the process.
50233 Rewrite /proc handling to use *at functions.
50234
076fe015
UD
502352011-08-16 Ulrich Drepper <drepper@gmail.com>
50236
174baab3
UD
50237 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50238 specifies first scope to show.
50239 (dl_open_worker): Update callers. Move printing scope of new
50240 object to before the relocation.
44f0a71e 50241 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
50242 * sysdeps/generic/ldsodefs.h: Update declaration.
50243
076fe015
UD
50244 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50245 string for the scope number.
50246
a60df2c3
UD
502472011-08-14 Ulrich Drepper <drepper@gmail.com>
50248
50249 * nscd/servicescache.c (cache_addserv): Make sure written is always
50250 initialized.
50251
5e4287d1
RM
502522011-08-14 Roland McGrath <roland@hack.frob.com>
50253
85ae0589
RM
50254 * sysdeps/i386/i486/bits/atomic.h
50255 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50256 statement expression, so as to suppress "set but not used" warning.
50257 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50258
69f63097
RM
50259 * string/strncat.c (STRNCAT): Use prototype definition.
50260
675456ef
RM
50261 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50262 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50263 -Iprograms here.
50264 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50265 (localedef-modules): Add localedef.
50266 (locale-modules): Add locale.
50267
5e4287d1
RM
50268 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50269 * elf/rtld.c (dl_main): Invert order of assignment in last change,
50270 to avoid a warning.
50271
9c96ff23
DM
502722011-08-14 David S. Miller <davem@davemloft.net>
50273
50274 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50275 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50276
f9ddf089
UD
502772011-08-13 Ulrich Drepper <drepper@gmail.com>
50278
44f0a71e 50279 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
50280 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50281 * elf/rtld.c (dl_main): Set l_name of vDSO.
50282 Call _dl_show_scope when DL_DEBUG_SCOPES.
50283 (process_dl_debug): Recognize scopes flag and also set it for all.
50284 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50285 Declare _dl_show_scope.
50286
1dc27704
UD
50287 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50288 (do_dlopen): Pass caller_dlopen to dl_open.
50289 (__libc_dlopen_mode): Initialize caller_dlopen.
50290
f9ddf089
UD
50291 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50292 of libc. Make tolower call locale-independent. Optimize a bit by
50293 using isdigit instead of isalnum.
50294 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50295
9ac533d3
UD
502962011-08-12 Ulrich Drepper <drepper@gmail.com>
50297
50298 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50299 was a dependency or dynamically loaded.
50300
89edf2e9
UD
503012011-08-11 Ulrich Drepper <drepper@gmail.com>
50302
8e999d29
UD
50303 * intl/l10nflist.c: Allow architecture-specific pop function.
50304 * sysdeps/x86_64/l10nflist.c: New file.
50305
89edf2e9
UD
50306 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50307 classification.
50308
14d96785
AS
503092011-08-10 Andreas Schwab <schwab@redhat.com>
50310
50311 * include/dirent.h: Add libc_hidden_proto for scandirat and
50312 scandirat64. Don't declare __scandirat64.
50313 * dirent/scandirat.c: Add libc_hidden_def.
50314 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50315 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50316
6761ac04
DM
503172011-08-10 David S. Miller <davem@davemloft.net>
50318
50319 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50320 enum.
50321 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50322 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50323 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50324
c55fbd1e
UD
503252011-08-09 Ulrich Drepper <drepper@gmail.com>
50326
50327 * Versions.def [libc]: Add GLIBC_2.15.
50328 * dirent/Makefile (routines): Add scandirat and scandirat64.
50329 * dirent/Versions [libc]: Export scandirat and scandirat64 for
50330 GLIBC_2.15.
50331 * dirent/dirent.h: Declare scandirat and scandirat64.
50332 * dirent/scandirat.c: New file.
50333 * dirent/scandirat64.c: New file.
50334 * sysdeps/wordsize-64/scandirat.c: New file.
50335 * sysdeps/wordsize-64/scandirat64.c: New file.
50336 * dirent/opendir.c: Define opendirat.
50337 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
50338 using scandirat.
50339 * dirent/scandir64.c: Adjust for scandir.c change.
50340 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
50341 __scandirat64, and __scandir_cancel_handler.
50342 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
50343 additional parameter and use openat instead of open (outside of ld.so).
50344 Add new __opendir as wrapper around __opendirat.
50345 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50346 here without requiring old scandirat implementation.
50347
879165f2
UD
503482011-08-08 Ulrich Drepper <drepper@gmail.com>
50349
50350 * dirent/scandir.c (cancel_handler): Renamed to
50351 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
50352 defined. Adjust users.
50353 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50354 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50355
cb7e923b
UD
503562011-08-04 Ulrich Drepper <drepper@gmail.com>
50357
16292edd
UD
50358 * string/test-string.h (IMPL): Use __STRING to expand name and then
50359 stringify it.
50360
cb7e923b
UD
50361 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
50362 of cleanups.
50363
cff82933
LD
503642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50365
50366 * string/Makefile: Update.
50367 (strop-tests): Append strncat.
50368 * string/test-wcscmp.c: New file.
50369 New comprehensive test for wcscmp.
50370 * string/test-strcmp.c: Update.
50371 (WIDE): New define.
50372
9be9bfcc
AS
503732011-07-22 Andreas Schwab <schwab@redhat.com>
50374
50375 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50376 line.
50377
2e96f1c7
AS
503782011-07-26 Andreas Schwab <schwab@redhat.com>
50379
50380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50381 encoding to ACE if AI_IDN.
50382
85188888
JJ
503832011-08-01 Jakub Jelinek <jakub@redhat.com>
50384
50385 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50386 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50387
5fa16e9b
LD
503882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50389
50390 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50391 Fix overflow bug in strncat.
50392 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50393
50394 * string/test-strncat.c: Update.
50395 Add new tests for checking overflow bugs.
50396
503972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50398
50399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50400 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50401 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50402 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50403 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50404 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50405 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50406 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50407 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50408
50409 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50410 (USE_AS_STRCAT): Define.
50411 Add strcat and strncat support.
50412 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50413
8c1a459f
AS
504142011-07-25 Andreas Schwab <schwab@redhat.com>
50415
50416 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50417 __n bigger than INT_MAX+1.
50418 (__strncmp_g): Likewise.
50419
bba33c28
UD
504202011-07-23 Ulrich Drepper <drepper@gmail.com>
50421
798be72d
UD
50422 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50423 * libio/stido.h: Likewise.
50424
8accd4dc
UD
50425 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50426 (AF_NFC): Define.
50427 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50428 (AF_NFC): Define.
50429
cbff0d96
UD
50430 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50431 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50432 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50433 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50434 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50435
9191c04a
UD
50436 [BZ #13021]
50437 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50438 installed.
50439
bba33c28
UD
50440 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50441 typo.
50442 (_dl_x86_64_save_sse): Likewise.
50443
90f139dd
UD
504442011-07-22 Ulrich Drepper <drepper@gmail.com>
50445
1aae088a
UD
50446 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50447 OSXSAVE.
50448 (_dl_x86_64_save_sse): Likewise.
50449
8e2045f5
UD
50450 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50451
90f139dd
UD
50452 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50453
1d002f25
AS
504542011-07-21 Andreas Schwab <schwab@redhat.com>
50455
50456 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50457 change.
50458 (_dl_x86_64_save_sse): Use correct AVX check.
50459
21137f89
UD
504602011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50461
50462 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50463 bug in strncpy/strncat.
50464 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50465
a65c0b7a
UD
504662011-07-21 Ulrich Drepper <drepper@gmail.com>
50467
50468 * string/tester.c (test_strcat): Add tests for different alignments
50469 of source and destination.
50470 (test_strncat): Likewise.
50471
6986b98a
UD
504722011-07-20 Ulrich Drepper <drepper@gmail.com>
50473
90bb2039
UD
50474 [BZ #12852]
50475 * posix/glob.c (glob): Check passed in values before using them in
50476 expressions to avoid some overflows.
50477 (glob_in_dir): Likewise.
50478
5644ef54
UD
50479 [BZ #13007]
50480 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50481 check for AVX enablement so that we don't crash with old kernels and
50482 new hardware.
50483 * elf/tst-audit4.c: Add same checks here.
50484 * elf/tst-audit6.c: Likewise.
50485
50486 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 50487
bfc9dc9b
AS
504882011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50489
50490 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50491
702e64bb
UD
504922011-07-20 Ulrich Drepper <drepper@gmail.com>
50493
50494 * po/cs.po: Update from translation team.
50495 * po/bg.po: Likewise.
50496
295e904f
MP
504972011-07-12 Marek Polacek <mpolacek@redhat.com>
50498
50499 * misc/sys/cdefs.h: Add support for const attribute.
50500 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50501 to gnu_dev_{major,minor,makedev} functions.
50502
3ff94596
MP
505032011-07-20 Marek Polacek <mpolacek@redhat.com>
50504
50505 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50506
28b59fca
AS
505072011-07-20 Andreas Schwab <schwab@redhat.com>
50508
50509 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50510 strlen results.
50511
19df733e
AK
505122011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50513
50514 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50515 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50516 register in order to avoid conflicts with the soft frame pointer
50517 being held in r11 when necessary.
50518 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50519 (INTERNAL_VSYSCALL_NCS): Likewise.
50520
c8835729
MP
505212011-07-14 Marek Polacek <mpolacek@redhat.com>
50522
50523 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50524 * elf/dl-fini.c (_dl_fini): Adjust caller.
50525 * elf/dl-close.c (_dl_close_worker): Likewise.
50526 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50527
b902330c
MP
505282011-07-15 Marek Polacek <mpolacek@redhat.com>
50529
8991e135
MP
50530 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50531 "aux_cache->nlibs < 0".
50532
b902330c
MP
50533 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50534 in the reload-count case.
50535
99710781
LD
505362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50537
50538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50539 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50540 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50541 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50542 * sysdeps/x86_64/multiarch/strcat.S: New file.
50543 * sysdeps/x86_64/multiarch/strncat.S: New file.
50544 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50545 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50546 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50547 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50548 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50549 (USE_AS_STRCAT): Define.
50550 Add strcat and strncat support.
50551 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50552 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50553 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50554 * string/strncat.c: Update.
50555 (USE_AS_STRNCAT): Define.
50556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50557 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50558 and i7.
50559 * sysdeps/x86_64/multiarch/init-arch.h
50560 (bit_Prefer_PMINUB_for_stringop): New.
50561 (index_Prefer_PMINUB_for_stringop): Likewise.
50562 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50563 bit_Prefer_PMINUB_for_stringop.
50564
7dc6bd90
UD
505652011-07-19 Ulrich Drepper <drepper@gmail.com>
50566
50567 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50568 buffer64.
50569 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50570 of casting of buffer.
50571 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50572 buffer32 and buffer64.
50573 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50574 writes instead of casting of buffer.
50575 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50576 buffer32.
50577 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50578 casting of buffer.
50579
e0e72284
AS
505802011-07-19 Andreas Schwab <schwab@redhat.com>
50581
50582 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50583
feb1eb0b
UD
505842011-07-19 Ulrich Drepper <drepper@gmail.com>
50585
50586 * nscd/nscd.c (termination_handler): Don't do anything for a database
50587 if it has not yet been initialized.
50588
298711ff
UD
505892011-07-18 Ulrich Drepper <drepper@gmail.com>
50590
50591 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50592
505932011-07-15 Marek Polacek <mpolacek@redhat.com>
50594
50595 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50596
f9d68389
UD
505972011-07-18 Ulrich Drepper <drepper@gmail.com>
50598
50599 * po/nl.po: Update from translation team.
50600 * po/sv.po: Likewise.
50601
db290cf5
RM
506022011-07-16 Roland McGrath <roland@hack.frob.com>
50603
50604 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50605 now disallowed by GCC.
5c550700 50606
fd5e21c7
RM
50607 * configure.in (use-default-link): Default to yes if a test -shared
50608 link meets our qualifications.
50609 * configure: Regenerated.
50610
5c550700
RM
50611 * config.make.in (output-format): New variable.
50612 * configure.in: Check for ld --print-output-format support.
50613 * configure: Regenerated.
50614 * Makerules ($(common-objpfx)format.lds)
50615 [$(output-format) != unknown]: Just use $(output-format),
50616 instead of the linker-script munging.
50617
9fa2c032
RM
506182011-07-14 Roland McGrath <roland@hack.frob.com>
50619
a6928d51
RM
50620 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50621 of $(common-objpfx)shlib.lds.
50622 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50623
661607b3
RM
50624 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50625 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50626
9fa2c032
RM
50627 * configure.in (-z relro check): Adjust test code to add a large
50628 writable data section after it.
50629 * configure: Regenerated.
50630
defe9061
RM
506312011-07-11 Roland McGrath <roland@hack.frob.com>
50632
50633 * configure.in (-z relro check): Fix test code to make the variable
50634 truly const.
50635 * configure: Regenerated.
50636
319b9ad4
UD
506372011-07-11 Ulrich Drepper <drepper@gmail.com>
50638
50639 * nscd/nscd.h (struct traced_file): Define.
50640 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50641 elements. Add traced_files.
50642 (inotify_fd): Declare.
50643 (register_traced_file): Declare.
50644 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50645 (inotify_fd): Export.
50646 (resolv_conf_descr): Remove.
50647 (nscd_init): Move inotify descriptor creation to main.
50648 Don't register files for notification here.
50649 (register_traced_file): New function.
50650 (invalidate_cache): Don't use reset_res to determine whether to call
50651 res_init, go through the list of registered files.
50652 (main_loop_poll): The inotify descriptors are now stored in the
50653 structures for the traced files.
50654 (main_loop_epoll): Likewise
50655 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50656 to __nss_disable_nscd.
50657 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50658 for a database anymore. Check the records for all the registered
50659 files instead.
50660 * nss/Makefile (libnss_files-routines): Add files-init.
50661 (libnss_db-routines): Add db-init.
50662 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50663 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50664 * nss/nss_db/db-init.c: New file.
50665 * nss/nss_files/files-init.c: New file.
50666 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50667 __nss_lookup_function.
50668 (__nss_lookup_function): Call nss_load_library.
50669 (nss_load_all_libraries): New function.
50670 (__nss_disable_nscd): Take parameter with callback function for files
50671 to register. Set is_nscd. Load all the DSOs for the NSS modules
50672 used for the cached services.
50673 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50674 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50675 options for features to all the files in nscd.
50676
50677 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50678
23bee3e8
RM
506792011-07-10 Roland McGrath <roland@hack.frob.com>
50680
50681 * csu/elf-init.c (__libc_csu_init): Comment typo.
50682
46a5b7f0
UD
506832011-07-09 Ulrich Drepper <drepper@gmail.com>
50684
50685 * po/pl.po: Update from translation team.
50686 * po/ja.po: Likewise.
50687 * po/ru.po: Likewise.
50688 * po/ko.po: Likewise.
50689 * po/fr.po: Likewise.
50690
d30cf5bb
RM
506912011-07-09 Roland McGrath <roland@hack.frob.com>
50692
113ddea4
RM
50693 * configure.in (.ctors/.dtors header and trailer check):
50694 Use an empirical test on a built program.
50695 * configure: Regenerated.
50696
574920b4
RM
50697 * configure.in (-z relro check): Use an empirical test on a built DSO.
50698 Detect, but do not require, on ia64.
50699 * configure: Regenerated.
50700
d30cf5bb
RM
50701 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50702 Update tests that use readelf to use $READELF instead.
50703 * configure: Regenerated.
50704
8538fdb3
UD
507052011-07-08 Ulrich Drepper <drepper@gmail.com>
50706
50707 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50708 if the result is not used.
50709
04d08991
AJ
507102011-07-05 Andreas Jaeger <aj@suse.de>
50711
50712 [BZ#9696]
50713 * stdlib/tst-strtod.c: Add testcase.
50714
de283087
AD
507152011-07-07 Ulrich Drepper <drepper@gmail.com>
50716
4e5f31c8 50717 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 50718 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
50719 The latter has a higher limit. Take additional parameter to pass to
50720 the new function.
50721 (__pathconf): Pass file to __statfs_link_max.
50722 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50723 __statfs_link_max.
50724 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50725 __statfs_link_max.
50726
de283087
AD
50727 [BZ #12868]
50728 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50729 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50730 Handle Lustre.
50731 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50732 (__statfs_filesize_max): Likewise.
50733 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50734
c75fa153
AJ
507352011-07-05 Andreas Jaeger <aj@suse.de>
50736
50737 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50738
1a544854
UD
507392011-07-06 Marek Polacek <mpolacek@redhat.com>
50740
50741 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50742 `status' variable.
50743 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50744 Likewise.
50745
6f0eec67
UD
507462011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50747
50748 * Makefile (strop-tests): Add strncat.
50749 * string/test-strncat.c: New file.
50750
aae30307
UD
507512011-06-30 Marek Polacek <mpolacek@redhat.com>
50752
50753 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50754
c0cfb5eb
UD
507552011-06-21 Andreas Jaeger <aj@suse.de>
50756
50757 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50758 Copy rule from iconvdata/Makefile.
50759
01636b21
UD
507602011-07-06 Ulrich Drepper <drepper@gmail.com>
50761
50762 [BZ #12922]
50763 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50764 but no long options are defined, just return 'W'.
50765
9895c8bc
UD
507662011-06-22 Marek Polacek <mpolacek@redhat.com>
50767
50768 [BZ #9696]
50769 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50770
5d4cf042
UD
507712011-07-06 Ulrich Drepper <drepper@gmail.com>
50772
50773 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50774 netgroups to read.
960e5535 50775 (innetgr): Likewise.
5d4cf042 50776
751eb97e
RM
507772011-07-05 Roland McGrath <roland@hack.frob.com>
50778
50779 * config.make.in (install_root): Default to $(DESTDIR).
50780
f15f1e45
UD
507812011-07-05 Ulrich Drepper <drepper@gmail.com>
50782
50783 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50784
4e34ac6a
RM
507852011-07-02 Roland McGrath <roland@hack.frob.com>
50786
5e9b6af4
RM
50787 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50788
84f9ea0f
RM
50789 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50790 containing directory rather than embedding absolute directory names.
50791
ea5ee9f7
RM
50792 * scripts/check-local-headers.sh: Rewritten using awk.
50793 Match by word, not by line. Print error messages for matches.
50794 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50795
1b74661a
RM
50796 * Makerules [shlib-lds-flags empty]:
50797 ($(common-objpfx)libc_pic.opts): New target.
50798 ($(common-objpfx)libc_pic.os.clean): New target.
50799 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50800
50801 * config.make.in (OBJCOPY): New variable.
50802 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50803 * configure: Regenerated.
50804
f781ef40
RM
50805 * config.make.in (use-default-link): New variable.
50806 * configure.in (use_default_link): Grok --with-default-link to set it.
50807 * configure: Regenerated.
50808 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50809 (shlib-lds, shlib-lds-flags): Define to empty.
50810
2d4fa81e
RM
50811 * Makerules (shlib-lds): New variable.
50812 (shlib-lds-flags): New variable.
50813 (build-shlib, build-moduile, build-module-asneeded): Use it.
50814 ($(common-objpfx)libc.so): Use $(shlib-lds).
50815 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50816 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50817
31fffa6b
RM
50818 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50819 DT_FLAGS/DT_FLAGS_1 with zero flags.
50820
4e34ac6a
RM
50821 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50822 linker script munging.
50823
fcfc776b
UD
508242011-07-02 Ulrich Drepper <drepper@gmail.com>
50825
50826 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50827 as 128-bit value.
50828 * crypt/sha512.c (sha512_process_block): Perform total addition using
50829 128-bit if possible.
50830 (__sha512_finish_ctx): Likewise.
50831 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50832 as 64-bit value.
50833 * crypt/sha256.c (SWAP64): Define.
50834 (sha256_process_block): Perform total addition using 64-bit if
50835 possible.
50836 (__sha256_finish_ctx): Likewise.
50837
99231d9a
UD
508382011-07-01 Ulrich Drepper <drepper@gmail.com>
50839
50840 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50841 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50842 * nscd/hstcache.c (cache_addhst): Likewise.
50843 * nscd/grpcache.c (cache_addgr): Likewise.
50844 * nscd/aicache.c (addhstaiX): Likewise
50845 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50846
445b4a53
TK
508472011-07-01 Thorsten Kukuk <kukuk@suse.de>
50848
50849 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50850 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50851 * nscd/hstcache.c (cache_addhst): Likewise.
50852 * nscd/grpcache.c (cache_addgr): Likewise.
50853 * nscd/aicache.c (addhstaiX): Likewise
50854
6d4d8e8e
AS
508552011-07-01 Andreas Schwab <schwab@redhat.com>
50856
50857 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50858 domain only when needed.
50859
89f654c5
AS
508602011-06-30 Andreas Schwab <schwab@redhat.com>
50861
50862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50863 is always restored.
50864
cf3b23ff
UD
508652011-06-29 Ulrich Drepper <drepper@gmail.com>
50866
50867 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50868 are re-adding the entry.
50869 * nscd/servicescache.c (cache_addserv): Likewise.
50870
751626f9
AJ
508712011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50872
50873 * sysdeps/generic/dl-irel.h: fix protection against multiple
50874 inclusions.
50875 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50876
9113ea1f
UD
508772011-06-28 Ulrich Drepper <drepper@gmail.com>
50878
5c0b8d90
UD
50879 [BZ #12935]
50880 * malloc/memusage.sh: Fix quoting in message.
50881 * debug/xtrace.sh: Likewise.
50882
9113ea1f
UD
50883 * configure.in: Remove support for --experimental-malloc option, make
50884 it the default.
50885 * config.make.in: Likewise.
50886 * malloc/Makefile: Likewise.
50887
a4172181
AS
508882011-06-27 Andreas Schwab <schwab@redhat.com>
50889
50890 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50891 two-byte characters.
50892
78a7eee7
RM
508932011-06-27 Roland McGrath <roland@hack.frob.com>
50894
62bede13
RM
50895 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50896 AC_CACHE_CHECK invocation.
50897 * configure: Regenerated.
50898
78a7eee7
RM
50899 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50900
5ce33a62
UD
509012011-06-27 Ulrich Drepper <drepper@gmail.com>
50902
034807a9
UD
50903 [BZ #12350]
50904 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50905 bit from old_res_options.
50906
4902da17
UD
50907 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50908
5ce33a62
UD
50909 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50910 value type for setfct.
50911
c2344f56
L
509122011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50913
50914 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50915 __gettimeofday instead of gettimeofday.
50916
68468076
UD
509172011-06-26 Ulrich Drepper <drepper@gmail.com>
50918
50919 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50920
acb0d739
L
509212011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50922
50923 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50924
50925 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50926 info.
50927
8912479f
L
509282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50929
50930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50931 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50932 strcpy-sse2-unaligned strncpy-sse2-unaligned
50933 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50934 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50935 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50936 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50937 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50938 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50939 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50940 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50941 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50942 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50943 (STRCPY): Support SSE2 and SSSE3 versions.
50944
d5495a11
UD
509452011-06-24 Ulrich Drepper <drepper@gmail.com>
50946
50947 [BZ #12874]
50948 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50949 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50950 kernels which artificially limit size of requests.
50951
0b1cbaae
L
509522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50953
50954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50955 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50956 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50957 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50958 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50959 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50960 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50961 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50962 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50963 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50964 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50965 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50966 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50967 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50968 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50970 Enable unaligned load optimization for Intel Core i3, i5 and i7
50971 processors.
50972 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50973 Define.
50974 (index_Fast_Unaligned_Load): Define.
50975 (HAS_FAST_UNALIGNED_LOAD): Define.
50976
07f494a0
MP
509772011-06-23 Marek Polacek <mpolacek@redhat.com>
50978
50979 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50980
fa3fc0fe
UD
509812011-06-22 Ulrich Drepper <drepper@gmail.com>
50982
50983 [BZ #12907]
50984 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50985 until it is clear that the information is realy needed.
50986 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50987
e12df166
AS
509882011-06-22 Andreas Schwab <schwab@redhat.com>
50989
50990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50991
852eb34d
UD
509922011-06-22 Ulrich Drepper <drepper@gmail.com>
50993
84e2a551
UD
50994 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50995 /sys/devices/system/cpu/online if it is usable.
50996
852eb34d
UD
50997 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50998 reading the information from the /proc filesystem to once a second.
50999
6e502e19
UD
510002011-06-21 Andreas Jaeger <aj@suse.de>
51001
51002 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51003 NULL after inclusion of kernel headers.
51004
75d39ff2
UD
510052011-06-21 Ulrich Drepper <drepper@gmail.com>
51006
51f9aa6a
UD
51007 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51008 calls to internal_setent.
51009
c0244a9d
UD
51010 [BZ #12885]
51011 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51012 addresses using gethostbyname4_r ignore IPv4 addresses.
51013
c5e3c2ae
UD
51014 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51015 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
51016
75d39ff2
UD
51017 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51018
42675c6f
DM
510192011-06-20 David S. Miller <davem@davemloft.net>
51020
51021 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51022 inclusions.
51023 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51024
51025 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51026 (elf_irel): Use it.
51027 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51028 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51029 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51030 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51031 * sysdeps/x86_64/dl-irel.h: Likewise.
51032
51033 * elf/dl-runtime.c: Use elf_ifunc_invoke.
51034 * elf/dl-sym.c: Likewise.
51035
57912a71
UD
510362011-06-15 Ulrich Drepper <drepper@gmail.com>
51037
51038 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
51039 need to dereference resplen2.
51040
ee22793d
AS
510412011-06-14 Andreas Schwab <schwab@redhat.com>
51042
51043 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51044
a9e836b0
UD
510452011-06-15 Ulrich Drepper <drepper@gmail.com>
51046
77fb9117
UD
51047 * Makeconfig: Define vardbdir and inst_vardbdir.
51048 * nss/Makefile: Add rules to install db-Makefile.
51049
40c1b22c
UD
51050 * nss/nss_db/db-XXX.c: Cleanup.
51051
9f2da732
UD
51052 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51053 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51054 GLIBC_PRIVATE.
51055 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51056 * nss/makedb.c: Implement -g option to specify that value strings
51057 are generated and should not be added to table iterated over for
51058 get*ent calls.
51059 * nss/nss_db/db-initgroups.c: New file.
51060
82e9a1f7
UD
51061 * nss/getent.c: Add support for initgroups lookups through getgrouplist
51062 interface.
51063
c41af17e
UD
51064 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51065 (internal_getgrouplist): Adjust to name change.
51066 Update use_initgroups_entry if this is not the first call.
51067 * nss/databases.def: Add initgroups entry.
51068
a9e836b0
UD
51069 * nss/makedb.c (compute_tables): Check result of multiple hash table
51070 sizes to minimize maximum chain length.
51071
2666d441
UD
510722011-06-14 Ulrich Drepper <drepper@gmail.com>
51073
51074 * Versions.def: Add entry for libnss_db.
51075 * shlib-versions: Likewise.
51076 * nss/Makefile: Add rules to build libnss_db.
51077 * nss/Versions: Add libnss_db information. Organize libnss_files
51078 entries better.
51079 * nss/db-Makefile: Add gshadow support. Change rules for the new
51080 makedb progra. Some minor improvements to generate smaller files.
51081 * nss/nss_db/nss_db.h: Move NSS database header data structures to
51082 here from...
51083 * nss/makedb.c: ...here.
51084 Improve database format to be smaller and require less memory at
51085 runtime.
51086 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
51087 db anymore.
51088 * nss/nss_db/db-netgrp.c: Likewise.
51089 * nss/nss_db/db-open.c: Likewise.
51090 * nss/nss_files/flies-XXX.x: Adjust comments.
51091 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51092 * nss/nss_files/files-grp.c: Likewise.
51093 * nss/nss_files/files-hosts.c: Likewise.
51094 * nss/nss_files/files-network.c: Likewise.
51095 * nss/nss_files/files-proto.c: Likewise.
51096 * nss/nss_files/files-pwd.c: Likewise.
51097 * nss/nss_files/files-rpc.c: Likewise.
51098 * nss/nss_files/files-service.c: Likewise.
51099 * nss/nss_files/files-sgrp.c: Likewise.
51100 * nss/nss_files/files-spwd.c: Likewise.
51101 * nss/nss_db/db-alias.c: Removed.
51102 * nss/nss_db/dummy-db.h: Removed.
51103
9ee76b5a
UD
511042011-06-02 Ulrich Drepper <drepper@gmail.com>
51105
51106 * nss/makedb.c: Rewritten to not use database library.
51107 * nss/Makefile: Update to build new makedb program.
51108
c71ca1f8
AJ
511092011-06-14 Andreas Jaeger <aj@suse.de>
51110
51111 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51112 memset declaration.
51113
3154bfb8
UD
511142011-06-10 Andreas Schwab <schwab@redhat.com>
51115
51116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51117 tmpbuf.
51118
b350afab
RM
511192011-06-10 Roland McGrath <roland@hack.frob.com>
51120
decd4e50
RM
51121 * Makerules (shlib.lds): Fail if the linker script comes out empty.
51122 * elf/Makefile ($(objpfx)ld.so): Likewise.
51123
5615eaf2
RM
51124 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51125 Don't list ld.so twice in dependencies.
51126
51127 * posix/bug-regex31.c: Include <stdlib.h>.
51128
51129 * nscd/hstcache.c (cache_addhst): Remove unused variable.
51130
51131 * nis/nss_compat/compat-spwd.c
51132 (getspent_next_nss_netgr): Remove unused variable.
51133 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51134
51135 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51136 nonmembers" output to use the right array.
51137
51138 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51139
51140 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51141
51142 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51143 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51144 * catgets/gencat.c (read_input_file): Likewise.
51145 * locale/programs/locarchive.c (enlarge_archive): Likewise.
51146
51147 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51148 variable definition inside #if's controlling its use.
51149
51150 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51151
51152 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51153
51154 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51155
51156 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51157 unreachable code.
51158
51159 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51160
b68e08db
RM
51161 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51162 * configure: Regenerated.
51163
b350afab
RM
51164 * Makerules: Revert last change.
51165 * elf/Makefile: Likewise.
51166
28368601
RM
511672011-06-09 Roland McGrath <roland@hack.frob.com>
51168
51169 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51170 * elf/Makefile ($(objpfx)librtld.os): Likewise.
51171 (reloc-link): Likewise.
51172
11988f8f
UD
511732011-06-09 Ulrich Drepper <drepper@gmail.com>
51174
51175 * elf/Makefile: Add rules to build pldd.
51176 * elf/pldd.c: New file.
51177 * elf/pldd-xx.c: New file.
51178
e80fab37
UD
511792011-06-07 Ulrich Drepper <drepper@gmail.com>
51180
51181 * version.h: Update for 2.15 development version.
51182
9b849836
DM
511832011-06-07 David S. Miller <davem@davemloft.net>
51184
51185 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51186 ifuncs.
51187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51188 elf_machine_lazy_rel): Likewise.
51189 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51190 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51191 elf_machine_lazy_rel): Likewise.
51192 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51193 dl_hwcap via passed in argument.
51194 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51195 Likewise.
51196
5a31b283
AK
511972011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51198
51199 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
51200
069e52f8
RM
512012011-06-06 Roland McGrath <roland@hack.frob.com>
51202
51203 [BZ #12849]
51204 * manual/fdl-1.1.texi: New file, verbatim from:
51205 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51206 * manual/lgpl-2.1.texi: New file, verbatim from:
51207 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51208 * manual/Makefile (licenses): New variable, list those new file names.
51209 (texis): Use it.
51210 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51211
51212 * manual/fdl.texi: File removed.
51213 * manual/lesser.texi: File removed.
51214 * manual/libc.texinfo (Copying, Documentation License):
51215 Use new @include file names, put @appendix directive before @include.
51216
f16846a5
JJ
512172011-06-04 Jakub Jelinek <jakub@redhat.com>
51218
51219 [BZ #12841]
51220 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51221 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51222 (mq_open): Add __NTH.
51223
3d29045b
L
512242011-06-02 H.J. Lu <hongjiu.lu@intel.com>
51225
51226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51227 Assume Intel Core i3/i5/i7 processor if AVX is available.
51228
8c297311
UD
512292011-05-31 Ulrich Drepper <drepper@gmail.com>
51230
51231 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51232 typo.
51233
c8fc0c91
UD
512342011-05-31 Andreas Schwab <schwab@redhat.com>
51235
51236 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51237 memory. Use alloca_account. Fix memory leak when retrying.
51238
5b27a807
UD
512392011-05-31 Ulrich Drepper <drepper@gmail.com>
51240
356f8bc6
UD
51241 * version.h (RELEASE): Bump for 2.14 release.
51242 * include/features.h (__GLIBC_MINOR__): Bump to 14.
51243
5b27a807
UD
51244 * config.make.in (RANLIB): Remove entry.
51245
01f16ab0
UD
512462011-05-30 Ulrich Drepper <drepper@gmail.com>
51247
41fce8bd
UD
51248 * po/Makefile (po-sed-cmd): Add ksh to extensions.
51249 (libc.pot): Work around missing support for .ksh extension in xgettext.
51250
4769ae77
UD
51251 [BZ #12684]
51252 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51253 if both request failed.
51254 (send_dg): In case of server errors clear resplen or *resplen2.
51255
6b1e7d19
UD
51256 [BZ #12454]
51257 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51258 when there are multiple maps.
51259 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51260 (_dl_fini): Remove test here.
51261
01f16ab0
UD
51262 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51263
b1ebd700
UD
512642011-05-29 Ulrich Drepper <drepper@gmail.com>
51265
7ae22829
UD
51266 [BZ #12350]
51267 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51268 bit from old_res_options.
51269 (gaih_inet): Likewise.
51270
553149f6 51271 [BZ #11099]
18a84741 51272 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
51273 as signed.
51274
652ffab1
UD
51275 * resolv/res_init.c (res_setoptions): Make the code more compact.
51276
16985fd0
UD
51277 [BZ #11558]
51278 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51279 set RES_USEVC.
51280
0464f746
UD
51281 [BZ #11634]
51282 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51283
7d17596c
UD
51284 * malloc/malloc.h: Mark malloc hook variables as deprecated.
51285
cf6bbbd7
UD
51286 [BZ #11781]
51287 * malloc/malloc.h: Declare malloc hook variables as volatile.
51288
13f1ab36
UD
51289 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51290 in last patch.
51291
b1ebd700
UD
51292 [BZ #11799]
51293 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 51294 raise in the comment.
80e2212d
UD
51295 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51296 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51297 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 51298
ce67228d
UD
512992011-05-28 Ulrich Drepper <drepper@gmail.com>
51300
8887a920
UD
51301 [BZ #12811]
51302 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51303 grow the buffers more if it already has to be sufficient.
51304 (build_wcs_upper_buffer): Likewise.
51305 * posix/regexec.c (check_matching): Likewise.
51306 (clean_state_log_if_needed): Likewise.
51307 (extend_buffers): Don't enlarge buffers beyond size of the input
51308 buffer.
51309 Patches mostly by Emil Wojak <emil@wojak.eu>.
51310 * posix/bug-regex32.c: New file.
51311 * posix/Makefile (tests): Add bug-regex32.
51312
4f031072
UD
51313 * locale/findlocale.c (_nl_find_locale): Return right away if
51314 _nl_explode_name failed.
51315 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51316
d0478f0c
UD
51317 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51318
de81b246
UD
51319 * debug/xtrace.sh: Unify messages.
51320 * malloc/memusage.sh: Likewise.
51321
c738465a
UD
51322 [BZ #12813]
51323 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51324 time symbol from vDSO. Substitute with vsyscall if not available.
51325 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51326 __vdso_time.
51327
f1f929d7
UD
51328 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51329 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51330 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51331 Add sendmmsg and internal_sendmmsg.
51332 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51333 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51334 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51335
ce67228d
UD
51336 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51337 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51338 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51339
e57420c6
UD
513402011-05-27 Ulrich Drepper <drepper@gmail.com>
51341
a8509ca5
UD
51342 [BZ #12813]
51343 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51344 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
51345 available.
51346 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51347 __vdso_getcpu.
51348
e57420c6
UD
51349 [BZ #12814]
51350 * iconvdata/Makefile (tests): Add bug-iconv9.
51351 * iconvdata/bug-iconv9.c: New file.
51352
4d07db15
AS
513532011-05-27 Andreas Schwab <schwab@redhat.com>
51354
51355 [BZ #12814]
51356 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51357
ea486f69
JJ
513582011-05-25 Jakub Jelinek <jakub@redhat.com>
51359
51360 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51361 (struct user_regs_struct): Change intcs field back to cs.
51362
6f038433
UD
513632011-05-25 Ulrich Drepper <drepper@gmail.com>
51364
51365 * po/ja.po: Update from translation team.
51366
67f86a25
UD
513672011-05-23 Ulrich Drepper <drepper@gmail.com>
51368
51369 [BZ #12795]
51370 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51371 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51372
def7fbd6
AS
513732011-05-20 Andreas Schwab <schwab@redhat.com>
51374
51375 * stdlib/longlong.h: Update from GCC.
51376
f50ef8f1
AS
513772011-05-23 Andreas Schwab <schwab@redhat.com>
51378
51379 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51380 parameter name.
51381 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51382 Add parameter name.
51383 (__sysconf): Pass it down.
51384
de7ce8f1
UD
513852011-05-22 Ulrich Drepper <drepper@gmail.com>
51386
f2962a71
UD
51387 [BZ #12671]
51388 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51389 some situations.
51390 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51391 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51392 add in in __libc_use_alloca calls. Adjust callers.
51393 (glob): Use malloc in some situations.
51394
de7ce8f1
UD
51395 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51396 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51397 pltexit.
51398
aec84f53
UD
513992011-05-21 Ulrich Drepper <drepper@gmail.com>
51400
05bb4a68
UD
51401 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51402 and CLOCK_BOOTTIME_ALARM.
51403
7ea72f99
UD
51404 [BZ #12782]
51405 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51406 is returned.
51407
7e4afad5
UD
51408 * string/_strerror.c (__strerror_r): Print negative errors as signed
51409 numbers.
51410
8e211fec
UD
51411 [BZ #12777]
51412 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51413 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51414 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51415
f7d82dc9
UD
51416 * configure.in: Fix typo in redirection and correct removal of test
51417 files in two cases.
51418
cc9e536d
UD
51419 [BZ #12788]
51420 * locale/setlocale.c (new_composite_name): Fix test to check for
51421 identical name of all categories.
51422
aec84f53
UD
51423 [BZ #12792]
51424 * libio/filedoalloc.c (local_isatty): New function.
51425 (_IO_file_doallocate): Use local_isatty.
51426 * stdio-common/perror.c (perror): In case a new stream is used
51427 forward the stream error.
51428 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51429 error flag.
51430
78e64fdc
RT
514312011-05-20 Ulrich Drepper <drepper@gmail.com>
51432
34a9094f
UD
51433 [BZ #11869]
51434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51435 alloca.
51436 * include/alloca.h (extend_alloca_account): Define.
51437
78e64fdc
RT
51438 [BZ #11857]
51439 * posix/regex.h: Fix comments with documentation of user-accessible
51440 fields after compilation and describe correct free'ing of pattern
51441 after re_compile_pattern.
51442 Patch by Reuben Thomas <rrt@sc3d.org>.
51443
457bddfc
RA
514442011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51445
51446 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51447 and -mno-altivec to prevent the compiler from using Altivec and/or
51448 VSX instructions when the corresponding registers are not available.
51449
a4527b51
AS
514502011-05-19 Andreas Schwab <schwab@redhat.com>
51451
51452 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51453
ed690b2f
UD
514542011-05-19 Ulrich Drepper <drepper@gmail.com>
51455
51456 * libio/freopen.c (freopen): Use __dup2, not dup2.
51457 * libio/freopen64.c (freopen64): Likewise.
51458
8db73634
L
514592011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51460
51461 [BZ #12775]
51462 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51463 * math/Makefile (tests): Add test-powl.
51464 (CFLAGS-test-powl.c): Define.
51465 * math/test-powl.c: New file.
51466
0a197a9d
L
514672011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51468
51469 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51470
ee30c380
UD
514712011-05-17 Ulrich Drepper <drepper@gmail.com>
51472
51473 [BZ #11837]
51474 * iconvdata/gb18030.c: Update to GB18020-2005.
51475
6ce75379
UD
514762011-05-16 Ulrich Drepper <drepper@gmail.com>
51477
a4b89fd8
AR
51478 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51479 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51480 Patch by Aharon Robbins <arnold@skeeve.com>.
51481
ea389b12
UD
51482 [BZ #11892]
51483 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51484 on the stack.
51485
68a3f91f
UD
51486 [BZ #11895]
51487 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51488 through underflows.
51489
15cc7dd1
UD
51490 [BZ #12766]
51491 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51492 point to strings before performing equality test for error_one_per_line
51493 mode.
51494
f3799213
UD
51495 [BZ #11697]
51496 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51497
d79a9c94
UD
51498 [BZ #11820]
51499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51500 (struct user_fpregs_struct): Avoid __uint*_t types.
51501
56e5eb46
UD
51502 [BZ #6420]
51503 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51504 symbol info. Use it instead of calling _dl_addr locally.
51505 (lock_and_info): New function.
51506 (tr_freehook): Call lock_and_info and pass symbol info as additional
51507 parameter to tr_where.
51508 (tr_mallochook): Likewise.
51509 (tr_reallochook): Likewise.
51510 (tr_memalignhook): Likewise.
51511
6ce75379
UD
51512 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51513 used and couldn't be at all thread-safe.
51514
f8a3b5bf
UD
515152011-05-15 Ulrich Drepper <drepper@gmail.com>
51516
94b7cc37
UD
51517 * libio/freopen.c (freopen): Don't close old file descriptor
51518 before the new one is opened. Instead dup the new file descriptor
51519 to the old one after the new stream is created.
51520 * libio/freopen64.c (freopen64): Likewise.
51521 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51522 * libio/fileops.c (_IO_new_file_close_it): Handle new
51523 _IO_FLAGS2_NOCLOSE flag.
51524 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51525 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51526 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51527 _IO_FLAGS2_NOCLOSE flag.
51528 * include/unistd.h: Add hidden_proto for dup3.
51529 Define __have_dup3.
51530 * io/dup3.c: Define hidden symbol.
51531 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51532
bd25564e
UD
51533 [BZ #7101]
51534 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51535 when an incomplete long option is used.
51536 * posix/tst-getopt_long1.c: New file.
51537 * posix/Makefile (tests): Add tst-getopt_long1.
51538
c84cfef4
UD
51539 [BZ #10138]
51540 * scripts/config.guess: Update from autoconf-2.68.
51541 * scripts/config.sub: Likewise.
51542
3b85df27
UD
51543 [BZ #10157]
51544 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51545 tests into ...
51546 (has_cpuclock): ...this. New function.
51547 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51548 macro here based on has_cpuclock code.
51549
15a856b1
UD
51550 [BZ #10149]
51551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51552 First byte (not low byte) is now always NUL.
51553 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51554
05f399e6
UD
51555 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51556 Use non-cancelable interfaces.
51557
10a52685 51558 [BZ #9809]
94ecc67d
UD
51559 * locale/iso-639.def: Add entry for Sorani.
51560
f8a3b5bf
UD
51561 [BZ #11901]
51562 * include/stdlib.h: Move include protection to the right place.
51563 Define abort_msg_s. Declare __abort_msg with it.
51564 * stdlib/abort.c (__abort_msg): Adjust type.
51565 * assert/assert.c (__assert_fail_base): New function. Majority
51566 of code from __assert_fail. Allocate memory for __abort_msg with
51567 mmap.
51568 (__assert_fail): Now call __assert_fail_base.
51569 * assert/assert-perr.c: Remove bulk of implementation. Use
51570 __assert_fail_base.
51571 * include/assert.hL Declare __assert_fail_base.
51572 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51573 mmap.
51574 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51575
1af4e298
UD
515762011-05-14 Ulrich Drepper <drepper@gmail.com>
51577
f8a3b5bf 51578 [BZ #11952]
d26dfc60
MG
51579 [BZ #12453]
51580 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51581 until all modules are registered in the DTV.
51582 * elf/Makefile: Add rules to build and run tst-tls19.
51583 * elf/tst-tls19.c: New file.
51584 * elf/tst-tls19mod1.c: New file.
51585 * elf/tst-tls19mod2.c: New file.
51586 * elf/tst-tls19mod3.c: New file.
51587 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51588
2fc54d6f
UD
51589 [BZ #12083]
51590 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51591 correctly.
51592
98d76b46
UD
51593 [BZ #12601]
51594 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51595 two-byte sequence errors.
51596 * iconvdata/Makefile (tests): Add bug-iconv8.
51597 * iconvdata/bug-iconv8.c: New file.
51598
da3c19ef
UD
51599 [BZ #12626]
51600 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51601 buf2 definition.
51602
ca408c15
UD
51603 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51604
d6f67f7d
UD
51605 [BZ #12432]
51606 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51607 (dummy_getcfa): New function.
51608 (init): Get _Unwind_GetCFA address, use dummy if not found.
51609 (backtrace_helper): In recursion check, also check whether CFA changes.
51610 (__backtrace): Completely initialize arg.
51611
1af4e298 51612 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
51613 storing incomplete byte sequence in state object. Avoid testing for
51614 guaranteed too small input if we know there is enough data available.
1af4e298 51615
da62f81b
AS
516162011-05-11 Andreas Schwab <schwab@redhat.com>
51617
51618 * Makeconfig (+link-pie): Indent.
51619 * Rules (binaries-pie): Define if $(have-fpie) and
51620 $(build-shared).
51621 (binaries-shared): Also filter out $(binaries-pie).
51622 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51623 * nscd/Makefile (others-pie): Add nscd.
51624 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51625 ($(objpfx)nscd): Remove command override.
51626 * login/Makefile (others-pie): Add pt_chown.
51627 ($(objpfx)pt_chown): Remove command override.
51628 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51629 remove command overrides.
51630
fcabc0f8
UD
516312011-05-13 Ulrich Drepper <drepper@gmail.com>
51632
20030ae6
UD
51633 * libio/tst_putwc.c: Fix error messages.
51634
fcabc0f8
UD
51635 [BZ #12724]
51636 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51637 currently writing and seek to current position when not.
51638 * libio/Makefile (tests): Add bug-fclose1.
51639 * libio/bug-fclose1.c: New file.
51640
320a5dc0
PB
516412011-05-12 Ulrich Drepper <drepper@gmail.com>
51642
51643 [BZ #12511]
51644 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51645 don't set DF_1_NODELETE here.
51646 (do_lookup_x): When entering new entry test for copy relocation
51647 and if necessary set DF_1_NODELETE flag.
51648 * elf/tst-unique4.cc: New file.
51649 * elf/tst-unique4.h: New file.
51650 * elf/tst-unique4lib.cc: New file.
51651 * elf/Makefile: Add rules to build and run tst-unique4.
51652 Patch by Piotr Bury <pbury@goahead.com>.
51653
22836f52
UD
516542011-05-11 Ulrich Drepper <drepper@gmail.com>
51655
f574184a
UD
51656 [BZ #12052]
51657 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51658
e1fb097f
UD
51659 [BZ #12625]
51660 * misc/mntent_r.c (addmntent): Flush the stream after the output
51661
22836f52
UD
51662 [BZ #12393]
51663 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51664 (is_trusted_path_normalize): Skip initial colon. Append slash
51665 to empty buffer. Duplicate is_trusted_path code but allow
51666 constructed patch to be prefix.
51667 (is_dst): Allow $ORIGIN followed by /.
51668 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51669 Correct testing of result of is_trusted_path_normalize
51670 (decompose_rpath): Fix warning.
51671
7b3b0b2a
UD
516722011-05-10 Ulrich Drepper <drepper@gmail.com>
51673
51674 [BZ #11257]
51675 * grp/initgroups.c (internal_getgrouplist): When we found the service
51676 list through the initgroups entry in nsswitch.conf do not always
51677 continue on a successful lookup. Don't always use the
eac80ce2 51678 __nss_group_database value if it is set.
7b3b0b2a
UD
51679 * nss/nsswitch.conf (initgroups): Change action for successful db
51680 lookup to continue for compatibility.
51681
2a81eaa5
UD
516822011-05-09 Ulrich Drepper <drepper@gmail.com>
51683
be97a69e
UD
51684 [BZ #11532]
51685 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51686 and CP774 modules.
51687 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51688 and CP774 modules.
51689 * iconvdata/tst-tables.sh: Likewise.
51690 * iconvdata/cp770.c: New file.
51691 * iconvdata/cp771.c: New file.
51692 * iconvdata/cp772.c: New file.
51693 * iconvdata/cp773.c: New file.
51694 * iconvdata/cp774.c: New file.
51695 * iconvdata/testdata/CP770: New file.
51696 * iconvdata/testdata/CP770..UTF8: New file.
51697 * iconvdata/testdata/CP771: New file.
51698 * iconvdata/testdata/CP771..UTF8: New file.
51699 * iconvdata/testdata/CP772: New file.
51700 * iconvdata/testdata/CP772..UTF8: New file.
51701 * iconvdata/testdata/CP773: New file.
51702 * iconvdata/testdata/CP773..UTF8: New file.
51703 * iconvdata/testdata/CP774: New file.
51704 * iconvdata/testdata/CP774..UTF8: New file.
51705
51706 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51707 END CHARMAP line.
51708 * iconvdata/gen-8bit-gap.sh: Likewise.
51709 * iconvdata/gen-8bit.sh: Likewise.
51710
c1e9e399
UD
51711 * locale/iso-639.def: Add ary entry.
51712
24c55fb3 51713 [BZ #11258]
96b4b1b0
UD
51714 * locale/C-translit.h.in: Add U20A1 transliteration.
51715
bdc2f971
KB
51716 [BZ #12178]
51717 * locale/iso-639.def: Add wae entry.
51718 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51719
2952b117
UD
51720 [BZ #12545]
51721 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51722 for n.
51723
2a81eaa5
UD
51724 [BZ #12711]
51725 * locale/C-translit.h.in: Add entry for U20B9.
51726 Patch by pravin.d.s@gmail.com.
51727
28377d1b
UD
517282011-05-08 Ulrich Drepper <drepper@gmail.com>
51729
7fb90fb8
UD
51730 [BZ #12713]
51731 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51732 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
51733 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51734 in rtld. Use *stat64.
7fb90fb8 51735 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 51736 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 51737 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
51738 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51739 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51740 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51741 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51742 __fstatat64 macros.
7fb90fb8
UD
51743 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51744 * dirent/rewinddir.c: Add libc_hidden_def.
51745 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 51746 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 51747
28377d1b
UD
51748 * include/dirent.h (__alloc_dir): Add flags parameter.
51749 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51750 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51751 __alloc_dir.
51752 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51753 from fdopendir if O_CLOEXEC is already set.
51754
66bdbaa4
AM
517552011-03-15 Alan Modra <amodra@gmail.com>
51756
51757 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51758 l_tls_firstbyte_offset non-zero. Save padding offset in
51759 l_tls_firstbyte_offset for later use.
51760 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51761 freeing static tls block.
51762
95721191
JN
517632011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51764
51765 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51766 where #ifdef was intended. The intent is to prevent ARG_MAX from
51767 being defined by the kernel headers.
51768
f87dfb1f
UD
517692011-05-07 Ulrich Drepper <drepper@gmail.com>
51770
51771 [BZ #12734]
51772 * resolv/resolv.h: Define RES_NOTLDQUERY.
51773 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51774 no-tld-query and set RES_NOTLDQUERY.
51775 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51776 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51777 modern BIND to search name as TLD unless forbidden.
51778
47c3cd7a
UD
517792011-05-07 Petr Baudis <pasky@suse.cz>
51780 Ulrich Drepper <drepper@gmail.com>
51781
51782 [BZ #12393]
51783 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51784 (is_trusted_path): ...to here.
c1e9ea35 51785 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 51786 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 51787 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 51788
8a35c912
PP
517892011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51790
51791 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51792 __BEGIN/__END_DECLS.
51793
acd41f47
UD
517942011-05-06 Ulrich Drepper <drepper@gmail.com>
51795
51796 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51797 NSS_STATUS_NOTFOUND if no record was found.
51798
597df647
AS
517992011-05-05 Andreas Schwab <schwab@redhat.com>
51800
51801 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51802 (headers-not-in-tirpc): Remove rpc/netdb.h
51803 * resolv/netdb.h: Revert last change.
51804
b9af1301
PP
518052011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51806
51807 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51808 circular dependency between libgcc.a and libc.a.
51809
4e34d5f5
AS
518102011-05-05 Andreas Schwab <schwab@redhat.com>
51811
51812 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51813 * nis/Makefile: Don't install rpcsvc/*.
51814 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51815 instead of <rpc/types.h>.
51816 (MAXHOSTNAMELEN): Define.
51817
00ee369c
AS
518182011-05-03 Andreas Schwab <schwab@redhat.com>
51819
51820 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51821
0b592a30
MB
518222011-04-28 Maciej Babinski <mbabinski@google.com>
51823
51824 [BZ #12714]
51825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51826 gethostbyname4_r when IPv6 results are possible.
51827
6e04cbbe
UD
518282011-05-02 Ulrich Drepper <drepper@gmail.com>
51829
51830 [BZ #12723]
51831 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51832 _PC_PIPE_BUF handling.
51833
e4ecafe0
BH
518342011-04-30 Bruno Haible <bruno@clisp.org>
51835
51836 [BZ #12717]
51837 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51838 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51839 to 'int'.
51840 * inet/getnameinfo.c (getnameinfo): Likewise.
51841
125ee683
UD
518422011-04-29 Ulrich Drepper <drepper@gmail.com>
51843
51844 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51845 to groups setting in database lookup.
51846 * nss/nsswitch.conf: Add initgroups entry.
51847
b722481a
EB
518482011-04-22 Ulrich Drepper <drepper@gmail.com>
51849
51850 [BZ #12685]
51851 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51852 mode string.
51853 Patch by Eric Blake <eblake@redhat.com>.
51854
4df46dbd
L
518552011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51856
51857 * sunrpc/Makefile (need-export-routines): Add svc_run.
51858 (routines): Remove svc_run.
51859 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51860 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51861 * sunrpc/svc_run.c (svc_run): Likewise.
51862 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51863
e84142d2
UD
518642011-04-21 Ulrich Drepper <drepper@gmail.com>
51865
51866 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51867 problem in reallocation in last patch.
51868
877175d8
UD
518692011-04-20 Ulrich Drepper <drepper@gmail.com>
51870
51871 * sunrpc/Makefile: Move inclusion of Rules.
51872
ab8eed78
UD
518732011-04-19 Ulrich Drepper <drepper@gmail.com>
51874
51875 * nss/nss_files/files-initgroups.c: New file.
51876 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51877 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51878 _nss_files_initgroups_dyn.
51879
e3d8f584
RS
518802011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51881
51882 * elf/elf.h (R_ARM_IRELATIVE): Define.
51883
af190f45
UD
518842011-04-19 Ulrich Drepper <drepper@gmail.com>
51885
51886 * po/ru.po: Update from translation team.
51887
53cf59ef
UD
518882011-04-17 Ulrich Drepper <drepper@gmail.com>
51889
51890 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51891 dependencies.
51892
4c559bcd
MF
518932011-02-06 Mike Frysinger <vapier@gentoo.org>
51894
51895 [BZ #12653]
51896 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51897 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51898 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51899 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51900 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51901
4420675c
AS
519022011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51903
51904 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51905 differing bytes.
51906 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51907 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51908 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51909
75ea32ab
UD
519102011-04-17 Ulrich Drepper <drepper@gmail.com>
51911
51912 [BZ #12420]
51913 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51914 storing it.
51915 * stdlib/bug-getcontext.c: New file.
51916 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51917
27390476
AK
519182011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51919
51920 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51921 instructions into .machine "z9-109".
51922 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51923 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51924
10442705
AK
519252011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51926
51927 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51928 between environment variables and auxiliary vector.
51929
7b57bfe5
UD
519302011-04-16 Ulrich Drepper <drepper@gmail.com>
51931
51932 * Makefile: Add rules to build linkobj/libc.so.
51933 * include/libc-symbols.h: Define libc_hidden_nolink.
51934 * include/rpc/auth.h: Mark functions which are to be hidden.
51935 * include/rpc/auth_des.h: Likewise.
51936 * include/rpc/auth_unix.h: Likewise.
51937 * include/rpc/clnt.h: Likewise.
51938 * include/rpc/des_crypt.h: Likewise.
51939 * include/rpc/key_prot.h: Likewise.
51940 * include/rpc/pmap_clnt.h: Likewise.
51941 * include/rpc/pmap_prot.h: Likewise.
51942 * include/rpc/pmap_rmt.h: Likewise.
51943 * include/rpc/rpc_msg.h: Likewise.
51944 * include/rpc/svc.h: Likewise.
51945 * include/rpc/svc_auth.h: Likewise.
51946 * include/rpc/xdr.h: Likewise.
51947 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51948 * nss/Makefile: Likewise.
51949 * sunrpc/Makefile: Don't install headers. Build library with normal
51950 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51951 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51952 for the compat linking library. Remove use of INTDEF/INTUSE.
51953 * sunrpc/auth_none.c: Likewise.
51954 * sunrpc/auth_unix.c: Likewise.
51955 * sunrpc/authdes_prot.c: Likewise.
51956 * sunrpc/authuxprot.c: Likewise.
51957 * sunrpc/clnt_gen.c: Likewise.
51958 * sunrpc/clnt_perr.c: Likewise.
51959 * sunrpc/clnt_raw.c: Likewise.
51960 * sunrpc/clnt_simp.c: Likewise.
51961 * sunrpc/clnt_tcp.c: Likewise.
51962 * sunrpc/clnt_udp.c: Likewise.
51963 * sunrpc/clnt_unix.c: Likewise.
51964 * sunrpc/des_crypt.c: Likewise.
51965 * sunrpc/des_soft.c: Likewise.
51966 * sunrpc/get_myaddr.c: Likewise.
51967 * sunrpc/key_call.c: Likewise.
51968 * sunrpc/key_prot.c: Likewise.
51969 * sunrpc/netname.c: Likewise.
51970 * sunrpc/pm_getmaps.c: Likewise.
51971 * sunrpc/pm_getport.c: Likewise.
51972 * sunrpc/pmap_clnt.c: Likewise.
51973 * sunrpc/pmap_prot.c: Likewise.
51974 * sunrpc/pmap_prot2.c: Likewise.
51975 * sunrpc/pmap_rmt.c: Likewise.
51976 * sunrpc/publickey.c: Likewise.
51977 * sunrpc/rpc_cmsg.c: Likewise.
51978 * sunrpc/rpc_common.c: Likewise.
51979 * sunrpc/rpc_dtable.c: Likewise.
51980 * sunrpc/rpc_prot.c: Likewise.
51981 * sunrpc/rpc_thread.c: Likewise.
51982 * sunrpc/rtime.c: Likewise.
51983 * sunrpc/svc.c: Likewise.
51984 * sunrpc/svc_auth.c: Likewise.
51985 * sunrpc/svc_authux.c: Likewise.
51986 * sunrpc/svc_raw.c: Likewise.
51987 * sunrpc/svc_run.c: Likewise.
51988 * sunrpc/svc_simple.c: Likewise.
51989 * sunrpc/svc_tcp.c: Likewise.
51990 * sunrpc/svc_udp.c: Likewise.
51991 * sunrpc/svc_unix.c: Likewise.
51992 * sunrpc/svcauth_des.c: Likewise.
51993 * sunrpc/xcrypt.c: Likewise.
51994 * sunrpc/xdr.c: Likewise.
51995 * sunrpc/xdr_array.c: Likewise.
51996 * sunrpc/xdr_float.c: Likewise.
51997 * sunrpc/xdr_intXX_t.c: Likewise.
51998 * sunrpc/xdr_mem.c: Likewise.
51999 * sunrpc/xdr_rec.c: Likewise.
52000 * sunrpc/xdr_ref.c: Likewise.
52001 * sunrpc/xdr_sizeof.c: Likewise.
52002 * sunrpc/xdr_stdio.c: Likewise.
52003
e6c61494
UD
520042011-04-10 Ulrich Drepper <drepper@gmail.com>
52005
52006 [BZ #12650]
52007 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52008 * sysdeps/ia64/dl-tls.h: Likewise.
52009 * sysdeps/powerpc/dl-tls.h: Likewise.
52010 * sysdeps/s390/dl-tls.h: Likewise.
52011 * sysdeps/sh/dl-tls.h: Likewise.
52012 * sysdeps/sparc/dl-tls.h: Likewise.
52013 * sysdeps/x86_64/dl-tls.h: Likewise.
52014 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52015
34fe483e
AS
520162011-03-14 Andreas Schwab <schwab@redhat.com>
52017
52018 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52019 rpath element also skip the following colon.
52020 (expand_dynamic_string_token): Add is_path parameter and pass
52021 down to DL_DST_REQUIRED and _dl_dst_substitute.
52022 (decompose_rpath): Call expand_dynamic_string_token with
52023 non-zero is_path. Ignore empty rpaths.
52024 (_dl_map_object_from_fd): Call expand_dynamic_string_token
52025 with zero is_path.
52026
f12a32e6
AS
520272011-04-08 Andreas Schwab <schwab@linux-m68k.org>
52028
52029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52030 Make cancelable.
52031
38a7d692
UD
520322011-04-09 Ulrich Drepper <drepper@gmail.com>
52033
52034 [BZ #12655]
52035 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52036 Patch by Filipe David Manana <fdmanana@apache.org>.
52037
e451d22b
AS
520382011-04-07 Andreas Schwab <schwab@redhat.com>
52039
52040 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52041 Maintain aligned stack.
52042 (CHECK_RSP): Remove unused macro.
52043
dedc7c7b
UD
520442011-04-03 Ulrich Drepper <drepper@gmail.com>
52045
52046 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52047 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52048
94521213
UD
520492011-04-02 Ulrich Drepper <drepper@gmail.com>
52050
52051 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52052
8cb700c0 52053 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 52054
0354e355
L
520552011-03-26 H.J. Lu <hongjiu.lu@intel.com>
52056
52057 [BZ #12518]
52058 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52059 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52060 * sysdeps/x86_64/memmove.c: New file.
52061 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52062 (memcpy): Renamed to ...
52063 (__new_memcpy): This.
52064 (memcpy): Provide GLIBC_2_14 memcpy.
52065 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52066 (memcpy): Provide GLIBC_2_2_5 memcpy.
52067
8593482f
UD
520682011-04-01 Ulrich Drepper <drepper@gmail.com>
52069
52070 [BZ #12631]
52071 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52072
81a5726b
AS
520732011-03-30 Andreas Schwab <schwab@redhat.com>
52074
52075 * misc/syncfs.c: New file.
52076 * misc/Makefile (routines): Add syncfs.
52077 * posix/unistd.h: Declare syncfs.
52078 * sysdeps/unix/syscalls.list: Add syncfs.
52079
00e5419f
AS
520802011-04-01 Andreas Schwab <schwab@redhat.com>
52081
52082 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52083 open_by_handle_at.
52084 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52085 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52086 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52087 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52088 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52089 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52090 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52091
748876bf
UD
520922011-04-01 Ulrich Drepper <drepper@gmail.com>
52093
658e451d
UD
52094 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52095 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52096 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52097 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52098 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52099 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52100 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52101
748876bf
UD
52102 * io/Makefile: Compile fallocate.c, fallocate64.c, and
52103 sync_file_range.c with -fexceptions.
52104 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52105 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52106 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52107 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52108 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52109 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52110 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
52111 sync_file_range as cancellation point
52112 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
52113 now a wrapper around __call_sync_file_range with cancellation handling.
52114 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52115 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
52116 function name to __call_sync_file_range.
52117 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52118 Add call_sync_file_range.
748876bf 52119
6e63d5e1
AS
521202011-04-01 Andreas Schwab <schwab@redhat.com>
52121
52122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 52123 bits/timex.h.
6e63d5e1 52124
46998f74
UD
521252011-04-01 Ulrich Drepper <drepper@gmail.com>
52126
4c1423ed
UD
52127 * iconv/iconv.h: Fix typo in comment.
52128 * io/fcntl.h: Likewise.
52129 * libio/stdio.h: Likewise.
52130 * posix/spawn.h: Likewise.
52131 * posix/unistd.h: Likewise.
52132 * stdlib/stdlib.h: Likewise.
52133 * time/time.h: Likewise.
52134 * wcsmbs/wchar.h: Likewise.
52135
158648c0
UD
52136 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52137 open_by_handle): Add.
52138 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52139 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
52140 Augment a few comments.
52141 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52142 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52143 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52144 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52145 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52146 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52147 open_by_handle.
52148
46998f74
UD
52149 * io/fcntl.h (AT_EMPTY_PATH): Define.
52150
83fe108b
UD
521512011-03-30 Ulrich Drepper <drepper@gmail.com>
52152
52153 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52154 * sysdeps/unix/sysv/linux/bits/time.h: New file.
52155 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52156 to...
52157 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
52158 * Versions.def: Add GLIBC_2.14.
52159 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52160 Export.
83fe108b 52161
bb242059
UD
521622011-03-22 Ulrich Drepper <drepper@gmail.com>
52163
52164 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52165 round counter.
52166 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52167
c97a1282
L
521682011-03-20 H.J. Lu <hongjiu.lu@intel.com>
52169
52170 [BZ #12597]
52171 * string/test-strncmp.c (do_page_test): New function.
52172 (check2): Likewise.
52173 (test_main): Call check2.
52174 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52175
2a115601
UD
521762011-03-20 Ulrich Drepper <drepper@gmail.com>
52177
52178 [BZ #12587]
52179 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52180 Handle cache information in CPU leaf 4.
52181 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52182
8126d904
UD
521832011-03-18 Ulrich Drepper <drepper@gmail.com>
52184
042c49c6 52185 [BZ #12583]
8126d904
UD
52186 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52187 character representation.
52188 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52189
ccfe366e
RA
521902011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
52191
52192 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52193 END(__isnan) to END(__isnanf) to match function entry point/label
52194 EALIGN(__isnanf,...).
52195
c6e13027
JJ
521962011-03-10 Jakub Jelinek <jakub@redhat.com>
52197
52198 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52199
33f85a3f
UD
522002011-03-10 Ulrich Drepper <drepper@gmail.com>
52201
028478fa
UD
52202 [BZ #12510]
52203 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52204 copy from the symbol referenced in the relocation to initialize the
52205 used variable.
52206 Patch by Piotr Bury <pbury@goahead.com>.
52207 * elf/Makefile: Add rules to build and tst-unique3.
52208 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52209 * elf/tst-unique3.cc: New file.
52210 * elf/tst-unique3.h: New file.
52211 * elf/tst-unique3lib.cc: New file.
52212 * elf/tst-unique3lib2.cc: New file.
52213
33f85a3f
UD
52214 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52215
03592fc7
MF
522162011-03-10 Mike Frysinger <vapier@gentoo.org>
52217
52218 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52219 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
52220 to _start.
03592fc7 52221
6a5ee102
UD
522222011-03-06 Ulrich Drepper <drepper@gmail.com>
52223
52224 * elf/dl-load.c (_dl_map_object): If we are looking for the first
52225 to-be-loaded object along a path to loader is ld.so.
52226
7e4ba49c
HJ
522272011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52228 Ulrich Drepper <drepper@gmail.com>
52229
52230 * sysdeps/x86_64/memset.S: After aligning destination, code
52231 branches to different locations depending on the value of
52232 misalignment, when multiarch is enabled. Fix this.
52233
522342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52235
52236 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52237 Set _x86_64_preferred_memory_instruction for AMD processsors.
52238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52239 Set bit_Prefer_SSE_for_memop for AMD processors.
52240
13a804de
UD
522412011-03-04 Ulrich Drepper <drepper@gmail.com>
52242
52243 * libio/fmemopen.c (fmemopen): Optimize a bit.
52244
9d25c392
AS
522452011-03-03 Andreas Schwab <schwab@redhat.com>
52246
52247 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52248
a5543c6a
RM
522492011-03-03 Roland McGrath <roland@redhat.com>
52250
52251 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52252
012d35f7
DM
522532011-02-28 Aurelien Jarno <aurelien@aurel32.net>
52254
7e4ba49c 52255 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
52256 __bzero_ultra1 instead of __memset_ultra1.
52257
4bff6e01
AS
522582011-02-23 Andreas Schwab <schwab@redhat.com>
52259 Ulrich Drepper <drepper@gmail.com>
52260
52261 [BZ #12509]
52262 * include/link.h (struct link_map): Add l_orig_initfini.
52263 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52264 returning unsuccessfully.
52265 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52266 close of a file loaded at startup, restore the original l_initfini
52267 list.
52268 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52269 list, store the pointer.
52270 * elf/Makefile ($(objpfx)noload-mem): New rule.
52271 (noload-ENV): Define.
52272 (tests): Add $(objpfx)noload-mem.
52273 * elf/noload.c: Include <memcheck.h>.
52274 (main): Call mtrace. Close all opened handles.
52275
f2092faf
AS
522762011-02-17 Andreas Schwab <schwab@redhat.com>
52277
52278 [BZ #12454]
52279 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52280 dependencies are missing.
52281
6c8a2e88
ST
522822011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
52283
f2092faf 52284 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
52285 Hurd needs munmap.
52286 * sysdeps/mach/hurd/ifreq.h: New file.
52287
84a42118
PB
522882011-01-27 Petr Baudis <pasky@suse.cz>
52289 Ulrich Drepper <drepper@gmail.com>
52290
071f805e 52291 [BZ 12445]#
84a42118
PB
52292 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52293 to extend_alloca().
52294 * stdio-common/bug23.c: New file.
52295 * stdio-common/Makefile (tests): Add bug23.
52296
e23fe25b
AS
522972010-09-28 Andreas Schwab <schwab@redhat.com>
52298 Ulrich Drepper <drepper@gmail.com>
52299
52300 [BZ #12489]
52301 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52302 before performing relro protection. At old place add assertion
52303 to make sure nothing changed.
52304
d3f02e10
NS
523052011-02-17 Nathan Sidwell <nathan@codesourcery.com>
52306 Glauber de Oliveira Costa <glommer@gmail.com>
52307
52308 * elf/elf.h: Add new ARM TLS relocs.
52309
d55fd7a5
RA
523102011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
52311
52312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52313 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52314 cast from r3.
52315 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
52316 'tests' variable.
52317 * sysdeps/wordsize-64/tst-writev.c: New file.
52318
2206397e
RA
523192011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
52320
52321 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52322 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52323 insns in _dl_start to prevent a TOC reference before relocs are
52324 resolved.
52325
e9433893
UD
523262011-02-15 Ulrich Drepper <drepper@gmail.com>
52327
52328 [BZ #12469]
52329 * Makeconfig: Remove RANLIB definition.
52330 * Makerules: Don't use RANLIB.
52331 * aclocal.m4: Remove ranlib test.
52332 * configure.in: No need to check for ranlib.
52333 * elf/rtld-Rules: Don't use RANLIB.
52334
f75286c6
ST
523352011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52336
8e31c82d
ST
52337 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52338 protection macro.
52339 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52340 inclusion protection macro.
52341
f75286c6
ST
52342 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52343 SIGRTMIN and SIGRTMAX and print information in that case only when
52344 SIGRTMIN is defined.
52345
c1d0e639
JJ
523462011-02-11 Jakub Jelinek <jakub@redhat.com>
52347
52348 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52349 arginfo fn returning -1.
52350
52351 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52352 and thousands string is zero terminated.
52353
edf9294e
AS
523542011-02-03 Andreas Schwab <schwab@redhat.com>
52355
52356 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52357 sysdeps/unix/sysv/linux/bits/socket.h.
52358
2b7e92df
ST
523592011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
52360
edf9294e
AS
52361 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52362 (__CPU_COUNT): Remove old macros.
52363 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52364 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52365 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
52366 (__sched_cpualloc, __sched_cpufree): Add declarations.
52367
a4c7ea7b
UD
523682011-02-05 Ulrich Drepper <drepper@gmail.com>
52369
52370 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52371 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52372 * nscd/aicache.c (addhstaiX): Return timeout of added value.
52373 (readdhstai): Return value of addhstaiX call.
52374 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52375 (addgrbyX): Return value returned by cache_addgr.
52376 (readdgrbyname): Return value returned by addgrbyX.
52377 (readdgrbygid): Likewise.
52378 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52379 (addpwbyX): Return value returned by cache_addpw.
52380 (readdpwbyname): Return value returned by addhstbyX.
52381 (readdpwbyuid): Likewise.
52382 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52383 (addservbyX): Return value returned by cache_addserv.
52384 (readdservbyname): Return value returned by addservbyX:
52385 (readdservbyport): Likewise.
52386 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52387 (addhstbyX): Return value returned by cache_addhst.
52388 (readdhstbyname): Return value returned by addhstbyX.
52389 (readdhstbyaddr): Likewise.
52390 (readdhstbynamev6): Likewise.
52391 (readdhstbyaddrv6): Likewise.
52392 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52393 (readdinitgroups): Return value returned by addinitgroupsX.
52394 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52395 (prune_cache): Keep track of timeout value of re-added entries.
52396 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52397 * nscd/nscd.h: Adjust prototypes of readd* functions.
52398
a0bf67cc
RM
523992011-02-04 Roland McGrath <roland@redhat.com>
52400
52401 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52402 (nis_stats): Likewise.
52403 * nis/nis_modify.c (nis_modify): Likewise.
52404 * nis/nis_remove.c (nis_remove): Likewise.
52405 * nis/nis_add.c (nis_add): Likewise.
52406
52407 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52408
52409 * posix/fnmatch_loop.c: Add some consts.
52410
52411 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52412
435b95eb
L
524132011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52414
52415 [BZ #12460]
52416 * config.make.in (config-cflags-novzeroupper): Define.
52417 * configure.in: Substitute libc_cv_cc_novzeroupper.
52418 * elf/Makefile (AVX-CFLAGS): Define.
52419 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52420 (CFLAGS-tst-auditmod4a.c): Likewise.
52421 (CFLAGS-tst-auditmod4b.c): Likewise.
52422 (CFLAGS-tst-auditmod6b.c): Likewise.
52423 (CFLAGS-tst-auditmod6c.c): Likewise.
52424 (CFLAGS-tst-auditmod7b.c): Likewise.
52425 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52426
8517b15e
UD
524272011-02-02 Ulrich Drepper <drepper@gmail.com>
52428
52429 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52430 function to the callback.
52431 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52432
10a656fe
AS
524332011-02-02 Andreas Schwab <schwab@redhat.com>
52434
52435 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52436 of errno.
52437
968dad0a
UD
524382011-01-19 Ulrich Drepper <drepper@gmail.com>
52439
9f94d2ea 52440 [BZ #11724]
968dad0a
UD
52441 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52442 of constructors.
52443 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52444 of destructors.
52445 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52446
52447 [BZ #11724]
52448 * elf/Makefile: Add rules to build and run new test.
52449 * elf/tst-initorder.c: New file.
52450 * elf/tst-initorder.exp: New file.
52451 * elf/tst-initordera1.c: New file.
52452 * elf/tst-initordera2.c: New file.
52453 * elf/tst-initordera3.c: New file.
52454 * elf/tst-initordera4.c: New file.
52455 * elf/tst-initorderb1.c: New file.
52456 * elf/tst-initorderb2.c: New file.
52457 * elf/tst-order-a1.c: New file.
52458 * elf/tst-order-a2.c: New file.
52459 * elf/tst-order-a3.c: New file.
52460 * elf/tst-order-a4.c: New file.
52461 * elf/tst-order-b1.c: New file.
52462 * elf/tst-order-b2.c: New file.
52463 * elf/tst-order-main.c: New file.
52464 New test case by George Gensure <werkt0@gmail.com>.
52465
86e92359
UD
524662010-10-01 Andreas Schwab <schwab@redhat.com>
52467
52468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52469 decoding ACE if AI_CANONIDN.
52470
5d5732b0
UD
524712011-01-18 Ulrich Drepper <drepper@gmail.com>
52472
52473 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52474
a77e8cbc
UD
524752011-01-17 Ulrich Drepper <drepper@gmail.com>
52476
6392473f
UD
52477 * version.h (RELEASE): Bump for 2.13 release.
52478 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52479
620a0529
UD
52480 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52481
18ba70a5
UD
52482 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52483 MADV_NOHUGEPAGE.
32465c3e
UD
52484 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52485 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52486 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52487 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52488 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52489 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52490
c0dafcf1
UD
52491 * posix/getconf.c: Update copyright year.
52492 * catgets/gencat.c: Likewise.
52493 * csu/version.c: Likewise.
52494 * debug/catchsegv.sh: Likewise.
52495 * debug/xtrace.sh: Likewise.
52496 * elf/ldconfig.c: Likewise.
52497 * elf/ldd.bash.in: Likewise.
52498 * elf/sprof.c (print_version): Likewise.
52499 * iconv/iconv_prog.c: Likewise.
52500 * iconv/iconvconfig.c: Likewise.
52501 * locale/programs/locale.c: Likewise.
52502 * locale/programs/localedef.c: Likewise.
52503 * malloc/memusage.sh: Likewise.
52504 * malloc/mtrace.pl: Likewise.
52505 * nscd/nscd.c (print_version): Likewise.
52506 * nss/getent.c: Likewise.
52507
a77e8cbc
UD
52508 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52509 PF_CAIF, and PF_ALG.
52510 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52511
77e8bddf
AS
525122011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52513
1f20b93a
AS
52514 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52515 (modules-names): Use them.
52516 (ifunc-test-modules, ifunc-pie-tests): Define.
52517 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52518 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52519 (test-extras): Likewise.
52520 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52521 $(compile-command.c).
52522 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52523 (all-built-dso): Define.
52524 (check-textrel.out, check-execstack.out): Depend on it.
52525
77e8bddf
AS
52526 * configure.in: Don't override --enable-multi-arch.
52527
bc425b33
UD
525282011-01-15 Ulrich Drepper <drepper@gmail.com>
52529
52530 [BZ #6812]
52531 * nscd/hstcache.c (tryagain): Define.
52532 (cache_addhst): Return tryagain not notfound for temporary errors.
52533 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52534 failed.
52535
794c3ad3
UD
525362011-01-14 Ulrich Drepper <drepper@gmail.com>
52537
70181fdd
UD
52538 [BZ #10563]
52539 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52540 to make the syscall.
52541 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52542
794c3ad3
UD
52543 [BZ #12378]
52544 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52545 and fall back to matching as normal character if the string ends before
52546 the matching ']' is found. This is what POSIX requires.
52547 * posix/testfnm.c: Adjust test result.
52548 * posix/globtest.sh: Adjust test result. Add new test.
52549 * posix/tst-fnmatch.input: Likewise.
52550 * posix/tst-fnmatch2.c: Add new test.
52551
68dc9497
AS
525522010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52553
52554 * elf/Makefile (check-execstack): Revert last change. Depend on
52555 check-execstack.h.
52556 (check-execstack.h): New target.
52557 (generated): Add check-execstack.h.
52558 * elf/check-execstack.c: Include "check-execstack.h".
52559 (main): Revert last change.
52560 (handle_file): Return zero if GNU_STACK is absent and
52561 DEFAULT_STACK_PERMS doesn't include PF_X.
52562
451f001b
UD
525632011-01-13 Ulrich Drepper <drepper@gmail.com>
52564
cfa28e56
UD
52565 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52566 in child fails because the descriptor is already closed.
8cf8ce17
UD
52567 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52568 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52569 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 52570
1086d70d
UD
52571 [BZ #12397]
52572 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52573 syscall.
52574
451f001b
UD
52575 [BZ #10484]
52576 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52577 temporary buffer used to handle multi lookups locally.
a85b5cb4 52578 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 52579
08769175
UD
525802011-01-12 Ulrich Drepper <drepper@gmail.com>
52581
52582 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52583 loader is ld.so.
52584
5e49c52e
UD
525852011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52586
52587 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52588 alignment for SSE2.
52589
60522a5f
UD
525902011-01-12 Ulrich Drepper <drepper@gmail.com>
52591
52592 [BZ #12394]
52593 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52594 characters. When rounding increased number of integer digits recompute
52595 number of groups.
52596 * stdio-common/tst-grouping.c: New file.
52597 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52598
f257bbd7
UD
525992011-01-09 Ulrich Drepper <drepper@gmail.com>
52600
52601 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52602 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52603
52604 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52605 void.
52606 * bits/select.h: Likewise.
52607
fa9c15cb
UD
526082011-01-08 Ulrich Drepper <drepper@gmail.com>
52609
52610 * po/ja.po: Update from translation team.
52611
16c2895f
DM
526122011-01-04 David S. Miller <davem@sunset.davemloft.net>
52613
52614 [BZ #11155]
52615 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52616 implementation just like for lxstat, fxstatat, et al.
52617
2543fef2
JM
526182010-12-27 Jim Meyering <meyering@redhat.com>
52619
52620 [BZ #12348]
52621 * posix/regexec.c (build_trtable): Return failure indication upon
52622 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52623
98727dbe
UD
526242010-12-25 Ulrich Drepper <drepper@gmail.com>
52625
5bd6dc5c
UD
52626 [BZ #12201]
52627 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52628 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52629 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52630 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52631
97983464
UD
52632 [BZ #12207]
52633 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52634
98727dbe
UD
52635 [BZ #12204]
52636 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52637 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52638
4a531bb0
L
526392010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52640
52641 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52642 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52643 script has SORT_BY_INIT_PRIORITY.
52644 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52645 NO_CTORS_DTORS_SECTIONS is defined.
52646 * elf/soinit.c: Likewise.
52647 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52648 NO_CTORS_DTORS_SECTIONS is defined.
52649 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52650 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52651 * sysdeps/sh/init-first.c: Likewise.
52652 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52653
07eb4b71
UD
526542010-12-24 Ulrich Drepper <drepper@gmail.com>
52655
52656 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52657 always use the slow path.
52658
30950a5f
RA
526592010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52660
52661 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52662 similar rule which adds the sysdep directories to the header search in
52663 order to pick up the correct platform stackinfo.h.
52664 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52665 perform test if it is, otherwise return successfully without testing.
52666 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52667 DEFAULT_STACK_PERMS define in stackinfo.h.
52668 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52669 defined in stackinfo.h.
52670 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52671 DEFAULT_STACK_PERMS defined in stackinfo.h.
52672 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52673 * sysdeps/ia64/stackinfo.h: Likewise.
52674 * sysdeps/s390/stackinfo.h: Likewise.
52675 * sysdeps/sh/stackinfo.h: Likewise.
52676 * sysdeps/sparc/stackinfo.h: Likewise.
52677 * sysdeps/x86_64/stackinfo.h: Likewise.
52678 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52679 PF_X for powerpc64. Retain PF_X for powerpc32.
52680
db753e2c
UD
526812010-12-19 Ulrich Drepper <drepper@gmail.com>
52682
14b697f7
UD
52683 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52684 accurately.
db753e2c
UD
52685 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52686 GETDENTS_64BIT_ALIGNED.
52687
28300719
UD
526882010-12-14 Ulrich Drepper <dreper@gmail.com>
52689
14b697f7 52690 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 52691
4f197237
AS
526922010-12-10 Andreas Schwab <schwab@redhat.com>
52693
dbb0472f
AS
52694 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52695 _GNU_SOURCE.
52696
4f197237
AS
52697 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52698 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52699 Remove __restrict.
52700 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52701 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52702
fb88ac72
UD
527032010-12-09 Ulrich Drepper <drepper@gmail.com>
52704
52705 [BZ #11655]
52706 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52707 are initialized.
52708
42acbb92
JJ
527092010-12-09 Jakub Jelinek <jakub@redhat.com>
52710
52711 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52712
c038d98d
UD
527132010-12-03 Ulrich Drepper <drepper@gmail.com>
52714
52715 * po/it.po: Update from translation team.
52716
3a4a2499
L
527172010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52718
52719 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52720 unused codes.
52721
1e24cf6e
UD
527222010-11-30 Ulrich Drepper <drepper@gmail.com>
52723
52724 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52725
a7690819
AS
527262010-11-24 Andreas Schwab <schwab@redhat.com>
52727
52728 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52729 specially.
52730 (gaih_getanswer_slice): Likewise.
52731
3bf8d1b1
JJ
527322010-10-20 Jakub Jelinek <jakub@redhat.com>
52733
52734 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52735
6db52fbb
PB
527362010-05-31 Petr Baudis <pasky@suse.cz>
52737
52738 [BZ #11149]
52739 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52740 silently even in the chroot mode.
52741
eaca7569
UD
527422010-11-22 Ulrich Drepper <drepper@gmail.com>
52743
52744 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52745 last patch a bit. Pretty printing
52746
3056dcdb
UD
527472010-05-31 Petr Baudis <pasky@suse.cz>
52748
52749 [BZ #10085]
52750 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52751 initialization of skip_initgroups_dyn.
52752
cf7c9078
UD
527532010-11-19 Ulrich Drepper <drepper@gmail.com>
52754
52755 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52756 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52757
a1fb5e3e
UD
527582010-11-16 Ulrich Drepper <drepper@gmail.com>
52759
52760 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52761
3540d66b
AS
527622010-11-11 Andreas Schwab <schwab@redhat.com>
52763
52764 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52765 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52766 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52767 ($(objpfx)tst-fnmatch-mem): New rule.
52768 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52769 * posix/tst-fnmatch.c (main): Call mtrace.
52770
13b69574
L
527712010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52772
52773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52774 Support Intel processor model 6 and model 0x2c.
52775
da93d214
LM
527762010-11-10 Luis Machado <luisgpm@br.ibm.com>
52777
52778 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52779 signed comparison.
52780
8ca52c6e
L
527812010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52782
52783 [BZ #12205]
52784 * string/test-strncasecmp.c (check_result): New function.
52785 (do_one_test): Use it.
52786 (check1): New function.
52787 (test_main): Use it.
52788 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52789 Support strcasecmp and strncasecmp.
52790
69da074d
UD
527912010-11-08 Ulrich Drepper <drepper@gmail.com>
52792
52793 [BZ #12194]
52794 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52795 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52796
ff02d528
L
527972010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52798
52799 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52800 IFUNC support.
52801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52802 memset-x86-64.
52803 * sysdeps/x86_64/multiarch/bzero.S: New file.
52804 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52805 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52806 * sysdeps/x86_64/multiarch/memset.S: New file.
52807 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52809 Set bit_Prefer_SSE_for_memop for Intel processors.
52810 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52811 Define.
52812 (index_Prefer_SSE_for_memop): Define.
52813 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52814
344d0b54
LM
528152010-11-04 Luis Machado <luisgpm@br.ibm.com>
52816
52817 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52818 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52819
c0dde15b
UD
528202010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52821
52822 [BZ #12191]
52823 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52824 (__x86_64_raw_data_cache_size_half): Likewise.
52825 (__x86_64_raw_shared_cache_size): Likewise.
52826 (__x86_64_raw_shared_cache_size_half): Likewise.
52827
52828 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52829 (__x86_64_raw_data_cache_size_half): Likewise.
52830 (__x86_64_raw_shared_cache_size): Likewise.
52831 (__x86_64_raw_shared_cache_size_half): Likewise.
52832 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52833 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52834 and __x86_64_raw_shared_cache_size_half. Round
52835 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52836 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52837 to multiple of 256 bytes.
52838
0e516e0e
MS
528392010-11-03 Ulrich Drepper <drepper@gmail.com>
52840
52841 [BZ #12167]
52842 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52843 of inacessible symlinks. Verify result of symlink before returning it.
52844 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52845 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52846
0e012e87
ER
528472010-10-28 Erich Ritz <erichritz@gmail.com>
52848
52849 * math/math.h (isinf): Fix typo in comment.
52850
de0ff7bc
UD
528512010-11-01 Ulrich Drepper <drepper@gmail.com>
52852
52853 * po/da.po: Update from translation team.
52854
fa41c84d
UD
528552010-10-26 Ulrich Drepper <drepper@gmail.com>
52856
52857 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52858 is added to the list.
52859
f0967738
AK
528602010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52861 Ulrich Drepper <drepper@gmail.com>
52862
52863 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52864 the global list here. Move code to...
52865 (_dl_add_to_namespace_list): ...here. New function.
52866 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52867 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52868 * elf/dl-load.c (lose): Don't remove the element from the list.
52869 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52870 (_dl_map_object): Likewise.
52871
528722010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
52873
52874 [BZ #12159]
52875 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52876 into all bytes of SSE register.
52877 Patch by Richard Li <richardpku@gmail.com>.
52878
f0967738 528792010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
52880
52881 [BZ #12140]
52882 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52883 perturbing.
52884
d0b9e94f
MB
528852010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52886
52887 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52888 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52889 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52890 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52892 submachine.
52893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52894
8e9f92e9
AS
528952010-10-22 Andreas Schwab <schwab@redhat.com>
52896
52897 * include/dlfcn.h (__RTLD_SECURE): Define.
52898 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52899 mode & __RTLD_SECURE instead.
52900 (open_path): Rename preloaded parameter to secure.
52901 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52902 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52903 * elf/dl-deps.c (openaux): Likewise.
52904 * elf/rtld.c (struct map_args): Remove is_preloaded.
52905 (map_doit): Don't use it.
52906 (dl_main): Likewise.
52907 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52908 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52909
bc96fbda
AS
529102010-09-09 Andreas Schwab <schwab@redhat.com>
52911
52912 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52913 (sysd-rules-targets): Remove duplicates.
52914 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52915 rtld-%.$o dependency.
52916
22cd1c9b
AS
529172010-10-18 Andreas Schwab <schwab@redhat.com>
52918
52919 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52920 _dl_map_object do it.
52921
18edac48
UD
529222010-10-19 Ulrich Drepper <drepper@gmail.com>
52923
52924 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52925 fast fma builtins, define the macros in the C99 standard.
52926 (FP_FAST_FMAF): Likewise.
52927 (FP_FAST_FMAL): Likewise.
52928 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52929
52930 * bits/mathdef.h: Update copyright year.
52931 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52932
d2050124
MM
529332010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52934
52935 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52936 builtins, define the macros in the C99 standard.
52937 (FP_FAST_FMAF): Likewise.
52938 (FP_FAST_FMAL): Likewise.
52939 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52940 multiply/add.
52941 (FP_FAST_FMAF): Likewise.
52942
475facd1
JJ
529432010-10-15 Jakub Jelinek <jakub@redhat.com>
52944
52945 [BZ #3268]
52946 * math/libm-test.inc (fma_test): Some new testcases.
52947 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52948 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52949 y and infinite z. Do multiplication by C already in long double.
52950 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52952 y and infinite z. Do bitwise or of inexact bit into u.d.
52953 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52954 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52955 * sysdeps/i386/fpu/s_fma.S: Removed.
52956 * sysdeps/i386/fpu/s_fmal.S: Removed.
52957
7c08a05c
JJ
529582010-10-16 Jakub Jelinek <jakub@redhat.com>
52959
52960 [BZ #3268]
52961 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52962 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52963 computation is not scheduled after fetestexcept. Fix value
52964 of minimum denormal long double.
52965
f3f7372d
JJ
529662010-10-14 Jakub Jelinek <jakub@redhat.com>
52967
52968 [BZ #3268]
52969 * math/libm-test.inc (fma_test): Add some more tests.
52970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52971 correctly.
52972
14d43591
AS
529732010-10-15 Andreas Schwab <schwab@redhat.com>
52974
52975 * scripts/data/localplt-s390-linux-gnu.data: New file.
52976 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52977
5e908464
JJ
529782010-10-13 Jakub Jelinek <jakub@redhat.com>
52979
52980 [BZ #3268]
52981 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52982 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52983 instead of dbl-64.
52984 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52985 inlines.
52986 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52988 if one of x and y is very large and the other is subnormal.
52989 * sysdeps/s390/fpu/s_fmaf.c: New file.
52990 * sysdeps/s390/fpu/s_fma.c: New file.
52991 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52992 * sysdeps/powerpc/fpu/s_fma.S: New file.
52993 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52994 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52995 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52996
529972010-10-12 Jakub Jelinek <jakub@redhat.com>
52998
52999 [BZ #3268]
53000 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53001 fma tests.
53002 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53003 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53004 * sysdeps/i386/i686/multiarch/s_fma.c: Include
53005 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53006 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53007 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53008 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53009
b833d51f
UD
530102010-10-12 Ulrich Drepper <drepper@redhat.com>
53011
53012 [BZ #12078]
53013 * posix/regcomp.c (parse_branch): One more memory leak plugged.
53014 * posix/bug-regex31.input: Add test case.
53015
1751705d
UD
530162010-10-11 Ulrich Drepper <drepper@gmail.com>
53017
e9b9cbf5
UD
53018 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53019 * posix/bug-regex31.input: New file.
53020
53021 [BZ #12078]
53022 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53023 (parse_sub_exp): Fix last change, use postorder.
53024
ef06edbe
UD
53025 * posix/bug-regex31.c: New file.
53026 * posix/Makefile: Add rules to build and run bug-regex31.
53027
a129c80d
UD
53028 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53029
53030 [BZ #12078]
53031 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53032
b76b818e
UD
53033 [BZ #12108]
53034 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53035 to have entries in sys_siglist.
53036
1751705d
UD
53037 [BZ #12093]
53038 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53039 be NULL.
53040
9ff8d36f
JJ
530412010-10-07 Jakub Jelinek <jakub@redhat.com>
53042
53043 [BZ #3268]
53044 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53045 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53046 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53047 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53048 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53049 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53050 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53051 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53052 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53053 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53054 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53055 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53056 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53057 * math/ftestexcept.c (fetestexcept): Likewise.
53058 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53059 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53060 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53061 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53062 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53063 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53064 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53065
af325969
UD
530662010-10-11 Ulrich Drepper <drepper@gmail.com>
53067
c579b202 53068 [BZ #12107]
af325969
UD
53069 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53070 newline.
53071
67a67b95
UD
530722010-10-06 Ulrich Drepper <drepper@gmail.com>
53073
53074 * string/bug-strstr1.c: New file.
53075 * string/Makefile: Add rules to build and run bug-strstr1.
53076
5fb308bc
EB
530772010-10-05 Eric Blake <eblake@redhat.com>
53078
53079 [BZ #12092]
53080 * string/str-two-way.h (two_way_long_needle): Always clear memory
53081 when skipping input due to the shift table.
53082
45db99c7
UD
530832010-10-03 Ulrich Drepper <drepper@gmail.com>
53084
3b111893
UD
53085 [BZ #12005]
53086 * malloc/mcheck.c: Handle large requests.
53087
45db99c7
UD
53088 [BZ #12077]
53089 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53090 for strncmp and strncasecmp.
53091 * string/stratcliff.c: Add tests for strcmp and strncmp.
53092 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53093
cf7a1eb8
NI
530942010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53095
53096 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53097 __set_fpscr.
53098
6484ba5e
AJ
530992010-09-30 Andreas Jaeger <aj@suse.de>
53100
53101 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53102 (CGROUP_SUPER_MAGIC): Define.
53103 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53104 Handle btrfs and cgroup file systems.
53105 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53106 Likewise.
53107
91c42559
LM
531082010-09-27 Luis Machado <luisgpm@br.ibm.com>
53109
53110 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53111 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53112
87a97932
AK
531132010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53114
53115 [BZ #12067]
53116 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53117 trying to locate the ELF header.
53118
c21cc9bc
AS
531192010-09-27 Andreas Schwab <schwab@redhat.com>
53120
53121 [BZ #11611]
53122 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53123 Mask out sign-bit copies when constructing f_fsid.
53124
315970f6
PB
531252010-09-24 Petr Baudis <pasky@suse.cz>
53126
53127 * debug/stack_chk_fail_local.c: Add missing licence exception.
53128 * debug/warning-nop.c: Likewise.
53129
1ac7a2c7
JM
531302010-09-15 Joseph Myers <joseph@codesourcery.com>
53131
53132 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53133 implementing getdents64 using getdents syscall, set d_type if
53134 __ASSUME_GETDENTS32_D_TYPE.
53135
56801c50
AS
531362010-09-16 Andreas Schwab <schwab@redhat.com>
53137
53138 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53139 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53140
dda51327
UD
531412010-09-21 Ulrich Drepper <drepper@redhat.com>
53142
53143 [BZ #12037]
53144 * posix/unistd.h: Undo change of feature selection for ftruncate from
53145 2010-01-11.
53146
8ffcee4a
UD
531472010-09-20 Ulrich Drepper <drepper@redhat.com>
53148
a545ecd9 53149 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
53150 detection.
53151
e24f0a8b
AS
531522010-09-20 Andreas Schwab <schwab@redhat.com>
53153
53154 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53155 fanotify_mark.
53156 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53157
7291c56f
AS
531582010-09-14 Andreas Schwab <schwab@redhat.com>
53159
53160 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53161 variables after CHECK_SP call.
53162 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53163
bc5fb037
AS
531642010-09-13 Andreas Schwab <schwab@redhat.com>
53165 Ulrich Drepper <drepper@redhat.com>
53166
53167 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53168 re-relocationg ld.so.
53169 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53170 _dl_init_paths call.
53171 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
53172 here anymore.
53173
e66e7419
UD
531742010-09-14 Ulrich Drepper <drepper@redhat.com>
53175
53176 * resolv/res_init.c (__res_vinit): Count the default server we added.
53177
c044aa75
CLT
531782010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
53179 Ulrich Drepper <drepper@redhat.com>
53180
53181 [BZ #11968]
53182 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53183 (____longjmp_chk): Use %ebx for saving value across system call.
53184 Add unwind info.
53185
32cf4069
AS
531862010-09-06 Andreas Schwab <schwab@redhat.com>
53187
53188 * manual/Makefile: Don't mix pattern rules with normal rules.
53189
817328ee
AS
531902010-09-05 Andreas Schwab <schwab@linux-m68k.org>
53191
53192 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53193 operation.
53194 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53195 * libio/iofopncook.c (_IO_cookie_init): Likewise.
53196 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53197 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53198 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53199 Likewise.
53200
29fddf61
UD
532012010-09-04 Ulrich Drepper <drepper@redhat.com>
53202
53203 [BZ #11979]
53204 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53205 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53206
0959ffc9
UD
532072010-09-02 Ulrich Drepper <drepper@redhat.com>
53208
53209 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53210 * sysdeps/x86_64/addmul_1.S: Likewise.
53211 * sysdeps/x86_64/lshift.S: Likewise.
53212 * sysdeps/x86_64/mul_1.S: Likewise.
53213 * sysdeps/x86_64/rshift.S: Likewise.
53214 * sysdeps/x86_64/sub_n.S: Likewise.
53215 * sysdeps/x86_64/submul_1.S: Likewise.
53216
ece29840
ST
532172010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
53218
0959ffc9
UD
53219 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53220 Define __sched_param instead of SCHED_* and sched_param when
ece29840 53221 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 53222 * bits/sched.h [__need_schedparam]
ece29840 53223 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
53224 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53225 (__defined_schedparam): Define to 1.
ece29840
ST
53226 (__sched_param): New structure, identical to sched_param.
53227 (__need_schedparam): Undefine.
53228
e53a31fe
MF
532292010-08-31 Mike Frysinger <vapier@gentoo.org>
53230
fdc0c10d
MF
53231 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53232 (epoll_create1): Declare.
53233
e53a31fe
MF
53234 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53235
a726d796
AS
532362010-08-31 Andreas Schwab <schwab@redhat.com>
53237
53238 [BZ #7066]
53239 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53240 shifting retval into place.
53241
2f3e3dc7
UD
532422010-09-01 Ulrich Drepper <drepper@redhat.com>
53243
f2933da9
UD
53244 * nis/rpcsvc/nis.h: Update copyright notice.
53245 * nis/rpcsvc/nis.x: Likewise.
53246 * nis/rpcsvc/nis_callback.h: Likewise.
53247 * nis/rpcsvc/nis_callback.x: Likewise.
53248 * nis/rpcsvc/nis_object.x: Likewise.
53249 * nis/rpcsvc/nis_tags.h: Likewise.
53250 * nis/rpcsvc/yp.h: Likewise.
53251 * nis/rpcsvc/yp.x: Likewise.
53252 * nis/rpcsvc/ypupd.h: Likewise.
53253 * nis/yp_xdr.c: Likewise.
53254 * nis/ypupdate_xdr.c: Likewise.
53255
2f3e3dc7
UD
53256 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
53257 mainly the body of pmap_getport. Add parameters to specify timeouts.
53258 (pmap_getport): Use __libc_rpc_getport.
53259 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53260 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53261 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53262
f3dcc2f9
AS
532632010-08-31 Andreas Schwab <schwab@linux-m68k.org>
53264
53265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53266 fanotify_mark.
53267
6d34eb5b
RM
532682010-08-27 Roland McGrath <roland@redhat.com>
53269
53270 * sysdeps/i386/i686/multiarch/Makefile
53271 (CFLAGS-varshift.c): New variable.
53272
9ea3de11
UD
532732010-08-27 Ulrich Drepper <drepper@redhat.com>
53274
c96d23fc
UD
53275 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53276 * sysdeps/i386/i686/multiarch/varshift.c: New file.
53277
9ea3de11
UD
53278 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53279
53280 * sysdeps/x86_64/strlen.S: Minimal code improvement.
53281
623aac7f
L
532822010-08-26 H.J. Lu <hongjiu.lu@intel.com>
53283
53284 * sysdeps/x86_64/strlen.S: Unroll the loop.
53285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53286 strlen-sse2 strlen-sse2-bsf.
53287 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53288 __strlen_no_bsf if bit_Slow_BSF is set.
53289 (__strlen_sse42): Removed.
53290 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53291 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53292
8b2b7715
RM
532932010-08-25 Roland McGrath <roland@redhat.com>
53294
53295 * sysdeps/x86_64/multiarch/varshift.S: File removed.
53296 * sysdeps/x86_64/multiarch/varshift.c: New file.
53297 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53298 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53299 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53300 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53301
e73015f2
L
533022010-08-25 H.J. Lu <hongjiu.lu@intel.com>
53303
53304 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53305 strlen-sse2 strlen-sse2-bsf.
53306 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53307 __strlen_sse2_bsf if bit_Slow_BSF is unset.
53308 (__strlen_sse2): Removed.
53309 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53310 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53312 bit_Slow_BSF for Atom.
53313 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53314 (index_Slow_BSF): Define.
53315 (HAS_SLOW_BSF): Define.
53316
df24a73e
UD
533172010-08-25 Ulrich Drepper <drepper@redhat.com>
53318
53319 [BZ #10851]
53320 * resolv/res_init.c (__res_vinit): When no server address at all
53321 is given default to loopback.
53322
f2ac4868
RM
533232010-08-24 Roland McGrath <roland@redhat.com>
53324
09055553
RM
53325 * configure.in: Remove config-name.h generation.
53326 * configure: Regenerated.
53327 * config-name.in: File removed.
53328 * scripts/config-uname.sh: New file.
53329 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53330 ($(objdir)config-name.h): New target.
53331
f2ac4868
RM
53332 * sunrpc/rpc_parse.h: Avoid nested comment.
53333
73f27d5e
RH
533342010-08-24 Richard Henderson <rth@redhat.com>
53335 Ulrich Drepper <drepper@redhat.com>
53336 H.J. Lu <hongjiu.lu@intel.com>
53337
53338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53340 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53341 Replace _mm_srli_si128 with __m128i_shift_right. Replace
53342 _mm_alignr_epi8 with _mm_loadu_si128.
53343 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53344 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53345 (__m128i_shift_right): Removed.
53346 * sysdeps/i386/i686/multiarch/varshift.h: New file.
53347 * sysdeps/i386/i686/multiarch/varshift.S: New file.
53348 * sysdeps/x86_64/multiarch/varshift.h: New file.
53349 * sysdeps/x86_64/multiarch/varshift.S: New file.
53350
84b9230c
MF
533512010-08-21 Mike Frysinger <vapier@gentoo.org>
53352
53353 * configure.in: Move assembler checks to before sysdep dir checking.
53354
9bbd0ddc
PB
533552010-08-20 Petr Baudis <pasky@suse.cz>
53356
53357 * LICENSES: Sync the sunrpc license.
53358
9da4bb31
UD
533592010-08-19 Ulrich Drepper <drepper@redhat.com>
53360
a7ab6ec8
UD
53361 * sunrpc/auth_des.c: Update copyright notice once again.
53362 * sunrpc/auth_none.c: Likewise.
53363 * sunrpc/auth_unix.c: Likewise.
53364 * sunrpc/authdes_prot.c: Likewise.
53365 * sunrpc/authuxprot.c: Likewise.
53366 * sunrpc/bindrsvprt.c: Likewise.
53367 * sunrpc/clnt_gen.c: Likewise.
53368 * sunrpc/clnt_perr.c: Likewise.
53369 * sunrpc/clnt_raw.c: Likewise.
53370 * sunrpc/clnt_simp.c: Likewise.
53371 * sunrpc/clnt_tcp.c: Likewise.
53372 * sunrpc/clnt_udp.c: Likewise.
53373 * sunrpc/clnt_unix.c: Likewise.
53374 * sunrpc/des_crypt.c: Likewise.
53375 * sunrpc/des_soft.c: Likewise.
53376 * sunrpc/get_myaddr.c: Likewise.
53377 * sunrpc/getrpcport.c: Likewise.
53378 * sunrpc/key_call.c: Likewise.
53379 * sunrpc/key_prot.c: Likewise.
53380 * sunrpc/openchild.c: Likewise.
53381 * sunrpc/pm_getmaps.c: Likewise.
53382 * sunrpc/pm_getport.c: Likewise.
53383 * sunrpc/pmap_clnt.c: Likewise.
53384 * sunrpc/pmap_prot.c: Likewise.
53385 * sunrpc/pmap_prot2.c: Likewise.
53386 * sunrpc/pmap_rmt.c: Likewise.
53387 * sunrpc/rpc/auth.h: Likewise.
53388 * sunrpc/rpc/auth_unix.h: Likewise.
53389 * sunrpc/rpc/clnt.h: Likewise.
53390 * sunrpc/rpc/des_crypt.h: Likewise.
53391 * sunrpc/rpc/key_prot.h: Likewise.
53392 * sunrpc/rpc/netdb.h: Likewise.
53393 * sunrpc/rpc/pmap_clnt.h: Likewise.
53394 * sunrpc/rpc/pmap_prot.h: Likewise.
53395 * sunrpc/rpc/pmap_rmt.h: Likewise.
53396 * sunrpc/rpc/rpc.h: Likewise.
53397 * sunrpc/rpc/rpc_des.h: Likewise.
53398 * sunrpc/rpc/rpc_msg.h: Likewise.
53399 * sunrpc/rpc/svc.h: Likewise.
53400 * sunrpc/rpc/svc_auth.h: Likewise.
53401 * sunrpc/rpc/types.h: Likewise.
53402 * sunrpc/rpc/xdr.h: Likewise.
53403 * sunrpc/rpc_clntout.c: Likewise.
53404 * sunrpc/rpc_cmsg.c: Likewise.
53405 * sunrpc/rpc_common.c: Likewise.
53406 * sunrpc/rpc_cout.c: Likewise.
53407 * sunrpc/rpc_dtable.c: Likewise.
53408 * sunrpc/rpc_hout.c: Likewise.
53409 * sunrpc/rpc_main.c: Likewise.
53410 * sunrpc/rpc_parse.c: Likewise.
53411 * sunrpc/rpc_parse.h: Likewise.
53412 * sunrpc/rpc_prot.c: Likewise.
53413 * sunrpc/rpc_sample.c: Likewise.
53414 * sunrpc/rpc_scan.c: Likewise.
53415 * sunrpc/rpc_scan.h: Likewise.
53416 * sunrpc/rpc_svcout.c: Likewise.
53417 * sunrpc/rpc_tblout.c: Likewise.
53418 * sunrpc/rpc_util.c: Likewise.
53419 * sunrpc/rpc_util.h: Likewise.
53420 * sunrpc/rpcinfo.c: Likewise.
53421 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53422 * sunrpc/rpcsvc/key_prot.x: Likewise.
53423 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53424 * sunrpc/rpcsvc/mount.x: Likewise.
53425 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53426 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53427 * sunrpc/rpcsvc/rex.x: Likewise.
53428 * sunrpc/rpcsvc/rstat.x: Likewise.
53429 * sunrpc/rpcsvc/rusers.x: Likewise.
53430 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53431 * sunrpc/rpcsvc/spray.x: Likewise.
53432 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53433 * sunrpc/rtime.c: Likewise.
53434 * sunrpc/svc.c: Likewise.
53435 * sunrpc/svc_auth.c: Likewise.
53436 * sunrpc/svc_authux.c: Likewise.
53437 * sunrpc/svc_raw.c: Likewise.
53438 * sunrpc/svc_run.c: Likewise.
53439 * sunrpc/svc_simple.c: Likewise.
53440 * sunrpc/svc_tcp.c: Likewise.
53441 * sunrpc/svc_udp.c: Likewise.
53442 * sunrpc/svc_unix.c: Likewise.
53443 * sunrpc/svcauth_des.c: Likewise.
53444 * sunrpc/xcrypt.c: Likewise.
53445 * sunrpc/xdr.c: Likewise.
53446 * sunrpc/xdr_array.c: Likewise.
53447 * sunrpc/xdr_float.c: Likewise.
53448 * sunrpc/xdr_mem.c: Likewise.
53449 * sunrpc/xdr_rec.c: Likewise.
53450 * sunrpc/xdr_ref.c: Likewise.
53451 * sunrpc/xdr_sizeof.c: Likewise.
53452 * sunrpc/xdr_stdio.c: Likewise.
53453
9da4bb31
UD
53454 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53455 handling.
53456
bdaa77bc
AS
534572010-08-19 Andreas Schwab <schwab@redhat.com>
53458
53459 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53460
fe2f79db
LM
534612010-08-19 Luis Machado <luisgpm@br.ibm.com>
53462
53463 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53464 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53465 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53466 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53467 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53468 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53469 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53470 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53471 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53472 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53473 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53474 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53475 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53476 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53477
b9b42ee0
AB
534782010-07-26 Anton Blanchard <anton@samba.org>
53479
53480 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53481 * malloc/arena.c (heap_trim): Likewise.
53482
1c06ba31
UD
534832010-08-16 Ulrich Drepper <drepper@redhat.com>
53484
53485 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53486 here. Not...
53487 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53488 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53489
f8392f40
L
534902010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53491
53492 * sysdeps/i386/elf/Makefile: New file.
53493
3162f12e
AS
534942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53495
53496 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53497 from fanotify_init.
53498 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53499 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53500
28c90b2c
UD
535012010-08-15 Ulrich Drepper <drepper@redhat.com>
53502
53503 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53504 of strncasecmp_l.
1feccb6c 53505 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 53506
ca6bb004
UD
535072010-08-14 Ulrich Drepper <drepper@redhat.com>
53508
e9f82e0d
UD
53509 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53510 strncase_l-nonascii.
53511 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53512 Add strncase_l-ssse3.
53513 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53514 * sysdeps/x86_64/strcmp.S: Likewise.
53515 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53516 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53517 * sysdeps/x86_64/strncase.S: New file.
53518 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53519 * sysdeps/x86_64/strncase_l.S: New file.
53520 * string/Makefile (strop-tests): Add strncasecmp.
53521 * string/test-strncasecmp.c: New file.
53522
53523 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53524 warning.
53525
ca6bb004
UD
53526 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53527 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53528
052fa7b3
AS
535292010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53530
53531 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53532
962dba78
UD
535332010-08-12 Ulrich Drepper <drepper@redhat.com>
53534
53535 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53536 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53537 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53538
bebff237
AM
535392010-05-01 Alan Modra <amodra@gmail.com>
53540
53541 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53542 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53543 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53544 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53545 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53546 tidying. Don't tail-call __sigjmp_save for static lib.
53547 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53548 save location.
53549 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53550 (CALL_MCOUNT): Add eh info, and nop after bl.
53551 (TAIL_CALL_SYSCALL_ERROR): New macro.
53552 (PSEUDO_RET): Use it.
53553 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53554 Correct save location of integer regs and cr.
53555 (_dl_profile_resolve): Correct cr save location. Delete nops
53556 after bl when SHARED. Reduce cfi size a little by better
53557 placement of cfi directives.
53558 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53559 make a stack frame. Instead use parm save area as a temp.
53560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53561 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53563 Don't make a stack frame for parent, use parm save area.
53564 Increase child stack frame to 112 bytes. Don't save unused reg,
53565 and adjust reg usage. Set up cfi on error recovery and
53566 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53568 (__makecontext): Add dummy nop after jump to exit.
53569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53570 Use correct parm save area and cr save, reduce stack frame.
53571 Correct cfi for possible PSEUDO_RET frame setup.
53572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53573 Branch to local label emitted by PSEUDO_RET rather than
53574 __syscall_error.
53575
02637374
AS
535762010-08-12 Andreas Schwab <schwab@redhat.com>
53577
53578 [BZ #11904]
53579 * locale/programs/locale.c (print_assignment): New function.
53580 (show_locale_vars): Use it.
53581
c3e2f19b
UD
535822010-08-11 Ulrich Drepper <drepper@redhat.com>
53583
3cdaa6ad
UD
53584 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53585 field.
53586 (struct statfs64): Likewise.
53587 (_STATFS_F_FLAGS): Define.
53588 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53589 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53590 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53591 (ST_VALID): Define locally.
53592 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53593 __statvfs_getflags, use the provided value.
53594 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53595 __ASSUME_STATFS_F_FLAGS.
53596
754f7da3
UD
53597 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53598
10b3bedc
UD
53599 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53600 Add sys/fanotify.h.
53601 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53602 fanotify_mask for GLIBC_2.13.
53603 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53604 fanotify_init and fanotify_mark.
53605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53606 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53607
c08fb0d7
UD
53608 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53609 Add prlimit.
53610 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53611 prlimit64 for GLIBC_2.13.
53612 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53613 prlimit64.
53614 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53615 syscall.
53616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53617 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53618 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53619 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53620 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53621 add prlimit alias.
53622 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53623
15bac72b
UD
53624 [BZ #11903]
53625 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53626 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53627
c3e2f19b
UD
53628 * nss/Makefile: Add rules to build and run tst-nss-test1.
53629 * shlib-versions: Add entry for libnss_test1.
53630 * nss/nss_test1.c: New file.
53631 * nss/tst-nss-test1.c: New file.
53632
53633 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53634 (__nss_configure_lookup): Set appropriate entry in
53635 __nss_configure_lookup to true.
53636 * nss/nsswitch.h: Define enum with indeces of databases in
53637 databases and __nss_database_custom arrays. Declare
53638 __nss_database_custom.
53639 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53640 to avoid using nscd when custom rules are installed.
53641 * nss/getXXbyYY_r.c: Likewise.
53642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53643
53644 * nss/nss_files/files-parse.c: Whitespace fixes.
53645
f15ce4d8
UD
536462010-08-09 Ulrich Drepper <drepper@redhat.com>
53647
53648 [BZ #11883]
53649 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53650 * posix/fnmatch_loop.c: Likewise.
53651
d22e4cc9
AK
536522010-07-17 Andi Kleen <ak@linux.intel.com>
53653
53654 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53655 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53656 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53657 * Versions.def [GLIBC_2.13]: Add.
53658
805bc17d
UD
536592010-08-06 Ulrich Drepper <drepper@redhat.com>
53660
53661 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53662 Also fail if tpwd after pwuid call is NULL.
53663
5a42321d
ST
536642010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53665
53666 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53667 when converting to ms.
53668
fd3ebeda
ST
536692010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53670
53671 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53672 EOPNOTSUPP errors with ENOTTY.
53673 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53674 EOPNOTSUPP errors with ENOTTY.
53675
73507d3a
UD
536762010-07-31 Ulrich Drepper <drepper@redhat.com>
53677
53678 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53679 Add strcasecmp_l-ssse3.
53680 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53681 strcasecmp.
53682 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53683 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53684 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53685
fe36dd02
UD
536862010-07-30 Ulrich Drepper <drepper@redhat.com>
53687
66f6765a
UD
53688 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53689
42e08a54
UD
53690 * string/Makefile (strop-tests): Add strcasecmp.
53691 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53692 strcasecmp_l-nonascii.
53693 (gen-as-const-headers): Add locale-defines.sym.
53694 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53695 * sysdeps/x86_64/strcasecmp.S: New file.
53696 * sysdeps/x86_64/strcasecmp_l.S: New file.
53697 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53698 * sysdeps/x86_64/locale-defines.sym: New file.
53699 * string/test-strcasecmp.c: New file.
53700
fe36dd02
UD
53701 * string/test-strcasestr.c: Test both ends of the range of characters.
53702 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53703
48cbc0d6
RM
537042010-07-29 Roland McGrath <roland@redhat.com>
53705
76e6d6bc 53706 [BZ #11856]
48cbc0d6
RM
53707 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53708
880113d9
UD
537092010-07-27 Ulrich Drepper <drepper@redhat.com>
53710
53711 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53712 for ld.so.
53713
deb9cabb
AS
537142010-07-27 Andreas Schwab <schwab@redhat.com>
53715
53716 * manual/memory.texi (Malloc Tunable Parameters): Document
53717 M_PERTURB.
53718
1c7570ff
RM
537192010-07-26 Roland McGrath <roland@redhat.com>
53720
53721 [BZ #11840]
53722 * configure.in (-fgnu89-inline check): Set and substitute
53723 gnu89_inline, not libc_cv_gnu89_inline.
53724 * configure: Regenerated.
53725 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53726
24fb0f88
UD
537272010-07-26 Ulrich Drepper <drepper@redhat.com>
53728
53729 * string/test-strnlen.c: New file.
53730 * string/Makefile (strop-tests): Add strnlen.
53731 * string/tester.c (test_strnlen): Add a few more test cases.
53732 * string/tst-strlen.c: Better error reporting.
53733
53734 * sysdeps/x86_64/strnlen.S: New file.
53735
8e96b93a
UD
537362010-07-24 Ulrich Drepper <drepper@redhat.com>
53737
53738 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53739 lower-latency instructions.
53740
dbc676d4
UD
537412010-07-23 Ulrich Drepper <drepper@redhat.com>
53742
53743 * string/test-strcasestr.c: New file.
53744 * string/test-strstr.c: New file.
53745 * string/Makefile (strop-tests): Add strstr and strcasestr.
53746 * string/str-two-way.h: Don't undefine MAX.
53747 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53748
f6a31e0e
AS
537492010-07-21 Andreas Schwab <schwab@redhat.com>
53750
53751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53752 strcasestr-nonascii.
53753 (CFLAGS-strcasestr-nonascii.c): Define.
53754 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53755 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53756 Remove unused attribute.
53757
5dbc3b6c
RM
537582010-07-20 Roland McGrath <roland@redhat.com>
53759
53760 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53761 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53762 ld.so.cache was broken. With it, there is no way to disable dsocaps
53763 like LD_HWCAP_MASK can disable hwcaps.
53764
23d101d8
EPM
537652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53766
53767 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53768
cc9f2e47
UD
537692010-07-16 Ulrich Drepper <drepper@redhat.com>
53770
53771 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53772 call in strcasestr.
53773 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53774 __strcasestr_sse42_nonascii.
53775 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53776 strcasestr-nonascii.c.
53777 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53778
77c1b069
LM
537792010-06-15 Luis Machado <luisgpm@br.ibm.com>
53780
53781 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53782 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53783 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53784 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53785
440566c3
UD
537862010-07-09 Ulrich Drepper <drepper@redhat.com>
53787
53788 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53789 fcntl.
53790
5be9d05d
AS
537912010-07-06 Andreas Schwab <schwab@redhat.com>
53792
c30b7ee2 53793 [BZ #11577]
5be9d05d
AS
53794 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53795 dl_signal_cerror.
53796
8a492a67
UD
537972010-07-06 Ulrich Drepper <drepper@redhat.com>
53798
53799 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53800 _PC_PIPE_BUF using F_GETPIPE_SZ.
53801
713df3d5
RM
538022010-07-05 Roland McGrath <roland@redhat.com>
53803
53804 * manual/arith.texi (Rounding Functions): Fix rint description
53805 implicit in round description.
53806
702e8f14
UD
538072010-07-02 Ulrich Drepper <drepper@redhat.com>
53808
53809 * elf/Makefile: Fix linking for a few tests to make recent linker
53810 happy.
53811
52ed8be9
AS
538122010-06-30 Andreas Schwab <schwab@redhat.com>
53813
53814 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53815 $(common-objpfx)libc_nonshared.a.
53816
f47c9a11
LM
538172010-06-21 Luis Machado <luisgpm@br.ibm.com>
53818
53819 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53820 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53821 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53822 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53823 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53824 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53825 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53826 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53841 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53842 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53843 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53844 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53845 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53846 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53847 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53848 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53849 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53850 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53851 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53852 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53867
6fb8cbcb
L
538682010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53869
53870 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53871 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53872 * string/memmove.c (memmove): Renamed to ...
53873 (MEMMOVE): ...this. Default to memmove.
53874 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53875 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53876 (END_CHK): Define.
53877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53878 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53879 mempcpy-ssse3-back memmove-ssse3-back.
53880 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53881 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53882 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53883 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53884 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53885 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53886 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53887 * sysdeps/x86_64/multiarch/memmove.c: New file.
53888 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53889 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53890 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53891 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53892 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53893 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53894 Define.
53895 (index_Fast_Copy_Backward): Define.
53896 (HAS_ARCH_FEATURE): Define.
53897 (HAS_FAST_REP_STRING): Define.
53898 (HAS_FAST_COPY_BACKWARD): Define.
53899
4e733bac 539002010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
53901
53902 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53903 Restore proper fallback handling.
53904
63c4ed22
UD
539052010-06-19 Ulrich Drepper <drepper@redhat.com>
53906
ac2b484c
UD
53907 [BZ #11701]
53908 * posix/group_member.c (__group_member): Correct checking loop.
53909
63c4ed22
UD
53910 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53911 OOM in getpwuid_r correctly. Return error number when the caller
53912 should return, otherwise -1.
53913 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53914 call returning > 0 value.
53915 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53916
765ade4b
AS
539172010-06-07 Andreas Schwab <schwab@redhat.com>
53918
53919 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53920 libc_nonshared.a from targets in modules-names.
53921
80da2e09
KS
539222010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53923
53924 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53925 requires it.
53926
158db122
LM
539272010-06-10 Luis Machado <luisgpm@br.ibm.com>
53928
53929 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53930 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53931 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53932 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53933
caa78cf8
AS
539342010-06-02 Andreas Schwab <schwab@redhat.com>
53935
53936 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53937
b2ef2c01
UD
539382010-06-14 Ulrich Drepper <drepper@redhat.com>
53939
53940 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53941 and F_GETPIPE_SZ.
53942 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53943 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53944 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53945 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53946 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53947 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53948
fbd643b6
RM
539492010-06-14 Roland McGrath <roland@redhat.com>
53950
53951 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53952
f32f2869
JJ
539532010-06-07 Jakub Jelinek <jakub@redhat.com>
53954
53955 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53956 __REDIRECT followed by __THROW.
53957 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53958 * posix/getopt.h (getopt): Likewise.
53959
2a50c078
EPM
539602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53961
53962 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53963 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53964 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53965 in AT_FLAGS.
53966 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53967 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53968
eb5ad2eb
LM
539692010-05-28 Luis Machado <luisgpm@br.ibm.com>
53970
53971 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53972
3c88fe1e
L
539732010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53974
53975 [BZ #11640]
53976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53977 Properly check family and model.
53978
d2f73151
TY
539792010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53980
53981 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53982
ebd2e13d
LM
539832010-05-24 Luis Machado <luisgpm@br.ibm.com>
53984
53985 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53986
b32b8b45
UD
539872010-05-21 Ulrich Drepper <drepper@redhat.com>
53988
53989 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53990 symbol reference.
53991
9acbe24d
AS
539922010-05-19 Andreas Schwab <schwab@redhat.com>
53993
53994 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53995 symbol reference.
53996
f0ccf6ea
AS
539972010-05-21 Andreas Schwab <schwab@redhat.com>
53998
3d04ff3a
AS
53999 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54000 and internal_recvmmsg.
54001 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54002 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54003 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54004 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54005
f0ccf6ea
AS
54006 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54007 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54008 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54009
5b08ac57
AS
540102010-05-20 Andreas Schwab <schwab@redhat.com>
54011
54012 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54013
4828935d
LM
540142010-05-17 Luis Machado <luisgpm@br.ibm.com>
54015
54016 POWER7 optimizations.
54017 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54018 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54019
373d545e
UD
540202010-05-19 Ulrich Drepper <drepper@redhat.com>
54021
54022 * version.h: Update for 2.13 development version.
54023
21a2b1ae
AS
540242010-05-12 Andrew Stubbs <ams@codesourcery.com>
54025
54026 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54027 exceptions. Return 0.
54028
3f7dcb2b
RM
540292010-05-07 Roland McGrath <roland@redhat.com>
54030
54031 * elf/ldconfig.c (main): Add a const.
54032
5f24d53a 540332010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 54034
a160f8d8
UD
54035 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54036 (args_options): Add no-idn option.
54037 (ahosts_keys_int): Add idn_flags to ai_flags.
54038 (parse_option): Handle 'i' option to clear idn_flags.
54039
5f24d53a
UD
54040 * malloc/malloc.c (_int_free): Possible race in the most recently
54041 added check. Only act on the data if no current modification
54042 happened.
265bb1ce
UD
54043
54044See ChangeLog.17 for earlier changes.
This page took 7.380061 seconds and 5 git commands to generate.