]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Convert sparc over to lowlevellock-futex.h
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f7092599
DM
12015-04-16 David S. Miller <davem@davemloft.net>
2
3 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4 lowlevellock-futex.h
5
da6989f9
CM
62015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
7
8 * sysdeps/tile/configure.ac: New file.
9 * sysdeps/tile/configure: Regenerated.
10
fb78612a
AZ
112015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12
13 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
14 conditionals for weak_alias and libc_hidden_weak.
15 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
16 libc_hidden_weak and weak_alias.
17 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
18 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19 and weak_alias for static one.
20
a8b6a3a6
DM
212015-04-15 David S. Miller <davem@davemloft.net>
22
23 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24
920a0395
SL
252015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
26
27 [BZ #18206]
28 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
29 Use signed comparision instead of substraction to avoid
30 overflow bug.
31 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
32 Take the sign of ret.
33 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
34 Do not expect precise return values. Only the sign matters.
35 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
36 * wcsmbs/test-wcsncmp.c: New File.
37 * string/test-strncmp.c: Add wcsncmp support.
38
de8aadd5
SL
392015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
40
41 [BZ #6792]
42 * math/w_log1p.c: New file.
43 * math/w_log1pf.c: Likewise.
44 * math/w_log1pl.c: Likewise.
45 * math/Makefile (libm-calls): Add w_log1p.
46 * math/s_log1pl.c (log1pl): Remove weak_alias.
47 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
48 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
49 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
50 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
51 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
52 [NO_LONG_DOUBLE] (log1pl): Likewise.
53 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
54 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
55 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
56 (log1p): Remove long_double_symbol.
57 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
58 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
59 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
60 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
61 remove weak_alias for corresponding log1p function.
62 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
63 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
64 * sysdeps/ia64/fpu/w_log1p.c: New file.
65 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
66 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
67 * math/libm-test.inc (log1p_test_data): Add errno expectations.
68
5556d30c
JM
692015-04-10 Joseph Myers <joseph@codesourcery.com>
70
71 [BZ #18247]
72 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
73 decimal exponent by 1.
74 * stdlib/tst-strtod-round-data: Add more tests.
75 * stdlib/tst-strtod-round.c (tests): Regenerated.
76
b3c66c53
JM
772015-04-09 Joseph Myers <joseph@codesourcery.com>
78
79 * math/auto-libm-test-in: Add more tests of clog and clog10.
80 * math/auto-libm-test-out: Regenerated.
81 * sysdeps/i386/fpu/libm-test-ulps: Update.
82 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83
b0b88abc
RM
842015-04-09 Roland McGrath <roland@hack.frob.com>
85
8a257e2c
RM
86 * Makeconfig (module-cppflags): Exclude all .v.i files.
87 (skip-module-cppflags): Variable removed.
88
05439291
RM
89 * configure.ac (libc_config_ok): Initialize before reading
90 preconfigure scripts, not after.
91 * configure: Regenerated.
92
b0b88abc
RM
93 * test-skeleton.c (TIMEOUT): Move #define to top level.
94 (main): Grok environment variable TEST_DIRECT. If set, print
95 test expectation details into that file and then behave as if
96 given --direct.
97
2902af16
FW
982015-04-09 Florian Weimer <fweimer@redhat.com>
99
100 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
101 warning on 32-bit.
102
23ebf743
DM
1032015-04-08 David S. Miller <davem@davemloft.net>
104
105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
106
024bcc51
JM
1072015-04-08 Joseph Myers <joseph@codesourcery.com>
108
787d22bc
JM
109 * math/auto-libm-test-in: Add more tests of atanh.
110 * math/auto-libm-test-out: Regenerated.
111 * sysdeps/i386/fpu/libm-test-ulps: Update.
112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
113
024bcc51
JM
114 * math/auto-libm-test-in: Add more tests of atan.
115 * math/auto-libm-test-out: Regenerated.
116 * sysdeps/i386/fpu/libm-test-ulps: Update.
117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
118
7b8399f4
FW
1192015-04-08 Florian Weimer <fweimer@redhat.com>
120
121 * elf/pldd.c (main): Rewrite to use struct
122 scratch_buffer instead of extend_alloca.
123 * elf/pldd-xx.c (find_maps): Likewise.
866ba63b
FW
124 * grp/initgroups.c: Include <scratch_buffer.h> instead of
125 <alloca.h>.
126 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
127 scratch_buffer instead of extend_alloca.
128 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
129 grp/compat-initgroups.c.
794a74af
FW
130 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
131 Rewrite to use struct scratch_buffer instead of extend_alloca.
c6ee40da 132 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
561052ad 133 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7b8399f4 134
ae63c7eb
JM
1352015-04-08 Joseph Myers <joseph@codesourcery.com>
136
da0cf658
JM
137 * math/auto-libm-test-in: Add more tests of cbrt.
138 * math/auto-libm-test-out: Regenerated.
139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
140
80352c01
JM
141 * math/auto-libm-test-in: Add more tests of cabs.
142 * math/auto-libm-test-out: Regenerated.
143 * sysdeps/i386/fpu/libm-test-ulps: Update.
144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
145
8431838d
JM
146 [BZ #18210]
147 [BZ #18211]
148 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
149 (__ieee754_atan2): Set FE_TONEAREST mode for internal
150 computations.
151 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
152 clog10.
153 * math/auto-libm-test-out: Regenerated.
154 * sysdeps/i386/fpu/libm-test-ulps: Update.
155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
156
ae63c7eb
JM
157 [BZ #18197]
158 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
159 (atan): Set FE_TONEAREST mode for internal computations.
160 * math/auto-libm-test-in: Add more tests of atan.
161 * math/auto-libm-test-out: Regenerated.
162
d5856d06
JC
1632015-04-07 James Cowgill <james410@cowgill.org.uk>
164
165 [BZ #17930]
166 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
167
72301304
FW
1682015-04-07 Florian Weimer <fweimer@redhat.com>
169
170 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
171
cfcfd461
FW
1722015-04-07 Florian Weimer <fweimer@redhat.com>
173
174 * include/scratch_buffer.h: New file.
175 * malloc/scratch_buffer_grow.c: Likewise.
176 * malloc/scratch_buffer_grow_preserve.c: Likewise.
177 * malloc/scratch_buffer_set_array_size.c: Likewise.
178 * malloc/tst-scratch_buffer.c: Likewise.
179 * malloc/Makefile (routines): Add scratch_buffer_grow.
180 (tests): Add test case.
181 * malloc/Versions (GLIBC_PRIVATE): Export
182 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
183 __libc_scratch_buffer_set_array_size.
184
cc47c824
RH
1852015-04-06 Richard Henderson <rth@redhat.com>
186
187 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 188 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 189
9e8c0381
RH
190 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
191 unsigned int before printing.
192
9781a370
OB
1932015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
194
195 [BZ #17596]
196 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
197 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
198
37d60d97
FW
1992015-04-02 Florian Weimer <fweimer@redhat.com>
200
201 * include/libc-internal.h (libc_max_align_t): Define.
202
b763f6ae
AS
2032015-04-02 Andreas Schwab <schwab@suse.de>
204
205 [BZ #16850]
206 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
207
c26efef9
MG
2082015-04-02 Mel Gorman <mgorman@suse.de>
209
210 [BZ #17195]
211 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
212 as well as the main arena.
213
a3d9ab50
L
2142015-03-31 H.J. Lu <hongjiu.lu@intel.com>
215
216 [BZ #18185]
217 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
218 sharing L2 cache to 2 for Silvermont/Knights Landing.
219
83569fb8
L
2202015-03-31 H.J. Lu <hongjiu.lu@intel.com>
221
222 [BZ #17711]
223 * config.make.in (have-protected-data): New.
224 * configure.ac: Check linker support for protected data symbol.
225 * configure: Regenerated.
226 * elf/Makefile (modules-names): Add tst-protected1moda and
227 tst-protected1modb if $(have-protected-data) is yes.
228 (tests): Add tst-protected1a and tst-protected1b if
229 $(have-protected-data) is yes.
230 ($(objpfx)tst-protected1a): New.
231 ($(objpfx)tst-protected1b): Likewise.
232 (tst-protected1modb.so-no-z-defs): Likewise.
233 * elf/tst-protected1a.c: New file.
234 * elf/tst-protected1b.c: Likewise.
235 * elf/tst-protected1mod.h: Likewise.
236 * elf/tst-protected1moda.c: Likewise.
237 * elf/tst-protected1modb.c: Likewise.
238
62da1e3b
L
2392015-03-31 H.J. Lu <hongjiu.lu@intel.com>
240
241 [BZ #17711]
242 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
243 indicates it is called from do_lookup_x on relocation against
244 protected data, skip the data definion in the executable from
245 copy reloc.
246 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
247 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
248 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
249 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
250 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
251 otherwise to 0.
252 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
253 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
254 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
255 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
256 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
257 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
258
675ddb71
MG
2592015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
260
261 * sysdeps/nptl/pthread.h: Remove duplicate definition of
262 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
263
4d611e12
MG
2642015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
265
266 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
267 THREAD_SETMEM_NC.
268 * sysdeps/x86_64/nptl/tls.h: Ditto.
269
7285eb53
RM
2702015-03-27 Roland McGrath <roland@hack.frob.com>
271
272 * dlfcn/tststatic.c (main): Converted to ...
273 (do_test): ... this.
274 (TEST_FUNCTION): New macro.
275 Include test-skeleton.c.
276
19a6a3ac
AM
2772015-03-26 Alan Modra <amodra@gmail.com>
278
279 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
280 Don't segfault if ifunc resolver returns a NULL. Do set plt to
281 zero for undefined weak.
282 (elf_machine_plt_conflict): Similarly.
283
a9fe4c5a
JM
2842015-03-25 Joseph Myers <joseph@codesourcery.com>
285
efd5b641
JM
286 * math/auto-libm-test-in: Add more tests of acosh, asinh and
287 atanh.
288 * math/auto-libm-test-out: Regenerated.
289 * sysdeps/i386/fpu/libm-test-ulps: Update.
290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
291
e9b10151
JM
292 * math/auto-libm-test-in: Add another test of asin.
293 * math/auto-libm-test-out: Regenerated.
294 * sysdeps/i386/fpu/libm-test-ulps: Update.
295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
296
9fa55373
JM
297 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
298 Remove macro.
299 (LLL_EBX_REG): Likewise.
300 (LLL_ENTER_KERNEL): Likewise.
301
38755f14
JM
302 * math/auto-libm-test-in: Add more tests of asin.
303 * math/auto-libm-test-out: Regenerated.
304 * sysdeps/i386/fpu/libm-test-ulps: Update.
305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
306
a9fe4c5a
JM
307 [BZ #18138]
308 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
309 libc_do_syscall_args): New structure.
310 (INTERNAL_SYSCALL_MAIN_0): New macro.
311 (INTERNAL_SYSCALL_MAIN_1): Likewise.
312 (INTERNAL_SYSCALL_MAIN_2): Likewise.
313 (INTERNAL_SYSCALL_MAIN_3): Likewise.
314 (INTERNAL_SYSCALL_MAIN_4): Likewise.
315 (INTERNAL_SYSCALL_MAIN_5): Likewise.
316 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
317 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
318 Replace conditional definitions by conditional definitions of ....
319 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
320 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
321 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
322 (libpthread-sysdep_routines): Add libc-do-syscall.
323 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
324 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
325 to __NR_futex not 240.
326
afcd9480
AM
3272015-03-25 Alan Modra <amodra@gmail.com>
328
329 * NEWS: Advertise TLS optimization.
330 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
331 (DT_PPC_NUM): Increment.
332 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
333 (CHECK_STATIC_TLS): Use here.
334 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
335 TLS descriptors.
336 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
337 * sysdeps/powerpc/dl-tls.c: New file.
338 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
339 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
340 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
341 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
345
da9f3334
AM
3462015-03-25 Alan Modra <amodra@gmail.com>
347
348 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
349 for overlapping .opd entries" to "support...".
350 * sysdeps/powerpc/powerpc64/configure: Regenerate
351
bc899ea0
JM
3522015-03-25 Joseph Myers <joseph@codesourcery.com>
353
8d643971
JM
354 * math/auto-libm-test-in: Add more tests of acos.
355 * math/auto-libm-test-out: Regenerated.
356 * sysdeps/i386/fpu/libm-test-ulps: Update.
357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
358
bc899ea0
JM
359 * math/auto-libm-test-in: Add more tests of expm1.
360 * math/auto-libm-test-out: Regenerated.
361 * sysdeps/i386/fpu/libm-test-ulps: Update.
362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
363
7c84a504
JM
3642015-03-24 Joseph Myers <joseph@codesourcery.com>
365
239ed6f3
JM
366 * math/auto-libm-test-in: Add more tests of cosh and sinh.
367 * math/auto-libm-test-out: Regenerated.
368 * sysdeps/i386/fpu/libm-test-ulps: Update.
369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
370
a737e826
JM
371 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
373
7c84a504
JM
374 * math/auto-libm-test-in: Add more tests of log2.
375 * math/auto-libm-test-out: Regenerated.
376 * sysdeps/i386/fpu/libm-test-ulps: Update.
377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
378
7e9c7b9b
RM
3792015-03-23 Roland McGrath <roland@hack.frob.com>
380
381 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
382 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
383 _IO_IS_APPENDING bit in READ_WRITE instead.
384
98734cc5
FW
3852015-03-23 Florian Weimer <fweimer@redhat.com>
386
387 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
388 (__determine_cpumask_size): Replace extend_alloca with a
389 variable-length array. Do not treat res == 0 as an error.
390
2b028564
FW
3912015-03-23 Florian Weimer <fweimer@redhat.com>
392
393 [BZ #18100]
394 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
395 and integer overflow.
396 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
397 (main): Add integer overflow tests.
398 * manual/pattern.texi (Calling Wordexp): Document additional use
399 for WRDE_SYNTAX.
400
59261ad3
AM
4012015-03-23 Alan Modra <amodra@gmail.com>
402
403 * config.h.in: Remove HAVE_ASM_PPC_REL16.
404 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
405 and false branch of conditional.
406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
407 Likewise.
408
d583531a
ST
4092015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
410
411 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
412 libc-modules.h
868df0f9
ST
413 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
414 unused declaration of _hurd_intr_rpc_msg_in_trap.
415 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
416 defined instead of whether it is non-zero.
417 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
418 input constraint instead of both input and output constraint. Use ecx
419 clobber instead of %ecx.
420 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
421 mutex_unlock): Use a statement expression instead of an expression list.
422 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
423 type to vm_size_t instead of vm_address_t.
424 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
425 defined instead of whether it is non-zero.
426 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
427 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
428 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
429 comparisons with mapaddr.
430 * nscd/nscd-client.h: Include <time.h>.
431 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
432 9th parameter to __vm_region instead of int.
661a7dba 433 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
434 * scripts/check-local-headers.sh (exclude): Add device/,
435 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
436 cthreads.h.
d583531a 437
298e5d56
RM
4382015-03-19 Roland McGrath <roland@hack.frob.com>
439
440 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
441 to account for alignment padding.
442 * sysdeps/arm/memmove.S: Likewise.
443
becb26b8
CM
4442015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
445
446 * sysdeps/unix/sysv/linux/generic/README: New file.
447
c2f5813a
JM
4482015-03-18 Joseph Myers <joseph@codesourcery.com>
449
450 [BZ #18138]
451 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
452 (futex_abstimed_wait)
453 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
454 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
455 of lll_futex_timed_wait.
456
ed6b0fe7
BH
4572015-03-18 Brad Hubbard <bhubbard@redhat.com>
458
459 [BZ #17542]
460 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
461
f8aeae34
AO
4622015-03-17 Alexandre Oliva <aoliva@redhat.com>
463
464 [BZ #17090]
465 [BZ #17620]
466 [BZ #17621]
467 [BZ #17628]
468 * NEWS: Update.
469 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
470 entries with Static TLS too. Skip entries past the end of the
471 allocated DTV, from Alan Modra.
472 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
473 Static TLS DTV entry set up from...
474 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
475 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
476 * nptl/allocatestack.c (init_one_static_tls): ... and here...
477 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
478 for Static TLS.
479 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
480 that the slot we find is associated with the given map before
481 using its generation count.
482 * nptl_db/db_info.c: Include ldsodefs.h.
483 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
484 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
485 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
486 (link_map::l_tls_offset): New struct field.
487 (dtv_t::counter): Likewise.
488 (rtld_global): New struct.
489 (_rtld_global): New rtld variable.
490 (dl_tls_dtv_slotinfo_list): New rtld global field.
491 (dtv_slotinfo_list): New struct.
492 (dtv_slotinfo): Likewise.
493 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
494 (td_lookup): Rename to...
495 (td_mod_lookup): ... this. Use new mod parameter instead of
496 LIBPTHREAD_SO.
497 * nptl_db/td_thr_tlsbase.c: Include link.h.
498 (dtv_slotinfo_list, dtv_slotinfo): New functions.
499 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
500 addresses even if the DTV is out of date or missing them.
501 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
502 index zero-length arrays.
503 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
504 (td_lookup): Make it a macro implemented in terms of...
505 (td_mod_lookup): ... this declaration.
506 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
507 (DB_MAIN_VARIABLE): Likewise.
508
b97eb2bd
L
5092015-03-16 H.J. Lu <hongjiu.lu@intel.com>
510
511 [BZ #18134]
512 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
513
cb219290
PE
5142015-03-15 Paul Eggert <eggert@cs.ucla.edu>
515
516 * stdlib/setenv.c (__add_to_environ): Revert previous change.
517
a3905fd9
AS
5182015-03-14 Andreas Schwab <schwab@linux-m68k.org>
519
520 [BZ #18128]
521 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
522 (atomic_add, atomic_increment_and_test)
523 (atomic_decrement_and_test): Fix 64-bit arithmetic.
524
2ecccaed
PE
5252015-03-13 Paul Eggert <eggert@cs.ucla.edu>
526
527 * stdlib/setenv.c (__add_to_environ):
528 Dump core quickly if setenv (..., NULL, ...) is called.
529
cdaf79d0
RM
5302015-03-13 Roland McGrath <roland@hack.frob.com>
531
532 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
533 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
534 all the necessary asm magic in one place.
535 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
536 using those.
537
cf9313e7
CD
5382015-03-13 Carlos O'Donell <carlos@redhat.com>
539
540 [BZ #14906]
541 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
542 traced file mtime. Use consistent log message.
543 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
544 (register_traced_file): Call install_watches. Always set mtime.
545 (invalidate_cache): Iterate over all trace files. Call install_watches.
546 (inotify_check_files): Don't inline. Handle watching parent
547 directories and configuration file movement in and out.
548 (handle_inotify_events): New function.
549 (main_loop_poll): Call handle_inotify_events.
550 (main_loop_epoll): Likewise.
551 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
552 (struct traced_file): Use array of inotify fds. Add parent directory,
553 and basename.
554 (struct database_dyn): Remove unused file_mtime.
555 (init_traced_file): New inline function.
556 (define_traced_file): New macro.
557 * nss/nss_db/db-init.c: Use define_traced_file.
558 (_nss_db_init): Use init_traced_file.
559 * nss/nss_files/files-init.c: Use define_traced_file.
560 (_nss_files_init): Use init_traced_file.
561
7d67a196
JM
5622015-03-12 Joseph Myers <joseph@codesourcery.com>
563
564 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
565 [_LIBC]: Do not include <stdlib.h>.
566 [!_LIBC] (abort): Remove declaration.
567 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
568 _FP_STATIC_ASSERT instead of conditionally calling abort.
569 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
570 (_FP_EXTEND_CNAN): Likewise.
571 (FP_TRUNC): Likewise.
572 (__FP_CLZ): Likewise.
573 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
574
af85ebcd
YS
5752015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
576
577 * manual/string.texi (XPG basename): Fix prototype.
578
2e807f29
SL
5792015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
580
581 [BZ #18080]
582 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
583 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
584 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
585 (__setcontext): Likewise.
586 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
587 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
588 Call rt_sigprocmask syscall one time to set new signal mask
589 and retrieve the current signal mask instead of two calls.
590 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
591 (__swapcontext): Likewise.
592 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
593 * stdlib/tst-setcontext2.c: New file.
594
1b2bebe6
SL
5952015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
596
597 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
598
6a1cf708
AJ
5992015-03-11 Aurelien Jarno <aurelien@aurel32.net>
600
601 [BZ #18093]
602 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
603 the wrong size.
604
a2d4cf72
PP
6052015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
606
607 [BZ #18043]
608 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
609
5ca10a0c
AZ
6102015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
611
612 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
613 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
614 Remove define.
615 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
616 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
617 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
618 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
619 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
620 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
621 define.
622 * nptl_db/td_symbol_list.c (td_lookup): Remove
623 HAVE_ASM_GLOBAL_DOT_NAME code.
624 * sysdeps/powerpc/powerpc64/configure.ac: Remove
625 HAVE_ASM_GLOBAL_DOT_NAME check.
626 * sysdeps/powerpc/powerpc64/configure: Regenerate.
627 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
628 (DOT_LABEL): Remove define.
629 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
630 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
631 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
632 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
633 (__TLS_GET_ADDR): Likewise.
634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
635 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
636
e4363cfb
CD
6372015-03-11 Carlos O'Donell <carlos@redhat.com>
638
639 [BZ #18111]
640 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
641 (_FPU_SETCW): Initialize cw from fpsr before storing.
642 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
643 (fesetexceptflag): Rewrite using fpu_control.h.
644 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
645
fae1aa8d
JDA
6462015-03-11 John David Anglin <danglin@gcc.gnu.org>
647
648 [BZ #18110]
649 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
650 asms.
651 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
652
068a6274
JM
6532015-03-11 Joseph Myers <joseph@codesourcery.com>
654
655 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
656 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
657 abort.
658 (_FP_FMA): Likewise.
659 (_FP_DIV): Likewise.
660
d3821ab0
RM
6612015-03-10 Roland McGrath <roland@hack.frob.com>
662
44a6213c
RM
663 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
664 with 0 in that case.
665 * Makefile (summarize-tests): New canned sequence, factored out of
666 commands for targets tests and xtests. Display summary lines that
667 don't start with PASS: or XFAIL: rather than ones that do start with
668 ERROR: or FAIL:. Make the commands fail if any summary lines fail
669 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
670 do start with ERROR: or FAIL:.
671 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
672 (except for [$(build-shared) = yes]).
673 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
674 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
675 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
676 * nptl/Makefile: Revert 2015-03-04 changes.
677 [$(CXX) empty] (tests-unsupported): New variable.
678 * debug/Makefile: Likewise.
679
d3821ab0
RM
680 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
681 gnulib file. Replace __attribute with __attribute__ throughout.
682
85ca85ae
CD
6832015-03-10 Carlos O'Donell <carlos@redhat.com>
684
685 * sysdeps/hppa/fpu/libm-test-ulps: Update.
686
6411f81d
JM
6872015-03-10 Joseph Myers <joseph@codesourcery.com>
688
689 [BZ #18104]
690 * math/auto-libm-test-in: Add another test of pow.
691 * math/auto-libm-test-out: Regenerated.
692
d421868b
AZ
6932015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
694
695 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
696 $(config-cflags-nofma).
697
a2f8be9c
JM
6982015-03-10 Joseph Myers <joseph@codesourcery.com>
699
700 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
701 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
702 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
703 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
704 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
705 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
706 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
707 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
708 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
709 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
710 Add comment on closing #endif.
711
01d032e0
PP
7122015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
713
714 * posix/wordexp.c (CHAR_IN_SET): New macro.
715 (parse_param): Use it.
716
d439bc56
AZ
7172015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
718
719 * sysdeps/powerpc/fpu/libm-test-ulps: update.
720
5f85a4bf
PP
7212015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
722
723 [BZ #18043]
724 * posix/wordexp.c (parse_param): Fix buffer overflow.
725 * posix/wordexp-test.c (test_case): Add test case.
726
f8ba70e9
PP
7272015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
728
729 [BZ #18042]
730 * posix/wordexp.c (parse_backtick): Fix off-by-one.
731 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
732
36103ba2
PP
7332015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
734
735 [BZ #18043]
736 * posix/wordexp-test.c (test_case): Add test for BZ #18043
737 (do_bz18043): Delete.
738 (at_page_end): New.
739 (testit): Refactor to have words at the edge of unreadable page.
740
18d26750
PP
7412015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
742
743 [BZ #16734]
744 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
745 Cleanup read-only streams as well.
746 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
747
9f95dc5d
ST
7482015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
749
750 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
751 <bits/libc-lockP.h>
752
b838844b
JM
7532015-03-07 Joseph Myers <joseph@codesourcery.com>
754
755 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
756 on [__KERNEL__].
757 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
758 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
759 * soft-fp/op-common.h (_FP_DECL): Likewise.
760
e0ed2fb4
L
7612015-03-06 H.J. Lu <hongjiu.lu@intel.com>
762
763 * elf/ifuncdep2.c (global): Replace
764 __attribute__((visibility("protected"))) with
765 asm (".protected global").
766 * elf/ifuncmod1.c (global): Likewise.
767 * elf/ifuncmod5.c (global): Likewise.
768
fa9dda64
JM
7692015-03-06 Joseph Myers <joseph@codesourcery.com>
770
771 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
772 <asm/sfp-machine.h> instead of <sfp-machine.h>.
773
4acc27ed
RM
7742015-03-06 Roland McGrath <roland@hack.frob.com>
775
776 * manual/install.texi (Configuring and compiling):
777 Document test-wrapper-env-only.
778 * INSTALL: Regenerated.
779
895c30cb
PP
7802015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
781
782 [BZ #18043]
783 * posix/wordexp.c (parse_param): Fix buffer overflow.
784 * posix/wordexp-test.c (do_bz18043): Add test case.
785
5df56c7e
VB
7862015-03-06 Vincent Bernat <vincent@bernat.im>
787
788 * time/tst-strptime2.c (do_test): Ensure failing tests are
789 reported correctly.
790 * time/tst-strptime3.c (do_test): Likewise.
791
1cdf2ea1
ST
7922015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
793
794 Fix aio_error thread-safety.
1cdf2ea1
ST
795 * sysdeps/pthread/aio_error.c: New file
796 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
797 synchronization.
798
d176a41a
FW
7992015-03-06 Florian Weimer <fweimer@redhat.com>
800
801 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
802 (group_number, vfprintf): Use it.
1597b744
FW
803 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
804 (JUMP, REF): Use it.
805 (WORK_BUFFER_SIZE): New enum constant.
806 (process_arg, vfprintf): Use it.
d176a41a 807
7e7af349
RJ
8082015-03-06 Rical Jasan <ricaljasan@pacific.net>
809
810 * manual/errno.texi (Error Messages): Complete example function
811 by adding missing #define.
812 (program_invocation_name): Add statement indicating GNU
813 extension and reference which header file declares the variable.
814 (program_invocation_short_name): Likewise.
815
4ca8ddfb
MF
8162015-03-06 Mike Frysinger <vapier@gentoo.org>
817
818 * manual/errno.texi (Error Messages): Delete strerror ISO C89
819 compatibility note.
820
9162c01d
RM
8212015-03-05 Roland McGrath <roland@hack.frob.com>
822
823 * Makeconfig (test-wrapper-env-only): New variable.
824 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
825 then use that with $(test-wrapper-env-only) rather than using
826 $(test-wrapper-env) $(run-program-env) $($*-ENV).
827
209826bc
L
8282015-03-05 H.J. Lu <hongjiu.lu@intel.com>
829
830 [BZ #18082]
831 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
832 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
833 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
834 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
835 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
836 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
837 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
838 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
839 Likewise.
840 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
841 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
842 Likewise.
843 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
844 Likewise.
845 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
846 Likewise.
847 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
848 Likewise.
849 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
850 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
851 Likewise.
852 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
853 Likewise.
854 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
855 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
856
2cfe32bc
RM
8572015-03-04 Roland McGrath <roland@hack.frob.com>
858
8bff5aab
RM
859 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
860 (ETH_ALEN): New macro.
861 (struct ether_addr): Use it for length of ether_addr_octet.
862
2752f338
RM
863 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
864 (setdb): Don't call __nss_configure_lookup for "rpc".
865 (do_test): Don't call test_rpc.
866 (output_rpcent, test_rpc): Functions moved ...
867 * sunrpc/test-rpcent.c: ... to this new file.
868 * sunrpc/Makefile (tests): Add it.
869
2cfe32bc
RM
870 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
871 __xpg_sigpause.
872 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
873 * nptl/tst-signal6.c: Likewise.
874 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
875 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
876
e4693aa7
RM
877 * configure.ac (libc_cv_cxx_link_ok): New check.
878 Reset CXX to empty if it fails to link.
879 * configure: Regenerated.
880 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
881 bug-atexit3-lib only if $(CXX) is nonempty.
882 * nptl/Makefile (tests): Likewise for tst-cancel24.
883 (tests, tests-static): Likewise for tst-cancel24-static.
884 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
885 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
886 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
887 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 888
8e2e833a
AS
8892015-03-04 Andreas Schwab <schwab@suse.de>
890
891 [BZ #17631]
892 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
893 for non-GCC compilers.
894 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
895 Likewise.
896
85b29045
AZ
8972015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
898
899 [BZ #17776]
900 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
901 integer before bitwise and assembly operations.
902 (feclearexcept): Likewise.
903 * math/test-fenvinline.c: New file.
904 * math/Makefile: Add test-fenvinline test.
905
a0af371c
AM
9062015-03-03 Alan Modra <amodra@gmail.com>
907
908 [BZ #16512]
909 * scripts/localplt.awk: Strip off symbol version.
910 * NEWS: Mention bug fix.
911
47465629
RM
9122015-03-02 Roland McGrath <roland@hack.frob.com>
913
914 * sysdeps/pthread/timer_routines.c
915 (timer_free_list, thread_free_list, thread_active_list): Make static.
916
6d08b022
JM
9172015-03-02 Joseph Myers <joseph@codesourcery.com>
918
919 [BZ #17779]
920 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
921 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
922 Undefine.
923 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
924 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
925 Likewise.
926 * sysdeps/unix/sysv/linux/sh/kernel-features.h
927 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
928 Likewise.
929
c2c6d39f
PP
9302015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
931
932 [BZ #18036]
933 * posix/fnmatch_loop.c (END): Detect invalid pattern.
934 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
935
e8b6be00
AS
9362015-03-02 Andreas Schwab <schwab@suse.de>
937
938 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
939 variable name.
940
1a2d98af
FW
9412015-03-02 Florian Weimer <fweimer@redhat.com>
942
943 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
944 Return error status.
945
e7f07af5
AO
9462015-02-27 Alexandre Oliva <aoliva@redhat.com>
947
948 [BZ #15969]
949 * locale/findlocale.c (_nl_find_locale): Introduce const
950 version of loc_name and drop unsafe type casts.
951
c7b19ca9
RM
9522015-02-27 Roland McGrath <roland@hack.frob.com>
953
954 * dlfcn/tststatic2.c (main): Converted to ...
955 (do_test): ... this.
956 (TEST_FUNCTION): New macro.
957 Include test-skeleton.c.
958
ef4ad06f
L
9592015-02-27 H.J. Lu <hongjiu.lu@intel.com>
960
961 [BZ #17711]
962 * elf/Makefile (tests): Add vismain only if PIE is enabled.
963 (tests-pie): Add vismain.
964 (CFLAGS-vismain.c): New.
965 * elf/vismain.c: Add comments for PIE requirement.
966
2ca725c5
JM
9672015-02-27 Joseph Myers <joseph@codesourcery.com>
968
969 [BZ #18046]
970 [BZ #18047]
971 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
972 0x1p-56L as threshold for just returning the argument.
973 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
974 0x1p-32L as threshold for just returning the argument.
975 * math/auto-libm-test-in: Add more tests of atanh.
976 * math/auto-libm-test-out: Regenerated.
977 * sysdeps/i386/fpu/libm-test-ulps: Update.
978 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
979
af96be34
WD
9802015-02-27 Wilco Dijkstra wdijkstr@arm.com
981
982 * string/bcopy.c (bcopy): Call memmove for performance.
983
ddcf6798
WD
9842015-02-27 Wilco Dijkstra wdijkstr@arm.com
985
986 * string/bzero.c (__bzero): Call memset for performance.
987
49f476f4
JDA
9882015-02-27 John David Anglin <dave.anglin@bell.net>
989
b42e14ff 990 [BZ #18068]
49f476f4
JDA
991 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
992 to 00100000.
993
f8ab5d38
JM
9942015-02-27 Joseph Myers <joseph@codesourcery.com>
995
996 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
997
380bd0fd
JM
9982015-02-26 Joseph Myers <joseph@codesourcery.com>
999
31331a07
JM
1000 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1001 (__kernel_standard): Use CSTR macro when setting exc.name.
1002 * sysdeps/ieee754/Makefile [$(subdir) = math]
1003 (CFLAGS-k_standard.c): Remove variable.
1004
09220e66
JM
1005 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1006 setting p and q from "else if" to "else".
1007 (qzero): Likewise.
1008 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1009 (qone): Likewise.
1010 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1011 (qzerof): Likewise.
1012 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1013 (qonef): Likewise.
1014 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1015 (qzero): Likewise.
1016 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1017 (qone): Likewise.
1018
1d9ab20c
JM
1019 [BZ #18038]
1020 [BZ #18039]
1021 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1022 return pi/2 for arguments below 0x1p-113L.
1023 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1024 return pi/2 for arguments below 0x1p-106L.
1025 * math/auto-libm-test-in: Add more tests of acos.
1026 * math/auto-libm-test-out: Regenerated.
1027
ec0ce0d3
JM
1028 [BZ #16351]
1029 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1030 (MO): New macro.
1031 (__ieee754_asin): Force underflow exception for results with small
1032 absolute value.
1033 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1034 (MO): New macro.
1035 (__ieee754_asinf): Force underflow exception for results with
1036 small absolute value.
1037 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1038 (__ieee754_asin): Force underflow exception for results with small
1039 absolute value.
1040 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1041 (__ieee754_asinf): Force underflow exception for results with
1042 small absolute value.
1043 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1044 (__ieee754_asinl): Force underflow exception for results with
1045 small absolute value.
1046 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1047 (__ieee754_asinl): Force underflow exception for results with
1048 small absolute value.
1049 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1050 (__ieee754_asinl): Force underflow exception for results with
1051 small absolute value.
1052 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1053 Include <math.h>.
1054 * math/auto-libm-test-in: Do not mark underflow exceptions as
1055 possibly missing for bug 16351.
1056 * math/auto-libm-test-out: Regenerated.
1057
380bd0fd
JM
1058 [BZ #18030]
1059 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1060 of power of 2 down when low part has opposite sign.
1061 * math/libm-test.inc (logb_test_data): Add more tests.
1062
4a28f4d5
AS
10632015-02-26 Andreas Schwab <schwab@suse.de>
1064
1065 [BZ #18032]
1066 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1067 over collating symbol inside a bracket expression. Minor cleanup.
1068 * posix/tst-fnmatch3.c (do_test): Add test case.
1069
524ae9ea
JM
10702015-02-26 Joseph Myers <joseph@codesourcery.com>
1071
1072 [BZ #18029]
1073 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1074 Adjust exponent of power of 2 down when low part has opposite
1075 sign.
1076 * math/libm-test.inc (ilogb_test_data): Add more tests.
1077
23d43090
AO
10782015-02-26 Alexandre Oliva <aoliva@redhat.com>
1079
1080 [BZ #15969]
1081 * locale/findlocale.c (_nl_find_locale): Fix constness error in
1082 the previous change.
0d822a01
AO
1083
1084 [BZ #15969]
1085 * locale/findlocale.c (_nl_find_locale): Retry archive search
1086 after alias expansion.
1087
d19df6ac
RM
10882015-02-25 Roland McGrath <roland@hack.frob.com>
1089
ca681b7b
RM
1090 * iconv/tst-iconv3.c (main): Converted to ...
1091 (do_test): ... this.
1092 (TEST_FUNCTION): New macro.
1093 Include test-skeleton.c.
1094
fd1f2f1c
RM
1095 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1096 (convert): Make function static.
1097 (test_unalign): Likewise. Add const to argument pointee types.
1098 (main): Replace with static function do_test.
1099 Print "Succeeded." only if RET is zero.
1100 (TEST_FUNCTION): New macro.
1101 Include test-skeleton.c.
1102
d19df6ac
RM
1103 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1104 returns a null pointer.
1105
115e0de7
AZ
11062015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1107
1108 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1109 to __memcpy_ppc only for static builds.
1110
137cef7d
JM
11112015-02-25 Joseph Myers <joseph@codesourcery.com>
1112
1113 [BZ #18020]
1114 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1115 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1116 * math/auto-libm-test-in: Add more tests of asinh.
1117 * math/auto-libm-test-out: Regenerated.
1118 * sysdeps/i386/fpu/libm-test-ulps: Update.
1119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1120
cb43bb0d
CW
11212015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1122
1123 [BZ #15850]
1124 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1125 and ip6_mtuinfo definitions here.
1126 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1127 in this define too. Update comment.
1128
9be1052b
BS
11292015-02-24 Benno Schulenberg <bensberg@justemail.net>
1130
1131 * elf/sprof.c (load_shobj): Tweak error message to match others.
1132
6807b1db
KE
11332015-02-24 Kevin Easton <kevin@guarana.org>
1134
1135 [BZ #16145] (partial fix)
1136 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1137 to reduce lock contention.
1138
b433df00
ML
11392015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1140
1141 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1142 (struct timex): Update time comment.
1143 (ADJ_SETOFFSET): Define.
1144
440169d6
JM
11452015-02-24 Joseph Myers <joseph@codesourcery.com>
1146
1147 [BZ #18019]
1148 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1149 2**56 not 2**28 as threshold for log (2x) formula.
1150 * math/auto-libm-test-in: Add more tests of acosh.
1151 * math/auto-libm-test-out: Regenerated.
1152 * sysdeps/i386/fpu/libm-test-ulps: Update.
1153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1154
ba7d2c54
MF
11552015-02-24 Mike Frysinger <vapier@gentoo.org>
1156
1157 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1158 parenthesis around the buf assignment.
1159 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1160
9438b237
JM
11612015-02-24 Joseph Myers <joseph@codesourcery.com>
1162
1163 [BZ #16783]
1164 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1165 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1166 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1167 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1168 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1169 * math/libm-test.inc (scalb_test_data): Add more tests.
1170
6909d276
PP
11712015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1172
1173 [BZ #17916]
1174 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1175 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1176
65f6f938
ER
11772015-02-24 Eric Rannaud <e@nanocritical.com>
1178
1179 [BZ #17523]
1180 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1181 * io/bits/fcntl2.h (open): Use it.
1182 (openat): Likewise.
1183 * io/open.c (__libc_open): Likewise.
1184 * io/open64.c (__libc_open64): Likewise.
1185 * io/open64_2.c (__open64_2): Likewise.
1186 * io/open_2.c (__open_2): Likewise.
1187 * io/openat.c (__openat): Likewise.
1188 * io/openat64.c (__openat64): Likewise.
1189 * io/openat64_2.c (__openat64_2): Likewise.
1190 * io/openat_2.c (__openat_2): Likewise.
1191 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1192 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1193 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1194 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1195 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1196 (__open_nocancel): Likewise.
1197 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1198 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1199 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1200
3e3002ff
SP
12012015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1202
1203 [BZ #14841]
1204 * resolv/gethnamaddr.c (getanswer): Skip logging if
1205 RES_USE_DNSSEC is set.
1206 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1207
9813dd58
MF
12082015-02-24 Mike Frysinger <vapier@gentoo.org>
1209
1210 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1211
7b1ec6a0
AO
12122015-02-23 Alexandre Oliva <aoliva@redhat.com>
1213
1214 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1215 201304L, for Unicode 7.
1216
d49499c1
L
12172015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1218
1219 [BZ #17836]
1220 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1221 shared library. Add gmon-start.os otherwise.
1222 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1223 $(objpfx)gmon-start.os if builing shared library.
1224 ($(objpfx)g$(static-start-installed-name)): Likewise.
1225
51225803
AS
12262015-02-23 Andreas Schwab <schwab@suse.de>
1227
1228 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1229
bdf1ff05
PP
12302015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1231
1232 [BZ #17269]
1233 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1234 (enlarge_userbuf): Likewise.
1235
95296112
CLT
12362015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1237
1238 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1239 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1240 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1241 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1242
e4a399dc
JM
12432015-02-20 Joseph Myers <joseph@codesourcery.com>
1244
1245 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1246 expression inside statement expression.
1247
7133957f
SL
12482015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1249
1250 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1251 <sysdeps/nptl/lowlevellock.h> and remove macros and
1252 functions that are now defined there.
1253 (SYS_futex): Remove.
1254 (lll_compare_and_swap): Remove.
1255 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1256
40176158
JM
12572015-02-19 Joseph Myers <joseph@codesourcery.com>
1258
1259 [BZ #17999]
1260 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1261 instead of scandirat.
1262 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1263 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1264 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1265 __scandirat.
1266 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1267 (__scandirat): Declare. Use libc_hidden_proto.
1268 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1269 Remove variable.
1270 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1271
4629c866
JM
12722015-02-18 Joseph Myers <joseph@codesourcery.com>
1273
1274 [BZ #15319]
1275 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1276 (MO): New macro.
1277 (__ieee754_atan2): For results with small absolute value, force
1278 underflow exception and remove excess range and precision from
1279 return value.
1280 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1281 (MO): New macro.
1282 (__ieee754_atan2f): For results with small absolute value, force
1283 underflow exception and remove excess range and precision from
1284 return value.
1285 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1286 (MO): New macro.
1287 (__atan): For results with small absolute value, force underflow
1288 exception and remove excess range and precision from return value.
1289 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1290 (MO): New macro.
1291 (__atanf): For results with small absolute value, force underflow
1292 exception and remove excess range and precision from return value.
1293 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1294 <math.h>.
1295 (__ieee754_atan2): Force underflow exception for results with
1296 small absolute value.
1297 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1298 <math_private.h>.
1299 (atan): Force underflow exception for results with small absolute
1300 value.
1301 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1302 (__atanf): Force underflow exception for results with small
1303 absolute value.
1304 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1305 <math.h>.
1306 (__atanl): Force underflow exception for results with small
1307 absolute value.
1308 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1309 (__atanl): Force underflow exception for results with small
1310 absolute value.
1311 * sysdeps/x86/fpu/bits/mathinline.h
1312 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1313 (__ieee754_atan2): Only define inline for long double.
1314 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1315 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1316 * math/auto-libm-test-in: Do not mark underflow exceptions as
1317 possibly missing for bug 15319. Add more tests of atan2.
1318 * math/auto-libm-test-out: Regenerated.
1319 * math/libm-test.inc (casin_test_data): Do not mark underflow
1320 exceptions as possibly missing for bug 15319.
1321 (casinh_test_data): Likewise.
1322 * sysdeps/i386/fpu/libm-test-ulps: Update.
1323
9ee16d8b
SE
13242015-02-18 Steve Ellcey <sellcey@imgtec.com>
1325
1326 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1327 * sysdeps/mips/bits/endian.h: Fix comments.
1328
4ffb1771
JM
13292015-02-18 Joseph Myers <joseph@codesourcery.com>
1330
1331 [BZ #17996]
1332 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1333 (hdestroy_r): Likewise.
1334 (hsearch_r): Likewise.
1335 (__hcreate_r): Declare and use libc_hidden_proto.
1336 (__hdestroy_r): Likewise.
1337 (__hsearch_r): Likewise.
1338 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1339 (hcreate): Call __hcreate_r instead of hcreate_r.
1340 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1341 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1342 as weak alias of __hcreate_r.
1343 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1344 __hdestroy_r.
1345 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1346 __hsearch_r.
1347 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1348 Remove variable.
1349 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1350 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1351 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1352 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1353
94c5a52a
SP
13542015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1355
1356 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1357 arena_lock into a single arena_get.
1358
8a35c3fe
CD
13592015-02-17 Carlos O'Donell <carlos@redhat.com>
1360
1361 * dl-reloc.c: Inlucde libc-internal.h.
1362 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1363 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1364 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1365 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1366 (grow_heap): Likewise.
1367 * malloc/malloc.c: Include libc-internal.h.
1368 (do_check_malloc): Call powerof2.
1369 (sysmalloc): Use pagesize. Call ALIGN_UP.
1370 (systrim): Use pagesize.
1371 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1372 (__libc_valloc): Use pagesize.
1373 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1374
1a2325c0
JM
13752015-02-17 Joseph Myers <joseph@codesourcery.com>
1376
1377 [BZ #17991]
1378 * include/sys/resource.h (__getrlimit64): Declare. Use
1379 libc_hidden_proto.
1380 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1381 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1382 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1383 getrlimit64.
1384 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1385 __getrlimit64.
1386 [!getrlimit64] (getrlimit64): Define as weak alias of
1387 __getrlimit64. Use libc_hidden_weak.
1388 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1389 using __getrlimit64 not __new_getrlimit64.
1390 (__GI_getrlimit64): Likewise.
1391 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1392 Likewise.
1393 (__GI_getrlimit64): Likewise.
1394 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1396 (getrlimit): Add __getrlimit64 alias.
1397 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1398 Likewise.
1399 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1400 Remove variable.
1401 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1402 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1403
8ae4bb5a
PP
14042015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1405
1406 * libio/fileops.c: Add missing sys/mman.h
1407 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1408
18a218b7
JM
14092015-02-17 Joseph Myers <joseph@codesourcery.com>
1410
1411 * manual/math.texi (Errors in Math Functions): Clarify goals
1412 regarding inexact and underflow exceptions.
1413
e72ad0ef
SE
14142015-02-17 Steve Ellcey <sellcey@imgtec.com>
1415
1416 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1417 * sysdeps/mips/memset.S: Ditto.
1418
2caa4099
SE
14192015-02-17 Steve Ellcey <sellcey@imgtec.com>
1420
1421 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1422
f20bfc9b
SL
14232015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1424
1425 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1426 (__v1longjmp): Remove versioned symbol.
1427 (__v1siglongjmp): Remove alias and versioned symbol.
1428 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1429 (__v2siglongjmp): Likewise.
1430
71c06b69
TR
14312015-02-16 Torvald Riegel <triegel@redhat.com>
1432
1433 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1434
a9a05adb
MF
14352015-02-16 Mike Frysinger <vapier@gentoo.org>
1436
1437 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1438
ce8fc784
JM
14392015-02-16 Joseph Myers <joseph@codesourcery.com>
1440
1441 [BZ #17987]
1442 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1443 zero result does not depend on the sign resulting from
1444 subtraction.
1445 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1446 Likewise.
1447 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1448 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1449 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1450 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1451 * math/libm-test.inc (remquo_test_data): Add more tests.
1452
0d7036bd
PE
14532015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1454
1455 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1456 Problem reported by J William Piggott.
1457
86c56b16
JM
14582015-02-16 Joseph Myers <joseph@codesourcery.com>
1459
a820f9b3
JM
1460 [BZ #17978]
1461 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1462 products 4 * y and 2 * y where those would overflow.
1463 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1464 Likewise.
1465 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1466 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1467 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1468 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1469 * math/libm-test.inc (remquo_test_data): Add more tests.
1470
be802953
JM
1471 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1472
e5e72fe9
JM
1473 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1474 [defined _COMPILING_NEWLIB].
1475 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1476 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1477
86c56b16
JM
1478 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1479 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1480
35264d14
TR
14812015-02-16 Torvald Riegel <triegel@redhat.com>
1482
1483 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1484 acquired.
1485
6f49e32a
MF
14862015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1487
1488 [BZ #17792]
1489 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1490 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1491 HOST_STACK_END_ADDR): Likewise.
1492
e525154e
SE
14932015-02-13 Steve Ellcey <sellcey@imgtec.com>
1494
1495 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1496 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1497 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1498
4ab770b7
RM
14992015-02-13 Roland McGrath <roland@hack.frob.com>
1500
1501 * sysdeps/generic/c++-types.data: New file.
1502 * sysdeps/generic/ld.abilist: New file.
1503 * sysdeps/generic/libBrokenLocale.abilist: New file.
1504 * sysdeps/generic/libanl.abilist: New file.
1505 * sysdeps/generic/libc.abilist: New file.
1506 * sysdeps/generic/libcrypt.abilist: New file.
1507 * sysdeps/generic/libdl.abilist: New file.
1508 * sysdeps/generic/libm.abilist: New file.
1509 * sysdeps/generic/libpthread.abilist: New file.
1510 * sysdeps/generic/libresolv.abilist: New file.
1511 * sysdeps/generic/librt.abilist: New file.
1512
d9afe48d
JM
15132015-02-13 Joseph Myers <joseph@codesourcery.com>
1514
1515 [BZ #17569]
1516 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1517 Compute absolute value of x as modified by fmod, not original
1518 value of x.
1519 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1520 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1521 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1522 RUN_TEST_ffI_f1_mod8.
1523 (remquo_test_data): Add more tests.
1524
3846188b
RM
15252015-02-13 Roland McGrath <roland@hack.frob.com>
1526
1527 * sysdeps/init_array/pt-crti.S: New file.
1528
95c26233
JM
15292015-02-13 Joseph Myers <joseph@codesourcery.com>
1530
1531 [BZ #17967]
1532 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1533 __builtin_fmaf instead of relying on contraction of a * b + c.
1534
3f293d61
WP
15352015-02-12 J William Piggott <elseifthen@gmx.com>
1536
1537 [BZ #17969]
1538 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1539 node.
1540
e8bd5286
JM
15412015-02-12 Joseph Myers <joseph@codesourcery.com>
1542
1543 [BZ #17964]
1544 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1545 __builtin_fma instead of relying on contraction of a * b + c.
1546
04f5a636
RM
15472015-02-12 Roland McGrath <roland@hack.frob.com>
1548
96a15749
RM
1549 * Makeconfig (ASFLAGS): Add -Werror=undef.
1550 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1551 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1552 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1553
04f5a636
RM
1554 * Makeconfig (after-link): New variable.
1555 (+link-pie, +link-pie-tests): Use it.
1556 (+link-static, +link-static-tests): Likewise.
1557 (+link, +link-tests): Likewise.
1558 * Makerules (build-module, build-module-asneeded): Likewise.
1559 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1560 Likewise.
1561 * elf/Makefile ($(objpfx)ld.so): Likewise.
1562
87a629c5
RS
15632015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1564
1565 [BZ #17965]
1566 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1567 both struct timeval and struct timespec.
1568
03d95bd4
JM
15692015-02-12 Joseph Myers <joseph@codesourcery.com>
1570
1571 [BZ #16560]
1572 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1573 and redefine.
1574 (__ieee754_exp2l): Do not multiply small fractional parts by
1575 M_LN2l.
1576 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1577 small argument.
1578 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1579 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1580 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1581 * math/auto-libm-test-in: Add more tests of exp2.
1582 * math/auto-libm-test-out: Regenerated.
1583
98408b95
RS
15842015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1585
1586 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1587 unaligned path.
1588
6f741503
AZ
15892015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1590
1591 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1592 little endian.
1593
2868e070
AS
15942015-02-12 Andreas Schwab <schwab@suse.de>
1595
1596 [BZ #15790]
1597 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1598 Filter out elision flags from value returned in kind.
1599 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1600 * nptl/tst-pthread-mutexattr.c: New file.
1601
ebf27d12
ST
16022015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1603
1604 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1605 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1606 into gnu-gnu, and update comment to refer to abi-tags.
1607
d435569c
JM
16082015-02-11 Joseph Myers <joseph@codesourcery.com>
1609
1610 [BZ #15467]
1611 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1612 (__sincos): Set errno to EDOM for infinite argument.
1613 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1614 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1615 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1616 (__sincosl): Set errno to EDOM for infinite argument.
1617 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1618 (__sincosl): Set errno to EDOM for infinite argument.
1619 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1620 (__sincosl): Set errno to EDOM for infinite argument.
1621 * math/libm-test.inc (sincos_test_data): Test errno setting.
1622
d35273f2
LH
16232015-02-11 Leonhard Holz <leonhard.holz@web.de>
1624
1625 * string/strxfrm_l.c: Remove #define STRCMP.
1626 * string/strcoll_l.c: Remove #define STRLEN.
1627 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1628 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1629
306bc0d1
JM
16302015-02-10 Joseph Myers <joseph@codesourcery.com>
1631
1632 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1633 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1634 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1635 * sysdeps/mips/mips64/Makefile: ... here.
1636 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1637 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1638 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1639 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1640 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1641 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1642 * sysdeps/mips/mips64/n64/Implies: Likewise.
1643
92b67e8d
RM
16442015-02-10 Roland McGrath <roland@hack.frob.com>
1645
1646 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1647 <sys/time.h>, <string.h>, and <errno.h>.
1648 (dest_offset, dest_address, value, zero): Remove unused variables.
1649 (ldouble): Remove typedef.
1650 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1651 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1652 1). Fix code style.
1653 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1654 (check): Function removed.
1655 (CHECK): New macro.
1656 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1657 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1658 Don't call set_sigaction_FP and remove_sigaction_FP here.
1659 (ldouble_test): Just use 'long double' as macro argument, no need for
1660 the 'ldouble' typedef.
1661 (do_test): Set up SIGFPE handler at start, using plain signal rather
1662 than sigaction. Fix code style.
1663
132a1328
EF
16642015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1665
1666 [BZ #17949]
1667 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1668 jump label.
1669
3001e54c
AZ
16702015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1671
bc0cdc49
AZ
1672 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1673 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1674
83658961
AZ
1675 * sysdeps/powerpc/configure.ac: Remove file.
1676 * sysdeps/powerpc/configure: Likewise.
1677
10169938
AZ
1678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1679 [sysdep_routines]: Remove wordcopy-power6 object.
1680 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1681 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1682 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1683 (__memmove_ppc32): Likewise.
1684 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1685 file.
1686 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1687 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1688 Remove preprocessor.
1689
8548a53d
AZ
1690 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1691 [sysdep_routines]: Remove wide chars objects.
1692 [wcsmbs]: New rule for wide char objects.
1693
b2692114
AZ
1694 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1695 Remove wordcopy-power6 obejct.
1696 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1697 Use local call for wordcopy and memcpy symbols.
1698 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1699 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1700 implementation for loader.
1701 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1702
18e270aa
AZ
1703 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1704 Remove wordcopy-power7 object.
1705 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1706 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1707 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1708 (_wordcopy_fwd_dest_aligned): Likewise.
1709 (_wordcopy_bwd_aligned): Likewise.
1710 (_wordcopy_bwd_dest_aligned): Likewise.
1711
6f0993a6
AZ
1712 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1713 Rewrite to call __memmove_ppc instead of include default
1714 implementation.
1715
3001e54c
AZ
1716 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1717 Remove wide chars objects.
1718 [wcsmbs]: New rule for wide char objects.
1719
59b61c82
AS
17202015-02-09 Andreas Schwab <schwab@suse.de>
1721
1722 [BZ #17912]
1723 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1724 in terms of __O_DIRECTORY.
1725
ebd7aede
ST
17262015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1727
1728 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
1729 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1730 call PTR_MANGLE.
1731 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1732 PTR_DEMANGLE.
ebd7aede 1733
3999d26e
PE
17342015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1735
1736 Add ersatz _Static_assert on older C hosts
1737 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1738 pre-C11 C platform that is not known to support _Static_assert.
1739
e9a5bc1c
ST
17402015-02-07 Richard Braun <rbraun@sceen.net>
1741
1742 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1743 sigstate.
e86c5b64 1744 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 1745
e2049d17
ST
17462015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1747
1748 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1749 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
1750 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1751 instead of int.
1752 * misc/fchflags.c (fchflags): Likewise.
1753 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1754 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1755 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1756 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1757 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1758 Declare macros.
1759 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
1760 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1761 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
1762 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1763 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1764 45.
a9a002fb
ST
1765 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1766 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
1767 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1768 MACH_RCV_TIMED_OUT.
f96ec27a
ST
1769 * hurd/hurd/signal.h (_hurd_self_sigstate,
1770 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1771 Explicit casts from void *.
4fc81a77 1772 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 1773 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 1774
f05826f0
ST
1775 [BZ #4719]
1776 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1777 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1778 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1779 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1780 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1781 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1782
a5eb23de
ST
1783 [BZ #17944]
1784 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1785 duplicates ADDR->sun_path with sockaddr LEN limitation.
1786 * sysdeps/mach/hurd/connect.c: Include <string.h>
1787 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1788 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1789 * sysdeps/mach/hurd/sendto.c: Likewise.
1790 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1791 implementing it by hand.
1792
ac9e0e5e
RM
17932015-02-06 Roland McGrath <roland@hack.frob.com>
1794
f8d1bb4c
RM
1795 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1796 Use sfi_breg on ldr.
1797 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1798 Likewise.
1799
022f4812
RM
1800 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1801 it's defined.
1802 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1803 Test SIGSETXID only if it's defined.
1804
1ac074e6
RM
1805 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1806
f50ad78b
RM
1807 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1808 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1809
9e7265f4
RM
1810 * nptl/tst-align2.c: Moved ...
1811 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1812 * nptl/Makefile (tests): Remove tst-align2.
1813 * sysdeps/unix/sysv/linux/Makefile
1814 [$(subdir) = nptl] (tests): Add tst-align-clone.
1815 * nptl/tst-getpid1.c: Moved ...
1816 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1817 * nptl/tst-getpid2.c: Moved ...
1818 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1819 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1820 * sysdeps/unix/sysv/linux/Makefile
1821 [$(subdir) = nptl] (tests): ... here.
1822 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1823 * sysdeps/unix/sysv/linux/Makefile
1824 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1825
62ad2abc
RM
1826 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1827 Drop trailing \n from perror argument. Use return rather than exit.
1828
cfa69b0b
RM
1829 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1830 on [SA_SIGINFO].
1831 * nptl/tst-cancel21.c (do_test): Likewise.
1832 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1833 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1834 [!SA_SIGINFO]: Make it a stub test.
1835
82727806
RM
1836 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1837 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1838
da3a1594
RM
1839 * posix/tst-getlogin.c: Move to ...
1840 * login/tst-getlogin.c: ... here.
1841 * posix/Makefile (tests): Move tst-getlogin to ...
1842 * login/Makefile (tests): ... here.
1843
b65c0ff9
RM
1844 * libio/tst-atime.c (do_test): Move local variables SV and E
1845 inside [ST_NOATIME] conditional.
1846
56606ab3
RM
1847 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1848
ebf7d6ee
RM
1849 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1850
ca0e0675
RM
1851 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1852 (wait_code): New function replaces macro.
1853 Call nanosleep rather than syscall.
1854
8c28bbc6
RM
1855 * nptl/pt-system.c: Rewritten. Put everything under
1856 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1857 Use IFUNC to redirect when possible.
1858
ec2a88b3
RM
1859 * nptl/pt-longjmp.c: Rewritten. Put everything under
1860 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1861 Use IFUNC to redirect when possible.
1862
beff1d13
RM
1863 * nptl/pt-fork.c: Rewritten. Put everything under
1864 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1865 Use IFUNC to redirect when possible.
1866 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1867
ea02c6b8
RM
1868 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1869 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1870 unconditionally nowadays. This included the only reference to
1871 __vdso_clock_gettime that appears outside libc proper.
1872 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1873 Remove version set (containing only __vdso_clock_gettime).
1874 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1875 Add attribute_hidden.
1876 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1877 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1878 libc_hidden_data_def.
1879 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1880 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1881
a1309c2b
RM
1882 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1883 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1884 setrpcent, and getrpcport to ...
1885 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1886 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1887 getrpcbynumber_r, and getrpcent_r to ...
1888 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1889 * inet/getrpcbyname.c: Moved ...
1890 * sunrpc/getrpcbyname.c: ... here.
1891 * inet/getrpcbyname_r.c: Moved ...
1892 * sunrpc/getrpcbyname_r.c: ... here.
1893 * inet/getrpcbynumber.c: Moved ...
1894 * sunrpc/getrpcbynumber.c: ... here.
1895 * inet/getrpcbynumber_r.c: Moved ...
1896 * sunrpc/getrpcbynumber_r.c: ... here.
1897 * inet/getrpcent.c: Moved ...
1898 * sunrpc/getrpcent.c: ... here.
1899 * inet/getrpcent_r.c: Moved ...
1900 * sunrpc/getrpcent_r.c: ... here.
1901 * inet/Makefile (routines): Move those to ...
1902 * sunrpc/Makefile (routines): ... here.
1903 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1904 the $(subdirs) list.
1905 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1906 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1907 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1908 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1909
ac9e0e5e
RM
1910 * elf/Makefile (routines): Include $(all-dl-routines), not just
1911 $(dl-routines).
1912 (rtld-routines): Likewise. Use = rather than :=.
1913 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1914 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1915 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1916 * sysdeps/arm/Makefile: Likewise.
1917 * sysdeps/i386/Makefile: Likewise.
1918 * sysdeps/x86_64/Makefile: Likewise.
1919 * sysdeps/hppa/Makefile [$(subdir) = elf]
1920 (sysdep_routines, sysdep-rtld-routines): Don't add
1921 $(sysdep-dl-routines) to these.
1922 * sysdeps/ia64/Makefile: Likewise.
1923 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1924 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1925 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1926 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1927 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1928 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1929 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1930 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1931 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1932 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1933 these; sysdep-dl-routines alone is enough.
1934
639e42eb
JM
19352015-02-06 Joseph Myers <joseph@codesourcery.com>
1936
1c7a4a51
JM
1937 [BZ #17932]
1938 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1939 where multiplication results in zero and third argument is finite
1940 and nonzero.
1941 * math/auto-libm-test-in: Add more tests of fma.
1942 * math/auto-libm-test-out: Regenerated.
1943
61f006c1
JM
1944 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1945 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1946 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1947 (_FP_CMP_EQ): Likewise.
1948 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1949
639e42eb
JM
1950 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1951 extra argument CHECK_NAN. Redefine as wrapper around
1952 _FP_EXTEND_CNAN.
1953
3c0c543b
CD
19542015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1955
4e42b5b8
CD
1956 * version.h (RELEASE): Set to "stable".
1957 (VERSION): Set to "2.21"
1958 * include/features.h (__GLIBC_MINOR__): Set to 21.
1959
3c0c543b
CD
1960 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1961
5bd80bfe 19622015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 1963 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
1964
1965 [BZ #16618]
1966 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1967 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1968 size in bytes. Store needed elements in wpmax. Use needed size
1969 in bytes for extend_alloca.
1970
3f823f48
CD
19712015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1972
04cb913d
CD
1973 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1974 binutls 2.25, and texinfo 5.2.
1975 * INSTALL: Regenerate.
1976 * sysdeps/nios2/configure: Regenerate.
1977 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1978 * manual/contrib.texi: Update.
1979 * po/be.po: Update.
1980 * po/bg.po: Update.
1981 * po/ca.po: Update.
1982 * po/cs.po: Update.
1983 * po/da.po: Update.
1984 * po/de.po: Update.
1985 * po/el.po: Update.
1986 * po/eo.po: Update.
1987 * po/es.po: Update.
1988 * po/fi.po: Update.
1989 * po/fr.po: Update.
1990 * po/gl.po: Update.
1991 * po/hr.po: Update.
1992 * po/hu.po: Update.
1993 * po/ia.po: Update.
1994 * po/id.po: Update.
1995 * po/it.po: Update.
1996 * po/ja.po: Update.
1997 * po/ko.po: Update.
1998 * po/lt.po: Update.
1999 * po/nb.po: Update.
2000 * po/nl.po: Update.
2001 * po/pl.po: Update.
2002 * po/pt_BR.po: Update.
2003 * po/ru.po: Update.
2004 * po/rw.po: Update.
2005 * po/sk.po: Update.
2006 * po/sl.po: Update.
2007 * po/sv.po: Update.
2008 * po/tr.po: Update.
2009 * po/uk.po: Update.
2010 * po/vi.po: Update.
2011 * po/zh_CN.po: Update.
2012 * po/zh_TW.po: Update.
2013
3f823f48
CD
2014 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2015 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2016 * sysdeps/hppa/dl-irel.h: Remove #warning.
2017 * sysdeps/hppa/entry.h: Provide prototype for
2018 __canonicalize_funcptr_for_compare and cast argument.
2019 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2020 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2021 * sysdeps/hppa/sotruss-lib.c: New file.
2022 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2023 (atomic_compare_and_exchange_val_acq): Use __typeof__.
2024 (atomic_compare_and_exchange_bool_acq): Likewise.
2025 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2026 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2027
2028 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2029 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2030 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2031
34c56048
CLT
20322015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2033
2034 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2035 called function in non-PIC case.
2036
d4abeca5
DM
20372015-01-31 David S. Miller <davem@davemloft.net>
2038
edac0a60
DM
2039 * sysdeps/sparc/sparc32/bits/atomic.h
2040 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2041 unlock not after it.
2042 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2043 volatile register usage warnings from the compiler.
2044
d4abeca5
DM
2045 * sysdeps/sparc/nptl/sem_init.c: Delete.
2046 * sysdeps/sparc/nptl/sem_post.c: Delete.
2047 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2048 * sysdeps/sparc/nptl/sem_wait.c: Delete.
2049 * sysdeps/sparc/sparc32/sem_init.c: New file.
2050 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2051 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2052 padding explicitly initialized.
2053 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2054 padding for in-semaphore spinlock.
2055 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2056 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2057 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2058 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2059 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2060 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2061 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2062 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2063 version.
2064 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2065 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2066
5f3d0b78
L
20672015-01-30 H.J. Lu <hongjiu.lu@intel.com>
2068
2069 [BZ #17801]
2070 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2071 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2072 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2073 New.
2074 (index_AVX_Fast_Unaligned_Load): Likewise.
2075 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2076 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2077 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2078 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2079 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2080 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2081 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2082 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2083 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2084
b658fdd8
AS
20852015-01-29 Andreas Schwab <schwab@suse.de>
2086
2087 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2088
3cb26316
SP
20892015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2090
2091 [BZ #17892]
2092 * nscd/nscd_stat.c (send_stats): Initialize DATA.
2093
527de9e4
MS
20942015-01-28 Martin Sebor <msebor@redhat.com>
2095
2096 * math/README.libm-test: Clarify. Add "How to read the test output."
2097
06991eb8
CM
20982015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
2099
2100 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2101 Define to 0.
2102
df341342
JM
21032015-01-28 Joseph Myers <joseph@codesourcery.com>
2104
2105 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2106 (__HAVE_64B_ATOMICS): Define to 0.
2107
08cee2a4
AZ
21082015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2109
d4d0ecb2
AZ
2110 [BZ #17885]
2111 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2112 value to set as new flag.
2113
08cee2a4
AZ
2114 [BZ #16576]
2115 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2116 and use _ARCH_PPCSQ instead.
2117 (__ieee754_sqrt): Likewise.
2118 (__ieee754_sqrtf): Likewise.
2119 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2120 _ARCH_PPCSQ is defined.
2121 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2122 fsqrt instruction.
2123 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2124 _ARCH_PPCSQ is defined.
2125 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2126 fsqrts instruction.
2127 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2128
5fe8e359
AK
21292015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2130
2131 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2132 bug (GCC BZ #64739).
2133
24bb7432
AS
21342015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2135
fa20da31
AS
2136 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2137 Mark _retval as used.
2138 (lll_futex_wake_unlock): Likewise.
2139 (lll_futex_timed_wait_requeue_pi): Likewise.
2140
45819cbc
AS
2141 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2142 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2143 register variables.
2144
403cc231
AS
2145 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2146 libm_hidden_def.
2147
24bb7432
AS
2148 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2149 (__bswap_64): Mark as __always_inline.
2150
9317ea65
B
21512015-01-25 Bram <bug_rh@spam.wizbit.be>
2152
2153 [BZ #15378]
2154 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2155 when none of the search directories exist.
2156
0e87343e
AZ
21572015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2158
bea58013
AZ
2159 [BZ #17869]
2160 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2161 power8 in .machine directive.
2162
0e87343e
AZ
2163 [BZ #17868]
2164 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2165 set dependency from opd value.
2166
ede0236c
L
21672015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2168
2169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
2170 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2171 architecture.
ede0236c 2172
22971c35
L
21732015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2174
2175 [BZ #17870]
2176 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2177 with uint64_t.
2178 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2179 (uint64_t) 1.
e0da28a1 2180 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
2181 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2182 Replace 1UL with (uint64_t) 1.
2183 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2184 int with uint64_t.
2185
da5bf245
RM
21862015-01-23 Roland McGrath <roland@hack.frob.com>
2187
2ec2d703
RM
2188 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2189 (if_freenameindex): Likewise.
2190
da5bf245
RM
2191 * resource/getrlimit64.c: Add missing libc_hidden_def.
2192
d7423856
JM
21932015-01-22 Joseph Myers <joseph@codesourcery.com>
2194
2195 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2196 __label__.
2197 (_FP_FMA): Likewise.
2198 (_FP_TO_INT_ROUND): Likewise.
2199 (_FP_FROM_INT): Likewise.
2200
6b2ba95b
AZ
22012015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2202
2203 [BZ #16418]
2204 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2205 Make code racy and cancel safe.
2206
ccdb048d
CD
22072015-01-21 Carlos O'Donell <carlos@redhat.com>
2208
191220b3
CD
2209 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2210 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2211 attribution.
2212
0897c551
CD
2213 * pwd/tst-getpw.c: Rewrite.
2214
ccdb048d
CD
2215 [BZ #17702]
2216 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2217 (modules-names): Add moddummy1 and moddummy2.
2218 ($(objpfx)tst-rec-dlopen): Define.
2219 * dlfcn/moddummy1.c: New file.
2220 * dlfcn/moddummy2.c: New file.
2221 * dlfcn/tst-rec-dlopen.c: New file.
2222 * elf/dl-cache.c (_dl_load_cache_lookup):
2223 Return char*. Copy result with alloca/strcpy/strdup.
2224 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2225 returns char*. Free cached. If not saving realname
2226 free cached.
2227 * elf/dl-open.c (dl_open_worker): Do not assert that
2228 _r_debug->r_state is RT_CONSISTENT.
2229 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2230 returns char*.
2231
042e1521
CD
22322015-01-21 Torvald Riegel <triegel@redhat.com>
2233 Carlos O'Donell <carlos@redhat.com>
2234
2235 [BZ #12674]
2236 * nptl/sem_waitcommon.c: New file.
2237 * nptl/sem_wait.c: Include sem_waitcommon.c.
2238 (__sem_wait_cleanup, do_futex_wait): Remove.
2239 (__new_sem_wait): Adapt.
2240 (__new_sem_trywait): New function.
2241 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2242 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2243 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2244 (sem_timedwait): Adapt.
2245 * nptl/sem_post.c (__new_sem_post): Adapt.
2246 (futex_wake): New function.
2247 (__old_sem_post): Add release MO fence.
2248 * nptl/sem_open.c (sem_open): Adapt.
2249 * nptl/sem_init.c (__new_sem_init): Adapt.
2250 (futex_private_if_supported): New function.
2251 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2252 (__old_sem_getvalue): Add using previous code.
2253 * sysdeps/nptl/internaltypes.h: Adapt.
2254 * nptl/tst-sem13.c (do_test): Adapt.
2255 * nptl/tst-sem11.c (main): Adapt.
2256 * nptl/sem_trywait.c: Remove.
2257 * nptl/DESIGN-sem.txt: Remove.
2258 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2259 (gen-as-const-headers): Remove structsem.sym.
2260 * nptl/structsem.sym: Remove.
2261 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2262 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2263 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2264 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2265 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2266 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2267 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2268 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2269 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2270 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2271 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2272 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2273 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2274 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2275 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2276 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2277 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2278 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2279 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2280 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2281 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2282 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2283
fe0e85af
CD
22842015-01-20 Carlos O'Donell <carlos@redhat.com>
2285
a8db092e
CD
2286 * INSTALL: Regenerated.
2287
fe0e85af
CD
2288 * po/libc.pot: Regenerated.
2289
522e6ee3
CLT
22902015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2291 Sandra Loosemore <sandra@codesourcery.com>
2292 Andrew Jenner <andrew@codesourcery.com>
2293 Joseph Myers <joseph@codesourcery.com>
2294 Nathan Sidwell <nathan@codesourcery.com>
2295
2296 * NEWS: Mention new Nios II port.
2297 * sysdeps/nios2/Implies: New file.
2298 * sysdeps/nios2/Makefile: New file.
2299 * sysdeps/nios2/Subdirs: New file.
2300 * sysdeps/nios2/Versions: New file.
2301 * sysdeps/nios2/__longjmp.S: New file.
2302 * sysdeps/nios2/abort-instr.h: New file.
2303 * sysdeps/nios2/backtrace.c: New file.
2304 * sysdeps/nios2/bits/endian.h: New file.
2305 * sysdeps/nios2/bits/fenv.h: New file.
2306 * sysdeps/nios2/bits/link.h: New file.
2307 * sysdeps/nios2/bits/setjmp.h: New file.
2308 * sysdeps/nios2/bsd-_setjmp.S: New file.
2309 * sysdeps/nios2/bsd-setjmp.S: New file.
2310 * sysdeps/nios2/configure: New generated file.
2311 * sysdeps/nios2/configure.ac: New file.
2312 * sysdeps/nios2/crti.S: New file.
2313 * sysdeps/nios2/crtn.S: New file.
2314 * sysdeps/nios2/dl-init.c: New file.
2315 * sysdeps/nios2/dl-machine.h: New file.
2316 * sysdeps/nios2/dl-sysdep.h: New file.
2317 * sysdeps/nios2/dl-tls.h: New file.
2318 * sysdeps/nios2/dl-trampoline.S: New file.
2319 * sysdeps/nios2/gccframe.h: New file.
2320 * sysdeps/nios2/gmp-mparam.h: New file.
2321 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2322 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2323 * sysdeps/nios2/ldsodefs.h: New file.
2324 * sysdeps/nios2/libc-tls.c: New file.
2325 * sysdeps/nios2/libm-test-ulps: New file.
2326 * sysdeps/nios2/machine-gmon.h: New file.
2327 * sysdeps/nios2/math-tests.h: New file.
2328 * sysdeps/nios2/math_private.h: New file.
2329 * sysdeps/nios2/memusage.h: New file.
2330 * sysdeps/nios2/nptl/Makefile: New file.
2331 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2332 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2333 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2334 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2335 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2336 * sysdeps/nios2/nptl/tls.h: New file.
2337 * sysdeps/nios2/preconfigure: New file.
2338 * sysdeps/nios2/s_fma.c: New file.
2339 * sysdeps/nios2/s_fmaf.c: New file.
2340 * sysdeps/nios2/setjmp.S: New file.
2341 * sysdeps/nios2/sfp-machine.h: New file.
2342 * sysdeps/nios2/sotruss-lib.c: New file.
2343 * sysdeps/nios2/stackguard-macros.h: New file.
2344 * sysdeps/nios2/stackinfo.h: New file.
2345 * sysdeps/nios2/start.S: New file.
2346 * sysdeps/nios2/sysdep.h: New file.
2347 * sysdeps/nios2/tls-macros.h: New file.
2348 * sysdeps/nios2/tst-audit.h: New file.
2349 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2350 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2351 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2352 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2353 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2354 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2355 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2356 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2357 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2358 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2359 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2360 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2361 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2362 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2363 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2364 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2365 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2366 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2367 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2368 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2369 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2370 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2371 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2372 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2373 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2374 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2375 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2376 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2377 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2378 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2379 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2380 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2381 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2382 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2383 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2384 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2385 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2386 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2387 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2388 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2389 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2390 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2391 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2392 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2393
026eb207
SL
23942015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2395
2396 [BZ #17844]
2397 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2398 (getutent): Use weak_alias in non SHARED case
2399 and default_symbol_version in SHARED case.
2400 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2401 (getutent_r, pututline): Likewise.
2402 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2403 (getutid): Likewise.
2404 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2405 (getutid_r): Likewise.
2406 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2407 (getutline): Likewise.
2408 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2409 (getutline_r): Likewise.
2410 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2411 (updwtmp): Likewise.
2412
1d532483
SL
24132015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2414
2415 [BZ #17848]
2416 * sysdeps/s390/s390-32/memcmp.S
2417 (memcmp_g5): Rename to __memcmp_g5.
2418 * sysdeps/s390/s390-32/memcpy.S
2419 (memcpy_g5): Rename to __memcpy_g5.
2420 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2421 (memcpy_mvcle) Rename to __memcpy_mvcle.
2422 * sysdeps/s390/s390-32/memset.S
2423 (memset_g5): Rename to __memset_g5.
2424 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2425 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2426 and use prefixed functions.
2427 * sysdeps/s390/s390-32/multiarch/memcmp.S
2428 (memcmp_z196): Rename to __memcmp_z196.
2429 (memcmp_z10): Rename to __memcmp_z10.
2430 (memcmp): Set alias to __memcmp_g5.
2431 (bcmp): Set alias to __memcmp_g5.
2432 * sysdeps/s390/s390-32/multiarch/memcpy.S
2433 (memcpy_z196): Rename to __memcpy_z196.
2434 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2435 (memcpy_z10): Rename to __memcpy_z10.
2436 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2437 (memcpy): Set alias to __memcpy_g5.
2438 * sysdeps/s390/s390-32/multiarch/memset.S
2439 (memset_z196): Rename to __memset_z196.
2440 Jump to __memset_mvcle instead of memset_mvcle.
2441 (memset_z10): Rename to __memset_z10.
2442 Jump to __memset_mvcle instead of memset_mvcle.
2443 (memset_mvcle) Rename to __memset_mvcle.
2444 (memset): Set alias to __memset_g5.
2445 * sysdeps/s390/s390-64/memcmp.S
2446 (memcmp_z900): Rename to __memcmp_z900.
2447 * sysdeps/s390/s390-64/memcpy.S
2448 (memcpy_z900): Rename to __memcpy_z900.
2449 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2450 (memcpy_mvcle) Rename to __memcpy_mvcle.
2451 * sysdeps/s390/s390-64/memset.S
2452 (memset_z900): Rename to __memset_z900.
2453 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2454 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2455 and use prefixed functions.
2456 * sysdeps/s390/s390-64/multiarch/memcmp.S
2457 (memcmp_z196): Rename to __memcmp_z196.
2458 (memcmp_z10): Rename to __memcmp_z10.
2459 (memcmp): Set alias to __memcmp_z900.
2460 (bcmp): Set alias to __memcmp_z900.
2461 * sysdeps/s390/s390-64/multiarch/memcpy.S
2462 (memcpy_z196): Rename to __memcpy_z196.
2463 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2464 (memcpy_z10): Rename to __memcpy_z10.
2465 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2466 (memcpy): Set alias to __memcpy_z900.
2467 * sysdeps/s390/s390-64/multiarch/memset.S
2468 (memset_z196): Rename to __memset_z196.
2469 Jump to __memset_mvcle instead of memset_mvcle.
2470 (memset_z10): Rename to __memset_z10.
2471 Jump to __memset_mvcle instead of memset_mvcle.
2472 (memset_mvcle) Rename to __memset_mvcle.
2473 (memset): Set alias to __memset_z900.
2474
53fbd169
JM
24752015-01-14 Joseph Myers <joseph@codesourcery.com>
2476
2477 [BZ #17748]
2478 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2479 __fesetenv instead of fesetenv.
2480
d639a363
SP
24812015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2482
2483 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2484 macro.
2485
d3b00f46
AZ
24862015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2487
ce6615c9
AZ
2488 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2489 regression on LE.
2490
d3b00f46
AZ
2491 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2492 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2493 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2494 strncmp-power8 object.
2495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2496 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2497 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2498 * NEWS: Update.
2499
72607db0
RS
25002015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2501 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2502
2503 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2504 trailing byte check.
2505
54dc5461
DM
25062015-01-13 David S. Miller <davem@davemloft.net>
2507
2508 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2509
1c6e6f23
RM
25102015-01-13 Roland McGrath <roland@hack.frob.com>
2511
2512 * login/logout.c (logout): Use memset rather than bzero.
2513 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2514 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2515 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2516 (_gethtbyaddr): Likewise.
2517 * locale/programs/simple-hash.c (bcopy): Macro removed.
2518
96d6fd6c
AZ
25192015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2520
8bedcb5f
AZ
2521 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2522 Add strcmp-power8 object.
2523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2524 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2525 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2526 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2527 __strcmp_power8 implementation.
2528 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2529 * NEWS: Update.
2530
f06a4faf
AZ
2531 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2532 Add strncpy-power8 and stpncpy-power8 objects.
2533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2534 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2535 implementations.
2536 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2537 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2538 __stpncpy_power8 implementation.
2539 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2540 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2541 __strncpy_power8 implementation.
2542 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2543 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2544 * NEWS: Update.
2545
9f2f36e5
AZ
2546 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2547 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2548 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2549
96d6fd6c 2550 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
2551 strncat-power8 object.
2552 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2553 __strcat_power8 implementation.
2554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2555 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2556 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2557 optimized strcat for power8.
2558
2559 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
2560 strcpy-power8 and stpcpy-power8 objects.
2561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2562 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2563 implementations.
2564 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2565 multiarch stpcpy implementation for POWER8.
2566 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2567 multiarch strcpy implementation for POWER8.
2568 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2569 __strcpy_power8 function.
2570 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2571 stpcpy for POWER8.
2572 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2573 strcpy for POWER8.
2574 * NEWS: Update.
2575
0f9e5854
LH
25762015-01-13 Leonhard Holz <leonhard.holz@web.de>
2577
2578 [BZ #16009]
2579 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2580 weights and rules. Use do_xfrm_cached if data fits in cache,
2581 do_xfrm otherwise. Moved former main loop to...
2582 * (do_xfrm_cached): New function.
2583 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2584 find_idx, find_position and stack_push.
2585 * (find_idx): New function.
2586 * (find_position): Likewise.
2587 * localedata/sort-test.sh: Added test run for do_xfrm.
2588 * localedata/xfrm-test.c (main): Added command line option
2589 -nocache to run the test with strings that are too large for
2590 the STRXFRM cache.
2591
c60ec0e0
TR
25922015-01-13 Torvald Riegel <triegel@redhat.com>
2593
2594 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2595 variable to lll_futex_wake call, not the value itself.
2596
34e93d6c
JM
25972015-01-12 Joseph Myers <joseph@codesourcery.com>
2598
5a9e4c09
JM
2599 [BZ #17803]
2600 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2601 twom64. Adjust value to 0x1p-64L.
2602 (__scalblnl): Only return standard underflowing result for K <=
2603 -64 not K <= -63; adjust exponent for underflowing result by 64
2604 not 63.
2605 * math/libm-test.inc (scalbn_test_data): Add more tests.
2606 (scalbln_test_data): Likewise.
2607
34e93d6c
JM
2608 [BZ #17834]
2609 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2610 0x1p63L.
2611 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2612 not HX.
2613 * math/libm-test.inc (scalbn_test_data): Add more tests.
2614 (scalbln_test_data): Likewise.
2615
ca677d3c
AZ
26162015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2617 Stefani Seibold <stefani@seibold.net>
2618
2619 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2620 (sysdep_routines): Add dl-vdso here, ...
2621 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2622 (sysdep_routines): ... not here.
2623 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2624 fallback when vDSO is not presented.
2625 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2626 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2627 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2628 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2629 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2630 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2631 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2632 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2633 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2634 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2635 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2636 fallback configurable symbol when vDSO is not available.
2637 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2638 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2639 be able to redefine fallback symbol when vDSO is not available.
2640 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2641 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2642
49a9f6ab 26432015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 2644
56cf2763
AZ
2645 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2646 (TLS_INIT_TP): Add tm_capable initialization.
2647 (TLS_DEFINE_INIT_TP): Likewise.
2648 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2649 TCB.
2650 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2651 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2652 calculation.
2653 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2654 transactoion is lock elision is built and TCB tm_capable is set.
2655 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2657 (INTERNAL_SYSCALL_NCS): Likewise.
2658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2659 (INTERNAL_SYSCALL_NCS): Likewise.
2660 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2661
4b45943a
AZ
2662 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2663 for powerpc.
2664 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2665 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2666 and remove it for 32 bits case.
2667 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2668 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2669 initialization.
2670 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2671 Disable lock elision with rdlocks if elision is not available.
2672
8d2c0a59
AZ
2673 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2674 (sysdep_routines): Add lock elision objects.
2675 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2676 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2677 [pthread_mutex_t] (__elision): Add field.
2678 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2679 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2680 elision definitions for powerpc.
2681 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2682 implementation of lock elision for powerpc.
2683 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2684 implementation of timed lock elision for powerpc.
2685 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2686 implementation of trylock with lock elision for powerpc.
2687 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2688 implementaion of unlock for lock elision for powerpc.
2689 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2690 automatic enable lock elision for mutexes.
2691 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2692 transaction execution definitions for powerpc.
2693 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2694 definitions.
2695 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2696 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2697 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2698 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2699 * NEWS: Update.
2700
bc0ed9f7
RM
27012015-01-09 Roland McGrath <roland@hack.frob.com>
2702
2703 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2704 for #include of <shm-directory.h>.
2705
585d9c18
CLT
27062015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2707
2708 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2709 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2710
aee6626c
MF
27112015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2712
2713 [BZ #17791]
2714 * NEWS: Mention bug fix.
2715 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2716 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2717 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2718
9e560f48
TR
27192015-01-09 Torvald Riegel <triegel@redhat.com>
2720
2721 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2722
e1cfbd0c
TR
27232015-01-09 Torvald Riegel <triegel@redhat.com>
2724
2725 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2726
cf71e44f
DH
27272015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2728
2729 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2730 pointer and cast to uintptr_t.
2731
b360ee62
DH
27322015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2733
2734 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2735 removed.
2736 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2737
caff764e
DH
27382015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2739
2740 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2741 of 0.
2742
59ff172f
RM
27432015-01-08 Roland McGrath <roland@hack.frob.com>
2744
c97d27f1
RM
2745 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2746 <nptl/pthreadP.h> instead.
2747 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2748
08734ccd
RM
2749 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2750 already defined.
2751 [__SIGRTMIN] (init): Function removed.
2752 [__SIGRTMIN] (initialized): Variable removed.
2753 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2754 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2755 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2756 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2757 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2758 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2759 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2760 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2761 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2762 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2763 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2764 * sysdeps/nptl/allocrtsig.c: New file.
2765 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2766 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2767 * sysdeps/generic/testrtsig.h: File removed.
2768
7b052e33
RM
2769 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2770 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2771
cc40d25e
RM
2772 * nptl/nptl-init.c (pthread_functions): Conditionalize
2773 .ptr__nptl_setxid initialization on [SIGSETXID].
2774
9287adf0
RM
2775 * sysdeps/nptl/sys/procfs.h: New file.
2776 * nptl_db/Makefile (headers): Add it.
2777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2778
59ff172f
RM
2779 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2780 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2781 * nptl/pthread_attr_setaffinity.c: Include it.
2782 * nptl/pthread_setattr_default_np.c: Likewise.
2783 * nptl/check-cpuset.h: New file.
2784
b9205857
RH
27852015-01-08 Richard Henderson <rth@redhat.com>
2786
2787 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2788 (CFLAGS-tst-execstack-prog.c): Likewise.
2789 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2790
1a0a8d15
CLT
27912015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2792 Sandra Loosemore <sandra@codesourcery.com>
2793 Andrew Jenner <andrew@codesourcery.com>
2794 Joseph Myers <joseph@codesourcery.com>
2795 Nathan Sidwell <nathan@codesourcery.com>
2796
2797 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2798 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2799 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2800 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2801 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2802 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2803 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
2804 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2805 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2806 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2807 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2808 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2809 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
2810 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2811 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2812 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2813 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2814
dd6e8af6
AZ
28152015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2816
2817 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2818 timespec struct member in syscall macro.
2819 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2820 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2821 first timeval struct member in syscall macro.
2822 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2823
8116321f
JM
28242015-01-07 Joseph Myers <joseph@codesourcery.com>
2825
2826 [BZ #17748]
2827 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2828 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2829 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2830 __feupdateenv and define as weak alias of __feupdateenv. Use
2831 libm_hidden_weak.
2832 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2833 libm_hidden_def.
2834 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2835 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2836 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2837 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2838 libm_hidden_def.
2839 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2840 __feupdateenv and define as weak alias of __feupdateenv. Use
2841 libm_hidden_weak.
2842 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2843 libm_hidden_def.
2844 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2845 __feupdateenv and define as weak alias of __feupdateenv. Use
2846 libm_hidden_weak.
2847 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2848 libm_hidden_def.
2849 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2850 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2851 (__feupdateenv): Likewise.
2852 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2853 __feupdateenv and define as weak alias of __feupdateenv. Use
2854 libm_hidden_weak.
2855 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2856 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2857 libm_hidden_def.
2858 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2859 function.
2860 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2861 libm_hidden_def.
2862 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2863 __feupdateenv instead of feupdateenv.
2864 (default_libc_feupdateenv_test): Likewise.
2865 (libc_feresetround_ctx): Likewise.
2866
882dfe18
AZ
28672015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2868
2869 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2870 prototype.
2871
39a12f8d
CM
28722015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2873
2874 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2875 COLL_SYM in a couple of places to avoid uninitialized variable
2876 wanings on tilegx gcc 4.8.2.
2877
dc400d7b
RE
28782015-01-07 Richard Earnshaw <rearnsha@arm.com>
2879
2880 * sysdeps/aarch64/strcpy.S: New file.
2881 * sysdeps/aarch64/stpcpy.S: New file.
2882 * NEWS: Updated.
2883
ec582ca0
RE
28842015-01-07 Richard Earnshaw <rearnsha@arm.com>
2885
2886 * sysdeps/aarch64/strrchr.S: New file.
2887 * NEWS: Updated.
2888
d5b1c5ed
EB
28892015-01-07 Eric Biggers <ebiggers3@gmail.com>
2890
2891 [BZ #17658]
2892 * stdlib/setenv.c: Fix memory leak when setting large,
2893 duplicate string.
2894
fb87ee96
VN
28952015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2896
60f046a8 2897 [BZ #17273]
fb87ee96
VN
2898 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2899 and tabs from buffer before parsing fstab entry.
2900 * misc/tst-mntent.c (main): Add test for mount entry with
2901 trailing spaces and tabs.
2902
cd42798a
JM
29032015-01-06 Joseph Myers <joseph@codesourcery.com>
2904
01238691
JM
2905 [BZ #17748]
2906 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2907 * math/fesetround.c (fesetround): Rename to __fesetround and
2908 define as weak alias of __fesetround. Use libm_hidden_weak.
2909 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2910 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2911 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2912 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2913 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2914 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2915 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2916 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2917 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2918 __fesetround_inline.
2919 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2920 __fesetround_inline instead of __fesetround.
2921 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2922 __fesetround and define as weak alias of __fesetround. Use
2923 libm_hidden_weak. Call __fesetround_inline instead of
2924 __fesetround.
2925 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2926 __fesetround and define as weak alias of __fesetround. Use
2927 libm_hidden_weak.
2928 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2929 Likewise.
2930 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2931 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2932 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2933 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2934 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2935 __fesetround and define as weak alias of __fesetround. Use
2936 libm_hidden_weak.
2937 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2938 __fesetround instead of fesetround.
2939 (default_libc_feholdexcept_setround): Likewise.
2940 (libc_feholdsetround_ctx): Likewise.
2941 (libc_feholdsetround_noex_ctx): Likewise.
2942
cd42798a
JM
2943 [BZ #17748]
2944 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2945 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2946 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2947 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2948 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2949 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2950 define as weak alias of __fesetenv. Use libm_hidden_weak.
2951 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2952 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2953 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2954 define as weak alias of __fesetenv. Use libm_hidden_weak.
2955 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2956 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2957 define as weak alias of __fesetenv. Use libm_hidden_weak.
2958 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2959 libm_hidden_def.
2960 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2961 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2962 Likewise.
2963 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2964 define as weak alias of __fesetenv. Use libm_hidden_weak.
2965 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2966 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2967 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2968 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2969 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2970 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2971 __fesetenv instead of fesetenv.
2972 (libc_feresetround_noex_ctx): Likewise.
2973 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2974 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2975 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2976 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2977 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2978 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2979 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2980 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2981 (__feupdateenv): Likewise.
2982 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2983 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2984 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2985 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2986
38949026
AJ
29872015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2988
1cf98e27 2989 [BZ #17806]
38949026
AJ
2990 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2991 addresses have been freed.
2992
5fe55e9c
AJ
29932015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2994
2995 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2996 and nservall.
2997
dc8ab018
OB
29982015-01-06 Ondřej Bílka <neleai@seznam.cz>
2999
3000 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3001 Clean up check_pf allocation pattern. addresses
3002
14bb4e57
AZ
30032015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3004
3005 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3006 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3007 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3008 * nptl/pthread_exit.c (__pthread_exit): Likewise.
3009 * nptl/pthread_join.c (pthread_join): Likewise.
3010 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3011 * sysdeps/posix/waitid.c (__waitid): Likewise.
3012 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3013 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3014 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3015 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3016 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3017 Likewise.
3018 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3019 (__libc_pread64): Likewise.
3020 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3021 (__libc_pwrite): Likewise.
3022 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3023 (__libc_pwrite64): Likewsie.
3024 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3025 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3026 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3027 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3028 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3029 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3030 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3032 Likewise.
3033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3034 (__libc_pread64): Likewise.
3035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3036 Likewise.
3037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3038 (__libc_pwrite64): Likewise.
3039 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3040 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3041 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3042 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3043 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3044 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3045 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3046 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3047 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3048 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3049 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3050 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3051 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3052 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3053 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3054 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3055 Likewise.
3056
10a5e112
AS
30572015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3058
3059 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3060 (CFLAGS-test-double.c): Likewise.
3061 (CFLAGS-test-ldouble.c): Likewise.
3062 (CPPFLAGS-test-ifloat.c): Likewise.
3063 (CPPFLAGS-test-idouble.c): Likewise.
3064 (CPPFLAGS-test-ildoubl.c): Likewise.
3065 (CFLAGS-test-test-fenv.c): Remove variable.
3066 (CFLAGS-test-misc.c): Likewise.
3067
57ada0e7
L
30682015-01-06 H.J. Lu <hongjiu.lu@intel.com>
3069
3070 [BZ #17797]
3071 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3072 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3073 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3074 CLOCKS_PER_SEC == 1000000.
3075 * time/clocktest.c (main): Replace %ld with %jd and cast to
3076 intmax_t.
3077
46abb64d
RM
30782015-01-05 Roland McGrath <roland@hack.frob.com>
3079
3080 * sysdeps/generic/unwind-resume.h: New file.
3081 * sysdeps/gnu/unwind-resume.c: Include it.
3082 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3083 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3084 argument list.
3085 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3086 global rather than static.
3087 (_Unwind_Resume): Update user.
3088 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3089 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
3090 rather than static. Add __attribute__ ((cold)).
3091 (_Unwind_Resume, __gcc_personality_v0): Update callers.
3092 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3093 * sysdeps/arm/arm-unwind-resume.S: New file.
3094 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3095 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3096 * sysdeps/arm/Makefile [$(subdir) = csu]
3097 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3098 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3099 Add rt-arm-unwind-resume.
3100 [$(subdir) = nptl]
3101 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3102 Add pt-arm-unwind-resume.
3103 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3104 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3105
ef9faf13
JM
31062015-01-05 Joseph Myers <joseph@codesourcery.com>
3107
3108 [BZ #17748]
3109 * include/fenv.h (__feholdexcept): Declare. Use
3110 libm_hidden_proto.
3111 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3112 define as weak alias of __feholdexcept. Use libm_hidden_weak.
3113 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3114 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3115 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3116 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3117 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3118 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3119 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3120 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3121 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3122 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3123 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3124 (feholdexcept): Likewise.
3125 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3126 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3127 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3128 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3129 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3130 __feholdexcept instead of feholdexcept.
3131 (default_libc_feholdexcept_setround): Likewise.
3132
295a453e
SE
31332015-01-05 Steve Ellcey <sellcey@imgtec.com>
3134
3135 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3136 to avoid using stl/str to align destination.
3137
882c4b9f
SE
31382015-01-05 Steve Ellcey <sellcey@imgtec.com>
3139
3140 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3141
ac4c11f5
JM
31422015-01-05 Joseph Myers <joseph@codesourcery.com>
3143
3144 [BZ #17796]
3145 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3146 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3147 Define as weak alias not strong alias.
3148
03403e30
SE
31492015-01-05 Steve Ellcey <sellcey@imgtec.com>
3150
3151 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3152 bltzal with addiupc.
3153 (RTLD_START): Ditto.
3154
1dca195e
CM
31552015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3156
00b8b9ba
SP
3157 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3158 for __vdso_* functions in declarations.
3159 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3160 definitions.
3161 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3162 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 3163
1dca195e
CM
3164 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3165 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3166 function with cast from llround().
3167 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3168 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3169 Define.
3170
a287953a
JM
31712015-01-05 Joseph Myers <joseph@codesourcery.com>
3172
ab70da77
JM
3173 [BZ #17793]
3174 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3175 Define as weak alias not strong alias.
3176
b8986484
JM
3177 [BZ #17635]
3178 * ctype/ctype-c99.c: New file. isblank implementation moved from
3179 ...
3180 * ctype/ctype-extn.c: ... here.
3181 (__isblank_l): Move to ...
3182 * ctype/ctype-c99_l.c: ... here. New file.
3183 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3184 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3185 Remove variable.
3186 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3187 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3188 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3189 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3190 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3191
a287953a
JM
3192 [BZ #17777]
3193 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3194 (posix_fadvise64): Define as weak alias not strong alias.
3195 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3196 (posix_fallocate64): Likewise.
3197 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3198 Remove variable.
3199 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3200 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3201 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3202 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3203 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3204
b1efe3bb
MF
32052015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3206
3207 [BZ #16191]
3208 * NEWS: Mention bug fix.
3209 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3210 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3211 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3212 (HOST_STACK_END_ADDR): Likewise.
3213
9706dc5f
JM
32142015-01-02 Joseph Myers <joseph@codesourcery.com>
3215
b93c2205
JM
3216 [BZ #17748]
3217 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3218 * math/fegetround.c (fegetround): Rename to __fegetround and
3219 define as weak alias of __fegetround. Use libm_hidden_weak.
3220 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3221 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3222 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3223 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3224 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3225 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3226 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3227 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3228 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3229 Undefine after rather than before function definition; use
3230 parentheses around function name in definition.
3231 (__fegetround): Also undefine macro after function definition.
3232 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3233 __fegetround and define as weak alias of __fegetround. Use
3234 libm_hidden_weak. Do not undefine as macro.
3235 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3236 Likewise.
3237 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3238 __fegetround and define as weak alias of __fegetround. Use
3239 libm_hidden_weak.
3240 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3241 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3242 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3243 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3244 __fegetround and define as weak alias of __fegetround. Use
3245 libm_hidden_weak.
3246 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3247 __fegetround instead of fegetround.
3248
253a59cc
JM
3249 [BZ #17782]
3250 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3251 Condition macro definition on [__USE_MISC].
3252
27dae011
JM
3253 [BZ #17781]
3254 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3255 (struct sigaction): Change type of sa_flags field to int.
3256
172019c0
JM
3257 [BZ #17780]
3258 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3259 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3260 __glibc_reserved0.
3261
522ad1d6
JM
3262 * nptl/version.c (banner): Use single year in copyright notice.
3263
9706dc5f
JM
3264 * NEWS: Update copyright dates.
3265 * catgets/gencat.c (print_version): Likewise.
3266 * csu/version.c (banner): Likewise.
3267 * debug/catchsegv.sh: Likewise.
3268 * debug/pcprofiledump.c (print_version): Likewise.
3269 * debug/xtrace.sh (do_version): Likewise.
3270 * elf/ldconfig.c (print_version): Likewise.
3271 * elf/ldd.bash.in: Likewise.
3272 * elf/pldd.c (print_version): Likewise.
3273 * elf/sotruss.sh: Likewise.
3274 * elf/sprof.c (print_version): Likewise.
3275 * iconv/iconv_prog.c (print_version): Likewise.
3276 * iconv/iconvconfig.c (print_version): Likewise.
3277 * locale/programs/locale.c (print_version): Likewise.
3278 * locale/programs/localedef.c (print_version): Likewise.
3279 * login/programs/pt_chown.c (print_version): Likewise.
3280 * malloc/memusage.sh (do_version): Likewise.
3281 * malloc/memusagestat.c (print_version): Likewise.
3282 * malloc/mtrace.pl: Likewise.
3283 * manual/libc.texinfo: Likewise.
3284 * nptl/version.c (banner): Likewise.
3285 * nscd/nscd.c (print_version): Likewise.
3286 * nss/getent.c (print_version): Likewise.
3287 * nss/makedb.c (print_version): Likewise.
3288 * posix/getconf.c (main): Likewise.
3289 * scripts/test-installation.pl: Likewise.
3290 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3291
b8607aac
WN
32922015-01-02 Will Newton <will.newton@linaro.org>
3293
3294 * sysdeps/arm/armv7/configure: Removed.
3295 * sysdeps/arm/armv7/configure.ac: Likewise.
3296
b168057a
JM
32972015-01-02 Joseph Myers <joseph@codesourcery.com>
3298
3299 * All files with FSF copyright notices: Update copyright dates
3300 using scripts/update-copyrights.
3301 * intl/plural.c: Regenerated.
3302 * locale/programs/charmap-kw.h: Likewise.
3303 * locale/programs/locfile-kw.h: Likewise.
3304
b217c15f
SP
33052015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3306
3307 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3308
73a268c7
JM
33092014-12-31 Joseph Myers <joseph@codesourcery.com>
3310
3311 [BZ #17748]
3312 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3313 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3314 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3315 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3316 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3317 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3318 define as weak alias of __fegetenv. Use libm_hidden_weak.
3319 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3320 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3321 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3322 define as weak alias of __fegetenv. Use libm_hidden_weak.
3323 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3324 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3325 define as weak alias of __fegetenv. Use libm_hidden_weak.
3326 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3327 libm_hidden_def.
3328 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3329 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3330 Likewise.
3331 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3332 define as weak alias of __fegetenv. Use libm_hidden_weak.
3333 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3334 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3335 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3336 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3337 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3338 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3339 __fegetenv instead of fegetenv.
3340 (libc_feholdsetround_noex_ctx): Likewise.
3341
0bd95672
MF
33422014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3343
3344 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3345 (Elf_MIPS_ABIFlags_v0): New structure.
3346 (EF_MIPS_FP64): Define.
3347 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3348 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3349 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3350 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3351 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3352 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3353 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3354 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3355 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3356 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3357 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3358 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3359 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3360 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3361 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3362 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3363 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3364 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3365 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3366 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3367 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3368 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3369 field.
3370 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3371 EF_MIPS_FP64.
3372 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3373 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3374 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3375 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3376 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3377 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3378 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3379 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3380 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3381 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3382 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3383 record the current FP ABI extension.
3384 (mips-mode-switch): Define to show if kernel headers support mode
3385 switching.
3386 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3387 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3388 supported SYSV ABI version to 3.
3389 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3390 feature.
3391
f59ad976
RS
33922014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3393 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3394
3395 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3396 path.
3397 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3398
4a3d3999
JM
33992014-12-31 Joseph Myers <joseph@codesourcery.com>
3400
3401 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3402 __fegetround and redefine to call __fegetround. Remove condition
3403 on [!__NO_MATH_INLINES].
3404 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3405 function.
3406 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3407 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3408 Remove macro.
3409 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3410 instead of <fenv_libc.h>.
3411 (__llrintl): Call fegetround instead of __fegetround.
3412 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3413 instead of <fenv_libc.h>.
3414 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3415 (__lrintl): Call fegetround instead of __fegetround.
3416 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3417 instead of <fenv_libc.h>.
3418 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3419 (__rintl): Call fegetround instead of __fegetround.
3420
195f3afc
SP
34212014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3422
3423 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3424 arrays.
3425
7062bd42
L
34262014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3427
3428 [BZ #17775]
3429 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3430 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3431 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3432
07256e18
AS
34332014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3434
3435 * sysdeps/i386/tls-macros.h: Include <features.h>.
3436 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3437 (TLS_IE): Likewise.
3438 (TLS_LD): Likewise.
3439 (TLS_GD): Likewise.
3440 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3441 define for GCC >= 5.0.
3442
1ff950ad
CM
34432014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3444
3445 * math/test-fenv.c (test_single_exception, set_single_exc,
3446 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3447 feexcp_mask_test, feenable_test, fe_single_test): Add
3448 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3449 case where they are not used.
3450 * math/libm-test.inc: Likewise.
3451 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3452 unused in the absence of FP rounding/exception support.
3453 * stdio-common/tst-printf-round.c: Likewise.
3454 * stdlib/tst-strtod-round.c: Likewise.
3455 * stdlib/tst-strtod-underflow.c: Likewise.
3456
0747f818
JM
34572014-12-30 Joseph Myers <joseph@codesourcery.com>
3458
3459 [BZ #17723]
3460 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3461 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3462 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3463 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3464 libm_hidden_weak.
3465 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3466 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3467 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3468 libm_hidden_def.
3469 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3470 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3471 libm_hidden_weak.
3472 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3473 Likewise.
3474 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3475 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3476 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3477 libm_hidden_weak.
3478 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3479 libm_hidden_def.
3480 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3481 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3482 (__feraiseexcept): Likewise.
3483 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3484 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3485 libm_hidden_weak.
3486 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3487 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3488 libm_hidden_def.
3489 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3490 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3491 Use libm_hidden_def.
3492 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3493 libm_hidden_def.
3494 (feraiseexcept): Define as weak not strong alias. Use
3495 libm_hidden_weak.
3496 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3497 New inline function. Factored out of ...
3498 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3499 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3500 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3501 feraiseexcept.
3502 * math/w_acos.c (__acos): Likewise.
3503 * math/w_asin.c (__asin): Likewise.
3504 * math/w_ilogb.c (__ilogb): Likewise.
3505 * math/w_j0.c (y0): Likewise.
3506 * math/w_j1.c (y1): Likewise.
3507 * math/w_jn.c (yn): Likewise.
3508 * math/w_log.c (__log): Likewise.
3509 * math/w_log10.c (__log10): Likewise.
3510 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3511 * sysdeps/aarch64/fpu/math_private.h
3512 (libc_feupdateenv_test_aarch64): Likewise.
3513 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3514 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3515 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3516 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3517 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3518 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3519 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3520 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3521 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3522 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3523
8d2b2763
L
35242014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3525
3526 [BZ #17732]
3527 * io/test-utime.c (main): Replace %ld with %jd and cast to
3528 intmax_t.
41fad830 3529 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
3530 * nptl/tst-mutex5.c: Include <stdint.h>.
3531 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
3532 * posix/tst-regex.c (run_test): Likewise.
3533 (run_test_backwards): Likewise.
5d619de4
L
3534 * rt/tst-clock.c: Include <stdint.h>.
3535 (clock_test): Replace %ld with %jd and cast to intmax_t.
3536 * rt/tst-cpuclock1.c: Include <stdint.h>.
3537 (do_test): Replace %lu with %ju and cast to uintmax_t.
3538 * rt/tst-cpuclock2.c: Include <stdint.h>.
3539 (do_test): Replace %lu with %ju and cast to uintmax_t.
3540 * rt/tst-mqueue1.c: Include <stdint.h>.
3541 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3542 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3543 intmax_t.
3544 * rt/tst-mqueue4.c (do_test): Likewise.
3545 * rt/tst-timer4.c: Include <stdint.h>.
3546 (check_ts): Replace %ld with %jd and cast to intmax_t.
3547 (do_test): Likewise.
ad86fbc3
L
3548 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3549 and cast to intmax_t.
37f46900 3550 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
3551 * time/clocktest.c (main): Likewise.
3552 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 3553 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 3554
8b4416d8
AS
35552014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3556 H.J. Lu <hongjiu.lu@intel.com>
3557
3558 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3559 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3560 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3561 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3562 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3563 version if bit_Fast_Unaligned_Load is set.
3564 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3565 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3566 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3567 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3568 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3569 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3570 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3571 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3572 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3573 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3574 to 4.
3575 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3576 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3577 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3578 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3579
e47b8d3b
CM
35802014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3581
6d6d7fde
CM
3582 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3583 instead of #if to avoid a Wundef warning.
3584 * stdlib/tst-limits.c (do_test): Likewise.
3585
cd2c37c9
CM
3586 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3587 parallel other exception macros.
3588 (fegetenv): Convert from macro to extern inline so that it applies
3589 retroactively to inline functions already seen by the compiler.
3590 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3591
e47b8d3b
CM
3592 * posix/Makefile (before-compile): Use $(objpfx) for
3593 posix-conf-vars-def.h.
3594
4a6aca7b
SP
35952014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3596
7910c2ae
SP
3597 * posix/getconf.c (main): Use size_t for type of I.
3598 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3599 NSPEC.
3600
50cbbaa9
SP
3601 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3602 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3603 * posix/posix-envs.def: Likewise.
3604 * sysdeps/posix/sysconf.c: Likewise.
3605 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3606 (specs): Remove array.
3607 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3608 array.
3609
3b566046
SP
3610 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3611 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3612 (__sysconf): Use CONF_IS_* macros.
3613
4a6aca7b
SP
3614 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3615 ($(objpfx)posix-conf-vars-def.h): New target.
3616 * posix/posix-conf-vars.list: New file.
3617 * posix/posix-conf-vars.h: New file.
3618 * posix/confstr.c: Include posix-conf-vars.h.
3619 (confstr): Use CONF_IS_* macros.
3620 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3621 CONF_IS_* macros.
3622 * scripts/gen-posix-conf-vars.awk: New file.
3623
7c1395a7
CM
36242014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3625
0025b4cc
CM
3626 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3627 fegetround): Add no-op macros to avoid linknamespace issues.
3628
d8aaf74b
CM
3629 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3630 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3631
5d24aa60
CM
3632 * sysdeps/unix/sysv/linux/tile/sysdep.h
3633 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3634 assembly-specific section to avoid a redefinition warning.
3635
7c1395a7
CM
3636 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3637 long before casting to pointer to avoid a cast warning.
3638
3c87c616
CM
36392014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3640
3641 * sysdeps/tile/tilegx/Implies: New file.
3642
f559d8cf
RE
36432014-12-23 Richard Earnshaw <rearnsha@arm.com>
3644
3645 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3646
7d81e8d6
FW
36472014-12-23 Florian Weimer <fweimer@redhat.com>
3648
3649 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3650
90aa3d09
JM
36512014-12-22 Joseph Myers <joseph@codesourcery.com>
3652
3653 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3654 not define.
3655 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3656 <kernel-features.h>.
3657 (__utimes) [__NR_utimes]: Make code unconditional.
3658 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3659 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3660 (__ASSUME_UTIMES): Do not undefine.
3661 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3662 (__ASSUME_UTIMES): Likewise.
3663 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3664 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3665 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3666 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3667
4c0c0e2a
SE
36682014-12-22 Steve Ellcey <sellcey@imgtec.com>
3669
3670 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3671
0dacd7a3
CM
36722014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3673
b638f96a
CM
3674 [BZ #17747]
3675 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3676 alias to weak alias for j0l, y0l.
3677 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3678 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3679
0dacd7a3
CM
3680 [BZ #17746]
3681 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3682 conversion.
3683
528479c4
SE
36842014-12-22 Steve Ellcey <sellcey@imgtec.com>
3685
3686 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3687 to zero if not already defined.
3688
f56f9124
JM
36892014-12-22 Joseph Myers <joseph@codesourcery.com>
3690
3691 [BZ #17724]
3692 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3693 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3694 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3695 (char *) casts added.
3696 * sysdeps/ieee754/k_standardf.c: New file.
3697 * sysdeps/ieee754/k_standardl.c: Likewise.
3698 * math/Makefile (libm-support): Remove k_standard.
3699 (libm-calls): Add k_standard.
3700
8622d556
WD
37012014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3702
3703 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3704 Optimize to avoid an unnecessary FPCR read.
3705
f3806bdb
WD
37062014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3707
3708 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3709 Optimize to reduce FPCR/FPSR accesses.
3710
9b47df58
WD
37112014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3712
3713 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3714 Call libc_fetestexcept_aarch64.
3715
97be3cac
WD
37162014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3717
3718 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3719 Call libc_fesetround_aarch64.
3720
935ab817
JM
37212014-12-22 Joseph Myers <joseph@codesourcery.com>
3722
3723 [BZ #17733]
3724 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3725 (__bind): Do not define as weak alias.
3726 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3727 define.
3728 (__getsockname): Do not define as weak alias.
3729
cc8623f1
WN
37302014-12-22 Will Newton <will.newton@linaro.org>
3731
3732 * manual/install.texi: Document that we require bison 2.7
3733 or above.
3734 * INSTALL: Regenerate.
3735 * configure.ac: Use AC_CHECK_PROG_VER instead of
3736 AC_PATH_PROG when checking for bison and check for
3737 version 2.7 or above.
3738 * configure: Regenerate.
3739
a19ca65a
CM
37402014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3741
92901170 3742 [BZ #17745]
e969965a
CM
3743 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3744 * sysdeps/tile/ffsll.c (ffsll): To here.
3745
a19ca65a
CM
3746 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3747
050f7298
L
37482014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3749
3750 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3751 if not defined.
3752 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3753 definition.
3754 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3755 hidden ___tls_get_addr.
3756 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3757 hidden __tls_get_addr.
3758 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3759 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3760 Likewise.
3761
6df5547e
AS
37622014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3763
3764 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3765 _dl_init call.
3766
7432d613
L
37672014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3768
3769 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3770 from "call _dl_init@PLT".
3771 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 3772
98fe149e
AK
37732014-12-21 Anders Kaseorg <andersk@mit.edu>
3774
3775 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3776 guarantees.
3777
d12455f5
CM
37782014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3779
3780 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3781
95dee05f
CM
37822014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3783
92901170 3784 [BZ #17744]
95dee05f
CM
3785 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3786 strnlen.
3787
2ef4b74a
SE
37882014-12-19 Steve Ellcey <sellcey@imgtec.com>
3789
3790 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3791 of multu on MIPSr6.
3792 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3793 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3794 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3795 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3796 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3797
37982014-12-19 Steve Ellcey <sellcey@imgtec.com>
3799
3800 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3801 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3802 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3803 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 3804 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
3805 mips32r6/mips64r6.
3806 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3807
3eb38795
OB
38082014-12-19 Ondřej Bílka <neleai@seznam.cz>
3809
3810 * string/strncat.c (STRNCAT): Simplify implementation.
3811
6d4188dd
DM
38122014-12-19 David S. Miller <davem@davemloft.net>
3813
0d4ba8be
DM
3814 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3815 access the quad as both a long double and as a series of 4 words.
3816
6d4188dd
DM
3817 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3818 link_map->l_info array access.
3819
4ef91cdc
CM
38202014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3821
804c54f7
CM
3822 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3823
4ef91cdc
CM
3824 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3825 * math/atest-exp2.c (TIMEOUT): Likewise.
3826 * math/atest-sincos.c (TIMEOUT): Likewise.
3827
afd176d6
L
38282014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3829
3830 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3831 -Wno-error with -fno-builtin-lround.
3832
a4a43a90
TR
38332014-12-19 Torvald Riegel <triegel@redhat.com>
3834
3835 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3836 Contains futex constants and functions moved over from ...
3837 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3838 <lowlevellock-futex.h>.
3839 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3840 (lll_timedwait_tid): Add comments and parentheses around macro
3841 arguments.
3842
76f71081
TR
38432014-12-19 Torvald Riegel <triegel@redhat.com>
3844
3845 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3846 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3847 (__lll_private_flag): Remove.
3848 (lll_futex_wait): Likewise.
3849 (lll_futex_timed_wait): Likewise.
3850 (lll_futex_wake): Likewise.
3851 (lll_futex_requeue): Likewise.
3852 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3853 (__lll_timedwait_tid): Spell out argument names.
3854 (lll_timedwait_tid): Add comments and parentheses around macro
3855 arguments.
3856 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3857 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3858
6b814909
TR
38592014-12-19 Torvald Riegel <triegel@redhat.com>
3860
3861 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3862 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3863 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3864 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3865 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3866 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3867 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3868 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3869 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3870 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3871 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3872 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3873 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3874 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3875 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3876 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3877 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3878 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3879 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3880
9cd4d4ab
L
38812014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3882
3883 * sysdeps/x86_64/x32/Makefile: New file.
3884
c9c1a2d0
L
38852014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3886
3887 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3888 1L with (mp_limb_t) 1.
3889
af102d95
RM
38902014-12-17 Roland McGrath <roland@hack.frob.com>
3891
dd690454
RM
3892 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3893 * nptl/libc_pthread_init.c: ... here.
3894 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3895 * nptl/register-atfork.c: ... here.
3896
74eb826c
RM
3897 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3898 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3899 Use assert_perror to check its return value.
3900 (__gai_create_helper_thread): Likewise.
3901
c9ce306b
RM
3902 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3903
af102d95
RM
3904 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3905
8ac5a76a
JM
39062014-12-17 Joseph Myers <joseph@codesourcery.com>
3907
ea41469b
JM
3908 [BZ #17725]
3909 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3910 __profil_counter.
3911 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3912 Likewise.
3913 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3914 Likewise.
3915 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3916 Likewise.
3917 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3918 (profil_counter): Likewise.
3919 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3920 (profil_counter): Likewise.
3921 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3922 Likewise.
3923 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3924 Likewise.
3925 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3926 (profil_counter): Likewise.
3927 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3928 Likewise.
3929 [!__profil_counter] (profil_counter): Define as weak alias of
3930 __profil_counter.
3931 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3932 (profil_counter): Rename to __profil_counter.
3933 [!__profil_counter] (profil_counter): Define as weak alias of
3934 __profil_counter.
3935 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3936 (profil_counter): Rename to __profil_counter.
3937 [!__profil_counter] (profil_counter): Define as weak alias of
3938 __profil_counter.
3939 * sysdeps/posix/profil.c: Update comment referring to
3940 profil_counter.
3941 (__profil): Use __profil_counter instead of profil_counter.
3942 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3943 __profil_counter. Use __profil_counter_ushort and
3944 __profil_counter_uint in definitions.
3945 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3946 instead of profil_counter_uint and profil_counter_ushort.
3947
8ac5a76a
JM
3948 [BZ #17722]
3949 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3950 define as weak alias of __inet_makeaddr.
3951 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3952 as weak alias of __inet_addr.
3953 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3954 as weak alias of __inet_pton. Use libc_hidden_weak.
3955 * include/arpa/inet.h (__inet_pton): Declare. Use
3956 libc_hidden_proto.
3957 (inet_makeaddr): Don't use libc_hidden_proto.
3958 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3959 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3960 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3961 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3962 Remove variable.
3963 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3964 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3965
66ce3cb1
SE
39662014-12-17 Steve Ellcey <sellcey@imgtec.com>
3967
3968 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3969
d22ce01b
SL
39702014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3971
3972 * stdio-common/bug-vfprintf-nargs.c (do_test):
3973 Cast value to intptr_t to avoid format warning
3974 for usage with PRIdPTR printing macro.
3975
eca2772b
SL
39762014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3977
3978 * libio/tst-widetext.c (do_test):
3979 Use format type %td instead of %Zd for ptrdiff_t
3980 in order to avoid format warning.
3981
bdf079da
AS
39822014-12-17 Andreas Schwab <schwab@suse.de>
3983
3984 * nscd/mem.c (gc): Add size_t cast to match printf format.
3985
3eb5d2fc
RM
39862014-12-16 Roland McGrath <roland@hack.frob.com>
3987
3988 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3989 (init): Apply PTR_MANGLE to pointers before storing them.
3990 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3991 before using them.
3992
d003ada2
JM
39932014-12-16 Joseph Myers <joseph@codesourcery.com>
3994
380292ba
JM
3995 [BZ #17719]
3996 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3997 define as weak alias of __memrchr.
3998 (__memrchr): Do not define as strong alias of memrchr.
3999 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4000 Remove variable.
4001 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4002 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4003 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4004
9a44d530
JM
4005 [BZ #17717]
4006 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4007 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
4008 (if_indextoname): Rename to __if_indextoname and define as weak
4009 alias of __if_indextoname. Use libc_hidden_weak.
4010 (if_freenameindex): Rename to __if_freenameindex and define as
4011 weak alias of __if_freenameindex.
4012 (if_nameindex): Rename to __if_nameindex and define as weak alias
4013 of __if_nameindex.
4014 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4015 __if_nametoindex and define as weak alias of __if_nametoindex.
4016 Use libc_hidden_weak.
4017 (if_freenameindex): Rename to __if_freenameindex and define as
4018 weak alias of __if_freenameindex.
4019 (if_nameindex): Rename to __if_nameindex and define as weak alias
4020 of __if_nameindex.
4021 (if_indextoname): Rename to __if_indextoname and define as weak
4022 alias of __if_indextoname. Use libc_hidden_weak.
4023 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4024 __if_nametoindex and define as weak alias of __if_nametoindex.
4025 Use libc_hidden_weak.
4026 (if_freenameindex): Rename to __if_freenameindex and define as
4027 weak alias of __if_freenameindex. Use libc_hidden_weak.
4028 (if_nameindex_netlink): Use __if_freenameindex instead of
4029 if_freenameindex.
4030 (if_nameindex): Rename to __if_nameindex and define as weak alias
4031 of __if_nameindex. Use libc_hidden_weak.
4032 (if_indextoname): Rename to __if_indextoname and define as weak
4033 alias of __if_indextoname. Use libc_hidden_weak.
4034 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4035 libc_hidden_proto.
4036 [!_ISOMAC] (__if_freenameindex): Likewise.
4037 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4038 if_nametoindex.
4039 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4040 variable.
4041 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4042 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4043 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4044 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4045 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4046 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4047 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4048
d003ada2
JM
4049 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4050 Remove variable.
4051 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4052 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4053
a0d424ef
SP
40542014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4055
0cd85520
SP
4056 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4057 subscript above bounds'
4058
a0d424ef
SP
4059 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4060 bounds.
4061
0e426475
AS
40622014-12-16 Arjun Shankar <arjun.is@lostca.se>
4063
8b460906
AS
4064 * libio/tst-fopenloc.c: Use test-skeleton.c.
4065
fa13e15b
AS
4066 * stdlib/tst-bsearch.c: Use test-skeleton.c.
4067 (entry): Rename to ITEM.
4068 (do_test, comp): Adjust.
4069
0e426475
AS
4070 * stdio-common/tst-fseek.c: Use test-skeleton.c.
4071
4f646bce
TR
40722014-12-16 Torvald Riegel <triegel@redhat.com>
4073
4074 * string/tester.c: Include <libc-internal.h>.
4075 (test_memset): Ignore -Wmemset-transposed-args.
4076
a07c4427
TR
40772014-12-16 Torvald Riegel <triegel@redhat.com>
4078
4079 * misc/tst-mntent2.c (do_test): Fix warning.
4080
1469f466
TR
40812014-12-16 Torvald Riegel <triegel@redhat.com>
4082
4083 * elf/tst-unique4lib.cc(a): Mark as used.
4084
11e3417a
FW
40852014-12-16 Florian Weimer <fweimer@redhat.com>
4086
4087 [BZ #17630]
4088 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4089 names.
4090
ae61fc7b
AM
40912014-12-16 Allan McRae <allan@archlinux.org>
4092
4093 * stdio-common/Makefile (tests): Re-add bug26.
4094
363a9899
OB
40952014-12-15 Ondřej Bílka <neleai@seznam.cz>
4096
4097 [BZ #17657]
4098 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4099 static array.
4100
d52c62df
TR
41012014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
4102
4103 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4104 (__lll_lock_wait): Likewise.
4105 (__lll_timedlock_wait): Likewise.
4106 (__lll_timedwait_tid): Likewise.
4107 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4108 (__lll_robust_timedlock_wait): Likewise.
4109 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4110 (lll_cond_trylock): Likewise.
4111 (__lll_lock): Likewise.
4112 (__lll_robust_lock): Likewise.
4113 (__lll_cond_lock): Likewise.
4114 (lll_robust_cond_lock): Likewise.
4115 (__lll_timedlock): Likewise.
4116 (__lll_robust_timedlock): Likewise.
4117 (__lll_unlock): Likewise.
4118 (__lll_robust_unlock): Likewise.
4119 (lll_wait_tid): Likewise.
4120 (lll_timedwait_tid): Likewise.
4121
045a6bcd
TR
41222014-12-15 Torvald Riegel <triegel@redhat.com>
4123
4124 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4125
7f786dc1
TR
41262014-12-15 Torvald Riegel <triegel@redhat.com>
4127
4128 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4129
e7e21cba
AZ
41302014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4131
4132 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4133 * stdio-common/tst-sprintf.c: Likewise.
4134
bc89c0fc
TR
41352014-12-15 Torvald Riegel <triegel@redhat.com>
4136
4137 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4138
a5357b7c
JL
41392014-12-15 Jeff Law <law@redhat.com>
4140
4141 [BZ #16617]
4142 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4143 on the heap. (CVE-2012-3406)
4144 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4145 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4146 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4147
3a12c70f
WN
41482014-12-15 Will Newton <will.newton@linaro.org>
4149
4150 * manual/install.texi: Bump required version of texinfo
4151 to 4.7 from 4.5.
4152 * INSTALL: Regenerated.
4153 * configure.ac: Check for makeinfo version 4.7 and above.
4154 * configure: Regenerated.
4155
e4f639e4
RM
41562014-12-12 Roland McGrath <roland@hack.frob.com>
4157
4158 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4159 PREFIX, string constant to insert between directory and name.
4160 * sysdeps/posix/shm_open.c: Update caller.
4161 * sysdeps/posix/shm_unlink.c: Likewise.
4162 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4163 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4164 (SEM_SHM_PREFIX): New macro.
4165 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4166 [$(have-thread-library) = no].
4167 * nptl/Makefile (libpthread-routines): Add shm-directory.
4168 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4169 * sysdeps/nptl/shm-directory.h: New file.
4170 * sysdeps/posix/shm-directory.c
4171 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4172 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4173 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4174 INTERNAL_SYSCALL.
4175 (__where_is_shmfs): Function removed.
4176 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4177 Variables removed.
4178 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4179 Use SHM_GET_NAME.
4180 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4181
4182 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4183 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4184 unconditional for use inside libpthread.
4185 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4186
439c43f6
RM
41872014-12-12 Roland McGrath <roland@hack.frob.com>
4188
c76d1ff5
RM
4189 * nptl/pthread_getaffinity.c: New file.
4190 * nptl/pthread_setaffinity.c: New file.
4191 * nptl/pthread_getname.c: New file.
4192 * nptl/pthread_setname.c: New file.
4193
439c43f6
RM
4194 * nptl/pthread_create.c (START_THREAD_DEFN)
4195 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4196
48e435cd
SL
41972014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4198 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4199
4200 * resolv/res_send.c (send_vc): Disable warning resplen may
4201 be used uninitialized.
4202
9d9c0019
SL
42032014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4204
4205 * nptl/tst-mutex6.c
4206 (ATTR_NULL): New define checks ATTR against NULL.
4207 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4208 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4209
9173840b
JL
42102014-12-11 James Lemke <jwlemke@codesourcery.com>
4211
4212 [BZ #17581]
4213 * malloc/hooks.c
4214 (mem2mem_check): Revert my previous change.
4215 (malloc_check_get_size): Revert my previous change.
4216 (mem2chunk_check): Revert my previous change.
4217
78e21c5d
RM
42182014-12-11 Roland McGrath <roland@hack.frob.com>
4219
4220 * sysdeps/posix/shm-directory.c: New file.
4221 * sysdeps/posix/shm-directory.h: New file.
4222 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4223 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4224 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4225 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4226 Transmute EPERM to EACCES.
4227 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4228 from ...
4229 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4230 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4231
f82c43af
KK
42322014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4233
4234 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4235 pointer and cast to uintptr_t.
4236 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4237 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4238 Add cast to avoid warning.
4239 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4240
fc00cf7b
JM
42412014-12-11 Joseph Myers <joseph@codesourcery.com>
4242
4243 * nptl/semaphore.h: Move to ...
4244 * sysdeps/pthread/semaphore.h: ... here.
4245 * Makefile (installed-headers): Change nptl/semaphore.h to
4246 sysdeps/pthread/semaphore.h.
4247
1c4053db
RM
42482014-12-11 Roland McGrath <roland@hack.frob.com>
4249
73b0c1a1
RM
4250 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4251 generated error format strings.
4252
1c4053db
RM
4253 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4254 -Wformat-extra-args warnings for scanf formats.
4255 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4256 test of zero-length format (duh).
4257 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4258 corner-case scanf format test.
4259 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4260 generated fprintf format string.
4261 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4262 corner-case sprintf format tests.
4263 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4264 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4265 -Wformat-extra-args warnings throughout.
4266 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4267 (CFLAGS-scanf4.c): Likewise.
4268 (CFLAGS-scanf7.c): Likewise.
4269 (CFLAGS-tst-sprintf.c): Likewise.
4270 (CFLAGS-tst-printf.c): Likewise.
4271 (CFLAGS-tst-printfsz.c): Likewise.
4272
47d51f4f
JM
42732014-12-11 Joseph Myers <joseph@codesourcery.com>
4274
a1edbf3c
JM
4275 * include/cpio.h: New file.
4276 * include/fmtmsg.h: Likewise.
4277
47d51f4f
JM
4278 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4279 corresponding format argument to size_t.
4280 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4281 arguments.
4282 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4283 corresponding format argument to size_t.
4284 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4285 arguments.
4286 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4287 corresponding format argument to size_t.
4288 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4289 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4290 (CFLAGS-tst-mbswcs2.c): Likewise.
4291 (CFLAGS-tst-mbswcs3.c): Likewise.
4292 (CFLAGS-tst-mbswcs4.c): Likewise.
4293 (CFLAGS-tst-mbswcs5.c): Likewise.
4294 (CFLAGS-tst-trans.c): Likewise
4295
e9813cfb
RM
42962014-12-11 Roland McGrath <roland@hack.frob.com>
4297
4298 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4299 rather than assuming they won't contain any '%'s.
4300
f627ca82
CM
43012014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4302
4303 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4304 inhibit_loop_to_libcall to avoid recursive calls.
4305 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4306 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4307
7f296942
AZ
43082014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4309
4310 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4311 prototype.
4312
d0276e18
SE
43132014-12-11 Steve Ellcey <sellcey@imgtec.com>
4314
4315 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4316 integer value instead of boolean.
4317
fc56e970
SE
43182014-12-11 Steve Ellcey <sellcey@imgtec.com>
4319
4320 * malloc/malloc.c: Fix powerof2 check.
4321
40e53917
SL
43222014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4323
4324 * locale/programs/locfile.h (maybe_swap_uint32):
4325 Remove inline and add unused attribute.
4326
1ea166df
SL
43272014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4328
9d9c0019 4329 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
4330 Truncating assembler expression to a .long expression.
4331
acf869f4
AS
43322014-12-11 Andreas Schwab <schwab@suse.de>
4333
4334 * elf/rtld.c (struct map_args): Constify str member.
4335 (do_preload): Constify fname argument.
4336
9d969099
AZ
43372014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4338
4339 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4340 constants definition.
4341
da5bcaa4
AS
43422014-12-11 Andreas Schwab <schwab@suse.de>
4343
b0a3c164
AS
4344 [BZ #16657]
4345 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4346 FORCE_ELISION instead of DO_ELISION.
4347 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4348 Remove.
4349 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4350 Likewise.
4351
da5bcaa4
AS
4352 * iconvdata/gconv-modules: Remove duplicate entry.
4353
6d248857
WN
43542014-12-11 Will Newton <will.newton@linaro.org>
4355
4356 Merge gettext 0.19.3 into intl/.
4357
4358 This involves a number of cosmetic changes to comments
4359 and ANSI function definitions and prototypes throughout
4360 all the files. The gettext copyright header is used but
4361 with the date ranges taken from the glibc copy.
4362
4363 * NEWS: Add gettext merge to 2.21.
4364 * intl/bindtextdom.c: Switch to gettext copyright.
4365 Use ANSI definitions and prototypes.
4366 Use gl_* locking primitives rather than __libc_* ones.
4367 Use __builtin_expect rather than __glibc_likely/unlikely.
4368 * intl/dcgettext.c: Switch to gettext copyright.
4369 Use ANSI definitions and prototypes.
4370 * intl/dcigettext.c: Switch to gettext copyright.
4371 Use ANSI definitions and prototypes.
4372 (INTDIV0_RAISES_SIGFPE): New define.
4373 Use gl_* locking primitives rather than __libc_* ones.
4374 Include eval-plural.h instead of plural-eval.c.
4375 Use __builtin_expect rather than __glibc_likely/unlikely.
4376 * intl/dcngettext.c: Switch to gettext copyright.
4377 Use ANSI definitions and prototypes.
4378 * intl/dgettext.c: Likewise.
4379 * intl/dngettext.c: Likewise.
4380 * intl/plural-eval.c: Renamed to...
4381 * intl/eval-plural.h: ...this.
4382 * intl/explodename.c: Switch to gettext copyright.
4383 Use ANSI definitions and prototypes.
4384 (_nl_explode_name): Use strchr instead of __rawmemchr.
4385 * intl/finddomain.c: Switch to gettext copyright.
4386 Use ANSI definitions and prototypes.
4387 Use gl_* locking primitives rather than __libc_* ones.
4388 (_nl_find_domain): Use malloc rather than alloca for
4389 allocation of temporary locale name.
4390 * intl/gettext.c: Switch to gettext copyright.
4391 Use ANSI definitions and prototypes.
4392 * intl/gettextP.h: Switch to gettext copyright.
4393 Use ANSI definitions and prototypes.
4394 Use gl_* locking primitives rather than __libc_* ones.
4395 * intl/gmo.h: Switch to gettext copyright.
4396 (struct sysdep_string): Move struct segment_pair outside of
4397 struct definition.
4398 * intl/hash-string.c: Use ANSI definitions and prototypes.
4399 * intl/hash-string.h: Switch to gettext copyright.
4400 Use ANSI definitions and prototypes.
4401 * intl/l10nflist.c: Switch to gettext copyright.
4402 Use ANSI definitions and prototypes.
4403 (_nl_normalize_codeset): Avoid integer overflow.
4404 * intl/loadinfo.h: Switch to gettext copyright.
4405 Use ANSI definitions and prototypes.
4406 (LIBINTL_DLL_EXPORTED): New define.
4407 (PATH_SEPARATOR): New define.
4408 * intl/loadmsgcat.c: Switch to gettext copyright.
4409 * intl/localealias.c: Switch to gettext copyright.
4410 Use ANSI definitions and prototypes.
4411 (_nl_expand_alias): Use PATH_SEPARATOR.
4412 * intl/ngettext.c: Switch to gettext copyright.
4413 Use ANSI definitions and prototypes.
4414 * intl/plural-exp.c: Likewise.
4415 * intl/plural-exp.h: Switch to gettext copyright.
4416 Use ANSI definitions and prototypes.
4417 (struct expression): Move definition of enum operator outside
4418 of struct definition.
4419 * intl/plural.c: Regenerate.
4420 * intl/plural.y: Switch to gettext copyright.
4421 Use ANSI definitions and prototypes.
4422 Port to bison 3.0.
4423 * intl/textdomain.c: Switch to gettext copyright.
4424 Use ANSI definitions and prototypes.
4425 Use gl_* locking primitives rather than __libc_* ones.
4426
48c43298
SE
44272014-12-10 Steve Ellcey <sellcey@imgtec.com>
4428
4429 * debug/warning-nop.c: Add used atrribute.
4430
2b89bce9
JM
44312014-12-10 Joseph Myers <joseph@codesourcery.com>
4432
c153ac9f
JM
4433 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4434
2b89bce9
JM
4435 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4436 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4437 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4438
2cfbdb9a
JM
44392014-12-10 Joseph Myers <joseph@codesourcery.com>
4440 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4441
4442 [BZ #17634]
4443 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4444 Undefine after defining function. Define as weak alias of
4445 __wcschr. Use libc_hidden_weak.
4446 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4447 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4448 (libc_hidden_def): Also define __GI___wcschr alias.
4449 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4450 __wcschr and define as weak alias of __wcschr.
4451 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4452 __wcschr.
4453 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4454 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4455 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4456 libc_hidden_weak. Do not use libc_hidden_def.
4457 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4458 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4459 __GI___wcschr alias.
4460 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4461 [IS_IN (libc)] (wcschr): Define as macro expanding to
4462 __redirect_wcschr.
4463 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4464 [IS_IN (libc)] (__wcschr_power6): Likewise.
4465 [IS_IN (libc)] (__wcschr_power7): Likewise.
4466 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4467 instead of wcschr.
4468 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4469 __libc_wcschr.
4470 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4471 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4472 __wcschr and define as weak alias of __wcschr. Use
4473 libc_hidden_builtin_def.
4474 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4475 as weak alias of __wcschr. Use libc_hidden_weak.
4476 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4477 wcschr.
4478 * time/era.c (_nl_init_era_entries): Likewise.
4479 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4480 variable.
4481 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4482 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4483
1b8bf351
JM
44842014-12-10 Joseph Myers <joseph@codesourcery.com>
4485
4486 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4487 format for long int variable.
4488
f5f46d51
AK
44892014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4490
4491 [BZ #10672]
07008f7d 4492 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
4493 qsort stable.
4494
217a74a8
AS
44952014-12-10 Andreas Schwab <schwab@suse.de>
4496
4497 [BZ #12847]
4498 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4499 user-controlled locks.
4500
aa76a5c7
RE
45012014-12-10 Richard Earnshaw <rearnsha@arm.com>
4502
4503 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4504 register.
4505
2084e7ca
JM
45062014-12-10 Joseph Myers <joseph@codesourcery.com>
4507
a4ecc9eb
JM
4508 * configure.ac (--disable-werror): New configure option.
4509 (enable_werror): New AC_SUBST.
4510 * configure: Regenerated.
4511 * config.make.in (enable-werror): New variable.
4512 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4513 -Wno-error=undef.
4514 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4515 * manual/install.texi (Configuring and compiling): Document
4516 --disable-werror.
4517 * INSTALL: Regenerated.
4518 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4519 (CFLAGS-tst-chk2.c): Likewise.
4520 (CFLAGS-tst-chk3.c): Likewise.
4521 (CFLAGS-tst-chk4.cc): Likewise.
4522 (CFLAGS-tst-chk5.cc): Likewise.
4523 (CFLAGS-tst-chk6.cc): Likewise.
4524 (CFLAGS-tst-lfschk1.c): Likewise.
4525 (CFLAGS-tst-lfschk2.c): Likewise.
4526 (CFLAGS-tst-lfschk3.c): Likewise.
4527 (CFLAGS-tst-lfschk4.cc): Likewise.
4528 (CFLAGS-tst-lfschk5.cc): Likewise.
4529 (CFLAGS-tst-lfschk6.cc): Likewise.
4530
0f88636c
JM
4531 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4532 (main): Disable -Wdeprecated-declarations around calls to
4533 register_printf_function.
4534
c81e9deb
JM
4535 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4536 (do_test): Disable -Wdiv-by-zero around some calls to
4537 fwrite_unlocked and fread_unlocked.
4538
2084e7ca
JM
4539 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4540 (DIAG_POP_NEEDS_COMMENT): Likewise.
4541 (_DIAG_STR1): Likewise.
4542 (_DIAG_STR): Likewise.
4543 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4544 * stdio-common/bug21.c: Include <libc-internal.h>.
4545 (do_test): Disable -Wformat around call to sscanf.
4546 * stdio-common/scanf14.c: Include <libc-internal.h>.
4547 (main): Disable -Wformat around some calls to scanf functions.
4548
df7ecc6b
TR
45492014-12-09 Torvald Riegel <triegel@redhat.com>
4550
4551 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4552
2aa3862e
AZ
45532014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4554
4555 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4556 stack variable alignment.
4557
c5c2b7c3
JM
45582014-12-06 Joseph Myers <joseph@codesourcery.com>
4559
4560 [BZ #17682]
4561 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4562 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4563 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4564 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4565 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4566 __getrlimit instead of getrlimit.
4567 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4568 __gettimeofday instead of gettimeofday.
4569 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4570 Likewise.
4571 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4572 Likewise.
4573 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4574 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4575 Remove variable.
4576 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4577 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4578
9752c3cd
AZ
45792014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4580
4581 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4582 for wide-character tests.
4583
4bee4cd9
RM
45842014-12-04 Roland McGrath <roland@hack.frob.com>
4585
4586 * io/openat64.c: #include <libc-internal.h>
4587 (__openat64): Prototypify. Use ignore_value on MODE.
4588 * io/openat.c: Likewise.
4589 * misc/reboot.c: #include <libc-internal.h>
4590 (reboot): Prototypify. Use ignore_value on HOWTO.
4591 * misc/ptrace.c: #include <libc-internal.h>
4592 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4593
84dbedb6
JM
45942014-12-04 Joseph Myers <joseph@codesourcery.com>
4595
4596 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4597 XPG4, UNIX98 and XOPEN2K.
4598 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4599 Remove variable.
4600 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4601
b7a3e1c4 46022014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 4603
af50dfc1 4604 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
4605 * libio/iofopen.c: Likewise.
4606 * libio/wfileops.c: Likewise.
4607
fe8b4d98
SP
4608 [BZ #17653]
4609 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4610 offset on EOF.
4611 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4612 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4613 (fgets_func): Function pointer to fgets and fgetws.
4614 (do_ftell_test): Add test to verify ftell value after read
4615 EOF.
4616 (do_test): Set fgets_func.
4617
61b4f792
SP
4618 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4619 O_TRUNC flag for w and w+ modes.
4620 (do_rewind_test): Likewise.
4621 (do_ftell_test): Likewise.
4622 (do_write_test): Likewise.
4623
be349d70
SP
4624 [BZ #17647]
4625 * libio/fileops.c (do_ftell): Seek only when there are
4626 unflushed writes.
4627 * libio/wfileops.c (do_ftell_wide): Likewise.
4628 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4629 test case.
4630 (do_one_test): Call it.
4631
e3d6dba5
JM
46322014-12-03 Joseph Myers <joseph@codesourcery.com>
4633
4634 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4635 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4636 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4637 Remove variable.
4638 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4639 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4640 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4641
7f994279
JM
46422014-12-02 Joseph Myers <joseph@codesourcery.com>
4643
28a91e8f
JM
4644 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4645 Remove variable.
4646 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4647
7f994279
JM
4648 [BZ #17668]
4649 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4650 as weak alias of __getifaddrs. Use libc_hidden_weak.
4651 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4652 __freeifaddrs. Use libc_hidden_weak.
4653 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4654 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4655 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4656 __freeifaddrs. Use libc_hidden_weak.
4657 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4658 __getifaddrs and define as weak alias of __getifaddrs. Use
4659 libc_hidden_weak.
4660 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4661 __freeifaddrs. Use libc_hidden_weak.
4662 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4663 Remove variable.
4664 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4665 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4666
bbe4c142
PJ
46672014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4668
4669 [BZ #17601]
4670 * sysdeps/mips/start.S (__start): Use indirect jump to call
4671 __libc_start_main.
4672
66cadc05
JM
46732014-12-02 Joseph Myers <joseph@codesourcery.com>
4674
909e16d9
JM
4675 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4676
4e0b9016
JM
4677 * nptl/tst-mutex1.c: Include <stdbool.h>.
4678 [!ATTR] (ATTR_NULL): New macro.
4679 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4680 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4681 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4682
b1aff6a4
JM
4683 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4684 to char *.
4685
266865c0
JM
4686 [BZ #17665]
4687 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4688 Change conditional to [__USE_MISC].
4689
84e5e756
JM
4690 [BZ #17664]
4691 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4692 fgets_unlocked.
4693 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4694 __fgets_unlocked.
4695 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4696 fgets_unlocked.
4697 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4698 Remove variable.
4699 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4700 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4701 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4702 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4703 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4704 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4705 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4706 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4707 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4708
66cadc05
JM
4709 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4710
2e8a2de2 47112014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
4712
4713 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4714 Remove strpbrk objects.
4715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4716 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4717 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4718 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4719 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4720 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4721
bb2542e0
AZ
4722 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4723 Remove strcspn objects.
4724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4725 (__libc_ifunc_impl_list): Remove strcspn implementation.
4726 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4727 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4728 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4729 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
4730
4731 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4732 Remove strspn objetcs.
4733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4734 (__libc_ifunc_impl_list): Remove strspn implementation.
4735 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4736 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4737 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4738 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4739
08f1e1d2
JL
47402014-12-01 James Lemke <jwlemke@codesourcery.com>
4741
4742 [BZ #17581]
4743 * malloc/hooks.c
4744 (mem2mem_check): Add a terminator to the chain of checking blocks.
4745 (malloc_check_get_size): Use it here.
4746 (mem2chunk_check): Ditto.
4747
a8a7d7d2
RS
47482014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4749
4750 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4751 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4752
97114a38
CD
47532014-11-29 Carlos O'Donell <carlos@redhat.com>
4754
c8dc1727
CD
4755 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4756
6d03458e
CD
4757 * nptl/nptl-init.c: Include libc-internal.h.
4758 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4759
97114a38
CD
4760 * elf/ldconfig.c (search_dir): Expand comment.
4761
0e7e69ba
JM
47622014-11-29 Joseph Myers <joseph@codesourcery.com>
4763
4764 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4765 variable.
4766 (linknamespace-symlist-stdlibs-tests): Likewise.
4767 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4768 instead of $(objpfx)symlist-stdlibs.
4769 (linknamespace-libs-isoc): New variable.
4770 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4771 (linknamespace-libs-ISO): New variable.
4772 (linknamespace-libs-ISO99): Likewise.
4773 (linknamespace-libs-ISO11): Likewise.
4774 (linknamespace-libs-XPG3): Likewise.
4775 (linknamespace-libs-XPG4): Likewise.
4776 (linknamespace-libs-POSIX): Likewise.
4777 (linknamespace-libs-UNIX98): Likewise.
4778 (linknamespace-libs-XOPEN2K): Likewise.
4779 (linknamespace-libs-POSIX2008): Likewise.
4780 (linknamespace-libs-XOPEN2K8): Likewise.
4781 ($(objpfx)symlist-stdlibs): Replace by
4782 $(linknamespace-symlist-stdlibs-tests). Use
4783 $(linknamespace-libs-$*) as set of libraries.
4784 ($(linknamespace-header-tests)): Update dependencies. Use
4785 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4786 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4787 * conform/linknamespace.pl: Remove comment about considering
4788 definitions of symbols from irrelevant libraries.
4789
d8dd0080
L
47902014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4791
4792 [BZ #13862]
4793 * elf/dl-tls.c: Include <atomic.h>.
4794 (oom): Remove #ifdef SHARED/#endif.
4795 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4796 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4797 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4798 big enough.
4799 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4800 * nptl/Makefile (tests): Add tst-stack4.
4801 (modules-names): Add tst-stack4mod.
4802 ($(objpfx)tst-stack4): New.
4803 (tst-stack4mod.sos): Likewise.
4804 ($(objpfx)tst-stack4.out): Likewise.
4805 ($(tst-stack4mod.sos)): Likewise.
4806 (clean): Likewise.
4807 * nptl/tst-stack4.c: New file.
4808 * nptl/tst-stack4mod.c: Likewise.
4809
167da422
B
48102014-11-27 J. Brown <jb999@gmx.de>
4811
4812 * sysdeps/x86/bits/string.h: Add recent CPUs.
4813
9114625b
JM
48142014-11-27 Joseph Myers <joseph@codesourcery.com>
4815
6b5189eb
JM
4816 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4817 sigblock.
4818
49051f8e
JM
4819 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4820 feof.
4821
9114625b
JM
4822 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4823 variable.
4824
e7300fef
SL
48252014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4826
4827 * nscd/connections.c: Include libc-internal.h because of macro
4828 usage ignore_value.
4829
1721f0a4
SP
48302014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4831
4832 * string/bits/string3.h (__warn_memset_zero_len): Don't
4833 declare for gcc newer than 5.0.
4834 (memset): Don't test for zero-length __LEN for gcc newer than
4835 5.0.
4836
be970916
JM
48372014-11-27 Joseph Myers <joseph@codesourcery.com>
4838
d88548f4
JM
4839 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4840 size_t for %zu format.
4841
be970916
JM
4842 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4843 difference, not %ju.
4844
3b20fd5c
JM
48452014-11-26 Joseph Myers <joseph@codesourcery.com>
4846
8915eace
JM
4847 * include/libc-internal.h (ignore_value): New macro.
4848 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4849 with ignore_value.
4850
f1a5a0e3
JM
4851 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4852 definition.
4853
59ef1715
JM
4854 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4855 pthread_cleanup_push to void *.
4856
a6f3079b
JM
4857 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4858 Undefine.
4859
706688aa
JM
4860 [BZ #16619]
4861 [BZ #16740]
4862 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4863 instead of 1L << 52.
4864
12da14a5
JM
4865 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4866 * libio/bug-rewind2.c (do_test): Likewise.
4867
bd5dadac
JM
4868 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4869 * debug/test-strcpy_chk-ifunc.c: Likewise.
4870 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4871 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4872 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4873 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4874 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4875 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4876 * Rules [$(multi-arch) = no] (tests): Do not filter out
4877 $(tests-ifunc).
4878 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4879 * debug/Makefile (tests-ifunc): Remove variable.
4880 (tests): Do not add $(tests-ifunc).
4881 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4882 (tests): Do not add $(tests-ifunc).
4883 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4884 [TEST_IFUNC]: Remove conditionals.
4885 * string/test-string.h (TEST_IFUNC): Remove macro.
4886 [TEST_IFUNC]: Remove conditionals.
4887
3b20fd5c
JM
4888 * string/test-strchr.c [!WIDE] (L): New macro.
4889 [WIDE] (L): Likewise.
4890 (check1): Use CHAR instead of char. Use L on string and character
4891 constants.
4892
704f7947
AZ
48932014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4894
4895 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4896 tests.
4897 * sysdeps/powerpc/bits/atomic.h
4898 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4899 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4900 (atomic_exchange_and_add_acq): Likewise.
4901 (atomic_exchange_and_add_rel): Likewise.
4902 * sysdeps/powerpc/powerpc32/bits/atomic.h
4903 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4904 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4905 * sysdeps/powerpc/powerpc64/bits/atomic.h
4906 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4907 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4908
cdcb42d7
TR
49092014-11-26 Torvald Riegel <triegel@redhat.com>
4910
4911 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4912 Change synchronization of __sched_fifo_min_prio and
4913 __sched_fifo_max_prio.
4914 * nptl/pthread_mutexattr_getprioceiling.c
4915 (pthread_mutexattr_getprioceiling): Likewise.
4916 * nptl/pthread_mutexattr_setprioceiling.c
4917 (pthread_mutexattr_setprioceiling): Likewise.
4918 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4919 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4920 Likewise.
4921
c82f5c0c
JM
49222014-11-26 Joseph Myers <joseph@codesourcery.com>
4923
4924 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4925 void.
4926
439e1ad6
JM
49272014-11-25 Joseph Myers <joseph@codesourcery.com>
4928
4929 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4930 third argument const.
4931
b1eda10e
PE
49322014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4933
4934 fnmatch: work around GCC compiler warning bug with uninit var
4935 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4936 This works around a bug with x86-64 GCC 4.9.2 and earlier
4937 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4938 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4939 used uninitialized in this function [-Wmaybe-uninitialized]".
4940
bde2667a
JM
49412014-11-25 Joseph Myers <joseph@codesourcery.com>
4942
4943 * posix/bug-regex31.c (main): Return RES not 0.
4944
5fbb5691
AB
49452014-11-25 Anton Blanchard <anton@samba.org>
4946
4947 * sysdeps/powerpc/bits/atomic.h
4948 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4949
467fec0b
BM
49502014-11-24 Sterling Augustine <saugustine@google.com>
4951
4952 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4953
e9ff8efb
RC
49542014-11-24 Ryan Cumming <etaoins@gmail.com>
4955
4956 [BZ #17608]
4957 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4958
9744496f
JM
49592014-11-24 Joseph Myers <joseph@codesourcery.com>
4960
4961 [BZ #17633]
4962 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4963 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4964 variable.
4965 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4966 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4967
6423d475
WD
49682014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4969
4970 * string/strncpy.c (strncpy): Improve performance by using memset.
4971
49722014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
4973
4974 * string/strcpy.c (strcpy):
4975 Improve performance by using strlen and memcpy.
4976
5d178c37
LH
49772014-11-24 Leonhard Holz <leonhard.holz@web.de>
4978
4979 * string/strcoll_l.c (get_next_seq): __always_inline.
4980 * string/strcoll_l.c (do_compare): __always_inline.
4981
279bc5b3
SP
49822014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4983
7a9ebfa1
SP
4984 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4985 defined.
4986 * include/mqueue.h: Likewise.
4987 * include/stdlib.h: Likewise.
4988
4f41c682
SP
4989 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4990 (get_null_defines): Adjust.
4991 * sunrpc/Makefile: Adjust comment.
4992 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4993 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4994 (CFLAGS-interp.c): Likewise.
4995 (CFLAGS-ldconfig.c): Likewise.
4996 (CPPFLAGS-.os): Likewise.
4997 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4998 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4999 * extra-modules.mk (extra-modules.mk): Likewise.
5000 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5001 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5002 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5003 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5004 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5005 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5006 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5007 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5008 * iconvdata/Makefile (CPPFLAGS): Likewise.
5009 (cpp-srcs-left): Add libof for all iconvdata routines.
5010 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5011 * include/assert.h: Likewise.
5012 * include/ctype.h: Likewise.
5013 * include/errno.h: Likewise.
5014 * include/libc-symbols.h: Likewise.
5015 * include/math.h: Likewise.
5016 * include/netdb.h: Likewise.
5017 * include/resolv.h: Likewise.
5018 * include/stdio.h: Likewise.
5019 * include/stdlib.h: Likewise.
5020 * include/string.h: Likewise.
5021 * include/sys/stat.h: Likewise.
5022 * include/wctype.h: Likewise.
5023 * intl/l10nflist.c: Likewise.
5024 * libidn/idn-stub.c: Likewise.
5025 * libio/libioP.h: Likewise.
5026 * nptl/libc_multiple_threads.c: Likewise.
5027 * nptl/pthreadP.h: Likewise.
5028 * posix/regex_internal.h: Likewise.
5029 * resolv/res_hconf.c: Likewise.
5030 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5031 * sysdeps/arm/memmove.S: Likewise.
5032 * sysdeps/arm/sysdep.h: Likewise.
5033 * sysdeps/generic/_itoa.h: Likewise.
5034 * sysdeps/generic/symbol-hacks.h: Likewise.
5035 * sysdeps/gnu/errlist.awk: Likewise.
5036 * sysdeps/gnu/errlist.c: Likewise.
5037 * sysdeps/i386/i586/memcpy.S: Likewise.
5038 * sysdeps/i386/i586/memset.S: Likewise.
5039 * sysdeps/i386/i686/memcpy.S: Likewise.
5040 * sysdeps/i386/i686/memmove.S: Likewise.
5041 * sysdeps/i386/i686/mempcpy.S: Likewise.
5042 * sysdeps/i386/i686/memset.S: Likewise.
5043 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5044 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5045 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5046 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5047 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5048 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5049 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5050 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5051 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5052 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5053 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5054 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5055 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5056 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5057 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5058 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5059 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5060 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5061 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5062 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5063 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5064 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5065 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5066 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5067 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5068 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5069 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5070 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5071 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5072 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5073 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5074 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5075 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5076 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5077 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5078 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5079 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5080 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5081 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5082 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5083 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5084 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5085 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5086 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5087 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5088 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5089 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5090 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5091 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5092 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5093 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5094 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5095 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5096 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5097 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5098 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5099 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5100 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5101 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5102 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5103 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5104 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5105 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5106 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5107 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5108 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5109 * sysdeps/posix/closedir.c: Likewise.
5110 * sysdeps/posix/opendir.c: Likewise.
5111 * sysdeps/posix/readdir.c: Likewise.
5112 * sysdeps/posix/rewinddir.c: Likewise.
5113 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5114 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5115 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5116 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5117 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5118 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5119 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5120 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5121 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5122 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5123 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5124 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5125 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5126 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5127 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5128 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5129 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5130 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5131 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5132 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5133 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5134 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5135 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5136 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5137 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5138 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5139 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5140 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5141 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5142 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5143 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5144 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5145 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5146 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5147 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5148 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5149 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5150 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5151 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5152 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5153 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5154 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5155 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5156 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5157 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5158 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5159 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5160 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5161 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5162 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5163 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5164 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5165 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5166 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5167 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5168 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5169 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5170 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5171 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5172 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5173 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5174 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5175 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5176 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5177 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5178 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5179 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5180 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5181 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5182 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5183 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5184 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5185 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5186 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5187 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5188 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5189 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5190 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5191 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5192 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5193 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5194 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5195 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5196 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5197 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5198 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5199 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5200 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5201 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5202 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5203 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5204 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5205 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5206 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5207 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5208 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5209 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5210 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5211 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5212 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5213 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5214 * sysdeps/unix/alpha/sysdep.S: Likewise.
5215 * sysdeps/unix/alpha/sysdep.h: Likewise.
5216 * sysdeps/unix/make-syscalls.sh: Likewise.
5217 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5218 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5219 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5220 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5221 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5222 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5223 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5224 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5225 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5226 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5227 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5228 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5229 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5230 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5231 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5232 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5233 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5234 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5235 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5236 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5237 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5238 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5239 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5240 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5241 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5242 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5243 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5246 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5247 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5248 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5249 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5250 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5251 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5252 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5253 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5254 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5255 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5256 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5257 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5258 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5259 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5260 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5261 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5262 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5263 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5264 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5265 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5266 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5267 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5268 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5269 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5270 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5271 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5272 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5273 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5275 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5276 * sysdeps/x86_64/memcpy.S: Likewise.
5277 * sysdeps/x86_64/memmove.c: Likewise.
5278 * sysdeps/x86_64/memset.S: Likewise.
5279 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5280 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5281 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5282 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5283 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5284 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5285 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5286 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5287 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5288 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5289 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5290 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5291 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5292 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5293 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5294 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5295 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5296 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5297 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5298 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5299 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5300 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5301 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5302 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5303 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5304 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5305 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5306 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5307 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5308 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5309 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5310 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5311 * sysdeps/x86_64/strcmp.S: Likewise.
5312
76ca86a5
SP
5313 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5314
a3848485
SP
5315 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5316 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5317 * elf/rtld-Rules: Likewise.
5318 * elf/setup-vdso.h: Likewise.
5319 * include/assert.h: Likewise.
5320 * include/bits/stdlib-float.h: Likewise.
5321 * include/errno.h: Likewise.
5322 * include/sys/stat.h: Likewise.
5323 * include/unistd.h: Likewise.
5324 * sysdeps/aarch64/setjmp.S: Likewise.
5325 * sysdeps/alpha/setjmp.S: Likewise.
5326 * sysdeps/arm/__longjmp.S: Likewise.
5327 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5328 * sysdeps/arm/setjmp.S: Likewise.
5329 * sysdeps/arm/sysdep.h: Likewise.
5330 * sysdeps/generic/_itoa.h: Likewise.
5331 * sysdeps/generic/dl-sysdep.h: Likewise.
5332 * sysdeps/generic/ldsodefs.h: Likewise.
5333 * sysdeps/i386/dl-tls.h: Likewise.
5334 * sysdeps/i386/setjmp.S: Likewise.
5335 * sysdeps/m68k/setjmp.c: Likewise.
5336 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5337 * sysdeps/mach/hurd/opendir.c: Likewise.
5338 * sysdeps/posix/getcwd.c: Likewise.
5339 * sysdeps/posix/opendir.c: Likewise.
5340 * sysdeps/posix/profil.c: Likewise.
5341 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5342 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5343 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5344 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5345 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5346 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5347 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5348 * sysdeps/s390/dl-tls.h: Likewise.
5349 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5350 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5351 * sysdeps/sh/sh3/setjmp.S: Likewise.
5352 * sysdeps/sh/sh4/setjmp.S: Likewise.
5353 * sysdeps/unix/alpha/sysdep.h: Likewise.
5354 * sysdeps/unix/arm/sysdep.S: Likewise.
5355 * sysdeps/unix/i386/sysdep.S: Likewise.
5356 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5357 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5358 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5359 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5360 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5361 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5362 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5363 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5364 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5365 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5366 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5367 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5368 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5371 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5372 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5373 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5374 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5375 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5376 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5379 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5380 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5381 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5383 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5384 * sysdeps/x86_64/setjmp.S: Likewise.
5385
a109996e
SP
5386 * include/math.h: Use IS_IN instead of IS_IN_libm.
5387 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5388 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5389 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5390 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5391 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5392 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5393 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5394 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5395 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5396 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5397 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5398 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5399 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5400 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5401 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5402 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5403 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5404 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5405 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5406 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5407 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5408 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5409 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5410 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5411 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5412 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5414 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5415 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5416 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5417 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5418 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5419 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5421 Likewise.
5422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5423 Likewise.
5424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5425 Likewise.
5426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5427 Likewise.
5428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5429 Likewise.
5430 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5431 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5432 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5433 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5434 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5435 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5441 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5442 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5443 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5444 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5445 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5446 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5447 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5448 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5449 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5450 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5451 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5452 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5453 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5454 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5456 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5457
ce9f10f7
SP
5458 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5459 * nptl/pthreadP.h: Likewise.
5460 * nptl_db/structs.def: Likewise.
5461 * sysdeps/arm/sysdep.h: Likewise.
5462 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5463 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5464 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5465 * sysdeps/unix/alpha/sysdep.h: Likewise.
5466 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5467 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5468 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5469 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5470 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5471 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5472 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5473 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5474 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5475 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5476 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5477 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5478 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5479 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5482 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5483 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5484 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5485 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5486 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5487 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5488 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5489 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5490 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5491 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5492
016afc75
SP
5493 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5494 * nptl/pthreadP.h: Likewise.
5495 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5496 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5497 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5498 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5499 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5500 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5501 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5502 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5503 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5504 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5505 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5506 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5508 Likewise.
5509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5510 Likewise.
5511 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5512 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5513 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5515 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5516 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5517 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5518 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5519
9b42a0b3
SP
5520 * dlfcn/dladdr.c: Use IS_IN.
5521 * dlfcn/dladdr1.c: Likewise.
5522 * dlfcn/dlclose.c: Likewise.
5523 * dlfcn/dlerror.c: Likewise.
5524 * dlfcn/dlinfo.c: Likewise.
5525 * dlfcn/dlmopen.c: Likewise.
5526 * dlfcn/dlopen.c: Likewise.
5527 * dlfcn/dlsym.c: Likewise.
5528 * dlfcn/dlvsym.c: Likewise.
5529
85f36372
SP
5530 * include/ifaddrs.h: Use IS_IN.
5531 * inet/check_pf.c: Likewise.
5532 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5533 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5534
fb6784e3
SP
5535 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5536 IS_IN_ldconfig.
5537 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5538 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5539
2886d2d1
SP
5540 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5541 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5542 IS_IN (libc).
5543
9a484857
SP
5544 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5545
a10178bd
SP
5546 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5547 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5548 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5549 * include/libc-symbols.h (IS_IN_LIB): New macro.
5550 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5551 * include/netdb.h: Likewise.
5552 * include/stap-probe.h: Remove all uses of IN_LIB.
5553
279bc5b3
SP
5554 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5555 instead of IN_MODULE.
5556 * include/libc-symbols.h (IN_MODULE): Define using
5557 MODULE_NAME.
5558 (PASTE_NAME, PASTE_NAME1): New macros.
5559 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5560 of IN_LIB.
5561 (STAP_PROBE_ASM): Likewise.
5562
e0cfa510
ST
55632014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5564
5565 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5566 __mach_init in dlopened libc.
5567
34d97d87
MF
55682014-11-22 Mike Frysinger <vapier@gentoo.org>
5569
5570 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5571 * sysdeps/arm/preconfigure: Regenerate.
5572
33cd1f74
RM
55732014-11-21 Roland McGrath <roland@hack.frob.com>
5574
5575 * nptl/pthread_create.c (__pthread_create_2_1): Set
5576 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5577 when copying values from IATTR into PD.
5578
8c230039
WN
55792014-11-21 Will Newton <will.newton@linaro.org>
5580 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5581
6d3db89b
AP
5582 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5583 Refactor inline-asm. Also add comment.
5584
01194ba1
WN
5585 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5586 ElfW macro instead of hardcoded Elf64 types.
5587 (la_aarch64_gnu_pltenter): Likewise.
5588 * sysdeps/aarch64/dl-machine.h
5589 (elf_machine_runtime_setup): Use ElfW(Addr).
5590
8c230039
WN
5591 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5592 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5593 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5594 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5595 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5596 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5597 (R_AARCH64_TLS_DTPMOD): This.
5598 (R_AARCH64_TLS_DTPREL64): Rename to ...
5599 (R_AARCH64_TLS_DTPREL): This.
5600 (R_AARCH64_TLS_TPREL64): Rename to ...
5601 (R_AARCH64_TLS_TPREL): This.
5602 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5603 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5604 R_AARCH64_TLS_TPREL64.
5605 (elf_machine_rela): Likewise.
5606
0d79fa53
TR
56072014-11-21 Torvald Riegel <triegel@redhat.com>
5608
5609 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5610 by setting it to 0. 64b atomics are not supported currently.
5611
b59d114b
AO
56122014-11-21 Alexandre Oliva <aoliva@redhat.com>
5613
5614 [BZ #16469]
5615 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5616 search domain names.
5617
f3d945d5
AO
56182014-11-21 Alexandre Oliva <aoliva@redhat.com>
5619
5620 [BZ #16469]
5621 * NEWS: Update.
5622 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5623 trailing dot.
5624 * posix/tst-getaddrinfo5.c: New.
5625 * posix/Makefile (tests): Add it.
5626
49698902
AO
56272014-11-21 Alexandre Oliva <aoliva@redhat.com>
5628
5629 [BZ #14498]
5630 * NEWS: Fixed.
5631 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5632 after parsing line but before break_if_match.
5633 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5634 if there is a protocol mismatch.
5635
81959214
MS
56362014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5637
5638 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5639 because the potential race is on the user-supplied stream.
5640
7729e0e9
AO
56412014-11-21 Alexandre Oliva <aoliva@redhat.com>
5642
5643 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5644 string literal if not passed a buffer.
5645 * manual/job.texi (ctermid): Update reasoning, note deviation
5646 from posix, suggest mtasurace when not passed a buffer, for
5647 future non-preliminary safety notes.
5648
a4ea5e28
AO
56492014-11-21 Alexandre Oliva <aoliva@redhat.com>
5650
5651 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5652 of not passing it a buffer.
5653 Reported by Peng Haitao.
5654
a2b581cb
AO
56552014-11-21 Alexandre Oliva <aoliva@redhat.com>
5656
5657 * manual/Makefile ($(objpfx)stamp-summary): Require
5658 check-safety.sh to pass.
5659 * manual/check-safety.sh: Wish for verification that every
5660 @deftypefn and @deftypefun is followed by a @safety remark.
5661
f214ff74
RM
56622014-11-20 Roland McGrath <roland@hack.frob.com>
5663
7f0dfae0
RM
5664 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5665
2f531bbb
RM
5666 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5667 PTHREAD_CANCEL_ASYNCHRONOUS.
5668 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5669 send SIGCANCEL.
5670
f214ff74
RM
5671 * nptl/default-sched.h: New file.
5672 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5673 * nptl/pthread_create.c: Include it.
5674 (__pthread_create_2_1): Use collect_default_sched instead of making
5675 Linux syscalls here directly.
5676
e37c91d4
TR
56772014-11-20 Torvald Riegel <triegel@redhat.com>
5678
5679 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5680 __pthread_once): Use C11 atomics.
5681
1eccfecd
TR
56822014-11-20 Torvald Riegel <triegel@redhat.com>
5683
5684 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5685
ff871426
TR
56862014-11-20 Torvald Riegel <triegel@redhat.com>
5687
5688 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5689 atomic_thread_fence_acquire, atomic_thread_fence_release,
5690 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5691 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5692 atomic_compare_exchange_weak_relaxed,
5693 atomic_compare_exchange_weak_acquire,
5694 atomic_compare_exchange_weak_release,
5695 atomic_exchange_acquire, atomic_exchange_release,
5696 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5697 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5698 atomic_fetch_and_acquire,
5699 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5700
1ea339b6
TR
57012014-11-20 Torvald Riegel <triegel@redhat.com>
5702
5703 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5704 USE_ATOMIC_COMPILER_BUILTINS): Define.
5705 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5706 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5707 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5708 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5709 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5710 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5711 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5712 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5713 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5714 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5715 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5716 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5717 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5718 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5719 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5720 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5721 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5722 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5723 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5724 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5725 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5726 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5727 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5728 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5729 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5730 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5731 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5732 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5733 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5734 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5735 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5736 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5737 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5738 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5739 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5740 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5741 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5742 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5743 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5744 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5745
cbd463e2
RM
57462014-11-19 Roland McGrath <roland@hack.frob.com>
5747
d960211f
RM
5748 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5749 the sched_priority value here. It was already checked when the user
5750 called pthread_attr_setschedparam.
5751
cbd463e2
RM
5752 * nptl/tst-bad-schedattr.c: New file.
5753 * nptl/Makefile (tests): Add it.
5754
a39208bd
CD
57552014-11-19 Carlos O'Donell <carlos@redhat.com>
5756 Florian Weimer <fweimer@redhat.com>
5757 Joseph Myers <joseph@codesourcery.com>
5758 Adam Conrad <adconrad@0c3.net>
5759 Andreas Schwab <schwab@suse.de>
5760 Brooks <bmoses@google.com>
5761
5762 [BZ #17625]
5763 * wordexp-test.c (__dso_handle): Add prototype.
5764 (__register_atfork): Likewise.
5765 (__app_register_atfork): New function.
5766 (registered_forks): New global.
5767 (register_fork): New function.
5768 (test_case): Add 3 new tests for WRDE_CMDSUB.
5769 (main): Call __app_register_atfork.
5770 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5771 fork count is non-zero fail the test.
5772 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5773 is set.
5774 (parse_dollars): Remove check for WRDE_NOCMD.
5775 (parse_dquote): Likewise.
5776
9cd47470
SP
57772014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5778
130ac68c
SP
5779 * Makeconfig (built-modules): List non-library modules to be
5780 built.
5781 (module-cppflags): Include libc-modules.h for
5782 everything except shlib-versions.v.i.
5783 (CPPFLAGS): Use it.
5784 (before-compile): Add libc-modules.h.
5785 ($(common-objpfx)libc-modules.h,
5786 $(common-objpfx)libc-modules.stmp): New targets.
5787 (common-generated): Add libc-modules.h and libc-modules.stmp.
5788 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5789 * include/libc-symbols.h: Don't include libc-modules.h.
5790 * include/libc-modules.h: Remove file.
5791 * scripts/gen-libc-modules.awk: New script to generate
5792 libc-modules.h.
5793 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5794 Depend on libc-modules.stmp.
5795
286663c3
SP
5796 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5797
9cd47470
SP
5798 * Makeconfig (in-module): Get value of libof set for the
5799 translation unit.
5800 (CPPFLAGS): Use $(in-module).
5801 * Makerules: Don't suffix routine names for nonlib.
5802 * include/libc-modules.h: New file.
5803 * include/libc-symbols.h: Include libc-modules.h
5804 (IS_IN): New macro to replace IS_IN_* macros.
5805 * elf/Makefile: Set libof-* for each routine.
5806 * elf/rtld-Rules: Likewise.
5807 * extra-modules.mk: Likewise.
5808 * iconv/Makefile: Likewise.
5809 * iconvdata/Makefile: Likewise.
5810 * locale/Makefile: Likewise.
5811 * malloc/Makefile: Likewise.
5812 * nss/Makefile: Likewise.
5813 * sysdeps/gnu/Makefile: Likewise.
5814 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5815 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5816 * sysdeps/s390/s390-64/Makefile: Likewise.
5817 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5818 CPPFLAGS for nscd instead of nonlib.
5819
32fed10f
RM
58202014-11-18 Roland McGrath <roland@hack.frob.com>
5821
d71035bd
RM
5822 * nptl/createthread.c: New file.
5823
6540b991
RM
5824 * nptl/createthread.c: Moved ...
5825 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5826
32fed10f
RM
5827 * nptl/createthread.c: Add proper top-line comment.
5828 (do_clone): Folded into ...
5829 (create_thread): ... here. Take new arguments STOPPED_START and
5830 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5831 increment __nptl_threads, do event-reporting logic, do
5832 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5833 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5834 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5835 just send SIGCANCEL.
5836 * nptl/pthread_create.c: Forward-declare create_thread before
5837 including createthread.c.
5838 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5839 declaration, and new macro START_THREAD_SELF to replace argument.
5840 Remove return statement.
5841 (report_thread_creation): New function.
5842 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5843 synchronization logic, and __nptl_nthreads increment here, around
5844 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5845 PD->parent_cancelhandling here, before create_thread. When
5846 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5847 __deallocate_stack, and ENOMEM translation here.
5848
107a5bf0
JM
58492014-11-18 Joseph Myers <joseph@codesourcery.com>
5850
5851 [BZ #17616]
5852 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5853 (mptwo): Rename to __mptwo.
5854 (__inv): Use __mptwo instead of mptwo.
5855 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5856 (mptwo): Rename to __mptwo.
5857 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5858 of mpone and __mptwo instead of mptwo.
5859 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5860 instead of mpone.
5861 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5862 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5863 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5864 of mpone and __mptwo instead of mptwo.
5865 (__mpranred): Use __mpone instead of mpone.
5866 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5867 variable.
5868 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5869 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5870 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5871 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5872 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5873 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5874 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5875 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5876 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5877 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5878 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5879 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5880 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5881 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5882 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5883 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5884 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5885 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5886 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5887
3b679ab3
TV
58882014-11-18 Tom de Vries <tom@codesoucery.com>
5889
5890 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5891 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
5892
58932014-11-17 Richard Henderson <rth@redhat.com>
5894
5895 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5896 (_FP_PACK_RAW_2): Remove.
5897 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5898 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5899 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5900 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5901 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5902 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5903 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5904 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5905 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5906 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5907 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5908 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5909 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5910 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5911 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5912 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5913
0781a777
RM
59142014-11-14 Roland McGrath <roland@hack.frob.com>
5915
5916 * signal/signal.h [__USE_MISC]
5917 (struct sigvec): Remove type.
5918 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5919 (sigvec): Remove declaration.
5920 * sysdeps/posix/sigvec.c: Moved ...
5921 * signal/sigvec.c: ... here, replacing old file.
5922 (struct sigvec): New type, copied from old signal.h definition.
5923 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5924 (__sigvec): Convert definition to prototype.
5925 (sigvec): Replace weak_alias with compat_symbol.
5926 * signal/Versions (libc: GLIBC_2.21): New version set.
5927 * include/signal.h: Remove __sigvec declaration.
5928 * sysdeps/unix/bsd/sigvec.c: Remove file.
5929 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5930 * manual/signal.texi (BSD Handler): Remove subsection.
5931 Move siginterrupt up to ...
5932 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5933 (Blocking in BSD): Fold subsection into its parent.
5934 * NEWS: Mention sigvec removal.
5935
a4733812
JM
59362014-11-14 Joseph Myers <joseph@codesourcery.com>
5937
5ae4fe60
JM
5938 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5939 (DLA_FMS): Make definition conditional only on [__FMA4__].
5940 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5941 definition.
5942
6a0dd472
JM
5943 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5944 Make definition conditional only on [PROF].
5945 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5946 definition.
5947 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5948 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5949
a4733812
JM
5950 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5951 !__GNUC__].
5952 * include/signal.h (__sigpause): Move declaration above call to
5953 libc_hidden_proto.
5954 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5955 variable.
5956 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5957 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5958
cf7246dd
DM
59592014-11-14 David S. Miller <davem@davemloft.net>
5960
5961 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5962 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5963
c1b0aadc
JM
59642014-11-14 Joseph Myers <joseph@codesourcery.com>
5965
4863355a
JM
5966 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5967 * configure: Regenerated.
5968 * manual/install.texi (Tools for Compilation): Document a
5969 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5970 compiler verified to work.
5971 * INSTALL: Regenerated.
5972
c1b0aadc
JM
5973 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5974 redeclare with asm name.
5975 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5976 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5977 including <string.h>.
5978 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5979 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5980 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5981 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5982 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5983 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5984 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5985
2a1cfd94
JM
59862014-11-13 Joseph Myers <joseph@codesourcery.com>
5987
bf438382
JM
5988 * stdlib/strtol.c (__strtol): Use prototype definition.
5989
2a1cfd94
JM
5990 [BZ #17594]
5991 * stdlib/strtol.c (SYM__): New macro.
5992 (SYM__1): Likewise.
5993 (__strtol): Likewise.
5994 (strtol): Rename to __strtol and define as weak alias of
5995 __strtol. Use libc_hidden_weak.
5996
20ed0d26
SL
59972014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5998
5999 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6000 Use numbered labels in inline assembly.
6001
53244a4e
SL
60022014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6003
6004 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6005 Add setjmp LIBC_PROBE.
6006 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6007 Likewise.
6008 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6009 Add longjmp, longjmp_target LIBC_PROBE.
6010 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6011 Likewise.
6012
47df8251
SL
60132014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6014
6015 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6016 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6017 to get rid of unused variable warning.
6018
618cebef
SL
60192014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6020
6021 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6022 Check for unwind_backtrace == NULL only in SHARED case.
6023 (__backchain_backtrace): Compile only in SHARED case.
6024 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6025 Likewise.
6026 (__backchain_backtrace): Declare as static.
6027
c6aab2cb
RM
60282014-11-12 Roland McGrath <roland@hack.frob.com>
6029
6030 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6031 (__libc_multiple_threads_ptr): Variable moved ...
6032 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6033
5a6fa4d7
JM
60342014-11-12 Joseph Myers <joseph@codesourcery.com>
6035
24f4f825
JM
6036 * conform/GlibcConform.pm: New file.
6037 * conform/conformtest.pl: Use GlibcConform module.
6038 * conform/linknamespace.pl: New file.
6039 * conform/list-header-symbols.pl: Likewise.
6040 * conform/Makefile (linknamespace-symlists-base): New variable.
6041 (linknamespace-symlists-tests): Likewise.
6042 (linknamespace-header-base): Likewise.
6043 (linknamespace-header-tests): Likewise.
6044 (tests-special): Add new tests.
6045 ($(linknamespace-symlists-tests)): New rule.
6046 (linknamespace-libs): New variable.
6047 ($(objpfx)symlist-stdlibs): New rule.
6048 ($(linknamespace-header-tests)): Likewise.
6049 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6050 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6051 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6052 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6053 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6054 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6055 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6056 (test-xfail-ISO/math.h/linknamespace): Likewise.
6057 (test-xfail-ISO/signal.h/linknamespace): Likewise.
6058 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6059 (test-xfail-ISO/time.h/linknamespace): Likewise.
6060 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6061 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6062 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6063 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6064 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6065 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6066 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6067 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6068 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6069 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6070 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6071 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6072 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6073 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6074 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6075 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6076 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6077 (test-xfail-XPG3/search.h/linknamespace): Likewise.
6078 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6079 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6080 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6081 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6082 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6083 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6084 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6085 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6086 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6087 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6088 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6089 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6090 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6091 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6092 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6093 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6094 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6095 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6096 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6097 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6098 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6099 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6100 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6101 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6102 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6103 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6104 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6105 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6106 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6107 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6108 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6109 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6110 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6111 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6112 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6113 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6114 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6115 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6116 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6117 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6118 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6119 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6120 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6121 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6122 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6123 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6124 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6125 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6126 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6127 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6128 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6129 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6130 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6131 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6132 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6133 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6134 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6135 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6136 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6137 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6138 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6139 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6140 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6141 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6142 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6143 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6144 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6145 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6146 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6147 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6148 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6149 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6150 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6151 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6152 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6153 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6154 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6155 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6156 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6157 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6158 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6159 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6160 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6161 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6162 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6163 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6164 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6165 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6166 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6167 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6168 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6169 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6170 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6171 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6172 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6173 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6174 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6175 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6176 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6177 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6178 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6179 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6180 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6181 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6182 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6183 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6184 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6185 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6186 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6187 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6188 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6189 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6190 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6191 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6192 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6193 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6194 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6195 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6196 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6197 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6198 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6199 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6200 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6201 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6202 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6203 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6204 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6205 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6206 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6207 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6208 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6209 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6210
cc67478e
JM
6211 [BZ #17589]
6212 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6213 of fgets_unlocked.
6214
9975e3d3
JM
6215 [BZ #17585]
6216 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6217 (memmem): Rename to __memmem and define as weak alias of
6218 __memmem. Use libc_hidden_weak.
6219 (__memmem): Use libc_hidden_def.
6220 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6221 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6222 memmem.
6223
c4eae752
JM
6224 [BZ #17582]
6225 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6226 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6227 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6228 and define as weak alias of __fgets_unlocked. Use
6229 libc_hidden_weak.
6230 (__fgets_unlocked): Use libc_hidden_def.
6231 * include/stdio.h (__fgets_unlocked): Declare. Use
6232 libc_hidden_proto.
6233 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6234 __fgets_unlocked instead of fgets_unlocked.
6235 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6236 (GET_NPROCS_CONF_PARSER): Likewise.
6237 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6238 (GET_NPROCS_CONF_PARSER): Likewise.
6239
01cad84e
JM
6240 [BZ #17574]
6241 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6242 weak alias of __wmemset. Use libc_hidden_weak.
6243 (__wmemset): Use libc_hidden_def.
6244 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6245 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6246 of wmemset.
6247
939da411
JM
6248 [BZ #17573]
6249 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6250 with asm name __mempcpy.
6251 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6252
293d9a41
JM
6253 [BZ #17572]
6254 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6255 and define as weak alias of __rawmemchr.
6256 (__rawmemchr): Do not define as strong alias of rawmemchr.
6257
bef8fd60
JM
6258 [BZ #17571]
6259 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6260 alias of __qsort_r.
6261 (qsort): Call __qsort_r instead of qsort_r.
6262 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6263 (__qsort_r): Declare. Call libc_hidden_proto.
6264 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6265 instead of qsort_r.
6266 * nscd/gai.c (__qsort_r): Define to qsort_r.
6267 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6268 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6269 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6270
c52ff39e
JM
6271 [BZ #17570]
6272 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6273 define as weak alias of __malloc_info.
6274
2f5c1b00
JM
6275 [BZ #17584]
6276 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6277 as weak alias of __rewinddir. Don't use libc_hidden_def.
6278 (__rewinddir): Use libc_hidden_def.
6279 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6280 as weak alias of __rewinddir. Don't use libc_hidden_def.
6281 (__rewinddir): Use libc_hidden_def.
6282 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6283 weak alias of __rewinddir. Don't use libc_hidden_def.
6284 (__rewinddir): Use libc_hidden_def.
6285 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6286 (__rewinddir): Use libc_hidden_proto.
6287 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6288 rewinddir.
6289 (__getcwd): Use __rewinddir instead of rewinddir.
6290
5a6fa4d7
JM
6291 [BZ #17583]
6292 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6293 alias of __fileno. Use libc_hidden_weak.
6294 (__fileno): Use libc_hidden_def.
6295 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6296 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6297 alias of __ftello.
6298 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6299 __ftello.
6300 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6301 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6302 libc_hidden_def.
6303 (fread_unlocked): Don't use libc_hidden_ver.
6304 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6305 and define as weak alias of __fread_unlocked. Don't use
6306 libc_hidden_def.
6307 (__fread_unlocked): Use libc_hidden_def.
6308 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6309 (ftello): Don't use libc_hidden_proto.
6310 (__ftello): Declare. Use libc_hidden_proto.
6311 (fread_unlocked): Don't use libc_hidden_proto.
6312 (__fread_unlocked): Declare. Use libc_hidden_proto.
6313 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6314 and __ftello instead of fileno, fread_unlocked and ftello.
6315
2581b98e
SP
63162012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6317
6318 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6319 GOT12.
6320 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6321 Likewise.
6322 (_dl_start_user): Likewise.
6323 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6324
533bb7c2
SP
63252014-11-12 Carlos O'Donell <carlos@redhat.com>
6326 Siddhesh Poyarekar <siddhesh@redhat.com>
6327
6328 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6329 Move argv and envp down instead of moving argc up.
6330 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6331
fffa1cf8
LH
63322014-11-12 Leonhard Holz <leonhard.holz@web.de>
6333
6334 [BZ #17506]
6335 * test-skeleton.c (main): Return successful if one of
6336 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6337 * string/tst-strcoll-overflow.c: Define expected status.
6338
fb89b46d
TU
63392014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6340
6341 [BZ #17475]
6342 * locale/iso-639.def: Define Bhili and Tulu language codes.
6343
5c40c3ba
AH
63442014-11-11 Alan Hayward <alan.hayward@arm.com>
6345
6346 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6347
b17fe01b 63482014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
6349
6350 [BZ #17555]
6351 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6352
bd805071
AS
63532014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6354
6355 * configure.ac: Updated check of minimal required version to
6356 2.22.
6357 * manual/install.texi (Tools for Compilation): Updated version
6358 number.
6359 * configure: Regenerated.
6360 * INSTALL: Likewise.
6361
1400983e
AS
63622014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6363
6364 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6365 __tls_get_addr.
6366
2c46a66a
JM
63672014-11-07 Joseph Myers <joseph@codesourcery.com>
6368
6369 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6370 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6371 (__waitpid): Don't define as alias. Use libc_hidden_def not
6372 libc_hidden_weak.
6373 (waitpid): Define as alias of __waitpid.
6374 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6375 __waitpid.
6376 (__waitpid): Don't define as alias. Use libc_hidden_def not
6377 libc_hidden_weak.
6378 (waitpid): Define as alias of __waitpid.
6379 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6380 __libc_waitpid alias.
6381 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6382 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6383 Likewise.
6384 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6385 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6386 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6387 alias.
6388 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6389 __waitpid.
6390 (__waitpid): Don't define as alias. Use libc_hidden_def not
6391 libc_hidden_weak.
6392 (waitpid): Define as alias of __waitpid.
6393
da53d6db
CD
63942014-11-06 Carlos O'Donell <carlos@redhat.com>
6395
a2887bdb
CD
6396 * manual/llio.texi: Add comment that write safety has been
6397 fixed in Linux.
6398
da53d6db
CD
6399 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6400 (localplt-build-dso): Add elf/ld.so.
6401 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6402 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6403 and free for ld.so.
6404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6405 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6407 Likewise.
6408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6409 Likewise.
6410 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6411 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6412 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6413 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6414 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6415 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6416 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6417 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6418 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6419 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6420 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6421
9cf27b8d
JM
64222014-11-05 Joseph Myers <joseph@codesourcery.com>
6423
6424 [BZ #14132]
6425 * include/libc-symbols.h (INTUSE): Remove macro.
6426 (INTDEF): Likewise.
6427 (INTVARDEF): Likewise.
6428 (_INTVARDEF): Likewise.
6429 (INTDEF2): Likewise.
6430 (INTVARDEF2): Likewise.
6431 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6432 rtld_hidden_def instead of INTVARDEF.
6433 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6434 (_dl_starting_up_internal): Remove declaration.
6435 (_dl_starting_up): Use rtld_hidden_proto.
6436 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6437 declaration.
6438 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6439 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6440 _dl_starting_up.
6441 * elf/dl-writev.h (_dl_writev): Likewise.
6442 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6443 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6444 _dl_starting_up_internal.
6445
af83568d
AZ
64462014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6447
6448 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6449 test-skeleton.c.
6450
b01ee67c
WN
64512014-11-05 Will Newton <will.newton@linaro.org>
6452
6453 * benchtests/Makefile: (bench-malloc): Add malloc thread
6454 scalability benchmark.
6455 * benchtests/bench-malloc-threads.c: New file.
6456
be9d4ccc
RE
64572014-11-05 Richard Earnshaw <rearnsha@arm.com>
6458
6459 * sysdeps/aarch64/strchrnul.S: New file.
6460
7110166d
AZ
64612014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6462
6463 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6464 definition.
6465 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6466 Likwise.
6467 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6468 Likewise.
6469 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6470 Likewise.
6471 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6472 Likewise.
6473 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6474 Likewise.
6475
64762014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
6477
6478 * catgets/test-gencat.c: Use test-skeleton.c.
6479 * catgets/tst-catgets.c: Likewise.
6480 * csu/tst-empty.c: Likewise.
6481 * elf/tst-audit2.c: Likewise.
6482 * elf/tst-global1.c: Likewise.
6483 * elf/tst-pathopt.c: Likewise.
6484 * elf/tst-piemod1.c: Likewise.
6485 * elf/tst-tls10.c: Likewise.
6486 * elf/tst-tls11.c: Likewise.
6487 * elf/tst-tls12.c: Likewise.
6488 * gnulib/tst-gcc.c: Likewise.
6489 * iconvdata/tst-e2big.c: Likewise.
6490 * iconvdata/tst-loading.c: Likewise.
6491 * iconv/tst-iconv1.c: Likewise.
6492 * iconv/tst-iconv2.c: Likewise.
6493 * inet/test-inet6_opt.c: Likewise.
6494 * inet/tst-gethnm.c: Likewise.
6495 * inet/tst-network.c: Likewise.
6496 * inet/tst-ntoa.c: Likewise.
6497 * intl/tst-codeset.c: Likewise.
6498 * intl/tst-gettext2.c: Likewise.
6499 * intl/tst-gettext3.c: Likewise.
6500 * intl/tst-ngettext.c: Likewise.
6501 * intl/tst-translit.c: Likewise.
6502 * io/test-stat.c: Likewise.
6503 * libio/test-fmemopen.c: Likewise.
6504 * libio/tst-freopen.c: Likewise.
6505 * libio/tst-sscanf.c: Likewise.
6506 * libio/tst-ungetwc1.c: Likewise.
6507 * libio/tst-ungetwc2.c: Likewise.
6508 * libio/tst-widetext.c: Likewise.
6509 * localedata/tst-ctype.c: Likewise.
6510 * localedata/tst-digits.c: Likewise.
6511 * localedata/tst-leaks.c: Likewise.
6512 * localedata/tst-mbswcs1.c: Likewise.
6513 * localedata/tst-mbswcs2.c: Likewise.
6514 * localedata/tst-mbswcs3.c: Likewise.
6515 * localedata/tst-mbswcs4.c: Likewise.
6516 * localedata/tst-mbswcs5.c: Likewise.
6517 * localedata/tst-setlocale.c: Likewise.
6518 * localedata/tst-trans.c: Likewise.
6519 * localedata/tst-wctype.c: Likewise.
6520 * localedata/tst-xlocale1.c: Likewise.
6521 * login/tst-grantpt.c: Likewise.
6522 * malloc/tst-calloc.c: Likewise.
6523 * malloc/tst-malloc.c: Likewise.
6524 * malloc/tst-mallocstate.c: Likewise.
6525 * malloc/tst-mcheck.c: Likewise.
6526 * malloc/tst-mtrace.c: Likewise.
6527 * malloc/tst-obstack.c: Likewise.
6528 * math/atest-exp2.c: Likewise.
6529 * math/atest-exp.c: Likewise.
6530 * math/atest-sincos.c: Likewise.
6531 * math/test-matherr.c: Likewise.
6532 * math/test-misc.c: Likewise.
6533 * math/test-powl.c: Likewise.
6534 * math/tst-definitions.c: Likewise.
6535 * misc/tst-dirname.c: Likewise.
6536 * misc/tst-efgcvt.c: Likewise.
6537 * misc/tst-fdset.c: Likewise.
6538 * misc/tst-hsearch.c: Likewise.
6539 * misc/tst-mntent2.c: Likewise.
6540 * nptl/tst-sem7.c: Likewise.
6541 * nptl/tst-sem8.c: Likewise.
6542 * nptl/tst-sem9.c: Likewise.
6543 * nss/test-netdb.c: Likewise.
6544 * posix/tst-fnmatch.c: Likewise.
6545 * posix/tst-getlogin.c: Likewise.
6546 * posix/tst-gnuglob.c: Likewise.
6547 * posix/tst-mmap.c: Likewise.
6548 * pwd/tst-getpw.c: Likewise.
6549 * resolv/tst-inet_ntop.c: Likewise.
6550 * rt/tst-timer.c: Likewise.
6551 * stdio-common/test-fseek.c: Likewise.
6552 * stdio-common/test-popen.c: Likewise.
6553 * stdio-common/test-vfprintf.c: Likewise.
6554 * stdio-common/tst-cookie.c: Likewise.
6555 * stdio-common/tst-fileno.c: Likewise.
6556 * stdio-common/tst-gets.c: Likewise.
6557 * stdio-common/tst-obprintf.c: Likewise.
6558 * stdio-common/tst-perror.c: Likewise.
6559 * stdio-common/tst-sprintf2.c: Likewise.
6560 * stdio-common/tst-sprintf3.c: Likewise.
6561 * stdio-common/tst-sprintf.c: Likewise.
6562 * stdio-common/tst-swprintf.c: Likewise.
6563 * stdio-common/tst-tmpnam.c: Likewise.
6564 * stdio-common/tst-unbputc.c: Likewise.
6565 * stdio-common/tst-wc-printf.c: Likewise.
6566 * stdlib/tst-environ.c: Likewise.
6567 * stdlib/tst-fmtmsg.c: Likewise.
6568 * stdlib/tst-limits.c: Likewise.
6569 * stdlib/tst-rand48-2.c: Likewise.
6570 * stdlib/tst-rand48.c: Likewise.
6571 * stdlib/tst-random2.c: Likewise.
6572 * stdlib/tst-random.c: Likewise.
6573 * stdlib/tst-strtol.c: Likewise.
6574 * stdlib/tst-strtoll.c: Likewise.
6575 * stdlib/tst-tls-atexit.c: Likewise.
6576 * stdlib/tst-xpg-basename.c: Likewise.
6577 * string/test-ffs.c: Likewise.
6578 * string/tst-bswap.c: Likewise.
6579 * string/tst-inlcall.c: Likewise.
6580 * string/tst-strtok.c: Likewise.
6581 * string/tst-strxfrm.c: Likewise.
6582 * sysdeps/x86_64/tst-audit10.c: Likewise.
6583 * sysdeps/x86_64/tst-audit3.c: Likewise.
6584 * sysdeps/x86_64/tst-audit4.c: Likewise.
6585 * sysdeps/x86_64/tst-audit5.c: Likewise.
6586 * time/tst-ftime_l.c: Likewise.
6587 * time/tst-getdate.c: Likewise.
6588 * time/tst-mktime3.c: Likewise.
6589 * time/tst-mktime.c: Likewise.
6590 * time/tst-posixtz.c: Likewise.
6591 * time/tst-strptime2.c: Likewise.
6592 * time/tst-strptime3.c: Likewise.
6593 * wcsmbs/tst-btowc.c: Likewise.
6594 * wcsmbs/tst-mbrtowc.c: Likewise.
6595 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6596 * wcsmbs/tst-wchar-h.c: Likewise.
6597 * wcsmbs/tst-wcpncpy.c: Likewise.
6598 * wcsmbs/tst-wcrtomb.c: Likewise.
6599 * wcsmbs/tst-wcsnlen.c: Likewise.
6600 * wcsmbs/tst-wcstof.c: Likewise.
6601
2004e7fb
JM
66022014-11-04 Joseph Myers <joseph@codesourcery.com>
6603
ab97ee8f
JM
6604 [BZ #14132]
6605 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6606 INTDEF.
6607 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6608 declaration.
6609 (_dl_mcount): Use rtld_hidden_proto.
6610 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6611 _dl_mcount.
6612 * elf/rtld.c (_rtld_global_ro): Likewise.
6613
c5684fdb
JM
6614 [BZ #14132]
6615 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6616 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6617 of _dl_init_internal.
6618 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6619 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6620 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6621 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6622 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6623 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6624 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6625 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6626 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6627 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6628 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6629 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6630 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6631 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6632 * sysdeps/tile/dl-start.S (_start): Likewise.
6633 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6634 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6635
4243cbea
JM
6636 [BZ #14132]
6637 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6638 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6639 (rtld_progname): Make macro definition unconditional.
6640 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6641 INTDEF.
6642 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6643 (dl_main): Likewise.
6644 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6645 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6646 instead of _dl_argv_internal.
6647 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6648 __GI__dl_argv instead of INTUSE(_dl_argv).
6649 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6650 __GI__dl_argv instead of _dl_argv_internal.
6651
2004e7fb
JM
6652 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6653 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6654 macro.
6655 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6656 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6657 New macro.
6658 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6659 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6660 macro.
6661 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6662 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6663
97827bfc
AS
66642014-11-04 Andreas Schwab <schwab@suse.de>
6665
6666 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6667
5e4df284
AZ
66682014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6669
6670 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6671 mtvsrd instruction in binary form.
6672
04b76b5a
AS
66732014-11-03 Andreas Schwab <schwab@suse.de>
6674
6675 [BZ #17522]
6676 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6677 for less than MB_LEN_MAX use a local buffer of that size.
6678 * libio/tst-fputws.c: New file.
6679 * libio/Makefile (tests): Add tst-fputws.
6680
4c6da7da
JM
66812014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6682
6683 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6684 the size of the fpu_fr.fpu_dregs[] array.
6685
1679ba8e
JM
66862014-11-01 Joseph Myers <joseph@codesourcery.com>
6687
6688 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6689 (__nanosleep): Do not define as alias.
6690 (nanosleep): Define as alias of __nanosleep.
6691 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6692 __libc_nanosleep name.
6693
2626c183
JM
66942014-10-31 Joseph Myers <joseph@codesourcery.com>
6695
6696 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6697 install.texi in comment.
6698
7f981fc2
TR
66992014-10-31 Torvald Riegel <triegel@redhat.com>
6700
6701 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6702 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6703 ... add here and use lwsync or sync ...
6704 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6705 ... and add here using lwsync.
6706
d6f373d2
MF
67072014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6708
6709 * elf/dl-machine-reject-phdr.h: New file.
6710 * elf/dl-load.c: #include that.
6711 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6712 if that returned true.
6713
67c37987
RM
67142014-10-31 Roland McGrath <roland@hack.frob.com>
6715
6716 [BZ #17496]
6717 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6718 gen-as-const-headers chunk. Add a big scare comment after the last
6719 safe place to touch before-compile.
6720
94a42455 67212014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 6722
f3f5d895
JM
6723 * manual/install.texi (Tools for Compilation): Update autoconf
6724 version requirements.
6725 * INSTALL: Regenerated.
6726
f62ff286
JM
6727 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6728 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6729 (__libc_pselect): Likewise.
94a42455
JM
6730
6731 [BZ #14138]
6732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6736
ff9dbdc0
TR
67372014-10-31 Torvald Riegel <triegel@redhat.com>
6738
6739 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6740 correct barrier instruction.
6741 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6742 Likewise.
6743 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6744 Likewise.
6745
b4f66884
RM
67462014-10-30 Roland McGrath <roland@hack.frob.com>
6747
6748 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6749 after defining inlines. Instead, just use parens to defeat macro
6750 expansion of __isctype in its declaration.
6751
e19c95fd
JM
67522014-10-30 Joseph Myers <joseph@codesourcery.com>
6753
6754 * include/sys/uio.h (__libc_readv): Remove declaration.
6755 (__libc_writev): Likewise.
6756 * misc/readv.c (__libc_readv): Rename to __readv.
6757 (__readv): Do not define as alias.
6758 (readv): Define as alias of __readv.
6759 * misc/writev.c (__libc_writev): Rename to __writev.
6760 (__writev): Do not define as alias.
6761 (writev): Define as alias of __writev.
6762 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6763 (__readv): Do not define as alias.
6764 (readv): Define unconditionally as alias of __readv.
6765 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6766 (__writev): Do not define as alias.
6767 (writev): Define unconditionally as alias of __writev.
6768 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6769 name.
6770 (writev): Do not define __libc_writev name.
6771
65b00b6c
RM
67722014-10-30 Roland McGrath <roland@hack.frob.com>
6773
6774 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6775 (convert_charseq): New function, broken out of ...
6776 (use_from_charmap): ... here. Call it.
6777 (use_to_charmap): Use convert_charseq and free instead of duplicating
6778 its code with a variable-length stack struct.
6779
d4e157aa
JM
67802014-10-30 Joseph Myers <joseph@codesourcery.com>
6781
6782 * include/fcntl.h (__libc_creat): Remove declaration.
6783 * io/creat.c (__libc_creat): Rename to creat.
6784 (creat): Do not define as alias.
6785 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6786 of creat instead of __libc_creat.
6787 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6788 to creat.
6789 (creat): Do not define as alias.
6790 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6791 __libc_creat.
6792 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6793 __libc_creat name.
6794 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6795 Likewise.
6796
0c6891a0
CD
67972014-10-29 Carlos O'Donell <carlos@redhat.com>
6798
6799 * manual/llio.texi: Add comments discussing why write() may be
6800 considered MT-unsafe on Linux.
6801
cc00cece
CD
68022014-10-28 Carlos O'Donell <carlos@redhat.com>
6803
6804 * dl-load.c (local_strdup): Remove.
6805 (expand_dynamic_string_token): Use __strdup.
6806 (decompose_rpath): Likewise.
6807 (_dl_map_object): Likewise.
6808
51e623f2
JM
68092014-10-28 Joseph Myers <joseph@codesourcery.com>
6810
6811 [BZ #14132]
6812 * sysdeps/generic/unwind-dw2-fde.c
6813 (__register_frame_info_bases_internal): Do not declare.
6814 (__register_frame_info_table_bases_internal): Likewise.
6815 (__deregister_frame_info_bases_internal): Likewise.
6816 (__register_frame_info_bases): Declare and use hidden_proto before
6817 definition. Use hidden_def instead of INTDEF.
6818 (__register_frame_info_table_bases): Likewise.
6819 (__deregister_frame_info_bases): Likewise.
6820 (__register_frame_info): Do not use INTUSE.
6821 (__register_frame): Likewise.
6822 (__register_frame_info_table): Likewise.
6823 (__register_frame_table): Likewise.
6824 (__deregister_frame_info): Likewise.
6825 (__deregister_frame): Likewise.
6826
03d41216
GC
68272014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6828
6829 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6830 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6831 not undefine.
6832 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6833 Likewise.
6834 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6835 Likewise.
6836
a4b3624d
JM
68372014-10-27 Joseph Myers <joseph@codesourcery.com>
6838
6839 [BZ #14138]
6840 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6841 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6842 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6843 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6844 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6845 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6846 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6847 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6848 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6849 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6850 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6851 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6852 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6853 syscall.
6854 (setfsuid): Likewise.
6855 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6856 (setfsuid): Likewise.
6857 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6858 (setfsuid): Likewise.
6859 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6860 Likewise.
6861 (setfsuid): Likewise.
6862 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6863 (setfsuid): Likewise.
6864 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6865 Likewise.
6866 (setfsuid): Likewise.
6867
3574f2fd
AS
68682014-10-27 Andreas Schwab <schwab@suse.de>
6869
6870 [BZ #17501]
6871 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6872 check for Slow_SSE4_2 feature bit.
6873 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6874 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6875 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6876 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6877
70996a37
RM
68782014-10-24 Roland McGrath <roland@hack.frob.com>
6879
461a7b1e
RM
6880 * configure.ac: Validate compiler version with a empirical test of
6881 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6882 $CC -v output.
6883 * configure: Regenerated.
6884
70996a37
RM
6885 * inet/htons.c (htons): Prototypify.
6886 * inet/htonl.c (htonl): Likewise.
6887
e80514b5
WD
68882014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6889
6890 * string/strncat.c (strncat): Improve performance by using strlen.
6891
6e46de42
WD
68922014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6893
6894 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6895
6a9ad2fa
WD
68962014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6897
6898 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6899 Call libc_fetestexcept_aarch64.
6900
1c8810ed
WD
69012014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6902
6903 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6904 Call libc_feholdexcept_aarch64.
6905
8b1af712
WD
69062014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6907
6908 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6909 Call get_rounding_mode.
6910
a7b00c11
WD
69112014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6912
6913 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6914 Simplify logic.
6915
3a84f1a6
WD
69162014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6917
6918 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6919 Simplify logic.
6920
48eb7a94
JM
69212014-10-24 Joseph Myers <joseph@codesourcery.com>
6922
c8bc4038
JM
6923 [BZ #14138]
6924 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6925 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6926 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6927 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6928 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6929 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6930 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6931 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6932 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6933 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6934 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6935 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6936 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6937 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6938 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6939 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6940 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6941 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6942 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6943 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6944 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6945 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6946 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6947 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6948 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6949 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6950 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6951 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6952 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6953 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6954 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6955 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6956 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6957 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6958 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6959 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6960 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6961 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6962 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6963 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6964 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6965 syscall.
6966 (geteuid): Likewise.
6967 (getgid): Likewise.
6968 (getuid): Likewise.
6969 (getresgid): Likewise.
6970 (getresuid): Likewise.
6971 (getgroups): Likewise.
6972 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6973 (geteuid): Likewise.
6974 (getgid): Likewise.
6975 (getuid): Likewise.
6976 (getresgid): Likewise.
6977 (getresuid): Likewise.
6978 (getgroups): Likewise.
6979 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6980 (geteuid): Likewise.
6981 (getgid): Likewise.
6982 (getuid): Likewise.
6983 (getresgid): Likewise.
6984 (getresuid): Likewise.
6985 (getgroups): Likewise.
6986 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6987 Likewise.
6988 (geteuid): Likewise.
6989 (getgid): Likewise.
6990 (getuid): Likewise.
6991 (getresgid): Likewise.
6992 (getresuid): Likewise.
6993 (getgroups): Likewise.
6994 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6995 (geteuid): Likewise.
6996 (getgid): Likewise.
6997 (getuid): Likewise.
6998 (getresgid): Likewise.
6999 (getresuid): Likewise.
7000 (getgroups): Likewise.
7001 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7002 Likewise.
7003 (geteuid): Likewise.
7004 (getgid): Likewise.
7005 (getuid): Likewise.
7006 (getgroups): Likewise.
7007
48eb7a94
JM
7008 [BZ #14138]
7009 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7010 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7011 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7012 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7013 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7014 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7015 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7016 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7017 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7018 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7019 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7020 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7021 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7022 __chown.
7023 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7024 (lchown): Likewise.
7025 (fchown): Likewise.
7026 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7027 Likewise.
7028 (lchown): Likewise.
7029 (fchown): Likewise.
7030 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7031 (lchown): Likewise.
7032 (fchown): Likewise.
7033 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7034 Likewise.
7035 (lchown): Likewise.
7036 (fchown): Likewise.
7037
ea9a7c8b
WD
70382014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7039
7040 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7041 Simplify logic.
7042
e226de33
WD
70432014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7044
7045 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7046 Cleanup logic.
7047
6e3d8ed3
WD
70482014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7049
7050 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7051 Remove unused include.
7052
eb04247d
WD
70532014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7054
7055 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7056 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7057 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7058 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7059
13d84554
CD
70602014-10-23 Carlos O'Donell <carlos@systemhalted.org>
7061 Helge Deller <deller@gmx.de>
7062
7063 [BZ #17508]
7064 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7065 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7066 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7067
15f9c5df
JM
70682014-10-23 Joseph Myers <joseph@codesourcery.com>
7069
7070 [BZ #14132]
7071 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7072 Remove macro definition.
7073 (__ashrdi3_v_glibc20): Likewise.
7074 (__lshrdi3_v_glibc20): Likewise.
7075 (__cmpdi2_v_glibc20): Likewise.
7076 (__ucmpdi2_v_glibc20): Likewise.
7077 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7078 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7079 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7080 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7081 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7082 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7083
c6dfed24
RM
70842014-10-22 Roland McGrath <roland@hack.frob.com>
7085
7086 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7087 old GNU extension [0] syntax.
7088 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7089 alloca rather than an array member with variable length.
7090 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7091 * nscd/nscd.c (invalidate_db): New function, broken out of ...
7092 (parse_opt): ... here. Likewise use alloca there.
7093 Validate the -i argument before checking for rootness.
7094 (send_shutdown): New function, broken out of ...
7095 (parse_opt): ... here.
7096
8c2b1ed8
RM
70972014-10-22 Roland McGrath <roland@hack.frob.com>
7098
7099 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7100 macro to get at the _rt_local_ro field.
7101 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7102 ([PIC] case) or _dl_hwcap ([!PIC] case).
7103 * sysdeps/arm/setjmp.S: Likewise.
7104
7105 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7106 * sysdeps/arm/configure.ac: New check to define it.
7107 * sysdeps/arm/configure: Regenerated.
7108 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7109 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7110 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7111 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7112 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7113 Use move/movt pair instead of a load.
7114 (LDST_GLOBAL): Macro removed.
7115 (LDR_GLOBAL): New macro replaces it.
7116 (LDR_HIDDEN): New macro.
7117 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7118 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7119
7120 * setjmp/tst-setjmp-static.c: New file.
7121 * setjmp/Makefile (tests): Add it.
7122 (tests-static): New variable.
7123
b5af9297
MR
71242014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7125
7126 [BZ #17485]
7127 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7128
a13d0d74
JM
71292014-10-21 Joseph Myers <joseph@codesourcery.com>
7130
7131 [BZ #14132]
7132 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7133
f05e73f6
RM
71342014-10-21 Roland McGrath <roland@hack.frob.com>
7135
7136 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7137
6ab1d1ea
RM
71382014-10-20 Roland McGrath <roland@hack.frob.com>
7139
7140 * io/fts.c (dirent_not_directory): New function.
7141 (fts_build): Call it.
7142
ab49e763
RM
71432014-10-20 Roland McGrath <roland@hack.frob.com>
7144
e436eb79
RM
7145 * nptl/version.c (__nptl_main): Use normal __write rather than
7146 INTERNAL_SYSCALL.
7147 (banner): Update copyright years.
7148
6af246cf
RM
7149 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7150 gettimeofday.
7151 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7152 * nptl/pthread_cond_timedwait.c: Likewise.
7153 * nptl/pthread_mutex_timedlock.c: Likewise.
7154 * nptl/sem_timedwait.c: Likewise.
7155
ab49e763
RM
7156 * sysdeps/nptl/bits/libc-lock.h
7157 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7158 (__libc_lock_init_recursive): Return void, not 0.
7159 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7160 (__libc_rwlock_init): Likewise.
7161 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7162
f50277c1
TR
71632014-10-20 Torvald Riegel <triegel@redhat.com>
7164
7165 [BZ #15215]
7166 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7167 (__pthread_once_slow): ... here.
7168 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7169 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7170
63668b70
TR
71712014-10-20 Torvald Riegel <triegel@redhat.com>
7172
7173 [BZ #15215]
7174 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7175 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7176 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7177 * nptl/pthread_once.c (__pthread_once): Likewise.
7178 Update comments.
7179
42b7f5d4
JM
71802014-10-20 Joseph Myers <joseph@codesourcery.com>
7181
7182 [BZ #14138]
7183 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7184 name.
7185 (writev): Use __libc_writev as strong name.
7186 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7187 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7188
b0643088
RM
71892014-10-17 Roland McGrath <roland@hack.frob.com>
7190
114c4e09
RM
7191 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7192
674b8978
RM
7193 * sysdeps/i386/nptl/tls.h
7194 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7195 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7196 New macros.
7197 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7198 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7199 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7200 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7201 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7202 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7203
184ee940
RM
7204 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7205 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7206 on [__NR_futex].
7207 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7208 broken out of ...
7209 (__pthread_mutex_init): ... here. Call it.
7210 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7211 Conditionalize PI cases on [__NR_futex].
7212 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7213 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7214 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7215
327ae257
RM
7216 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7217 conditional on [SIGSETXID].
7218 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7219 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7220 is defined. Likewise for SIGSETXID.
7221 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7222 Conditionalize definitions on [SIGSETXID].
7223 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7224 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7225 unblocking on [SIGCANCEL].
7226
b0643088
RM
7227 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7228 [__NR_set_robust_list].
7229
33cc770b
SP
72302014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7231
7232 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7233 (do_compare): Likewise.
7234
0742aef6
LH
72352014-10-17 Leonhard Holz <leonhard.holz@web.de>
7236
7237 [BZ #15884]
7238 * string/strcoll_l.c: Don't include stdio.h.
7239 (coll_seq): Remove members idxarr and rulearr.
7240 (get_next_seq_cached): Remove function.
7241 (get_next_seq): Likewise.
7242 (get_next_seq_nocache): Rename to get_next_seq.
7243 (do_compare): Remove function.
7244 (do_compare_nocache): Rename to do_compare.
7245 (STRCOLL): Remove weight and rules cache.
7246
ee54ce44
RM
72472014-10-16 Roland McGrath <roland@hack.frob.com>
7248
7249 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7250 * sysdeps/arm/sfp-machine.h: ... to here.
7251 * sysdeps/arm/Implies: Remove arm/soft-fp.
7252
a75d3b02
JM
72532014-10-14 Joseph Myers <joseph@codesourcery.com>
7254
7255 * conform/data/sys/utsname.h-data (*_t): Allow.
7256 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7257 [POSIX] (WEXITED): Do not expect constant.
7258 [POSIX] (WSTOPPED): Likewise.
7259 [POSIX] (WNOHANG): Likewise.
7260 [POSIX] (WNOWAIT): Likewise.
7261 [POSIX] (siginfo_t): Do not expect type or elements.
7262 [POSIX] (pid_t): Do not expect type.
7263 [POSIX] (signal.h): Do not allow header.
7264 [POSIX] (sys/resource.h): Likewise.
7265 [POSIX] (si_*): Do not allow pattern.
7266 [POSIX] (W*): Likewise.
7267 [POSIX] (P_*): Likewise.
7268 [POSIX] (BUS_*): Likewise.
7269 [POSIX] (CLD_*): Likewise.
7270 [POSIX] (FPE_*): Likewise.
7271 [POSIX] (ILL_*): Likewise.
7272 [POSIX] (POLL_*): Likewise.
7273 [POSIX] (SEGV_*): Likewise.
7274 [POSIX] (SI_*): Likewise.
7275 [POSIX] (TRAP_*): Likewise.
7276 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7277 variable.
7278
fda389c8
SP
72792014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7280
7281 [BZ #12926]
7282 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7283 infinite loop when __recvmsg returns 0.
7284
6bc6bd3b
JM
72852014-10-10 Joseph Myers <joseph@codesourcery.com>
7286
fcb32af1
JM
7287 * CANCEL-FCT-WAIVE: Remove file.
7288 * CANCEL-FILE-WAIVE: Likewise.
7289
6bc6bd3b
JM
7290 [BZ #14132]
7291 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7292 instead of INTVARDEF.
7293 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7294 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7295 rtld_hidden_data_def instead of INTVARDEF.
7296 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7297 * elf/dl-deps.c (expand_dst): Likewise.
7298 * elf/dl-load.c (_dl_dst_count): Likewise.
7299 (_dl_dst_substitute): Likewise.
7300 (decompose_rpath): Likewise.
7301 (_dl_init_paths): Likewise.
7302 (open_path): Likewise.
7303 (_dl_map_object): Likewise.
7304 * elf/rtld.c (dl_main): Likewise.
7305 (process_dl_audit): Likewise.
7306 (process_envvars): Likewise.
7307 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7308 Remove declaration.
7309 (__libc_enable_secure): Use rtld_hidden_proto.
7310
b8c80a7e
KS
73112014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7312
7313 * elf/dl-load.c
7314 (add_path): New function broken out of _dl_rtld_di_serinfo.
7315 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7316
ff12c11f
JM
73172014-10-09 Joseph Myers <joseph@codesourcery.com>
7318
5c0508a3
JM
7319 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7320 parentheses around macro arguments.
7321 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7322 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7323 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7324 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7325 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7326 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7327 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7328 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7329 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7330 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7331 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7332 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7333 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7334 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7335 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7336 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7337 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7338 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7339 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7340 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7341 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7342 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7343 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7344 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7345 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7346 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7347 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7348 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7349 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7350 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7351 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7352 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7353 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7354 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7355 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7356 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7357 Likewise.
7358 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7359 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7360 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7361 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7362 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7363 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7364 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7365 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7366 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7367 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7368 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7369 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7370 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7371 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7372 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7373 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7374 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7375 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7376 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7377 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7378 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7379 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7380 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7381 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7382 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7383 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7384 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7385 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7386 (_FP_FRAC_SRS_1): Likewise.
7387 (_FP_FRAC_CLZ_1): Likewise.
7388 (_FP_MUL_MEAT_1_imm): Likewise.
7389 (_FP_MUL_MEAT_1_wide): Likewise.
7390 (_FP_MUL_MEAT_1_hard): Likewise.
7391 (_FP_SQRT_MEAT_1): Likewise.
7392 (_FP_FRAC_ASSEMBLE_1): Likewise.
7393 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7394 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7395 (__FP_CLZ_2): Likewise.
7396 (_FP_MUL_MEAT_2_wide): Likewise.
7397 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7398 (_FP_MUL_MEAT_2_gmp): Likewise.
7399 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7400 (_FP_SQRT_MEAT_2): Likewise.
7401 (_FP_FRAC_ASSEMBLE_2): Likewise.
7402 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7403 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7404 (_FP_FRAC_CLZ_4): Likewise.
7405 (_FP_MUL_MEAT_4_wide): Likewise.
7406 (_FP_MUL_MEAT_4_gmp): Likewise.
7407 (_FP_SQRT_MEAT_4): Likewise.
7408 (_FP_FRAC_ASSEMBLE_4): Likewise.
7409 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7410 * soft-fp/op-common.h (_FP_CMP): Likewise.
7411 (_FP_CMP_EQ): Likewise.
7412 (_FP_CMP_UNORD): Likewise.
7413 (_FP_TO_INT): Likewise.
7414 (_FP_FROM_INT): Likewise.
7415 [!__FP_CLZ] (__FP_CLZ): Likewise.
7416 (_FP_DIV_HELP_imm): Likewise.
7417 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7418 Likewise.
7419 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7420 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7421 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7422 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7423 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7424 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7425 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7426 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7427 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7428 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7429 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7430 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7431 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7432 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7433 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7434 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7435 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7436 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7437 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7438 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7439 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7440 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7441 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7442 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7443 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7444 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7445 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7446 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7447 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7448 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7449 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7450 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7451 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7452 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7453 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7454 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7455 (FP_UNPACK_RAW_SP): Likewise.
7456 (FP_PACK_RAW_S): Likewise.
7457 (FP_PACK_RAW_SP): Likewise.
7458 (FP_UNPACK_S): Likewise.
7459 (FP_UNPACK_SP): Likewise.
7460 (FP_UNPACK_SEMIRAW_S): Likewise.
7461 (FP_UNPACK_SEMIRAW_SP): Likewise.
7462 (FP_PACK_S): Likewise.
7463 (FP_PACK_SP): Likewise.
7464 (FP_PACK_SEMIRAW_S): Likewise.
7465 (FP_PACK_SEMIRAW_SP): Likewise.
7466 (_FP_SQRT_MEAT_S): Likewise.
7467 (FP_CMP_S): Likewise.
7468 (FP_CMP_EQ_S): Likewise.
7469 (FP_CMP_UNORD_S): Likewise.
7470 (FP_TO_INT_S): Likewise.
7471 (FP_FROM_INT_S): Likewise.
7472
a736ec37
JM
7473 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7474
ff12c11f
JM
7475 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7476 (FP_EX_INVALID_IMZ): Likewise.
7477 (FP_EX_INVALID_IMZ_FMA): Likewise.
7478 (FP_EX_INVALID_ISI): Likewise.
7479 (FP_EX_INVALID_ZDZ): Likewise.
7480 (FP_EX_INVALID_IDI): Likewise.
7481 (FP_EX_INVALID_SQRT): Likewise.
7482 (FP_EX_INVALID_CVI): Likewise.
7483 (FP_EX_INVALID_VC): Likewise.
7484 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7485 "invalid" exceptions.
7486 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7487 (_FP_ADD_INTERNAL): Likewise.
7488 (_FP_MUL): Likewise.
7489 (_FP_FMA): Likewise.
7490 (_FP_DIV): Likewise.
7491 (_FP_CMP_CHECK_NAN): Likewise.
7492 (_FP_SQRT): Likewise.
7493 (_FP_TO_INT): Likewise.
7494 (FP_EXTEND): Likewise.
7495
b6dcfe8c
AM
74962014-10-09 Allan McRae <allan@archlinux.org>
7497
7498 * po/fr.po: Update French translation from translation project.
7499
2d6a47ba
JM
75002014-10-09 Joseph Myers <joseph@codesourcery.com>
7501
cb831245
JM
7502 [BZ #14132]
7503 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7504 of INTDEF.
7505 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7506 (__cxa_atexit): Use libc_hidden_proto.
7507 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7508
5deeb190
JM
7509 [BZ #14132]
7510 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7511 declaration.
7512 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7513 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7514 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7515 [!_ISOMAC] (__iswctype_internal): Likewise.
7516 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7517 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7518 alias.
7519 (fcntl): Remove __fcntl_internal alias.
7520 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7521 __connect_internal alias.
7522 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7523 Likewise.
7524
454ac701
JM
7525 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7526 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7527 FP_DENORM_ZERO.
7528 (_FP_CHECK_FLUSH_ZERO): New macro.
7529 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7530 (_FP_CMP): Likewise.
7531 (_FP_CMP_EQ): Likewise.
7532 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7533 FP_DENORM_ZERO.
7534 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7535 (FP_TRUNC): Likewise.
7536
0022e688
JM
7537 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7538 treated as invalid conversion, not as normal exponent.
7539
73e28d9c
JM
7540 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7541 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7542 (_FP_CMP_EQ): Likewise.
7543 (_FP_CMP_UNORD): Likewise.
7544 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7545 (FP_CMP_EQ_D): Likewise.
7546 (FP_CMP_UNORD_D): Likewise.
7547 * soft-fp/extended.h (FP_CMP_E): Likewise.
7548 (FP_CMP_EQ_E): Likewise.
7549 (FP_CMP_UNORD_E): Likewise.
7550 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7551 (FP_CMP_EQ_Q): Likewise.
7552 (FP_CMP_UNORD_Q): Likewise.
7553 * soft-fp/single.h (FP_CMP_S): Likewise.
7554 (FP_CMP_EQ_S): Likewise.
7555 (FP_CMP_UNORD_S): Likewise.
7556 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7557 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7558 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7559 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7560 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7561 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7562 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7563 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7564 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7565 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7566 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7567 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7568 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7569 to FP_CMP_Q.
7570 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7571 FP_CMP_Q.
7572 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7573 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7574 FP_CMP_EQ_Q.
7575 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7576 FP_CMP_Q.
7577 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7578 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7579 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7580 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7581 FP_CMP_EQ_Q.
7582 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7583 FP_CMP_Q.
7584 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7585 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7586 FP_CMP_EQ_Q.
7587 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7588 FP_CMP_Q.
7589 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7590 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7591 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7592 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7593 FP_CMP_EQ_Q.
7594
43059f42
JM
7595 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7596 a subnormal result, set the underflow exception if trapping on
7597 underflow is enabled.
7598 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7599 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7600 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7601 redefine to 0.
7602 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7603 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7604 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7605 * soft-fp/extendxftf2.c (__extendxftf2): Use
7606 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7607
2d6a47ba
JM
7608 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7609 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7610 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7611 FP_HANDLE_EXCEPTIONS.
7612 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7613 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7614 FP_HANDLE_EXCEPTIONS.
7615 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7616 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7617 FP_HANDLE_EXCEPTIONS.
7618 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7619 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7620 FP_HANDLE_EXCEPTIONS.
7621
620f462e
JM
76222014-10-08 Joseph Myers <joseph@codesourcery.com>
7623
7624 [BZ #14132]
7625 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7626 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7627 use INTUSE.
7628 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7629 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7630 Remove alias.
7631 (__adjtimex): Define using libc_hidden_ver.
7632 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7633 Remove declaration.
7634 (ntp_gettime): Call __adjtimex directly.
7635 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7636 Remove declaration.
7637 (ntp_gettimex): Call __adjtimex directly.
7638 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7639 __adjtimex_internal alias.
7640
c763c5d2
RM
76412014-10-08 Roland McGrath <roland@hack.frob.com>
7642
7643 [BZ #17460]
7644 * nscd/nscd.c (more_help): Rewrite list of tables collection
7645 using xstrdup and asprintf.
7646
7647 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7648
7b8fb2b8
RM
76492014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7650 Roland McGrath <roland@hack.frob.com>
7651
7652 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7653 (do_lookup_unique): ... local function 'enter' here; update callers.
7654
abb280f7
JM
76552014-10-06 Joseph Myers <joseph@codesourcery.com>
7656
f7b42517
JM
7657 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7658 compat_symbol calls on [SHARED].
7659 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7660 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7661 Remove.
7662 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7663 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7664 (oldsetrlimit): Remove.
7665 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7667 (lchown): New syscall entry.
7668 (oldsetrlimit): Remove.
7669 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7670 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7671 (oldsetrlimit): Remove.
7672 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7673
abb280f7
JM
7674 [BZ #14138]
7675 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7676 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7677 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7678 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7679 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7680 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7681 (fchown): Likewise.
7682 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7683 (fchown): Likewise.
7684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7685 Likewise.
7686
47d46237
AZ
76872014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7688
7689 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7690 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7691 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7692 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7693 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7694 Likewise.
7695 (__old_sem_post): Likewise.
7696
76972014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 7698
845a7343
CM
7699 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7700 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7701 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7702 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7703 Use INLINE_VSYSCALL macro.
7704 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7705 __vdso_clock_gettime.
7706 * sysdeps/unix/sysv/linux/tile/init-first.c
7707 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7708 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7709 __vdso_clock_gettime.
7710
83d641ef
CM
7711 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7712 to set up frame more cleanly.
7713
d9cd52e6
CM
7714 * sysdeps/tile/memcmp.c: New file.
7715
4b68ea11
CM
7716 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7717
c86f7b80
CM
7718 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7719 * sysdeps/tile/tilegx/strcasestr.c: New file.
7720 * sysdeps/tile/tilegx/strnlen.c: New file.
7721 * sysdeps/tile/tilegx/strstr.c: New file.
7722
1c4c1a6f
CM
7723 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7724
99d86ea3
AS
77252014-10-06 Arjun Shankar <arjun.is@lostca.se>
7726
7727 * nptl/tst-setuid3.c: Write errors to stdout.
7728
06210a44
KS
77292014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7730
7731 * elf/dl-deps.c
7732 (preload): New functions broken out of _dl_map_object_deps.
7733 (_dl_map_object_deps): Remove a nested function. Update call sites.
7734
6268f532
JM
77352014-10-01 Joseph Myers <joseph@codesourcery.com>
7736
7737 [BZ #14138]
7738 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7739 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7740
b925285f
SE
77412014-10-01 Steve Ellcey <sellcey@mips.com>
7742
7743 * sysdeps/mips/strcmp.S: New.
7744
754a15c6
JM
77452014-09-30 Joseph Myers <joseph@codesourcery.com>
7746
7747 [BZ #14138]
7748 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7749 (linkat): Likewise.
7750 (mkdirat): Likewise.
7751 (readlinkat): Likewise.
7752 (renameat): Likewise.
7753 (symlinkat): Likewise.
7754 (unlinkat): Likewise.
7755 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7756 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7757 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7758 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7759 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7760 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7761 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7762
85bb81c9
WN
77632014-09-30 Will Newton <will.newton@linaro.org>
7764
dc6fe23b
WN
7765 * math/math.h: Define long double math functions if
7766 _LIBC_TEST is defined.
7767 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7768
85bb81c9
WN
7769 * localedata/Makefile: Move assignment to tests-special
7770 into an ifdef testing run-built-tests.
7771 * timezone/Makefile: Likewise.
7772
b7e02da4
JM
77732014-09-29 Joseph Myers <joseph@codesourcery.com>
7774
7775 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7776 with $(BASH) not $(SHELL).
7777
62058ce6
CD
77782014-09-29 Carlos O'Donell <carlos@redhat.com>
7779 Matthew LeGendre <legendre1@llnl.gov>
7780
7781 [BZ #17411]
7782 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7783 l_reloc_result.
7784
8e257a29
KS
77852014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7786
7787 * stdio-common/printf_fp.c
7788 (hack_digit): New function, broken out of ...
7789 (__printf_fp): ... local function here. Update call sites.
7790 hack_digit now takes an additional parameter that is a pointer
7791 to a struct of the referenced locals. Those locals moved inside
7792 the struct and references updated.
7793
f4a58f0d
L
77942014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7795
7796 * aclocal.m4: Require autoconf 2.69.
7797 * configure: Regenerated.
7798 * sysdeps/aarch64/configure: Likewise.
7799 * sysdeps/alpha/configure: Likewise.
7800 * sysdeps/arm/armv7/configure: Likewise.
7801 * sysdeps/arm/configure: Likewise.
7802 * sysdeps/ia64/configure: Likewise.
7803 * sysdeps/mach/configure: Likewise.
7804 * sysdeps/mips/configure: Likewise.
7805 * sysdeps/s390/configure: Likewise.
7806 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7808
7809 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7810 file.
7811 * sysdeps/ia64/configure.ac: Likewise.
7812
93ae1eba
JM
78132014-09-26 Joseph Myers <joseph@codesourcery.com>
7814
1810d3ab
JM
7815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7816 specify symbol version for ld.so. Do not include entry for
7817 libpthread.
7818 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7819 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7820 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7821
93ae1eba
JM
7822 [BZ #14171]
7823 * Makeconfig [$(build-shared) = yes]
7824 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7825 makefiles.
7826 [$(build-shared) = yes && $(soversions.mk-done) = t]
7827 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7828 [$(build-shared) = yes && $(soversions.mk-done) = t]
7829 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7830 to Makerules.
7831 [$(build-shared) = yes && $(soversions.mk-done) = t]
7832 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7833 here.
7834 [$(build-shared) = yes && $(soversions.mk-done) = t]
7835 (common-generated): Don't append gnu/lib-names.h and
7836 gnu/lib-names.stmp here.
7837 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7838 (lib-names-h-abi): New variable.
7839 [$(build-shared) = yes && $(soversions.mk-done) = t]
7840 (lib-names-stmp-abi): Likewise.
7841 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7842 abi-variants] (before-compile): Append
7843 $(common-objpfx)$(lib-names-h-abi).
7844 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7845 abi-variants] (common-generated): Append gnu/lib-names.h.
7846 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7847 abi-variants] (install-others-nosubdir): Depend on
7848 $(inst_includedir)/$(lib-names-h-abi).
7849 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7850 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7851 [$(build-shared) = yes && $(soversions.mk-done) = t]
7852 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7853 [$(build-shared) = yes && $(soversions.mk-done) = t]
7854 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7855 [$(build-shared) = yes && $(soversions.mk-done) = t]
7856 (common-generated): Append $(lib-names-h-abi) and
7857 $(lib-names-stmp-abi).
7858 * scripts/lib-names.awk: Do not handle multi being set.
7859 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7860 Remove variable.
7861 (abi-lp64_be-ld-soname): Likewise.
7862 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7863 Likewise.
7864 (abi-hard-ld-soname): Likewise.
7865 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7866 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7867 Remove variable.
7868 (abi-o32_hard-ld-soname): Likewise.
7869 (abi-o32_soft_2008-ld-soname): Likewise.
7870 (abi-o32_hard_2008-ld-soname): Likewise.
7871 (abi-n32_soft-ld-soname): Likewise.
7872 (abi-n32_hard-ld-soname): Likewise.
7873 (abi-n32_soft_2008-ld-soname): Likewise.
7874 (abi-n32_hard_2008-ld-soname): Likewise.
7875 (abi-n64_soft-ld-soname): Likewise.
7876 (abi-n64_hard-ld-soname): Likewise.
7877 (abi-n64_soft_2008-ld-soname): Likewise.
7878 (abi-n64_hard_2008-ld-soname): Likewise.
7879 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7880 Likewise.
7881 (abi-64-v2-ld-soname): Likewise.
7882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7883 ld.so entries.
7884 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7885 variable.
7886 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7887 entry.
7888 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7889 variable.
7890 (abi-64-ld-soname): Likewise.
7891 (abi-x32-ld-soname): Likewise.
7892 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7893 entry.
7894 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7895
68870f12
JM
78962014-09-23 Joseph Myers <joseph@codesourcery.com>
7897
7898 [BZ #14138]
7899 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7900 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7901 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7902 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7903 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7904 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7905 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7906 syscall entry for GLIBC_2.2 symbol version.
7907 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7908 Likewise.
7909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7910 (setrlimit): Likewise.
7911 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7912 Likewise.
7913
ea58f202
WN
79142014-09-23 Will Newton <will.newton@linaro.org>
7915
7916 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7917 _LINUX_ARM_SYSDEP_H include guard too.
7918 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7919 define.
7920
69eb9a18
RV
79212014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7922
7923 * sysdeps/unix/sysv/linux/eventfd.c:
7924 Make first argument unsigned.
7925 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7926 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7927
20e5a5f7
OB
79282014-09-20 Ondřej Bílka <neleai@seznam.cz>
7929
7930 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7931 * socket/sys/socket.h: Likewise
7932 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7933
d3c827e7
AK
79342014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7935
7936 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7937
fe1cc35a
AS
79382014-09-17 Arjun Shankar <arjun.is@lostca.se>
7939
7940 * time/tst-ftime.c: New test.
7941 * time/Makefile (tests): Add tst-ftime.
7942
4e8afe69
JM
79432014-09-17 Joseph Myers <joseph@codesourcery.com>
7944
c4fe3ea7
JM
7945 * soft-fp/extended.h: Fix comment formatting.
7946 * soft-fp/op-1.h: Likewise.
7947 * soft-fp/op-2.h: Likewise.
7948 * soft-fp/op-4.h: Likewise.
7949 * soft-fp/op-8.h: Likewise.
7950 * soft-fp/op-common.h: Likewise.
7951 * soft-fp/soft-fp.h: Likewise.
7952
4e8afe69
JM
7953 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7954
af296fcd
JM
79552014-09-16 Joseph Myers <joseph@codesourcery.com>
7956
7957 [BZ #6652]
7958 * Makeconfig (soversions-default-setname): Remove variable.
7959 ($(common-objpfx)soversions.i): Don't pass default_setname to
7960 soversions.awk.
7961 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7962 oldest_abi to abi-versions.awk.
7963 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7964 * config.make.in (oldest-abi): Remove variable.
7965 * configure.ac (--enable-oldest-abi): Remove configure option.
7966 * configure: Regenerated.
7967 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7968 text.
7969 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7970 * scripts/soversions.awk: Do not handle default_setname variable.
7971 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7972 variable.
7973 * sysdeps/mach/hurd/configure: Regenerated.
7974 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7975 variable.
7976 * sysdeps/unix/sysv/linux/configure: Regenerated.
7977
545583d6
SP
79782014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7979
d330b980
SP
7980 * elf/Makefile (CFLAGS-interp.c): Remove.
7981 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7982 path string.
7983 * elf/interp.c: Include generated runtime-linker.h
7984
02657da2
SP
7985 * Makerules (lib%.so): Don't include $(+interp) in
7986 prerequisites.
7987 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7988 * dlfcn/eval.c: Remove file.
7989
653b1080
SP
7990 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7991 macros.
7992
602f80ec
SP
7993 [BZ #17266]
7994 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7995 4.2 and newer.
7996
545583d6
SP
7997 [BZ #17370]
7998 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7999
884ddc50
SP
80002014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8001 Jakub Jelinek <jakub@redhat.com>
8002
8003 [BZ #17266]
8004 * libio/stdio.h: Check definition of __fortify_function
8005 instead of __extern_always_inline to include bits/stdio2.h.
8006 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8007 check if __extern_always_inline is defined.
8008 [__USE_MISC || __USE_XOPEN]: Likewise.
8009 [__USE_ISOC99] Likewise.
8010 * misc/sys/cdefs.h (__fortify_function): Define only if
8011 __extern_always_inline is defined.
8012 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8013 __extern_always_inline and __extern_inline only for g++-4.3
8014 and newer or a compatible gcc.
8015
a7b87268
AS
80162014-09-15 Andreas Schwab <schwab@linux-m68k.org>
8017
8018 [BZ #17371]
8019 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8020 last change to handle zero prefix length.
8021
3f41521d
SP
80222014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8023
61fe374a
SP
8024 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8025 _SC_REGEX_VERSION.
8026
3f41521d
SP
8027 * posix/getconf.c (vars): Add _POSIX_IPV6 and
8028 _POSIX_RAW_SOCKETS.
8029
d8f879ee
AM
80302014-09-13 Allan McRae <allan@archlinux.org>
8031
8032 * po/ru.po: Update Russian translation from translation project.
8033
c079afb7
RM
80342014-09-12 Roland McGrath <roland@hack.frob.com>
8035
a62b3c15
RM
8036 * locale/programs/locale.c (show_locale_vars): Inline local function
8037 into its sole call site. Clean up some style nits.
8038 (print_item): New function, broken out of ...
8039 (show_info): ... local function here. Clean up style nits.
8040
d7e49b19
RM
8041 * locale/programs/ld-ctype.c (set_one_default): New function, broken
8042 out of ...
8043 (set_class_defaults): ... local function set_default here.
8044 Define set_default as a macro locally to pass constant parameters.
8045 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8046 rather than a shared local.
8047
c079afb7
RM
8048 * stdlib/rpmatch.c (try): New function, broken out of ...
8049 (rpmatch): ... local function here. Also, prototypify definition.
8050
0bd72468
JM
80512014-09-12 Joseph Myers <joseph@codesourcery.com>
8052
ba90e050
JM
8053 * scripts/soversions.awk: Do not handle configuration names.
8054 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8055 vendor and os variables to soversions.awk.
8056 * configure.ac: Do not modify gnu-* host_os.
8057 * configure: Regenerated
8058 * shlib-versions: Remove first column with configuration names.
8059 * nptl/shlib-versions: Likewise.
8060 * nptl_db/shlib-versions: Likewise.
8061 * sysdeps/hppa/shlib-versions: Likewise.
8062 * sysdeps/m68k/shlib-versions: Likewise.
8063 * sysdeps/mach/hurd/shlib-versions: Likewise.
8064 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8065 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8066 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8067 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8068 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8069 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8070 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8071 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8073 Likewise.
8074 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8075 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8076 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8077 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8078 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8079 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8080 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8081 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8082
73a39112
JM
8083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8084 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8086 Regenerated.
8087 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8089 Condition symbol version definitions on [HAVE_ELFV2_ABI].
8090
c729e7c1
JM
8091 * shlib-versions: Remove OS-specific entries. Moved to files in
8092 sysdeps.
8093 * sysdeps/mach/hurd/shlib-versions: New file.
8094 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8095
dc932a24
JM
8096 * nptl/shlib-versions: Remove architecture-specific entries.
8097 Moved to files in sysdeps.
8098 * shlib-versions: Likewise.
8099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8100 file.
8101 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8102 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8103 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8104 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8105
0bd72468
JM
8106 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8107 (UDP_NO_CHECK6_RX): Likewise.
8108
920238e0
SP
81092014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8110
8111 * sysdeps/posix/sysconf.c (__sysconf): Spell
8112 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8113
ba7b4d29
FW
81142014-08-12 Florian Weimer <fweimer@redhat.com>
8115
8116 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8117 loading.
8118 * iconv/Versions (__gconv_transliterate): Export for use from
8119 gconv modules.
8120 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8121 (struct __gconv_trans_data, __gconv_trans_fct,
8122 __gconv_trans_context_fct, __gconv_trans_query_fct,
8123 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8124 definitions.
8125 (struct __gconv_step_data): Remove __trans member.
8126 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8127 longer hidden. Remove unused trans_data argument.
8128 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8129 (__gconv_translit_find): Remove declaration.
8130 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8131 prototype.
8132 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8133 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8134 trans_data argument. Add hidden definition.
8135 (__gconv_translit_find): Remove.
8136 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8137 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8138 * iconv/skeleton.c: Remove transliteration initialization.
8139 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8140 __gconv_step_data initialization.
8141 * libio/iofwide.c (__libio_translit_): Remove.
8142 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8143 * wcsmbs/btowc.c (__btowc): Likewise.
8144 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8145 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8146 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8147 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8148 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8149 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8150 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8151 * wcsmbs/wctob.c (wctob): Likewise.
8152
5379aebd
SP
81532014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8154
8155 [BZ #16194]
8156 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8157 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8158 register usage.
8159 * sysdeps/x86/Makefile: Adjust.
8160
8c0ab919
RM
81612014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8162 Roland McGrath <roland@hack.frob.com>
8163
8164 * locale/weight.h: Add include guard.
8165 (findidx): Make static rather than auto; take new parameters
8166 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8167 * locale/weightwc.h: Likewise.
8168 * posix/fnmatch_loop.c
8169 (FCT): Change type of EXTRA from int32_t to wint_t.
8170 Don't include either header inside the function.
8171 Call FINDIDX rather than findidx, and pass new arguments.
8172 #undef FINDIDX at the end of the file.
8173 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8174 FINDIDX before including fnmatch_loop.c for the non-wide version.
8175 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8176 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8177 for the wide version.
8178 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8179 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8180 Pass new arguments to findidx.
8181 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8182 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8183 Don't #include it inside the function. Pass new arguments to findidx.
8184 * posix/regex_internal.h
8185 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8186 (re_string_elem_size_at): Don't #include it inside the function.
8187 Pass new arguments to findidx.
8188 * string/strcoll_l.c: #include WEIGHT_H at top level.
8189 (get_next_seq): Don't #include it inside the function.
8190 Pass new arguments to findidx.
8191 (get_next_seq_nocache): Likewise.
8192 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8193 (STRXFRM): Don't #include it inside the function.
8194 Pass new arguments to findidx.
8195
52ffbdf2
FW
81962014-09-11 Florian Weimer <fweimer@redhat.com>
8197
8198 [BZ #17344]
8199 * malloc/malloc.c (unlink): Turn asserts into a call to
8200 malloc_printerr.
8201
984c0ea9
TL
82022014-09-11 Tim Lammens <tim.lammens@gmail.com>
8203
8204 [BZ #17370]
8205 * libio/wfileops (do_ftell_wide): Free OUT.
8206
3daee107
CM
82072014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8208
8209 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8210
58b930ae
SP
82112014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8212
8213 [BZ #17363]
8214 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8215 group if the current group is empty.
8216
3b473fec
AZ
82172014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8218
71ae8647
AZ
8219 * benchtests/bench-memset.c (test_main): Add more test from size
8220 from 32 to 512 bytes.
8221 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8222 Add POWER8 memset object.
8223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8224 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8225 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8226 implementation.
8227 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8228 Likewise.
8229 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8230 multiarch POWER8 memset optimization.
8231 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8232 POWER8 memset optimization.
8233
3b473fec
AZ
8234 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8235 Remove bzero multiarch objects.
8236 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8237 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8238 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8239 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8240 Remove define.
8241 [__bzero]: Redefine to specific name.
8242 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8243 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8244 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8245 define.
8246 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8247 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8248
e6fb9587
FW
82492014-09-10 Florian Weimer <fweimer@redhat.com>
8250
8251 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8252 warnings into errors.
8253
8254 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8255 __cxa_thread_atexit_impl prototype.
8256
9d3a350b
SE
82572014-09-09 Steve Ellcey <sellcey@mips.com>
8258
8259 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8260 Fix capitalization of error message.
8261
0febba23
SE
82622014-09-09 Steve Ellcey <sellcey@mips.com>
8263
8264 * sysdeps/mips/preconfigure: Modify ABI tests.
8265
645a0e9c
CD
82662014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8267
8268 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8269
d83f0734
CD
82702014-09-07 Roland McGrath <roland@hack.frob.com>
8271 Carlos O'Donell <carlos@systemhalted.org>
8272
8273 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8274 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8275 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8276 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8277 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8278 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8279 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8280 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8281 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8282 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8283 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8284 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8285 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8286 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8287 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8288 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8289 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8290 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8291 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8292 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8293 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8294 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8295 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8296 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8297 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8298 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8299 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8300 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8301 Deconditionalize the code that was previously under [RESET_PID].
8302 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8303 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8304 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8305 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8306 include sysdep.h.
8307
21c83793
AM
83082014-09-08 Allan McRae <allan@archlinux.org>
8309
8310 * version.h (RELEASE): Set to "development".
8311 (VERSION): Set to "2.20.90"
8312
1cd9b65c
AM
83132014-09-07 Allan McRae <allan@archlinux.org
8314
b8079dd0
AM
8315 * version.h (RELEASE): Set to "stable".
8316 (VERSION): Set to "2.20"
8317 * include/features.h (__GLIBC_MINOR__): Set to 20.
8318
c46303ef
AM
8319 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8320 Liebler.
8321
1cd9b65c
AM
8322 * po/ko.po: Update Korean translation from translation project.
8323
8622092d
CM
83242014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8325
8326 [BZ #17354]
8327 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8328 macro for handling signed relocations.
8329
41488498
FW
83302014-09-03 Florian Weimer <fweimer@redhat.com>
8331
8332 [BZ #17325]
8333 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8334 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8335 assert.
8336 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8337 * iconvdata/ibm935.c (BODY): Likewise.
8338 * iconvdata/ibm937.c (BODY): Likewise.
8339 * iconvdata/ibm939.c (BODY): Likewise.
8340 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8341 assert.
8342 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8343 script.
8344 * iconvdata/run-iconv-test.sh: New test loop for checking for
8345 decoder crashers.
8346
a78b712d
KR
83472014-09-02 Khem Raj <raj.khem@gmail.com>
8348
8349 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8350 libm_hidden_ver.
8351
cb08abc6
AM
83522014-09-01 Allan McRae <allan@archlinux.org>
8353
2c31e102
AM
8354 * po/eo.po: Update Esperanto translation from translation project.
8355
cb08abc6
AM
8356 * po/ca.po: Update Catalan translation from translation project.
8357
17a62de1
ST
83582014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8359
8360 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8361 __proc_dostop call.
8362
9570bc53
MW
83632014-08-27 Mark Wielaard <mjw@redhat.com>
8364
8365 [BZ #17319]
8366 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8367 to call set_thread_area instead of hand written asm.
8368 (__NR_set_thread_area): Removed define.
8369 (TLS_FLAG_WRITABLE): Likewise.
8370 (__ASSUME_SET_THREAD_AREA): Remove check.
8371 (TLS_EBX_ARG): Remove define.
8372 (TLS_LOAD_EBX): Likewise.
8373
b0f955c9
ST
83742014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8375
8376 Simplify atomicity of socket creation in bind.
8377
8378 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8379 looking up the name after linking the file.
8380
529bf515
AM
83812014-08-27 Allan McRae <allan@archlinux.org>
8382
8383 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8384
a1a6a401
FW
83852014-08-26 Florian Weimer <fweimer@redhat.com>
8386
8387 [BZ #17187]
8388 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8389 trans_compare, open_translit, __gconv_translit_find):
8390 Remove module loading code.
8391
686ab290
AM
83922014-08-26 Allan McRae <allan@archlinux.org>
8393
e4e7cfd2
AM
8394 * po/vi.po: Update Vietnamese translation from translation project.
8395
6aa09f71
AM
8396 * po/uk.po: Update Ukrainian translation from translation project.
8397
edc0660e
AM
8398 * po/fr.po: Update French translation from translation project.
8399
7eea72ac
AM
8400 * po/ru.po: Update Russian translation from translation project.
8401
93c49eff
AM
8402 * po/pl.po: Update Polish translation from translation project.
8403
46acaf63
AM
8404 * po/cs.po: Update Czech translation from translation project.
8405
a9f5ce98
AM
8406 * po/de.po: Update German translation from translation project.
8407
373f2b78
AM
8408 * po/bg.po: Update Bulgarian translation from translation project.
8409
e7548bd8
AM
8410 * po/sv.po: Update Sweedish translation from translation project.
8411
c526bf4d
AM
8412 * po/nl.po: Update Dutch translation from translation project.
8413
686ab290
AM
8414 * po/es.po: Update Spanish translation from translation project.
8415
eb72478a
SP
84162014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8417
dd763fdb
SP
8418 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8419
318c7a58
SP
8420 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8421 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8422 (CPPFLAGS-iconvconfig): Likewise.
8423 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8424
eb72478a
SP
8425 * include/libc-symbols.h: Remove unnecessary check for
8426 NOT_IN_libc.
8427 * nptl/pthreadP.h: Likewise.
8428 * sysdeps/aarch64/setjmp.S: Likewise.
8429 * sysdeps/alpha/setjmp.S: Likewise.
8430 * sysdeps/arm/sysdep.h: Likewise.
8431 * sysdeps/i386/setjmp.S: Likewise.
8432 * sysdeps/m68k/setjmp.c: Likewise.
8433 * sysdeps/posix/getcwd.c: Likewise.
8434 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8435 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8436 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8437 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8438 * sysdeps/sh/sh3/setjmp.S: Likewise.
8439 * sysdeps/sh/sh4/setjmp.S: Likewise.
8440 * sysdeps/unix/alpha/sysdep.h: Likewise.
8441 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8442 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8443 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8444 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8447 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8448 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8449 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8450 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8451 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8452 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8453 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8454 * sysdeps/x86_64/setjmp.S: Likewise.
8455
d44a052c
JM
84562014-08-13 Joseph Myers <joseph@codesourcery.com>
8457
8458 [BZ #17263]
8459 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8460 <stdint.h>.
8461 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8462 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8463
508ce3ac
SP
84642014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8465
e44c8b0e
SP
8466 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8467
508ce3ac
SP
8468 [BZ #17262]
8469 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8470 and __x86_64__ when disabling x87 inline functions.
8471
b4acef1f
L
84722014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8473
8474 [BZ #17259]
8475 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8476 asm statement with __cpuid_count.
8477
61b1ef6e
MF
84782014-08-12 Mike Frysinger <vapier@gentoo.org>
8479
8480 * configure.ac: Change __ehdr_start code to dereference the struct.
8481 Run readelf on the output to look for relocations.
8482 * configure: Regenerated.
8483
898c62f4
JM
84842014-08-12 Joseph Myers <joseph@codesourcery.com>
8485
8486 [BZ #17261]
8487 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8488 value to 0.
8489 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8490
9a8a5720
RM
84912014-08-12 Roland McGrath <roland@hack.frob.com>
8492
8493 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8494
4e75751c
BO
84952014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8496
8497 [BZ #16892]
8498 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8499 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8500
bb2ce416
SA
85012014-08-12 Sean Anderson <seanga2@gmail.com>
8502
8503 * malloc/malloc.c: Fix typo in comment.
8504
7950a4ee
AM
85052014-08-09 Allan McRae <allan@archlinux.org>
8506
8507 * Regenerate libc.po.
8508
f469c49f
MF
85092014-08-08 Mike Frysinger <vapier@gentoo.org>
8510
8511 * intl/tst-gettext2.sh: Check every lang file for creation.
8512
656b84c2
WD
85132014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8514
8515 * sysdeps/aarch64/fpu/math_private.h
8516 (libc_feholdsetround_noex_aarch64_ctx): New function.
8517
538e9e45
W
85182014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8519
8520 * sysdeps/arm/armv6/strcpy.S (strcpy):
8521 Fix performance issue in misaligned cases.
8522
d4795e4a
AZ
85232014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8524
8525 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8526 Move definition from termios.h.
8527 (struct termio): Likewise.
8528 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8529 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8530 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8531 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8532 Likewise.
8533 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8534 Move definition to ioctl-types.h
8535 (struct termio): Likewise.
8536 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8537 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8538 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8539 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8540 Likewise.
8541
64accb62
RH
85422014-08-05 Richard Henderson <rth@redhat.com>
8543
27bb6dc0
RH
8544 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8545 exceptions.
8546 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8547 Add fraiseexcpt.
8548 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8549 Use __feraiseexcept.
8550 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8551 Protect libm symbols with IS_IN_libm.
8552
64accb62
RH
8553 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8554
e5292691
BO
85552014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8556
8557 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8558
5b4bd2d4
WN
85592014-08-04 Will Newton <will.newton@linaro.org>
8560
8561 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8562 file.
8563
fcadaeef
MF
85642014-08-04 Mike Frysinger <vapier@gentoo.org>
8565
8566 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8567 variants for each function.
8568
43a94c64
RM
85692014-08-04 Roland McGrath <roland@hack.frob.com>
8570
8571 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8572 appended ...
8573 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8574 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8575 appended ...
8576 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8577 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8578 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8579 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8580 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8581 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8582 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8583 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8584 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8585 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8586 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8587 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8588 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8589 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8590 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8591 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8592 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8593 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8594 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8595 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8596 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8597 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8598 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8599 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8600 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8601 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8602 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8603 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8604 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8605 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8606 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8607 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8608 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8609 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8610 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8611 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8612 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8613 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8614 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8615 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8616 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8617 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8618 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8619 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8620 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8621 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8622 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8623 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8624 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8625 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8626 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8627 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8628 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8629 Update #include.
8630 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8631 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8632
8f3c1fa4
RM
86332014-08-04 Roland McGrath <roland@hack.frob.com>
8634
8635 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8636 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8637 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8638 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8639 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8640 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8641
ca08746f
RM
86422014-08-04 Roland McGrath <roland@hack.frob.com>
8643
8644 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8645 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8646 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8647 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8648
9c925ff9
RM
86492014-08-04 Roland McGrath <roland@hack.frob.com>
8650
8651 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8652 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8653 (__libc_vfork): Define function under this name.
8654 (__vfork): Define as an alias.
8655 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8656 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8657
e641054c
RM
86582014-08-04 Roland McGrath <roland@hack.frob.com>
8659
8660 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8661 that was previously under [RESET_PID].
8662 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8663
dacdc867
AS
86642014-08-04 Andreas Schwab <schwab@suse.de>
8665
8666 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8667
41f725ff
MF
86682014-08-03 Mike Frysinger <vapier@gentoo.org>
8669
8670 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8671 (main): Likewise.
8672
277cfb31
RM
86732014-08-01 Roland McGrath <roland@hack.frob.com>
8674
8675 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8676
4896f049
RH
86772014-08-01 Richard Henderon <rth@redhat.com>
8678
8679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8680 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8681 typo in exact zero test.
8682 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8683 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8684 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8685
6f64e7d7
RM
86862014-08-01 Roland McGrath <roland@hack.frob.com>
8687
8688 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8689 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8690 * sysdeps/arm/sysdep.h: ... here.
8691 [!__ASSEMBLER__]: Include <stdint.h>.
8692
3f3dd810
SP
86932014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8694
a476ac4b
SP
8695 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8696 (HAVE_WCTYPE_H): Likewise.
8697 (HAVE_ISWCTYPE): Likewise.
8698 (ENABLE_NLS): Likewise.
8699 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8700 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8701
78dd658a
SP
8702 * posix/regex_internal.c: Check if DEBUG is defined and is
8703 set.
8704
3f3dd810
SP
8705 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8706 (HAVE_MBSRTOWCS): Likewise.
8707 * posix/fnmatch.c: Include string.h unconditionally.
8708
95ee7fb1
SL
87092014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8710
8711 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8712 reversal.
8713
23fe486b
RM
87142014-07-31 Roland McGrath <roland@hack.frob.com>
8715
f61a113f
RM
8716 * sysdeps/generic/safe-fatal.h: New file.
8717 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8718 * nptl/forward.c: Include it.
8719 (__pthread_unwind): Use __safe_fatal as default action, rather
8720 than a bogus use of INTERNAL_SYSCALL that could never work.
8721
9fe7e787
RM
8722 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8723 * configure.ac (libc_cv_builtin_trap): New test.
8724 * configure: Regenerated.
8725 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8726 (ABORT_INSTRUCTION): Define using __builtin_trap.
8727
23fe486b
RM
8728 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8729 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8730 * sysdeps/nptl/nptl-signals.h: New file.
8731 * nptl/pthreadP.h: Include <nptl-signals.h>.
8732
f349489e
SL
87332014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8734
8735 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8736 (ONE_DIRECTION): Define.
8737 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8738 (ONE_DIRECTION): Define.
8739 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8740 (ONE_DIRECTION): Define.
8741
2f438e20
SL
87422014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8743
8744 * sysdeps/s390/Makefile: Delete file.
8745 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8746 * sysdeps/s390/__longjmp.c: Delete file.
8747 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8748 Remove fields __flags and __reserved.
8749 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8750 and add versioning.
8751 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8752 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8753 * sysdeps/s390/rtld-setjmp.S: Likewise.
8754 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8755 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8756 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8757 * sysdeps/s390/s390-32/setjmp.S: ... here.
8758 Add versioning.
8759 (__sigsetjmp): Remove setting __flags field.
8760 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8761 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8762 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8763 * sysdeps/s390/s390-64/setjmp.S: ... here.
8764 Add versioning.
8765 (__sigsetjmp): Remove setting __flags field.
8766 * sysdeps/s390/setjmp.S: Delete file.
8767 * sysdeps/s390/sigjmp.c: Likewise.
8768 * sysdeps/s390/v1-longjmp.c: Likewise.
8769 * sysdeps/s390/v1-setjmp.h: Likewise.
8770 * sysdeps/s390/v1-sigjmp.c: Likewise.
8771 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8772 Remove v1-longjmp_chk.
8773 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8774 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8775 Include debug/longjmp_chk.c and add versioning.
8776 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8777 Include nptl/pt-longjmp.c and add versioning.
8778 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8779 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8780 Include __longjmp.c.
8781 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8782 Move to ...
8783 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8784 (__getcontext): Remove setting __flags field.
8785 Add versioning.
8786 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8787 Don't restore upper high grps.
8788 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8789 Likewise.
8790 (__swapcontext): Remove setting uc_flags field.
8791 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8792 Delete file.
8793 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8794 Include __longjmp.c.
8795 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8796 Move to ...
8797 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8798 (__getcontext): Remove setting __flags field.
8799 Add versioning.
8800 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8801 (__swapcontext): Remove setting uc_flags field.
8802 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8803 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8804 Remove fields uc_high_gprs and __reserved.
8805 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8806 New file with reverted content.
8807 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8808 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8809 Regenerated.
8810 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8811 Regenerated.
8812
6c9578a2
AS
88132014-07-31 Andreas Schwab <schwab@suse.de>
8814
8815 * config.h.in (HAVE_IFUNC): Define to 0.
8816 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8817 definedness.
8818
05f3633d
LM
88192014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8820
8821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8822 memmove-avx-unaligned, memcpy-avx-unaligned and
8823 mempcpy-avx-unaligned.
8824 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8825 Add tests for AVX memcpy functions.
8826 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8827 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8828 memcpy_chk.
8829 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8830 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8831 memmove_chk.
8832 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8833 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8834 mempcpy_chk.
8835 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8836 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8837 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8838
a53fbd8e
AZ
88392013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8840
8841 [BZ #17213]
8842 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8843 powerpc64le.
8844
0961f7e1
JL
88452014-07-29 Jeff Layton <jlayton@poochiereds.net>
8846
8847 [BZ #16839]
8848 * manual/llio.texi: Add section about open file description locks.
8849 * manual/examples/ofdlocks.c: Example of open file description
8850 lock usage.
8851 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8852 F_OFD_SETLK, and F_OFD_SETLKW.
8853
cc5fb300
AM
88542014-07-23 Allan McRae <allan@archlinux.org>
8855
8856 * po/es.po: Update Spanish translation from translation project.
8857
23329dca
AS
88582014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8859
8860 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8861
9c82da17
MR
88622014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8863
8864 [BZ #17078]
8865 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8866 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8867 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8868
29c4f53e
JM
88692014-07-17 Joseph Myers <joseph@codesourcery.com>
8870
831b9896
JM
8871 [BZ #17088]
8872 * math/fesetenv.c (__fesetenv)
8873 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8874 * math/feupdateenv.c (__feupdateenv)
8875 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8876
b21c2d50
JM
8877 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8878 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8879 (__ASSUME_SOCKETCALL): Do not define.
8880
067764ef
JM
8881 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8882 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8883 (__ASSUME_SOCKETCALL): Do not define.
8884 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8885 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8886 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8887 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8888 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8889 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8890 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8891 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8892
642530c1
JM
8893 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8894 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8895 (__ASSUME_SOCKETCALL): Do not define.
8896 (__ASSUME_IPC64): Define unconditionally.
8897 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8898 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8899 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8900 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8901 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8902 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8903 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8904 Likewise.
8905
03f77315
JM
8906 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8907 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8908 (__ASSUME_SOCKETCALL): Do not define.
8909 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8910 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8911 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8912 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8913 (__ASSUME_REQUEUE_PI): Define unconditionally.
8914 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8915 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8916 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8917 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8918 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8919 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8920
083b1f7c
JM
8921 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8922 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8923 (__ASSUME_SOCKETCALL): Do not define.
8924 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8925 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8926 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8927 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8928 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8929 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8930
5be44ea6
JM
8931 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8932 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8933 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8934 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8935 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8936 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8937 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8938 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8939 (__ASSUME_GETCPU_SYSCALL): Likewise.
8940
d95ffd4c
JM
8941 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8942 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8943 cases for individual architectures.
8944 * sysdeps/gnu/configure: Regenerated.
8945 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8946 LIBC_SLIBDIR_RTLDDIR.
8947 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8948 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8949 LIBC_SLIBDIR_RTLDDIR.
8950 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8952 LIBC_SLIBDIR_RTLDDIR.
8953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8954 Regenerated.
8955 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8956 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8957 file.
8958 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8959 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8960 file.
8961 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8962 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8963 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8964 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8965
29c4f53e
JM
8966 * sysdeps/aarch64/shlib-versions: Move to ...
8967 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8968 * sysdeps/alpha/shlib-versions: Move to ...
8969 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8970 * sysdeps/arm/shlib-versions: Move to ...
8971 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8972 * sysdeps/hppa/shlib-versions: Move all contents except for
8973 libgcc_s entry to ...
8974 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8975 entry from ...
8976 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8977 * sysdeps/ia64/shlib-versions: Move to ...
8978 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8979 entry from ...
8980 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8981 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8982 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8983 * sysdeps/microblaze/shlib-versions: Move to ...
8984 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8985 * sysdeps/mips/shlib-versions: Move to ...
8986 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8987 entry from ...
8988 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8989 * sysdeps/tile/shlib-versions: Move to ...
8990 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8991 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8992 from ...
8993 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8994 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8995 entry from ...
8996 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8997
32bead5b
WN
89982014-07-17 Will Newton <will.newton@linaro.org>
8999
57977c4b
WN
9000 * sysdeps/arm/bits/atomic.h
9001 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9002 (__arch_compare_and_exchange_bool_16_int): Likewise.
9003 (__arch_compare_and_exchange_bool_64_int): Likewise.
9004
32bead5b
WN
9005 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9006 into an #else block.
9007
37fccd41
RM
90082014-07-16 Roland McGrath <roland@hack.frob.com>
9009
9010 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9011 just Linux configurations. Test empirically that the compiler sets
9012 __ARM_EABI__, rather than using the tuple to decide.
9013 * sysdeps/arm/preconfigure: Regenerated.
9014 * sysdeps/unix/sysv/linux/arm/configure: File removed.
9015 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9016 contents appended ...
9017 * sysdeps/arm/configure.ac: ... here.
9018 * sysdeps/arm/configure: Regenerated.
9019
b365f3ec
RM
90202014-07-15 Roland McGrath <roland@hack.frob.com>
9021
8badf496
RM
9022 * nptl/pthread_kill.c: New file.
9023 * nptl/pthread_sigmask.c: New file.
9024 * nptl/pthread_sigqueue.c: New file.
9025
3df6f22e
RM
9026 * sysdeps/nptl/lowlevellock.h: New file.
9027 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9028 * sysdeps/nptl/lowlevellock-futex.h: New file.
9029
b365f3ec
RM
9030 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9031 Remove dead declarations.
9032
f2fef657
L
90332014-07-14 H.J. Lu <hongjiu.lu@intel.com>
9034
9035 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9036 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9037 config-cflags-avx2.
9038 * sysdeps/x86_64/configure.ac: Likewise.
9039 * sysdeps/i386/configure: Regenerated.
9040 * sysdeps/x86_64/configure: Likewise.
9041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9042 memset-avx2 only if config-cflags-avx2 is yes.
9043 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9044 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9045 defined.
9046 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9047 only if HAVE_AVX2_SUPPORT is defined.
9048 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9049
f6c44d47
AM
90502014-07-14 Alan Modra <amodra@gmail.com>
9051
9052 [BZ #17153]
9053 * elf/elf.h (DT_PPC64_NUM): Correct value.
9054 * NEWS: Add to fixed bug list.
9055
7ee03f00
JM
90562014-07-13 Jim Meyering <meyering@fb.com>
9057
9058 [BZ 17150]
9059 regex: don't deref NULL upon heap allocation failure
9060 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9061 failure in one more place.
9062 To trigger the segfault, configure grep -with-included-regex,
9063 build it, and run these commands:
9064 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9065
9d39d517
AS
90662014-07-13 Andreas Schwab <schwab@linux-m68k.org>
9067
9068 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9069
a75b89b7
RH
90702014-07-11 Richard Henderson <rth@redhat.com>
9071
9072 * sysdeps/aarch64/libm-test-ulps: Update.
9073
771eb141
FW
90742014-07-10 Florian Weimer <fweimer@redhat.com>
9075
9076 [BZ #17135]
9077 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9078 * nptl/allocatestack.c (__nptl_setxid_error): New function.
9079 (__nptl_setxid): Initialize error member. Call
9080 __nptl_setxid_error.
9081 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9082 * nptl/descr.h (struct xid_command): Add error member.
9083 * nptl/tst-setuid3.c: New file.
9084 * nptl/Makefile (tests): Add it.
9085
bc1da176
AZ
90862014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9087
9088 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9089 New define.
9090 (__lll_trylock): Use __lll_base_trylock.
9091 (__lll_cond_trylock): Likewise.
9092
887865fc
RM
90932014-07-10 Roland McGrath <roland@hack.frob.com>
9094
c0c6bac9
RM
9095 * nptl/pthread_create.c (start_thread): Use atomic_or and
9096 lll_futex_wake directly rather than lll_robust_dead.
9097 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9098 (lll_robust_dead): Macro removed.
6a42be57 9099 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
9100 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9101 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9102 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9103 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9104 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9105 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9106 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9107 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9108 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9109 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9110 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9111 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9112 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9113 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9114
887865fc
RM
9115 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9116 Use atomic_compare_and_exchange_val_acq directly rather than
9117 lll_robust_trylock.
9118 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9119 (__lll_robust_trylock, lll_robust_trylock): Removed.
9120 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9121 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9122 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9123 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9124 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9125 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9126 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9127 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9128 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9129 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9130 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9131 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9132 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9133 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9134
58536726
FW
91352014-07-02 Florian Weimer <fweimer@redhat.com>
9136
9137 * manual/locale.texi (Locale Names): New section documenting
9138 locale name syntax. Adjust menu and node chaining accordingly.
9139 (Choosing Locale): Reference Locale Names, Locale Categories.
9140 Mention setting LC_ALL=C. Reflect that name syntax is now
9141 documented.
9142 (Locale Categories): New section title. Reference Locale Names.
9143 LC_ALL is an environment variable, but not a category.
9144 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9145 description, now in Locale Name. Reference that section. Locale
9146 name syntax is now documented.
9147
4e8f95a0
FW
91482014-07-02 Florian Weimer <fweimer@redhat.com>
9149
9150 [BZ #17137]
9151 * locale/findlocale.c (name_present, valid_locale_name): New
9152 functions.
9153 (_nl_find_locale): Use the loc_name variable to store name
9154 candidates. Call name_present and valid_locale_name to check and
9155 validate locale names. Return an error if the locale is invalid.
9156
d1836456
FW
91572014-07-02 Florian Weimer <fweimer@redhat.com>
9158
9159 * locale/setlocale.c (setlocale): Use strdup for allocating
9160 composite name copy.
9161
d69b7f5a
SP
91622014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9163
888c679b
SP
9164 Sync up with gnulib.
9165 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9166 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9167 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9168 and _GL_ARG_NONNULL.
9169 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9170 [!_LIBC]: Include code for Windows and Cygwin.
9171 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9172 Include prototype for int strerror_r.
9173 [!_LIBC] (is_open): New function.
9174 (flush_stdout): New function.
9175 (print_errno_message): Use it.
9176 (error): Likewise.
9177 (error_at_line): Likewise.
9178 (error_tail) Add function attribute macros. Use
9179 __builtin_expect.
9180
180e0e4b
SP
9181 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9182
d22f1fe2
SP
9183 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9184
12f2254b
SP
9185 * io/ftw.c: Include sys/param.h unconditionally.
9186
c3c7c360
SP
9187 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9188
d62aa75a
SP
9189 [BZ #17125]
9190 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9191 libc_freeres_ptr.
9192 (freecache): New function to free CACHE on exit.
9193
d69b7f5a
SP
9194 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9195 initialization.
9196
5efe06a1
DM
91972014-07-09 David S. Miller <davem@davemloft.net>
9198
9199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9200
7000d82e
DM
9201 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9202 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9203 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9204 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9205 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9206 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9207 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9208 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9209 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9210 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9211 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9212 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9213 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9214
c213442d
AS
92152014-07-09 Andreas Schwab <schwab@suse.de>
9216
4a2552c3
AS
9217 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9218 output.
9219 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9220 (do_test): Likewise.
9221
c213442d
AS
9222 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9223
82374e65
WN
92242014-07-09 Will Newton <will.newton@linaro.org>
9225
9226 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9227 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9228 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9229 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9230 * sysdeps/hppa/start.S (_start): Likewise.
9231
6680738a
SP
92322014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9233
6ee3eab4
SP
9234 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9235
6680738a
SP
9236 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9237 defined.
9238
80b5c505
SP
92392014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9240
e35c53e3
SP
9241 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9242 after checking that it is non-NULL.
9243
80b5c505
SP
9244 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9245
91f4b564
AZ
92462014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9247
27b75f56
AZ
9248 * sysdeps/powerpc/memmove.c: Remove file.
9249 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9250 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9251 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9252 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9253 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9254 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9255 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9256 string memmove instead of removed powerpc one.
9257
e7f95bb5
AZ
9258 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9259 [weak_alias]: Fix compiler warning due trailing data.
9260 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9261 [weak_alias]: Likewise.
9262 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9263 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9264
91f4b564
AZ
9265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9266 (__libc_ifunc_impl_list): Add memmove functions.
9267
7c33f1e5
SP
92682014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9269
9270 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9271 Remove code.
9272 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9273 Likewise
9274 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9275 Likewise
9276 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9277 Likewise
9278 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9279 Likewise
9280 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9281 Likewise
9282 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9283 Likewise
9284 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9285 Likewise
9286 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9287 Likewise
9288 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9289 Likewise
9290 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9291 Likewise
9292 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9293 Likewise
9294 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9295 Likewise
9296 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9297 Likewise
9298 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9299 Likewise
9300 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9301 Likewise
9302 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9303 Likewise
9304
3f17b03b
AZ
93052014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9306
87868c24
AZ
9307 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9308 to avoid alignment traps in non-cacheable memory.
9309 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9310
07aedd78
AZ
9311 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9312 multiarch objects.
9313 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9314 file: multiarch power7 memmove.
9315 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9316 multiarch default memmove.
9317 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9318 multiarch memove for powerpc32/power4.
9319
17762f66
AZ
9320 * string/bcopy.c: Use full path to include memmove.c.
9321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9322 multiarch objects.
9323 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9324 bcopy for powerpc64.
9325 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9326 bcopy for powerpc64.
9327 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9328 and memmove implementations.
9329 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9330 optimized multiarch memmove for POWER7/powerpc64.
9331 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9332 default multiarch memmove for powerpc64.
9333 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9334 multiarch for powerpc64.
9335 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9336 for POWER7/powerpc64.
9337 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9338 memmove for POWER7/powerpc64.
9339
d6f68bbe
AZ
9340 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9341 glibc default one.
9342
3f17b03b
AZ
9343 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9344 __ELF_NATIVE_CLASS equal to 64.
9345
08192659
RM
93462014-07-07 Roland McGrath <roland@hack.frob.com>
9347
f4c4021b
RM
9348 * sysdeps/nptl/lowlevellock.h: File removed.
9349
f083450f
RM
9350 * NEWS: NPTL is no longer an add-on!
9351 * nptl/internaltypes.h: Moved ...
9352 * sysdeps/nptl/internaltypes.h: ... here.
9353 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9354 * sysdeps/nptl/fork.c: Likewise.
9355 * sysdeps/nptl/gai_misc.h: Likewise.
9356 * sysdeps/nptl/librt-cancellation.c: Likewise.
9357 * sysdeps/nptl/jmp-unwind.c: Likewise.
9358 * sysdeps/nptl/setxid.h: Likewise.
9359 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9360 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9361 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9362 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9363 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9364 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9365 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9366 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9367 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9368 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9369 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9370 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9371 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9372 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9373 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9374 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9375 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9376 * nptl/Makeconfig: Moved ...
9377 * sysdeps/nptl/Makeconfig: ... here.
9378 * nptl/configure: File removed.
9379 * nptl/ANNOUNCE: File removed.
9380 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9381 * sysdeps/unix/sysv/linux/configure: Regenerated.
9382
08192659
RM
9383 * nptl/Makefile (routines): Add libc_pthread_init,
9384 libc_multiple_threads, register-atfork and unregister-atfork.
9385 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9386 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9387 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9388 pthread-pi-defines.sym, structsem.sym.
9389 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9390 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9391 [$(subdir) = nptl] (tests): Add tst-setgetname.
9392 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9393 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9394 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9395 [!LIBC_SIGACTION]: Remove aliases.
9396 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9397 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9398 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9399 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9400 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9401 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9402 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9403 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9404 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9405 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9406 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9407 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9408 __libc_allocate_rtsig_private.
9409 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9410 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9411 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9412 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9413 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9414 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9415 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9416 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9417 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9418 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9419 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9420 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9421 * nptl/internaltypes.h: ... here.
9422 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9423 * sysdeps/nptl/jmp-unwind.c: ... here.
9424 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9425 * nptl/libc-lowlevellock.c: ... here.
9426 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9427 * nptl/libc_multiple_threads.c: ... here.
9428 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9429 * nptl/libc_pthread_init.c: ... here.
9430 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9431 * nptl/lowlevelbarrier.sym: ... here.
9432 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9433 * nptl/lowlevelcond.sym: ... here.
9434 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9435 * nptl/lowlevellock.c: ... here.
9436 * nptl/lowlevellock.h: Moved ...
9437 * sysdeps/nptl/lowlevellock.h: ... here.
9438 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9439 * nptl/lowlevelrobustlock.c: ... here.
9440 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9441 * nptl/lowlevelrobustlock.sym: ... here.
9442 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9443 * nptl/lowlevelrwlock.sym: ... here.
9444 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9445 * nptl/pt-fork.c: ... here.
9446 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9447 * nptl/pthread-pi-defines.sym: ... here.
9448 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9449 * nptl/pthread_attr_getaffinity.c: ... here.
9450 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9451 * nptl/pthread_attr_setaffinity.c: ... here.
9452 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9453 * nptl/pthread_mutex_cond_lock.c: ... here.
9454 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9455 Update #include.
9456 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9457 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9458 * nptl/pthread_once.c: ... here, replacing old file.
9459 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9460 * nptl/pthread_yield.c: ... here.
9461 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9462 * nptl/register-atfork.c: ... here.
9463 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9464 * nptl/sem_post.c: ... here.
9465 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9466 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9467 * nptl/sem_timedwait.c: ... here.
9468 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9469 * nptl/sem_trywait.c: ... here.
9470 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9471 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9472 * nptl/sem_wait.c: ... here.
9473 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9474 * nptl/structsem.sym: ... here.
9475 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9476 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9477 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9478 * nptl/unregister-atfork.c: ... here.
9479 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9480 * nptl/unwindbuf.sym: ... here.
9481 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9482 * sysdeps/nptl/fork.c: ... here.
9483 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9484 * sysdeps/nptl/fork.h: ... here.
9485 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9486 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9487 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9488 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9489 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9490 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9491 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9492 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9493 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9494 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9495 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9496 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9497 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9498 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9499 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9500 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9501 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9502 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9503 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9504 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9505 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9506 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9507 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9508 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9509 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9510 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9511 * sysdeps/unix/sysv/linux/raise.c: ... here.
9512 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9513 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9514 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9515 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9516 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9517 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9518 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9519 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9520 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9521 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9522 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9523 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9524 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9525 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9526 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9527
96baf6ff
SP
95282014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9529
9530 * sysdeps/generic/memcopy.h: Add comment for
9531 MEMCPY_OK_FOR_FWD_MEMMOVE.
9532
6b7b14b2
WN
95332014-07-04 Will Newton <will.newton@linaro.org>
9534
1570a72b
WN
9535 * string/memchr.c: Merge from gnulib.
9536 [_LIBC]: Remove conditionals.
9537 (__ptr_t): Remove define.
9538 (LONG_MAX_32_BITS): Likewise.
9539 (LONG_MAX): Likewise.
9540 (MEMCHR): Use ANSI prototype and optimize algorithm.
9541
6b7b14b2
WN
9542 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9543
38851324
SP
95442014-07-03 Roland McGrath <roland@hack.frob.com>
9545
3d9eb57c
RM
9546 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9547 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9548
78b984ae
RM
9549 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9550 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9551 in a bare environment with no <stdlib.h> installed.
9552 * sysdeps/nptl/configure: Regenerated.
9553
2d5976a5
RM
9554 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9555
c1f5acd4
RM
9556 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9557 AC_EGREP_CPP for kernel header checks, so they only succeed if
9558 including <linux/version.h> actually works right.
9559 * sysdeps/unix/sysv/linux/configure: Regenerated.
9560
4d614fe5
RM
9561 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9562 value so it's not diagnosed as unused.
9563
38851324
SP
9564 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9565 thing) with "ifeq ($(subdir),rt)".
9566
b3ec00e5
RH
95672014-07-03 Richard Henderson <rth@redhat.com>
9568
69862e25
RH
9569 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9570 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9571 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9572
d5e16ade
RH
9573 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9574 (math_force_eval): New.
9575
ca7b945c
RH
9576 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9577 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9578
cd1175a3
RH
9579 * sysdeps/alpha/fpu/s_round.c: Remove file.
9580 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9581
b3ec00e5
RH
9582 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9583 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9584 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9585 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9586 (_dl_start, print_statistics): Likewise.
9587 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9588 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9589
9590 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9591 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9592 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9593 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9594 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9595 (HP_SMALL_TIMING_AVAIL): Define.
9596 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9597 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9598 (HP_SMALL_TIMING_AVAIL): Define.
9599 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9600 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9601
9602 * sysdeps/aarch64/hp-timing.h: New file.
9603
9604 * sysdeps/generic/hp-timing.h: Remove dead comment.
9605 * sysdeps/generic/hp-timing-common.h: New file.
9606 * sysdeps/alpha/hp-timing.h: Include it.
9607 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9608 * sysdeps/i386/i686/hp-timing.h: Likewise.
9609 * sysdeps/ia64/hp-timing.h: Likewise.
9610 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9611 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9612 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9613 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9614 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9615 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9616 (hp_timing_t): New.
9617
9618 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9619 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9620 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9621 * elf/rtld.c (_dl_start_final): Likewise.
9622 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9623 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9624 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9625 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9626 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9627 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9628 (HP_TIMING_DIFF_INIT): Remove.
9629 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9630 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9631 (HP_TIMING_DIFF_INIT): Remove.
9632 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9633 * sysdeps/i386/i686/hp-timing.c: Remove file.
9634 * sysdeps/x86_64/hp-timing.c: Remove file.
9635 * sysdeps/ia64/hp-timing.c: Remove file.
9636 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9637 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9638 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9639 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9640
9641 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9642 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9643 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9644 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9645 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9646 (HP_TIMING_ACCUM): Remove.
9647 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9648 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9649 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9650
9651 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9652 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9653 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9654 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9655 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9656 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9657 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9658 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9659
9660 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9661
225f410f
MR
96622014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9663
9664 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9665
3247f285
SP
96662014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9667
9668 Sync up with gettext.
9669 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9670 [_MSC_VER]: Include malloc.h
9671 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9672 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9673 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9674 TEMP_FAILURE_RETRY. Cast return of alloca.
9675 [!_LIBC] Call gl_rwlock_init.
9676 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9677
d12704c7
SP
96782014-07-02 Roland McGrath <roland@hack.frob.com>
9679
9680 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9681 before checking its value.
9682
99f8dc92
SP
96832014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9684
05fdac77
SP
9685 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9686
99f8dc92
SP
9687 * debug/memcpy_chk.c: Don't include pagecopy.h.
9688 * debug/mempcpy_chk.c: Likewise.
9689 * string/memcpy.c: Likewise.
9690 * string/memmove.c: Likewise.
9691 * sysdeps/powerpc/memmove.c: Likewise.
9692 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9693 definition of PAGE_COPY_FWD_MAYBE here...
9694 * sysdeps/generic/pagecopy.h: ... from here.
9695 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9696
bc8ea385
VR
96972014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9698 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9699
9700 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9701 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9702 optimizations.
9703 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9704 (__libc_ifunc_impl_list): Likewise.
9705 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9706 multiarch strcat for PPC64.
9707 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9708 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9709
fe5f34e4
RM
97102014-07-02 Roland McGrath <roland@hack.frob.com>
9711
9712 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9713
256aa665
SP
97142014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9715
d4eb8195
SP
9716 * intl/loadmsgcat.c: Remove declaration of
9717 get_sysdep_segment_value.
9718 (get_sysdep_segment_value): Use ISO C style.
9719 (_nl_load_domain): Use ISO C style. Get rid of redundant
9720 semicolon. Fix typo and formatting in comment.
9721 (_nl_unload_domain): Use ISO C style.
9722
256aa665
SP
9723 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9724
b100f9aa
WN
97252014-07-02 Will Newton <will.newton@linaro.org>
9726
9727 * malloc/obstack.c: Merge from gnulib master.
9728 [HAVE_CONFIG_H]: Remove conditional code.
9729 [!_LIBC]: Include config.h.
9730 [!ELIDE_CODE]: Don't include inttypes.h, include
9731 stdint.h unconditionally.
9732 (print_and_abort): Mark as _Noreturn.
9733 (_obstack_allocated_p): Mark as __attribute_pure__.
9734 (obstack_free): Rename to __obstack_free.
9735 [!__attribute__]: Remove conditional code.
9736 * malloc/obstack.h: Merge from gnulib master.
9737 [__cplusplus]: Move conditional down.
9738 [!__attribute_pure__]: Define __attribute_pure__ here
9739 if it is not already defined.
9740 (_obstack_memory_used): Mark as __attribute_pure__.
9741 [!__obstack_free]: Define as obstack_free.
9742 [__GNUC__]: Remove check for ancient NeXT gcc.
9743
c4c41244
PE
97442014-07-02 Will Newton <will.newton@linaro.org>
9745 Paul Eggert <eggert@cs.ucla.edu>
9746
9747 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9748
e1e041c4
SP
97492014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9750
9751 * resolv/gethnamaddr.c: Add comment warning that the file is
9752 not maintained.
9753
ccf431ff
CD
97542014-07-01 Carlos O'Donell <carlos@redhat.com>
9755
d34570a6
CD
9756 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9757 entries.
9758
ccf431ff
CD
9759 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9760 entry for aio_cancel and aio_cancel64.
9761 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9762 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9763 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9764 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9765 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9766 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9767 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9768 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9769 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9770 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9771 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9772 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9773 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9774
ca06321d
RM
97752014-07-01 Roland McGrath <roland@hack.frob.com>
9776
9777 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9778 * nptl/pthread_mutex_lock.c: Likewise.
9779 * nptl/pthread_mutex_timedlock.c: Likewise.
9780 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9781
a1ac3184
RH
97822014-07-01 Richard henderson <rth@redhat.com>
9783
631021e0
RH
9784 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9785 (__isnan, __isnanl): Remove.
9786 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9787
a1ac3184
RH
9788 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9789
0c1d731f
SL
97902014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9791
9792 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9793
76985d3e
SP
97942014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9795
9796 * resolv/nss_dns/dns-host.c (getanswer_r)
9797 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9798
b0cb3096
JM
97992014-07-01 Joseph Myers <joseph@codesourcery.com>
9800
9801 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9802 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9803 undefine.
9804 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9805 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9806
4d76cb39
RM
98072014-07-01 Roland McGrath <roland@hack.frob.com>
9808
9809 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9810 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9811
9812 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9813 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9814
9815 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9816 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9817 ... here.
9818 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9819 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9820
9821 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9822 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9823 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9824 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9825
9826 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9827 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9828 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9829 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9830 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9831 Moved ...
9832 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9833 ... here.
9834 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9835 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9836 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9837 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9838 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9839 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9840 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9841 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9842 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9843 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9844 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9845 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9846 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9847 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9848 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9849 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9850 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9851 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9852 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9853 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9854 ... here.
9855 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9856 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9857 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9858 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9859 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9860 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9861 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9862 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9863
0cdcad17
DH
98642014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9865
9866 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9867 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9868 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9869 Add sysdep.
9870
9b71d0e3
AZ
98712014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9872
9873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9874
665390c2
JM
98752014-06-30 Joseph Myers <joseph@codesourcery.com>
9876
ae05a9d7
JM
9877 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9878 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9879
a7672a2f
JM
9880 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9881
665390c2
JM
9882 * sysdeps/arm/libm-test-ulps: Regenerated.
9883
d7a05d07
MR
98842014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9885 Roland McGrath <roland@hack.frob.com>
9886
9887 * test-skeleton.c (signal_handler): Kill the whole process group
9888 before killing the child individually.
9889 (main): Report any failure on `setpgid'.
9890
46f1d8a6
RM
98912014-06-30 Roland McGrath <roland@hack.frob.com>
9892
9893 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9894 from _TLS_H to _ARM_NPTL_TLS_H.
9895 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9896 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9897
9c37ec0b
JM
98982014-06-30 Joseph Myers <joseph@codesourcery.com>
9899
ce9c5b3e
JM
9900 [BZ #16539]
9901 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9902 (__expm1l): Return argument unchanged when small but not
9903 subnormal.
9904
3a6e9887
JM
9905 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9906 include macro name.
9907 (_FP_UNPACK_RAW_1_P): Likewise.
9908 (_FP_PACK_RAW_1): Likewise.
9909 (_FP_PACK_RAW_1_P): Likewise.
9910 (_FP_MUL_MEAT_1_wide): Likewise.
9911 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9912 (_FP_MUL_MEAT_1_hard): Likewise.
9913 (_FP_DIV_MEAT_1_imm): Likewise.
9914 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9915 (_FP_DIV_MEAT_1_udiv): Likewise.
9916 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9917 (_FP_UNPACK_RAW_2): Likewise.
9918 (_FP_UNPACK_RAW_2_P): Likewise.
9919 (_FP_PACK_RAW_2): Likewise.
9920 (_FP_PACK_RAW_2_P): Likewise.
9921 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9922 (_FP_MUL_MEAT_2_wide): Likewise.
9923 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9924 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9925 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9926 (_FP_MUL_MEAT_2_gmp): Likewise.
9927 (_FP_DIV_MEAT_2_udiv): Likewise.
9928 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9929 (_FP_FRAC_SRL_4): Likewise.
9930 (_FP_FRAC_SRST_4): Likewise.
9931 (_FP_FRAC_SRS_4): Likewise.
9932 (_FP_UNPACK_RAW_4): Likewise.
9933 (_FP_UNPACK_RAW_4_P): Likewise.
9934 (_FP_PACK_RAW_4): Likewise.
9935 (_FP_PACK_RAW_4_P): Likewise.
9936 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9937 (_FP_MUL_MEAT_4_wide): Likewise.
9938 (_FP_MUL_MEAT_4_gmp): Likewise.
9939 (umul_ppppmnnn): Likewise.
9940 (_FP_DIV_MEAT_4_udiv): Likewise.
9941 (__FP_FRAC_ADD_4): Likewise.
9942 (__FP_FRAC_SUB_3): Likewise.
9943 (__FP_FRAC_SUB_4): Likewise.
9944 (__FP_FRAC_DEC_3): Likewise.
9945 (__FP_FRAC_DEC_4): Likewise.
9946 (__FP_FRAC_ADDI_4): Likewise.
9947 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9948 (_FP_FRAC_SRL_8): Likewise.
9949 (_FP_FRAC_SRS_8): Likewise.
9950
9c37ec0b
JM
9951 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9952 include macro name.
9953 (FP_UNPACK_RAW_EP): Likewise.
9954 (FP_PACK_RAW_E): Likewise.
9955 (FP_PACK_RAW_EP): Likewise.
9956 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9957 (_FP_ISSIGNAN): Likewise.
9958 (_FP_ADD_INTERNAL): Likewise.
9959 (_FP_FMA): Likewise.
9960 (_FP_CMP): Likewise.
9961 (_FP_SQRT): Likewise.
9962 (_FP_TO_INT): Likewise.
9963 (_FP_FROM_INT): Likewise.
9964 (FP_EXTEND): Likewise.
9965 (_FP_DIV_MEAT_N_loop): Likewise.
9966
2125f674
MR
99672014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9968
9969 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9970 throughout.
9971
edea4028
JM
99722014-06-29 Joseph Myers <joseph@codesourcery.com>
9973
9974 [BZ #17097]
9975 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9976 result with correct sign in case of exponents that produce
9977 overflow except for X very close to 1.
9978
dd0ba018
PE
99792014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9980
9981 mktime: merge #if/#ifdef usage from glibc
9982 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9983 as that works with both Glibc's and Gnulib's style.
9984 See thread starting at Siddhesh Poyarekar's bug report at:
9985 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9986
64df73c2
SP
99872014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9988
9989 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9990 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9991 * sysdeps/tile/tilegx/memmove.c: Remove file.
9992
f1eafb41
JM
99932014-06-27 Joseph Myers <joseph@codesourcery.com>
9994
9995 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9996 abi-name definition.
9997 * scripts/soversions.awk: Do not handle or generate ABI lines.
9998 * shlib-versions: Remove ABI entries.
9999 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10000 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10001
58eb0862
RM
100022014-06-27 Roland McGrath <roland@hack.frob.com>
10003
37caf178
RM
10004 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10005 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10006 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10007 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10008 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10009 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10010 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10011 Moved ...
10012 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10013 ... here.
10014 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10015 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10016 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10017 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10018 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10019 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10020 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10021 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10022 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10023 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10024 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10025 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10026 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10027 Moved ...
10028 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10029 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10030 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10031 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10032 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10033 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10034 Moved ...
10035 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10036 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10037 Moved ...
10038 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10039 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10040 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10041 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10042 Moved ...
10043 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10044 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10045 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10046 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10047 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10048 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10049 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10050 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10051 Moved ...
10052 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10053 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10054 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10055 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10056 Moved ...
10057 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10058 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10059 Moved ...
10060 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10061 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10062 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10063 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10064 Moved ...
10065 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10066 ... here.
10067 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10068 Identical file removed.
10069 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10070 Moved ...
10071 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10072 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10073 Identical file removed.
10074 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10075 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10076 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10077 Moved ...
10078 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10079 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10080 Identical file removed.
10081 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10082 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10083 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10084 Identical file removed.
10085 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10086 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10087 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10088 Identical file removed.
10089 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10090 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10091 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10092 Identical file removed.
10093 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10094 Moved ...
10095 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10096 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10097 Identical file removed.
10098 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10099 Moved ...
10100 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10101 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10102 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10103 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10104 Identical file removed.
10105 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10106 Moved ...
10107 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10108 ... here.
10109 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10110 Identical file removed.
10111 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10112 Moved ...
10113 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10114 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10115 Identical file removed.
10116 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10117 Moved ...
10118 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10119 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10120 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10121 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10122 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10123 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10124 Moved ...
10125 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10126 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10127 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10128
58eb0862
RM
10129 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10130 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10131 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10132 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10133 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10134
6f12d062
AS
101352014-06-27 Arjun Shankar <arjun.is@lostca.se>
10136
10137 [BZ #17092]
10138 * nscd/nscd.c (monitor_child): Return exit status of child
10139 instead of return value from wait syscall.
10140
be254932
JM
101412014-06-27 Joseph Myers <joseph@codesourcery.com>
10142
cb403c34
JM
10143 * configure.ac (libc_commonpagesize): Remove variable.
10144 (libc_relro_required): Likewise.
10145 (libc_cv_z_relro): Remove configure test.
10146 * configure: Regenerated.
10147 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10148 variable.
10149 (libc_relro_required): Likewise.
10150 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10151 (libc_relro_required): Likewise.
10152 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10153 (libc_relro_required): Likewise.
10154 * sysdeps/arm/preconfigure: Regenerated.
10155 * sysdeps/ia64/preconfigure: Remove file.
10156 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10157 variable.
10158 (libc_relro_required): Likewise.
10159
be254932
JM
10160 [BZ #16561]
10161 [BZ #16562]
10162 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10163 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10164 recompute overflowing results in original rounding mode.
10165 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10166 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10167 recompute overflowing results in original rounding mode.
10168 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10169 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10170 recompute overflowing results in original rounding mode.
10171 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10172 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10173 recompute overflowing results in original rounding mode.
10174 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10175 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10176 recompute overflowing results in original rounding mode.
10177 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10178 (libc_feholdsetround_ctx): New macro.
10179 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10180 * sysdeps/i386/fpu/libm-test-ulps: Update.
10181 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10182
b351d85a
JM
101832014-06-26 Joseph Myers <joseph@codesourcery.com>
10184
10185 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10186 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10187 corresponding .cpsetup call.
10188
3cb4de47
RM
101892014-06-26 Roland McGrath <roland@hack.frob.com>
10190
10191 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10192 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10193 * sysdeps/arm/Makefile [$(subdir) = csu]
10194 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10195 (static-only-routines): Add aeabi_read_tp here.
10196 (shared-only-routines): Add libc-aeabi_read_tp here.
10197 (CFLAGS-libc-start.c): Add -fexceptions here.
10198 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10199 (sysdep_routines, static-only-routines, shared-only-routines):
10200 Don't add to these here.
10201 (CFLAGS-libc-start.c): Likewise.
10202
10203 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10204 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10205 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10206 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10207 * sysdeps/arm/Makefile [$(subdir) = rt]
10208 (librt-sysdep_routines, librt-shared-only-routines):
10209 Append rt-aeabi_unwind_cpp_pr1 here.
10210 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10211 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10212 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10213 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10214 Append nptl-aeabi_unwind_cpp_pr1 here.
10215 (tests): Filter out tst-cleanupx4 here.
10216 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10217 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10218 Don't do those here.
10219
354426bb
JM
102202014-06-26 Joseph Myers <joseph@codesourcery.com>
10221
10222 * scripts/list-sources.sh: Do not handle ports specially.
10223
28b0a8c9
RM
102242014-06-26 Roland McGrath <roland@hack.frob.com>
10225
a3dd035d
RM
10226 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10227 * sysdeps/arm/feupdateenv.c: Likewise.
10228
28b0a8c9
RM
10229 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10230
e66a8203
JM
102312014-06-26 Joseph Myers <joseph@codesourcery.com>
10232
10233 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10234 trailing whitespace removed.
10235 * scripts/config.guess: Update to version 2014-03-23.
10236 * scripts/config.sub: Update to version 2014-05-01
10237 * scripts/install-sh: Update to version 2013-12-25.23.
10238 * scripts/move-if-change: Update from gnulib.
10239
74171115
SP
102402014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10241
b97c9ce5
SP
10242 * debug/memmove_chk.c: Remove pagecopy.h include.
10243
4000f892
SP
102442014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10245
74171115
SP
10246 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10247 identical to gnulib mktime.
10248
a8779c28
JM
102492014-06-26 Joseph Myers <joseph@codesourcery.com>
10250
e64708de
JM
10251 * configure.ac: Do not test for machine being rs6000. Do not test
10252 for powerpc*-*soft.
10253 * configure: Regenerated.
10254
6a9350c8 10255 [BZ #11505]
a8779c28
JM
10256 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10257 test.
10258 * configure: Regenerated.
10259 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10260 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10261 Remove configure test.
10262 * sysdeps/arm/configure: Regenerated.
10263 * sysdeps/nptl/configure.ac: Do not check
10264 libc_cv_asm_cfi_directives.
10265 * sysdeps/nptl/configure: Regenerated.
10266 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10267 * sysdeps/x86_64/nptl/configure: Remove generated file.
10268 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10269 unconditional.
10270 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10271
2aac0a86
SP
102722014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10273
059bf913
SP
10274 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10275 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10276 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10277 it is defined.
10278
4cf5b6d0
SP
10279 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10280 instead of whether it is defined.
10281 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10282 * sysdeps/hppa/dl-machine.h: Likewise.
10283 * sysdeps/ia64/dl-machine.h: Likewise.
10284 * sysdeps/m68k/dl-machine.h: Likewise.
10285 * sysdeps/microblaze/dl-machine.h: Likewise.
10286 * sysdeps/mips/dl-machine.: Likewise.
10287 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10288 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10289 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10290 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10291 * sysdeps/sh/dl-machine.h: Likewise.
10292 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10293 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10294 * sysdeps/tile/dl-machine.h: Likewise.
10295 * sysdeps/x86_64/dl-machine.h: Likewise.
10296
2aac0a86
SP
10297 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10298 code.
10299 (verify_persistent_db): Likewise.
10300
6ad2df0b
RM
103012014-06-26 Roland McGrath <roland@hack.frob.com>
10302
d8a483f3
RM
10303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10304 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10306 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10308 Moved ...
10309 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10310 ... here.
10311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10312 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10314 Identical file removed.
10315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10316 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10318 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10320 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10322 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10324 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10326 Moved ...
10327 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10329 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10331 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10333 Moved ...
10334 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10336 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10338 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10340 Identical file removed.
10341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10342 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10344 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10346 Moved ...
10347 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10348 ... here.
10349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10350 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10352 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10354 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10356 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10358 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10360 Moved ...
10361 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10363 Moved ...
10364 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10366 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10368 Moved ...
10369 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10371 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10372
52ae23b4
RM
10373 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10374 folded into ...
10375 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10376 * sysdeps/unix/sysv/linux/s390/Versions
10377 (libpthread: GLIBC_2.19): New version set.
10378 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10379 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10380 (librt: GLIBC_2.3.3): New version set.
10381 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10382 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10383 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10384 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10385 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10386 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10387 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10388 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10389 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10390 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10391 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10392 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10393 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10394 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10395 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10396 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10397 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10398 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10399 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10400 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10401 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10402 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10403 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10404 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10405 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10406 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10407 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10408 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10409 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10410 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10411 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10412 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10413 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10414 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10415 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10416 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10417 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10418 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10419 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10420 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10421 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10422 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10423 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10424 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10425 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10426
39507e4a
RM
10427 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10428 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10429 (__libc_vfork): Define the function under this name.
10430 [!NOT_IN_libc] (__vfork): Make this an alias.
10431 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10432 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10433 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10434 (__libc_vfork): Define the function under this name.
10435 [!NOT_IN_libc] (__vfork): Make this an alias.
10436 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10437 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10438 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10439 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10440 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10441 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10442
e549ee56
RM
10443 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10444 code that was previously under [RESET_PID].
10445 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10446 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10447 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10448
6ad2df0b
RM
10449 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10450 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10451 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10452 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10453 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10454 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10455 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10456 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10457 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10458 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10459 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10460 Moved ...
10461 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10462 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10463 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10464 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10465 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10466 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10467 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10468 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10469 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10470 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10471 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10472 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10473 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10474 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10475 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10476 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10477 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10478 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10479 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10480 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10481 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10482 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10483 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10484 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10485 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10486 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10487 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10488 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10489 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10490
7c1c1d8e
RM
104912014-06-25 Roland McGrath <roland@hack.frob.com>
10492
10493 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10494 that was previously under [RESET_PID].
10495 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10496
3e239be6
JM
104972014-06-25 Joseph Myers <joseph@codesourcery.com>
10498
74385da5
JM
10499 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10500 not undefine and redefine.
10501 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10502 [O_CLOEXEC]: Make code unconditional.
10503 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10504 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10505 <kernel-features.h>.
10506 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10507 conditional variable definition.
10508 (shm_open) [O_CLOEXEC]: Make code unconditional.
10509 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10510 code.
10511
c2570a0b
JM
10512 * configure.ac (USE_REGPARMS): Don't define here.
10513 * configure: Regenerated.
10514 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10515 * sysdeps/i386/configure: Regenerated.
10516
11b076bb
JM
10517 * nptl/createthread.c: Don't include kernel-features.h.
10518 * nptl/pthread_cancel.c: Likewise.
10519 * nptl/pthread_condattr_setclock.c: Likewise.
10520 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10521 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10522 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10523 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10524 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10525 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10526 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10527 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10528 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10529 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10530 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10531 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10532 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10533 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10534 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10535 * nscd/gai.c: Likewise.
10536 * nss/nss_db/db-open.c: Likewise.
10537 * sysdeps/generic/ldsodefs.h: Likewise.
10538 * sysdeps/sh/nptl/tls.h: Likewise.
10539 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10540 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10541 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10542 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10543 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10544 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10545 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10546 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10547 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10548 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10549 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10550 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10551 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10552 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10553 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10554 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10555 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10556 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10557 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10558 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10559 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10560 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10561 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10562 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10563 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10564 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10565 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10566 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10567 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10568 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10569 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10570 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10571 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10572 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10573 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10574 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10575 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10576 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10577 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10578 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10579 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10580 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10581 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10582 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10583 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10584 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10585 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10586 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10587 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10588 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10589 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10590 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10591 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10592 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10593 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10594 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10595 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10596 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10619 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10620 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10621 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10622 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10623 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10624 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10625 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10626 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10627 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10628 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10629 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10630 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10631 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10632 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10633 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10634 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10635 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10636 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10637 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10638 * sysdeps/unix/sysv/linux/system.c: Likewise.
10639 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10640 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10641 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10642 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10643 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10644 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10645 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10646
92072d57
JM
10647 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10648 * configure: Regenerated.
10649 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10650
3e239be6
JM
10651 * configure.ac (base_machine): Do not set specially for particular
10652 machines here.
10653 * configure: Regenerated.
10654 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10655 settings from configure.ac.
10656 * sysdeps/i386/preconfigure: New file.
10657 * sysdeps/s390/preconfigure: Likewise.
10658 * sysdeps/sh/preconfigure: Likewise.
10659 * sysdeps/sparc/preconfigure: Likewise.
10660
06d50baa
RM
106612014-06-25 Roland McGrath <roland@hack.frob.com>
10662
74836003
RM
10663 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10664 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10665 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10666 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10667 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10668 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10669 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10670 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10671 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10672 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10673 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10674 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10675 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10676 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10677 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10678 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10679 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10680 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10681 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10682
10683 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10684 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10685 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10686 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10687 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10688 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10689 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10690 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10691 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10692 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10693 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10694 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10695 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10696 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10697 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10698 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10699 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10700 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10701 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10702 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10703 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10704 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10705 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10706 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10707 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10708 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10709 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10710 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10711 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10712 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10713 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10714 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10715 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10716 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10717 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10718 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10719 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10720 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10721
06d50baa
RM
10722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10723 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10725 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10727 Moved ...
10728 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10729 ... here.
10730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10731 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10733 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10735 Moved ...
10736 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10738 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10740 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10742 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10744 Moved ...
10745 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10747 Moved ...
10748 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10750 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10752 Moved ...
10753 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10755 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10757 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10759 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10761 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10763 Moved ...
10764 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10765 ... here.
10766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10767 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10769 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10771 Moved ...
10772 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10774 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10776 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10778 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10780 Moved ...
10781 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10783 Moved ...
10784 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10786 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10788 Moved ...
10789 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10791 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10793 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10794
a4ccbc9b
JM
107952014-06-25 Joseph Myers <joseph@codesourcery.com>
10796
0828edbf
JM
10797 * timezone/checktab.awk: Update from tzcode 2014e.
10798 * timezone/private.h: Likewise.
10799 * timezone/tzfile.h: Likewise.
10800 * timezone/zdump.c: Likewise.
10801 * timezone/zic.c: Likewise.
10802
a4ccbc9b
JM
10803 * sysdeps/unix/sysv/linux/kernel-features.h
10804 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10805 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10806 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10807 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10808 Remove conditional code.
10809
9aea0cb8
WN
108102014-06-25 Will Newton <will.newton@linaro.org>
10811
10812 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10813 (_dl_arm_cap_flags): Add HWCAP2 values.
10814 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10815 (_DL_HWCAP_COUNT): Increase to 37.
10816 (_DL_HWCAP_LAST): New define.
10817 (_DL_HWCAP2_LAST): New define.
10818 (_dl_procinfo): Add support for printing
10819 AT_HWCAP2 entries.
10820 (_dl_string_hwcap): Use _dl_hwcap_string.
10821
6eaa65ce
AZ
108222014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10823
10824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10825
0f5b7185
JM
108262014-06-25 Joseph Myers <joseph@codesourcery.com>
10827
cfd2ea50
JM
10828 * README: Do not mention ports directory.
10829
cecf2ed4
JM
10830 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10831 Remove macro.
10832 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10833 <kernel-features.h>.
10834 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10835 conditional variable definition.
10836 (__futimes): Update comment.
10837 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10838 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10839
a638de82
JM
10840 [BZ #16560]
10841 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10842 arguments close to 0.
10843 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10844 Likewise.
10845 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10846 Likewise.
10847 * math/auto-libm-test-in: Add more tests of exp10.
10848 * math/auto-libm-test-out: Regenerated.
10849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10850
0f5b7185
JM
10851 * sysdeps/unix/sysv/linux/kernel-features.h
10852 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10853 * sysdeps/unix/sysv/linux/readv.c: Do not include
10854 <kernel-features.h>.
10855 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10856 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10857 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10858 unconditional.
10859 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10860 conditional code.
10861 * sysdeps/unix/sysv/linux/writev.c: Do not include
10862 <kernel-features.h>.
10863 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10864 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10865 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10866 unconditional.
10867 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10868 conditional code.
10869
c7aec4be
WN
108702014-06-25 Will Newton <will.newton@linaro.org>
10871
10872 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10873 comment changes throughout the file. Remove checks
10874 for HAVE_*_H definitions that are not required.
10875 (__gen_tempname): Call abort if an unknown kind value is
10876 passed.
10877
c5241f95
AS
108782014-06-25 Andreas Schwab <schwab@suse.de>
10879
10880 [BZ #17086]
10881 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10882 scalbln, scalblnf, scalblnl in libc.
10883
911422da
SP
108842014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10885
10886 [BZ #17086]
10887 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10888 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10889 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10890
0d749bbe
RM
108912014-06-24 Roland McGrath <roland@hack.frob.com>
10892
10893 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10894 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10895 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10896 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10897 Update #include.
10898 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10899 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10900 Update #include.
10901 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10902 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10903 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10904 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10905 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10906 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10907 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10908 * sysdeps/x86/bits/semaphore.h: ... here.
10909 * sysdeps/x86/nptl/elide.h: Moved ...
10910 * sysdeps/x86/elide.h: ... here.
10911 * sysdeps/x86_64/nptl/Implies: File removed.
10912 * sysdeps/i386/nptl/Implies: File removed.
10913
0ea5d373
JM
109142014-06-24 Joseph Myers <joseph@codesourcery.com>
10915
4060283d
JM
10916 [BZ #16539]
10917 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10918 return the argument for normal arguments with exponent below -64.
10919 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10920 Likewise.
10921 * math/auto-libm-test-in: Add another test of expm1.
10922 * math/auto-libm-test-out: Regenerated.
10923
e7dd3c8c
JM
10924 [BZ #16287]
10925 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10926 calling __erfcl for arguments at least 16.
10927 * math/auto-libm-test-in: Add more tests of erf.
10928 * math/auto-libm-test-out: Regenerated.
10929
0ea5d373
JM
10930 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10931 individual architectures.
10932 * sysdeps/unix/sysv/linux/configure: Regenerated.
10933 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10934 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10935 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10936 (ldd_rewrite_script): Define variable.
10937 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10939 file.
10940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10941 generated file.
10942 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10943 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10944 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10945 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10946 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10947 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10948 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10949 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10950
2307e126
SP
109512014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10952
10953 [BZ #17084]
10954 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10955 Rename member __data.d to __data.__elision_data.
10956
c0a4ed77
W
109572014-06-24 Wilco <wdijkstr@arm.com>
10958
10959 * NEWS: Add 16918 to fixed bug list.
10960
b8c00573
W
109612014-06-24 Wilco <wdijkstr@arm.com>
10962
10963 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10964
b5570d92
W
109652014-06-24 Wilco <wdijkstr@arm.com>
10966
10967 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10968 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10969 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10970 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10971 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10972 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10973 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10974 Use _FPU_MASK_RM.
10975
947bdca2
W
109762014-06-24 Wilco <wdijkstr@arm.com>
10977
10978 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10979
00f669ed
W
109802014-06-24 Wilco <wdijkstr@arm.com>
10981
10982 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10983 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10984 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10985 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10986
db59bad3
W
109872014-06-24 Wilco <wdijkstr@arm.com>
10988
10989 [BZ #16918]
10990 * sysdeps/arm/feupdateenv.c (feupdateenv):
10991 Rewrite to reduce FPSCR accesses and fix return value.
10992
001f7b77
W
109932014-06-24 Wilco <wdijkstr@arm.com>
10994
10995 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10996 Optimize to avoid unnecessary FPSCR writes.
10997 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10998 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10999 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11000 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11001
4841e6a6
W
110022014-06-24 Wilco <wdijkstr@arm.com>
11003
11004 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11005 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11006 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11007 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11008 Call libc_fetestexcept_vfp.
11009 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11010 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11011 __SOFTFP__ ifdef so that they can be built for softfp.
11012
0813022c
SP
110132014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11014
08e5862f
SP
11015 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11016 argument type signed char.
11017
0813022c
SP
11018 * Makerules (check-abi): Dump diff of symlist if the test
11019 fails.
11020
3fc7236a
RM
110212014-06-23 Roland McGrath <roland@hack.frob.com>
11022
aba8ef95
RM
11023 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11024 using abort.
11025
3fc7236a
RM
11026 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11027 Remove unused variable ST.
11028
4da6db51
JM
110292014-06-23 Joseph Myers <joseph@codesourcery.com>
11030
4648909d
JM
11031 [BZ #16354]
11032 [BZ #17061]
11033 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11034 small arguments before calling __expm1.
11035 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11036 small arguments before calling __expm1f.
11037 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11038 small arguments before calling __expm1l.
11039 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11040 Likewise.
11041 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11042 * math/auto-libm-test-in: Add more cosh tests. Do not allow
11043 spurious underflow for some cosh tests.
11044 * math/auto-libm-test-out: Regenerated.
11045 * sysdeps/i386/fpu/libm-test-ulps: Update.
11046
46a3d3c7
JM
11047 [BZ #17050]
11048 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11049 (__ieee754_y1): Set errno if return value overflows.
11050 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11051 (__ieee754_y1f): Set errno if return value overflows.
11052 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11053 (__ieee754_y1l): Set errno if return value overflows.
11054 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11055 (__ieee754_y1l): Set errno if return value overflows.
11056 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11057 * math/auto-libm-test-out: Regenerated.
11058
863893ec
JM
11059 * math/gen-auto-libm-tests.c: Document use of
11060 ignore-zero-inf-sign.
11061 (input_flag_type): Add value flag_ignore_zero_inf_sign.
11062 (input_flags): Add ignore-zero-inf-sign.
11063 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11064 * math/gen-libm-test.pl (generate_testfile): Handle
11065 ignore-zero-inf-sign.
11066 * math/auto-libm-test-in: Mark some cpow tests with
11067 ignore-zero-inf-sign and some with xfail-rounding.
11068 * math/auto-libm-test-out: Regenerated.
11069 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11070 * sysdeps/i386/fpu/libm-test-ulps: Update.
11071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11072
4da6db51
JM
11073 [BZ #16315]
11074 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11075 overflowing or underflowing operations take place with sign of
11076 result.
11077 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11078 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11079 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11080 (__ieee754_pow): Recompute overflowing and underflowing results in
11081 original rounding mode.
11082 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11083 (__powl_helper): Allow negative argument X and scale negated value
11084 as needed. Avoid passing value outside [-1, 1] to f2xm1.
11085 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11086 overflowing or underflowing operations take place with sign of
11087 result.
11088 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11089 Include <math.h>.
11090 * math/auto-libm-test-in: Add more tests of pow.
11091 * math/auto-libm-test-out: Regenerated.
11092 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11093 (pow_tonearest_test_data): Remove.
11094 (pow_test_tonearest): Likewise.
11095 (pow_towardzero_test_data): Likewise.
11096 (pow_test_towardzero): Likewise.
11097 (pow_downward_test_data): Likewise.
11098 (pow_test_downward): Likewise.
11099 (pow_upward_test_data): Likewise.
11100 (pow_test_upward): Likewise.
11101 (main): Don't call removed functions.
11102 * sysdeps/i386/fpu/libm-test-ulps: Update.
11103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11104
5686b236
RM
111052014-06-23 Roland McGrath <roland@hack.frob.com>
11106
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11108 Moved ...
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11111 Moved ...
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11114 Moved ...
11115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11117 Moved ...
11118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11120 File removed.
11121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11122 File removed.
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11124 File removed.
11125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11126 File removed.
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11128 File removed.
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11130 File removed.
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11132 File removed.
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11134 File removed.
11135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11136 File removed.
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11138 File removed.
11139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11140 File removed.
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11142 File removed.
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11144 Moved ...
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11147 Moved ...
11148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11149 ... here.
11150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11151 Moved ...
11152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11154 Moved ...
11155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11157 Moved ...
11158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11160 Moved ...
11161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11163 Moved ...
11164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11166 Moved ...
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11169 Moved ...
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11173 ... here.
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11175 Moved ...
11176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11178 Moved ...
11179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11180 ... here.
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11182 Moved ...
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11184 ... here.
11185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11186 Moved ...
11187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11188 ... here.
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11190 Moved ...
11191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11193 Moved ...
11194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11198 Moved ...
11199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11200 ... here.
11201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11202 Moved ...
11203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11204 ... here.
11205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11206 Moved ...
11207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11209 Moved ...
11210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11212 Moved ...
11213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11215 Moved ...
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11218 Moved ...
11219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11220 ... here.
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11222 Moved ...
11223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11225 Moved ...
11226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11228 Moved ...
11229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11231 Moved ...
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11236 Moved ...
11237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11239 Moved ...
11240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11242 Moved ...
11243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11244 ... here.
11245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11246 Moved ...
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11248 ... here.
11249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11250 Moved ...
11251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11252 ... here.
11253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11254 Moved ...
11255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11257 Moved ...
11258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11260 Moved ...
11261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11263 Moved ...
11264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11265 ... here.
11266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11267 Moved ...
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11269 ... here.
11270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11271 Moved ...
11272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11273 ... here.
11274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11275 Moved ...
11276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11278 Moved ...
11279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11280
e6d90d67
WD
112812014-06-23 Will Newton <will.newton@linaro.org>
11282 Wilco <wdijkstr@arm.com>
11283
11284 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11285 implementation. Include get-rounding-mode.h.
11286 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11287 [!libc_feholdsetround_noex_ctx]: Define
11288 libc_feholdsetround_noex_ctx.
11289 [!libc_feholdsetround_noexf_ctx]: Define
11290 libc_feholdsetround_noexf_ctx.
11291 [!libc_feholdsetround_noexl_ctx]: Define
11292 libc_feholdsetround_noexl_ctx.
11293 (libc_feholdsetround_ctx): New function.
11294 (libc_feresetround_ctx): New function.
11295 (libc_feholdsetround_noex_ctx): New function.
11296 (libc_feresetround_noex_ctx): New function.
11297
d42df555
RM
112982014-06-23 Roland McGrath <roland@hack.frob.com>
11299
88a46474
RM
11300 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11301 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11302 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11303 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11304 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11305 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11306
15bed472
RM
11307 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11308 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11309 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11310 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11311 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11312 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11313 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11314 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11315 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11316 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11317 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11318 Moved ...
11319 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11320 ... here.
11321 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11322 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11323 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11324 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11325 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11326 Moved ...
11327 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11328 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11329 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11330 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11331 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11332 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11333 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11334 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11335 Moved ...
11336 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11337 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11338 Moved ...
11339 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11340 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11341 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11342 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11343 Moved ...
11344 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11345 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11346 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11347 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11348 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11349 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11350 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11351 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11352 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11353 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11354 Moved ...
11355 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11356 ... here.
11357 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11358 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11359 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11360 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11361 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11362 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11363 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11364 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11365 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11366 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11367 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11368 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11369 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11370 Moved ...
11371 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11372 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11373 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11374 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11375 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11376 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11377 Moved ...
11378 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11379 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11380 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11381 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11382 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11383
d42df555
RM
11384 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11385 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11386 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11387 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11388 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11389 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11390 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11391 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11392 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11393 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11394 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11395 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11396 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11397 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11398 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11399 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11400 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11401 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11402 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11403 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11404 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11405 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11406 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11407 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11408 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11409 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11410 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11411 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11412
76e5216e
JM
114132014-06-23 Joseph Myers <joseph@codesourcery.com>
11414
11415 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11416 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11417 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11418 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11419 (IPV6_PMTUDISC_INTERFACE): Likewise.
11420 (IPV6_PMTUDISC_OMIT): Likewise.
11421
7a81cbcc
AS
114222014-06-23 Andreas Schwab <schwab@suse.de>
11423
11424 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11425 Remove unused errout label.
11426
db224009
AZ
114272014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11428
11429 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11430 macro: hardware supports Vector Crypto instructions.
11431
f393b4aa
WN
114322014-06-23 Will Newton <will.newton@linaro.org>
11433
cc7d0447
WN
11434 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11435 rather than __builtin_expect.
11436
d6d06225
WN
11437 * elf/dl-lookup.c (undefined_msg): Remove variable.
11438 (_dl_lookup_symbol_x): Replace undefined_msg with string
11439 literal.
11440
f393b4aa
WN
11441 * elf/dl-lookup.c (do_lookup_unique): New function.
11442 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11443 to a separate function.
11444
ac60763e
AS
114452014-06-23 Andreas Schwab <schwab@suse.de>
11446
11447 [BZ #17079]
11448 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11449 before reading the next line.
11450
c5c13355
WN
114512014-06-23 Will Newton <will.newton@linaro.org>
11452
11453 * test-skeleton.c (signal_handler): Use printf and %m
11454 rather than perror. Use printf rather than fprintf to
11455 stderr. Use puts rather than fputs to stderr.
11456 (main): Likewise.
11457
bd3675f9
LC
114582014-06-22 Ludovic Courtès <ludo@gnu.org>
11459
11460 * nscd/nscd.c (thread_info_t): Remove typedef.
11461 (thread_info): Remove variable.
11462
d03efb2f
AM
114632014-06-21 Allan McRae <allan@archlinux.org>
11464
11465 * NEWS: Mention CVE-2014-4043.
11466
bc4a86fa
RM
114672014-06-20 Roland McGrath <roland@hack.frob.com>
11468
dc9a54f8
RM
11469 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11470 * nptl/smp.h: ... here.
11471
bd7022c4
RM
11472 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11473
26ffd5e6
RM
11474 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11475 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11476 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11477 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11478
93a6d082
RM
11479 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11480 * nptl/stack-aliasing.h: New file.
11481 * sysdeps/i386/i686/stack-aliasing.h: New file.
11482 * sysdeps/i386/i686/nptl/Makefile: File removed.
11483 * sysdeps/x86_64/stack-aliasing.h: New file.
11484 * sysdeps/x86_64/nptl/Makefile
11485 (CFLAGS-pthread_create.c): Variable removed.
11486
bc4a86fa
RM
11487 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11488 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11489 old file.
11490 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11491 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11492 old file.
11493
2272ffc1
JM
114942014-06-21 Joseph Myers <joseph@codesourcery.com>
11495
11496 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11497 (__ASSUME_SIGFRAME_V2): Remove macro.
11498 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11499 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11500 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11501 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11502 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11503 Declare as function. Remove conditional macro definitions.
11504 (__default_rt_sa_restorer): Likewise.
11505 (__default_sa_restorer_v1): Remove declaration.
11506 (__default_sa_restorer_v2): Likewise.
11507 (__default_rt_sa_restorer_v1): Likewise.
11508 (__default_rt_sa_restorer_v2): Likewise.
11509 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11510 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11511 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11512
4b88139b
RM
115132014-06-20 Roland McGrath <roland@hack.frob.com>
11514
11515 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11516 (libpthread-routines): Add sysdep.
11517 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11518 * sysdeps/unix/sysv/linux/sparc/Versions
11519 (libpthread: GLIBC_2.3.3): New version set.
11520 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11521 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11522 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11523 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11524 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11525 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11526 Moved ...
11527 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11528 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11529 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11530 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11531 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11532 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11533 * sysdeps/sparc/nptl/sem_init.c: ... here.
11534 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11535 * sysdeps/sparc/nptl/sem_post.c: ... here.
11536 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11537 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11538 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11539 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11540 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11541 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11542 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11543 (libpthread-routines): Add cpu_relax.
11544 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11545 File removed.
11546 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11547 (librt: GLIBC_2.3.3): New version set.
11548 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11549 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11550 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11551 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11553 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11554 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11555 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11556 Moved ...
11557 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11558 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11559 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11560 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11561 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11563 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11564 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11565 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11567 Moved ...
11568 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11569 Update #include.
11570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11571 Moved ...
11572 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11573 Update #include.
11574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11575 Moved ...
11576 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11577 Update #include.
11578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11579 Moved ...
11580 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11581 Update #include.
11582 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11583 Moved ...
11584 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11585 Update #include.
11586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11587 Moved ...
11588 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11589 Update #include.
11590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11591 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11593 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11595 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11597 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11599 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11601 Moved ...
11602 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11604 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11606 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11607
d7109027
JM
116082014-06-20 Joseph Myers <joseph@codesourcery.com>
11609
9bc6103d
JM
11610 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11611 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11612 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11613 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11614 * nscd/nscd.c: Likewise.
11615 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11616 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11617 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11618 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11619
d7109027
JM
11620 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11621 <kernel-features.h>.
11622 (init_mq_netlink): Remove conditional have_sock_cloexec
11623 definitions. Remove code conditional on have_sock_cloexec < 0.
11624 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11625 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11626 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11627 <kernel-features.h>.
11628 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11629 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11630
d92d8f8a
L
116312014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11632
11633 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11634 Add tests for memset_chk and memset.
11635
11636 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11637 with AVX2_Usable.
11638
4e6d2347
MR
116392014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11640
257ce712
MR
11641 [BZ #16046]
11642 * elf/tst-dl-iter-static.c: New file.
11643 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11644
4e6d2347
MR
11645 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11646 error.
11647
a2a76afe
JM
116482014-06-20 Joseph Myers <joseph@codesourcery.com>
11649
7fd00f99
JM
11650 * sysdeps/unix/sysv/linux/kernel-features.h
11651 (__ASSUME_F_GETOWN_EX): Remove macro.
11652 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11653 <kernel-features.h>.
11654 (miss_F_GETOWN_EX): Remove variable or macro.
11655 (do_fcntl): Do not check miss_F_GETOWN_EX.
11656 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11657
4a103975
JM
11658 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11659 Remove macro.
11660 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11661 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11662 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11663
a2a76afe
JM
11664 * sysdeps/unix/sysv/linux/kernel-features.h
11665 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11666 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11667 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11668 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11669
90e5dd48
MR
116702014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11671
11672 [BZ #17075]
11673 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11674 Fix calculation of the symbol's value.
11675 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11676 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11677 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11678 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11679 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11680 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11681 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11682 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11683 (modules-names): Add `tst-armtlsdescmod',
11684 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11685 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11686 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11687 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11688 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11689 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11690 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11691 ($(objpfx)tst-armtlsdescloc): New dependency.
11692 ($(objpfx)tst-armtlsdescextnow): Likewise.
11693 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11694 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11695 TLS scheme support.
11696 * sysdeps/arm/configure: Regenerate.
11697
809fdf0d
JM
116982014-06-20 Joseph Myers <joseph@codesourcery.com>
11699
11700 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11701 (__atfct_seterrno_2): Likewise.
11702 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11703 <kernel-features.h>.
11704 (__ASSUME_ATFCTS): Do not undefine and redefine.
11705 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11706 (__have_atfcts): Remove conditional definition.
11707 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11708 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11709 unreachable if [__ASSUME_ATFCTS].
11710 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11711 not undefine and redefine.
11712 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11713 <kernel-features.h>.
11714 (faccessat) [__NR_faccessat]: Make code unconditional.
11715 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11716 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11717 <kernel-features.h>.
11718 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11719 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11720 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11721 <kernel-features.h>.
11722 (fchownat) [__NR_fchownat]: Make code unconditional.
11723 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11724 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11725 <kernel-features.h>.
11726 (futimesat) [__NR_futimesat]: Make code unconditional.
11727 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11728 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11729 <kernel-features.h>.
11730 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11731 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11732 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11733 <kernel-features.h>.
11734 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11735 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11736 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11737 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11738 <kernel-features.h>.
11739 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11740 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11741 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11742 <kernel-features.h>.
11743 (linkat) [__NR_linkat]: Make code unconditional.
11744 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11745 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11746 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11747 <kernel-features.h>.
11748 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11749 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11750 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11751 <kernel-features.h>.
11752 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11753 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11754 * sysdeps/unix/sysv/linux/openat.c: Do not include
11755 <kernel-features.h>.
11756 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11757 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11758 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11759 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11760 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11761 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11762 <kernel-features.h>.
11763 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11764 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11765 result of INLINE_SYSCALL directly, not via int variable.
11766 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11767 <kernel-features.h>.
11768 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11769 (renameat) [__NR_renameat]: Make code unconditional.
11770 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11771 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11772 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11773 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11774 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11775 (__ASSUME_ATFCTS): Do not undefine and redefine.
11776 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11777 <kernel-features.h>.
11778 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11779 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11780 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11781 <kernel-features.h>.
11782 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11783 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11784 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11785 (__ASSUME_ATFCTS): Do not undefine and redefine.
11786 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11787 <kernel-features.h>.
11788 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11789 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11790 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11791 <kernel-features.h>.
11792 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11793 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11794
224c6c51
L
117952014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11796
11797 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11798
aa6ec754
AS
117992014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11800
11801 [BZ #17069]
11802 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11803 constructed tree before returning error.
11804 * posix/bug-regexp36.c: Expand test case.
11805
d8c2869d
SL
118062014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11807
3ef6b850
SL
11808 [BZ #6803]
11809 * math/libm-test.inc (scalbln_test_date):
11810 Add errno expectations.
11811 * math/w_scalblnf.c: New File.
11812 Add wrapper which checks for setting errno to ERANGE.
11813 Add weak_alias for corresponding scalbln function.
11814 * math/w_scalbln.c: Likewise.
11815 * math/w_scalblnl.c: Likewise.
11816 * math/Makefile (libm-calls): Add w_scalbln.
11817 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11818 Remove weak_alias for corresponding scalbln function.
11819 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11821 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11822 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11823 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11824 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11825 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11826 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11827 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11828 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11829 Remove long_double_symbol for scalblnl function in libm, libc.
11830 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11831 Add wrapper which checks for setting errno to ERANGE.
11832 Add long_double_symbol for scalblnl function in libm, libc.
11833 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11834 Remove long_double_symbol for scalblnl in libm.
11835 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11836 Add wrapper which checks for setting errno to ERANGE.
11837 Add long_double_symbol for scalblnl function in libm.
11838 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11839 Do not use wrapper because of own implementation.
11840
c8daec5c
L
118412014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11842
11843 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11844 3 bytes for __pad1 for x32.
11845 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11846
5c74e47c
LM
118472014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11848 H.J. Lu <hongjiu.lu@intel.com>
11849
11850 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11851 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11852 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11853 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11854 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11855
4d43ef1e
AS
118562014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11857
11858 [BZ #17069]
11859 * posix/regcomp.c (parse_expression): Deallocate partially
11860 constructed tree before returning error.
11861 * posix/Makefile.c (tests): Add bug-regex36.
11862 (generated): Add bug-regex36.mtrace.
11863 (tests-special): Add $(objpfx)bug-regex36-mem.out
11864 (bug-regex36-ENV): New variable.
11865 ($(objpfx)bug-regex36-mem.out): New rule.
11866 * posix/bug-regex36.c: New file.
11867
51a7380b
WN
118682014-06-19 Will Newton <will.newton@linaro.org>
11869
11870 * malloc/malloc.c (systrim): If extra is zero then return
11871 early.
11872
91b84fe5
SP
118732014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11874
11875 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11876
f940b965
RE
118772014-06-19 Richard Earnshaw <rearnsha@arm.com>
11878
11879 * sysdeps/aarch64/strchr.S: New file.
11880
4ba7a00f
JM
118812014-06-18 Joseph Myers <joseph@codesourcery.com>
11882
11883 [BZ #17022]
11884 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11885 from arguments -2 or below.
11886 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11887 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11888
b3a9f56b
AS
118892014-06-18 Andreas Schwab <schwab@suse.de>
11890
11891 [BZ #17062]
11892 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11893 of a bracket expr not to run off the end of the string.
11894 * posix/Makefile (tests): Add tst-fnmatch3.
11895 * posix/tst-fnmatch3.c: New file.
11896
85d89278
JM
118972014-06-18 Joseph Myers <joseph@codesourcery.com>
11898
11899 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11900 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11901 [$(cross-compiling) = no]: Likewise.
11902 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11903 [$(cross-compiling) = no]: Likewise.
11904
754c5a08
RS
119052014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11906
11907 [BZ #17031]
11908 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11909 double, adjusted for any remainder from the high double.
11910 * math/libm-test.inc (nearbyint): Add tests.
11911 (rint): Likewise.
11912
556f529d
AZ
119132014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11914
11915 * nptl/sysdeps/powerpc/Makefile: Moved ...
11916 * sysdeps/powerpc/nptl/Makefile: ... here.
11917 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11918 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11919 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11920 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11921 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11922 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11923 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11924 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11925 * nptl/sysdeps/powerpc/tls.h: Moved ...
11926 * sysdeps/powerpc/nptl/tls.h: ... here.
11927
91c03c53
JM
119282014-06-16 Joseph Myers <joseph@codesourcery.com>
11929
11930 [BZ #16681]
11931 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11932 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11933 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11934 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11935 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11936 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11937 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11938 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11939 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11940
a76e63c5
AS
119412014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11942
11943 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11944
f2f6d82f
AS
119452014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11946
ea8a15f6
AS
11947 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11948 defined operator.
11949
f2f6d82f
AS
11950 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11951 $TIMEOUTFACTOR.
11952
a7291117
FW
119532014-06-16 Florian Weimer <fweimer@redhat.com>
11954
11955 [BZ #17058]
11956 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11957 non-executed part of the test.
11958
3d7c00e3
AS
119592014-06-16 Andreas Schwab <schwab@suse.de>
11960
11961 * string/bits/string2.h (strdup, strndup): Update feature guard.
11962
6957fb31
DM
119632014-06-14 David S. Miller <davem@davemloft.net>
11964
11965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11966
11b9e55b
AS
119672014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11968
1d2a0492
AS
11969 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11970 that was previously under [RESET_PID].
11971 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11972
11b9e55b
AS
11973 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11974 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11975 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11976 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11977 (__libc_vfork): New strong alias.
11978 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11979
0f6901d0
AK
119802014-06-14 Andi Kleen <ak@linux.intel.com>
11981
11982 * sysdeps/generic/elide.h: New file.
11983
38bbbb9f
SL
119842014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11985
11986 * Makefile (installed-headers): Adjust path of pthread.h header.
11987
45193bb8
RM
119882014-06-13 Roland McGrath <roland@hack.frob.com>
11989
9a25fd1e
RM
11990 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11991 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11992 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11993 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11994
4004f7e4
RM
11995 * nptl/sysdeps/s390/Makefile: Moved ...
11996 * sysdeps/s390/nptl/Makefile: ... here.
11997 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11998 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11999 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12000 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12001 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12002 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12003 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12004 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12005 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12006 * sysdeps/s390/nptl/pthreaddef.h: ... here.
12007 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12008 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12009 * nptl/sysdeps/s390/tls.h: Moved ...
12010 * sysdeps/s390/nptl/tls.h: ... here.
12011
45193bb8
RM
12012 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12013 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12014
f6fdf533
DM
120152014-06-13 David S. Miller <davem@davemloft.net>
12016
12017 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12020 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12021 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12024 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12025 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12026 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12027 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12028 Remove RESET_PID cpp guards.
12029 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12030 Remove RESET_PID cpp guards.
12031 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12032
f5d71e14
AS
120332014-06-13 Andreas Schwab <schwab@linux-m68k.org>
12034
12035 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12036 __sp to uintptr_t.
12037
b7aa8caa
AK
120382014-06-13 Andi Kleen <ak@linux.intel.com>
12039
4b266200
AZ
12040 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12041 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12042 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12043 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12044 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12045 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12046 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12047 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12048 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12049 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12050 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12051 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12052 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12053 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12054 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12055 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12056 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12057 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12058 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12059 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
12060
12061 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
12062 (pthread_rwlock_rdlock): Add elision.
12063 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12064 (pthread_rwlock_wrlock): Add elision.
12065 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12066 (pthread_rwlock_trywrlock): Add elision.
12067 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12068 (pthread_rwlock_tryrdlock): Add elision.
12069 * nptl/pthread_rwlock_unlock.c: Include elide.h.
12070 (pthread_rwlock_tryrdlock): Add elision unlock.
12071 * nptl/sysdeps/pthread/pthread.h:
12072 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12073 (PTHREAD_RWLOCK_INITIALIZER,
12074 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12075 Handle new elision field.
12076 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12077 * sysdeps/arm/nptl/bits/pthreadtypes.h
12078 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12079 * sysdeps/sh/nptl/bits/pthreadtypes.h
12080 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12081 * sysdeps/tile/nptl/bits/pthreadtypes.h
12082 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12083 * sysdeps/a/nptl/bits/pthreadtypes.h
12084 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12085 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12086 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12087 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12088 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12089 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12090 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12091 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12092 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12093 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12094 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12095 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12096 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12097 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12098 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12099 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12100 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12101 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12102 (elision_init): Set try_xbegin to zero when no RTM.
12103 * sysdeps/x86/nptl/bits/pthreadtypes.h
12104 (pthread_rwlock_t): Change __pad1 to __rwelision.
12105 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 12106
a832bdd3
AK
121072014-06-13 Andi Kleen <ak@linux.intel.com>
12108
12109 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12110 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12111 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12112 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12113
995a46bb
MI
121142014-06-13 Meador Inge <meadori@codesourcery.com>
12115
12116 [BZ #16996]
03ed7738 12117 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
12118 that the cached result has been set before returning it.
12119
45262aee
RM
121202014-06-12 Roland McGrath <roland@hack.frob.com>
12121
febf6cc5
RM
12122 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12123 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12124 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12125 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12126 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12127 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12128
e2682246
RM
12129 * nptl/sysdeps/sparc/Makefile: Moved ...
12130 * sysdeps/sparc/nptl/Makefile: ... here.
12131 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12132 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12133 * nptl/sysdeps/sparc/tls.h: Moved ...
12134 * sysdeps/sparc/nptl/tls.h: ... here.
12135 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12136 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12137 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12138 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12139 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12140 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12141 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12142 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12143 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12144 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12145 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12146 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12147 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12148 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12149 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12150 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12151 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12152 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12153 Update #include.
12154 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12155 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12156 Update #include.
12157 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12158 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12159 Update #include.
12160 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12161 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12162 Update #include.
12163
b0725f43
RM
12164 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12165
b14368b8
RM
12166 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12167 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12168
c5620eb3
RM
12169 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12170 (struct list_links): Type removed.
12171 (struct thread_node, struct timer_node): Replace struct list_links
12172 with struct list_head.
12173 (list_unlink_ip): Likewise.
12174 * sysdeps/pthread/timer_routines.c
12175 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12176 (list_append, list_insbefore): Likewise.
12177 (list_init): Function removed.
12178 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
12179 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12180 * sysdeps/pthread/Makefile: ... here, new file.
12181
12182 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12183 * sysdeps/nptl/Implies: ... here.
12184 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12185 * nptl/sysdeps/pthread/list.h: Moved ...
12186 * include/list.h: ... here.
12187 * nptl/sysdeps/pthread/createthread.c: Moved ...
12188 * nptl/createthread.c: ... here.
12189 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12190 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12191 * nptl/pt-longjmp.c: ... here.
12192 * nptl/sysdeps/pthread/Makefile: Moved ...
12193 * sysdeps/nptl/Makefile: ... here.
12194 * nptl/sysdeps/pthread/Subdirs: Moved ...
12195 * sysdeps/nptl/Subdirs: ... here.
12196 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12197 * sysdeps/nptl/aio_misc.h: ... here.
12198 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12199 * sysdeps/nptl/bits/libc-lock.h: ... here.
12200 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12201 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12202 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12203 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12204 * nptl/sysdeps/pthread/configure: Moved ...
12205 * sysdeps/nptl/configure: ... here.
12206 * nptl/sysdeps/pthread/configure.ac: Moved ...
12207 * sysdeps/nptl/configure.ac: ... here.
12208 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12209 * sysdeps/nptl/gai_misc.h: ... here.
12210 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12211 * sysdeps/nptl/librt-cancellation.c: ... here.
12212 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12213 * sysdeps/nptl/malloc-machine.h: ... here.
12214 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12215 * sysdeps/nptl/pthread-functions.h: ... here.
12216 * nptl/sysdeps/pthread/pthread.h: Moved ...
12217 * sysdeps/nptl/pthread.h: ... here.
12218 * nptl/sysdeps/pthread/setxid.h: Moved ...
12219 * sysdeps/nptl/setxid.h: ... here.
12220 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12221 * sysdeps/nptl/sigfillset.c: ... here.
12222 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12223 * sysdeps/nptl/tcb-offsets.h: ... here.
12224 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12225 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12226 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12227 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12228 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12229 * sysdeps/pthread/allocalim.h: ... here.
12230 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12231 * sysdeps/pthread/bits/sigthread.h: ... here.
12232 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12233 * sysdeps/pthread/flockfile.c: ... here.
12234 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12235 * sysdeps/pthread/ftrylockfile.c: ... here.
12236 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12237 * sysdeps/pthread/funlockfile.c: ... here.
12238 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12239 * sysdeps/pthread/posix-timer.h: ... here.
12240 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12241 * sysdeps/pthread/timer_create.c: ... here.
12242 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12243 * sysdeps/pthread/timer_delete.c: ... here.
12244 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12245 * sysdeps/pthread/timer_getoverr.c: ... here.
12246 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12247 * sysdeps/pthread/timer_gettime.c: ... here.
12248 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12249 * sysdeps/pthread/timer_routines.c: ... here.
12250 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12251 * sysdeps/pthread/timer_settime.c: ... here.
12252 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12253 * sysdeps/pthread/tst-timer.c: ... here.
12254 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12255 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12256
e876b090
RM
12257 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12258 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12259
f6b07b3d
RM
12260 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12261 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12262 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12263 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12264 Update #include target.
12265 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12266 * sysdeps/i386/i686/nptl/Makefile: ... here.
12267 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12268 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12269 Update #include target.
12270 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12271 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12272 * nptl/sysdeps/i386/Makefile: Moved ...
12273 * sysdeps/i386/nptl/Makefile: ... here.
12274 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12275 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12276 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12277 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12278 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12279 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12280 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12281 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12282 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12283 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12284 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12285 * nptl/sysdeps/i386/tls.h: Moved ...
12286 * sysdeps/i386/nptl/tls.h: ... here.
12287
45262aee
RM
12288 * sysdeps/sh/Makefile [$(subdir) = csu]
12289 (gen-as-const-headers): Add tcb-offsets.sym.
12290 * nptl/sysdeps/sh/Makefile: File removed.
12291 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12292 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12293 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12294 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12295 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12296 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12297 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12298 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12299 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12300 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12301 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12302 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12303 * nptl/sysdeps/sh/tls.h: Moved ...
12304 * sysdeps/sh/nptl/tls.h: ... here.
12305 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12306 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12307 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12308 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12309 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12310 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12311 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12312 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12313 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12314 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12315 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12316 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12317 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12318 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12319 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12320 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12321 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12322 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12323 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12324 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12325 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12326 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12327 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12328 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12329 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12330 Moved ...
12331 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12332 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12333 Moved ...
12334 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12335 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12336 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12337 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12338 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12339 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12340 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12341 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12342 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12343 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12344 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12345 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12346 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12347 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12348 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12349 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12350 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12351 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12352 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12353
35a5e3e3
SL
123542014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12355
12356 * posix/spawn_faction_addopen.c: Include string.h.
12357
14642b85
RM
123582014-06-11 Roland McGrath <roland@hack.frob.com>
12359
12360 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12361 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12362 * nptl/sysdeps/x86_64/Makefile: Moved ...
12363 * sysdeps/x86_64/nptl/Makefile: ... here.
12364 * nptl/sysdeps/x86_64/configure: Moved ...
12365 * sysdeps/x86_64/nptl/configure: ... here.
12366 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12367 * sysdeps/x86_64/nptl/configure.ac: ... here.
12368 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12369 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12370 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12371 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12372 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12373 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12374 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12375 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12376 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12377 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12378 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12379 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12380 * nptl/sysdeps/x86_64/tls.h: Moved ...
12381 * sysdeps/x86_64/nptl/tls.h: ... here.
12382 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12383 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12384 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12385 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12386
12387 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12388
31c44fea
AZ
123892014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12390
12391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12392
e81a4f9a
JM
123932014-06-11 Joseph Myers <joseph@codesourcery.com>
12394
12395 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12396 type.
12397 [POSIX] (off_t): Likewise.
12398 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12399 [POSIX] (S_ISBLK): Require macro.
12400 [POSIX] (S_ISCHR): Likewise.
12401 [POSIX] (S_ISDIR): Likewise.
12402 [POSIX] (S_ISFIFO): Likewise.
12403 [POSIX] (S_ISREG): Likewise.
12404 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12405 optional-macro.
12406 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12407 type.
12408 [POSIX] (time_t): Likewise.
12409 [POSIX] (timer_t): Likewise.
12410
89e435f3
FW
124112014-06-11 Florian Weimer <fweimer@redhat.com>
12412
12413 [BZ #17048]
12414 * posix/spawn_int.h (struct __spawn_action): Make the path string
12415 non-const to support deallocation.
12416 * posix/spawn_faction_addopen.c
12417 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12418 * posix/spawn_faction_destroy.c
12419 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12420 path in all spawn_do_open actions.
12421 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12422 posix_spawn_file_actions_addopen.
12423
c3a2ebe1
CM
124242014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12425
12426 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12427 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12428 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12429 conditional code always true.
12430 (__libc_vfork): New alias.
12431
9503784a
RM
124322014-06-11 Roland McGrath <roland@hack.frob.com>
12433
c9cab3d2
RM
12434 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12435 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12436
d3996c79
RM
12437 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12438
ba5ec611
RM
12439 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12440 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12441
f12b4814
RM
12442 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12443 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12444
9503784a
RM
12445 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12446 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12447
e23d3d26
VR
124482014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12449
12450 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12451 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12452 multiarch strcmp for PPC64.
12453 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12454 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12456 multiarch optimizations.
12457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12458 (__libc_ifunc_impl_list): Likewise.
12459
42b1161e
SP
124602014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12461
12462 * benchtests/scripts/validate_benchout.py: New script.
12463 * benchtests/Makefile (bench-func): Call it.
12464 * benchtests/scripts/benchout.schema.json: New file.
12465
2d0fc4dc
CM
124662014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12467
4a594c34
AZ
12468 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12469 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12470 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12471 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12472 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12473 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12474 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12475 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12476 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12477 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12478 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12479 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12480 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12481 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12482 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12483 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 12485 Moved ...
4a594c34 12486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 12487 ... here.
4a594c34 12488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 12489 Moved ...
4a594c34
AZ
12490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 12492 Moved ...
4a594c34 12493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 12494 ... here.
4a594c34 12495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 12496 Moved ...
4a594c34 12497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 12498 ... here.
4a594c34 12499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 12500 Moved ...
4a594c34
AZ
12501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 12503 Moved ...
4a594c34 12504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 12505 ... here.
4a594c34 12506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 12507 Moved ...
4a594c34 12508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 12509 ... here.
4a594c34 12510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 12511 Moved ...
4a594c34
AZ
12512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 12514 Moved ...
4a594c34 12515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 12516 ... here.
4a594c34 12517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 12518 Moved ...
4a594c34 12519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 12520 ... here.
4a594c34 12521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 12522 Moved ...
4a594c34 12523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 12524 ... here.
4a594c34 12525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 12526 Moved ...
4a594c34
AZ
12527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 12529 Moved ...
4a594c34 12530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 12531 ... here.
4a594c34 12532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 12533 Moved ...
4a594c34 12534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 12535 ... here.
4a594c34 12536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 12537 Moved ...
4a594c34 12538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 12539 ... here.
4a594c34 12540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 12541 Moved ...
4a594c34
AZ
12542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 12544 Moved ...
4a594c34 12545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 12546 ... here.
4a594c34 12547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 12548 Moved ...
4a594c34 12549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 12550 ... here.
4a594c34 12551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 12552 Moved ...
4a594c34
AZ
12553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 12555 Moved ...
4a594c34 12556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 12557 ... here.
4a594c34 12558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 12559 Moved ...
4a594c34
AZ
12560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 12562 Moved ...
4a594c34
AZ
12563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 12565 Moved ...
4a594c34 12566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 12567 ... here.
4a594c34 12568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 12569 Moved ...
4a594c34 12570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 12571 ... here.
4a594c34 12572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 12573 Moved ...
4a594c34 12574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 12575 ... here.
4a594c34 12576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 12577 Moved ...
4a594c34
AZ
12578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 12580 Moved ...
4a594c34 12581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 12582 ... here.
4a594c34 12583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 12584 Moved ...
4a594c34 12585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 12586 ... here.
4a594c34
AZ
12587 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12588 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12589 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12590 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12591 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 12592 Moved ...
4a594c34 12593 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 12594 ... here.
4a594c34
AZ
12595 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12596 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12597 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12598 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12599 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12600 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12601 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12602 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12603 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12604 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12605 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12606 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12607 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 12608 Moved ...
4a594c34
AZ
12609 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12610 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 12611 Moved ...
4a594c34
AZ
12612 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12613 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12614 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12615 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 12616 Moved ...
4a594c34
AZ
12617 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12618 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12619 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12620 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12621 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12622 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12623 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 12624
0570cfed
W
126252014-06-10 Wilco <wdijkstr@arm.com>
12626
12627 * math/test-fenv-return.c: New file.
12628 * math/Makefile: Add new test test-fenv-return.
12629
f8ba1b56
JM
126302014-06-10 Joseph Myers <joseph@codesourcery.com>
12631
12632 [BZ #17042]
12633 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12634 when x - 1 is zero.
12635 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12636 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12637 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12638 0.0L for an argument of 1.0L.
12639 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12640 Likewise.
12641 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12642 value when x - 1 is zero.
12643 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12644 * sysdeps/i386/fpu/libm-test-ulps: Update.
12645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12646
2c3520d9
BO
126472014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12648
12649 [BZ #15119]
12650 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12651
acaa4d24
RM
126522014-06-09 Roland McGrath <roland@hack.frob.com>
12653
12654 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12655 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12656
962b744d
RM
126572014-06-09 Roland McGrath <roland@hack.frob.com>
12658
d752f0cc
RM
12659 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12660 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12661
34eda6d1
RM
12662 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12663 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12664
50f0a637
RM
12665 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12666 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12667
08f41f04
RM
12668 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12669 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12670
962b744d
RM
12671 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12672 if not already defined.
12673 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12674 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12675 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12676 (TLS_INIT_TP): Use it.
12677 (TLS_DEFINE_INIT_TP): New macro.
12678 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12679
09f19b05
JM
126802014-06-09 Joseph Myers <joseph@codesourcery.com>
12681
12682 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12683 constant.
12684 [POSIX] (IXANY): Likewise.
12685 [POSIX] (OLCUC): Likewise.
12686 [POSIX || POSIX2008] (CBAUD): Do not allow.
12687 [POSIX || POSIX2008] (DEFECHO): Likewise.
12688 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12689 [POSIX || POSIX2008] (ECHOKE): Likewise.
12690 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12691 [POSIX || POSIX2008] (EXTA): Likewise.
12692 [POSIX || POSIX2008] (EXTB): Likewise.
12693 [POSIX || POSIX2008] (FLUSHO): Likewise.
12694 [POSIX || POSIX2008] (LOBLK): Likewise.
12695 [POSIX || POSIX2008] (PENDIN): Likewise.
12696 [POSIX || POSIX2008] (SWTCH): Likewise.
12697 [POSIX || POSIX2008] (VDISCARD): Likewise.
12698 [POSIX || POSIX2008] (VDSUSP): Likewise.
12699 [POSIX || POSIX2008] (VLNEXT): Likewise.
12700 [POSIX || POSIX2008] (VREPRINT): Likewise.
12701 [POSIX || POSIX2008] (VSTATUS): Likewise.
12702 [POSIX || POSIX2008] (VWERASE): Likewise.
12703 (B*): Change to B[0123456789]*.
12704 * conform/data/time.h-data [POSIX || UNIX98]
12705 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12706 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12707 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12708 [POSIX] (tm_*): Do not allow.
12709
686554bf
JM
127102014-06-07 Joseph Myers <joseph@codesourcery.com>
12711
12712 * Makefile (install): Don't set LANGUAGE.
12713 * Makefile.in (install): Likewise.
12714 * assert/Makefile (test-assert-ENV): Remove variable.
12715 (test-assert-perr-ENV): Likewise.
12716 * elf/Makefile (neededtest4-ENV): Likewise.
12717 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12718 [$(cross-compiling) = no]: Don't set LANGUAGE.
12719 * io/ftwtest-sh (LANG): Remove variable.
12720 * libio/Makefile (tst-widetext-ENV): Likewise.
12721 * manual/install.texi (Running make install): Don't refer to
12722 environment settings for make install.
12723 * INSTALL: Regenerated.
12724 * nptl/tst-tls6.sh: Don't set LANG.
12725 * posix/globtest.sh (LANG): Remove variable.
12726 * string/Makefile (tester-ENV): Likewise.
12727 (inl-tester-ENV): Likewise.
12728 (noinl-tester-ENV): Likewise.
12729 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12730 [$(cross-compiling) = no]: Don't set LANGUAGE.
12731 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12732 without explicit environment settings.
12733
68e6b6b1
RM
127342014-06-06 Roland McGrath <roland@hack.frob.com>
12735
12736 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12737 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12738 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12739 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12740
4d3ae034
CM
127412014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12742
12743 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12744 other files in the crypt directory.
12745 * crypt/crypt.c: Remove duplicate includes.
12746 * crypt/crypt-entry.c: Likewise.
12747 * crypt/crypt_util.c: Likewise.
12748
8540f6d2
JM
127492014-06-06 Joseph Myers <joseph@codesourcery.com>
12750
12751 * Makeconfig (run-program-env): New variable.
12752 (run-program-prefix-before-env): Likewise.
12753 (run-program-prefix-after-env): Likewise.
12754 (run-program-prefix): Define in terms of new variables.
12755 (built-program-cmd-before-env): New variable.
12756 (built-program-cmd-after-env): Likewise.
12757 (built-program-cmd): Define in terms of new variables.
12758 (test-program-prefix-before-env): New variable.
12759 (test-program-prefix-after-env): Likewise.
12760 (test-program-prefix): Define in terms of new variables.
12761 (test-program-cmd-before-env): New variable.
12762 (test-program-cmd-after-env): Likewise.
12763 (test-program-cmd): Define in terms of new variables.
12764 * Rules (make-test-out): Use $(run-program-env).
12765 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12766 (help): Do not mention environment variables. Mention
12767 --timeoutfactor option.
12768 (timeoutfactor): New variable.
12769 (blacklist_exports): Remove function.
12770 (exports): Remove variable.
12771 (command): Do not include ${exports}.
12772 * manual/install.texi (Configuring and compiling): Do not mention
12773 test wrappers preserving environment variables. Mention that last
12774 assignment to a variable must take precedence.
12775 * INSTALL: Regenerated.
12776 * benchtests/Makefile (run-bench): Use $(run-program-env).
12777 * catgets/Makefile ($(objpfx)test1.cat): Use
12778 $(built-program-cmd-before-env), $(run-program-env) and
12779 $(built-program-cmd-after-env).
12780 ($(objpfx)test2.cat): Do not specify environment variables
12781 explicitly.
12782 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12783 $(run-program-env) and $(built-program-cmd-after-env).
12784 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12785 $(run-program-env) and $(test-program-cmd-after-env).
12786 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12787 explicitly.
12788 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12789 run_program_env and test_program_cmd_after_env arguments.
12790 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12791 * elf/tst-pathopt.sh: Use run_program_env argument.
12792 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12793 $(test-wrapper-env) and $(run-program-env).
12794 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12795 run_program_env arguments.
12796 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12797 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12798 $(test-program-prefix-before-env), $(run-program-env) and
12799 $(test-program-prefix-after-env).
12800 ($(objpfx)tst-gettext2.out): Likewise.
12801 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12802 run_program_env and test_program_prefix_after_env arguments.
12803 * intl/tst-gettext2.sh: Likewise.
12804 * intl/tst-gettext4.sh: Do not set environment variables
12805 explicitly.
12806 * intl/tst-gettext6.sh: Likewise.
12807 * intl/tst-translit.sh: Likewise.
12808 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12809 $(test-program-prefix-before-env), $(run-program-env) and
12810 $(test-program-prefix-after-env).
12811 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12812 run_program_env and test_program_prefix_after_env arguments.
12813 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12814 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12815 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12816 explicitly with each use of ${test_wrapper_env}.
12817 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12818 $(test-program-prefix-before-env), $(run-program-env) and
12819 $(test-program-prefix-after-env).
12820 * posix/tst-getconf.sh: Do not set environment variables
12821 explicitly.
12822 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12823 run_program_env and test_program_prefix_after_env arguments.
12824 * stdio-common/tst-printf.sh: Do not set environment variables
12825 explicitly.
12826 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12827 $(test-program-prefix-before-env), $(run-program-env) and
12828 $(test-program-prefix-after-env).
12829 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12830 run_program_env and test_program_prefix_after_env arguments.
12831 Split $test calls into $test_pre and $test.
12832 * timezone/Makefile (build-testdata): Use
12833 $(built-program-cmd-before-env), $(run-program-env) and
12834 $(built-program-cmd-after-env).
12835
ed36bfa1
AZ
128362014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12837
12838 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12839 strlen for non SHARED builds.
12840
fc75bf46
SP
128412014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12842
12843 * nptl/allocatestack.c (check_list): Inlined function...
12844 (__reclaim_stacks): ... here.
12845
d89b3d80
OB
128462014-06-05 Ondřej Bílka <neleai@seznam.cz>
12847
12848 [BZ #15698]
12849 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12850 memory overrun.
12851
2bf18041
JM
128522014-06-05 Joseph Myers <joseph@codesourcery.com>
12853
12854 * Rules (make-test-out): Include
12855 LOCPATH=$(common-objpfx)localedata in default environment.
12856 * debug/Makefile (tst-chk1-ENV): Remove variable.
12857 (tst-chk2-ENV): Likewise.
12858 (tst-chk3-ENV): Likewise.
12859 (tst-chk4-ENV): Likewise.
12860 (tst-chk5-ENV): Likewise.
12861 (tst-chk6-ENV): Likewise.
12862 (tst-lfschk1-ENV): Likewise.
12863 (tst-lfschk2-ENV): Likewise.
12864 (tst-lfschk3-ENV): Likewise.
12865 (tst-lfschk4-ENV): Likewise.
12866 (tst-lfschk5-ENV): Likewise.
12867 (tst-lfschk6-ENV): Likewise.
12868 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12869 (tst-iconv7-ENV): Likewise.
12870 * intl/Makefile (LOCPATH-ENV): Likewise.
12871 (tst-codeset-ENV): Likewise.
12872 (tst-gettext3-ENV): Likewise.
12873 (tst-gettext5-ENV): Likewise.
12874 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12875 (tst-fopenloc-ENV): Likewise.
12876 (tst-fgetws-ENV): Remove variable.
12877 (tst-ungetwc1-ENV): Likewise.
12878 (tst-ungetwc2-ENV): Likewise.
12879 (bug-ungetwc2-ENV): Likewise.
12880 (tst-swscanf-ENV): Likewise.
12881 (bug-ftell-ENV): Likewise.
12882 (tst-fgetwc-ENV): Likewise.
12883 (tst-fseek-ENV): Likewise.
12884 (tst-ftell-partial-wide-ENV): Likewise.
12885 (tst-ftell-active-handler-ENV): Likewise.
12886 (tst-ftell-append-ENV): Likewise.
12887 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12888 (tst-regexloc-ENV): Likewise.
12889 (bug-regex1-ENV): Likewise.
12890 (tst-regex-ENV): Likewise.
12891 (tst-regex2-ENV): Likewise.
12892 (bug-regex5-ENV): Likewise.
12893 (bug-regex6-ENV): Likewise.
12894 (bug-regex17-ENV): Likewise.
12895 (bug-regex18-ENV): Likewise.
12896 (bug-regex19-ENV): Likewise.
12897 (bug-regex20-ENV): Likewise.
12898 (bug-regex22-ENV): Likewise.
12899 (bug-regex23-ENV): Likewise.
12900 (bug-regex25-ENV): Likewise.
12901 (bug-regex26-ENV): Likewise.
12902 (bug-regex30-ENV): Likewise.
12903 (bug-regex32-ENV): Likewise.
12904 (bug-regex33-ENV): Likewise.
12905 (bug-regex34-ENV): Likewise.
12906 (bug-regex35-ENV): Likewise.
12907 (tst-rxspencer-ENV): Likewise.
12908 (tst-rxspencer-no-utf8-ENV): Likewise.
12909 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12910 (tst-sscanf-ENV): Likewise.
12911 (tst-swprintf-ENV): Likewise.
12912 (tst-swscanf-ENV): Likewise.
12913 (test-vfprintf-ENV): Likewise.
12914 (scanf13-ENV): Likewise.
12915 (bug14-ENV): Likewise.
12916 (tst-grouping-ENV): Likewise.
12917 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12918 (tst-strtod3-ENV): Likewise.
12919 (tst-strtod4-ENV): Likewise.
12920 (tst-strtod5-ENV): Likewise.
12921 (testmb2-ENV): Likewise./
12922 * string/Makefile (tst-strxfrm-ENV): Likewise.
12923 (tst-strxfrm2-ENV): Likewise.
12924 (bug-strcoll1-ENV): Likewise.
12925 (test-strcasecmp-ENV): Likewise.
12926 (test-strncasecmp-ENV): Likewise.
12927 * time/Makefile (tst-strptime-ENV): Likewise.
12928 (tst-ftime_l-ENV): Likewise.
12929 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12930 (tst-mbrtowc-ENV): Likewise.
12931 (tst-wcrtomb-ENV): Likewise.
12932 (tst-mbrtowc2-ENV): Likewise.
12933 (tst-c16c32-1-ENV): Likewise.
12934 (tst-mbsnrtowcs-ENV): Likewise.
12935
cd1fb604
OB
129362014-06-05 Ondřej Bílka <neleai@seznam.cz>
12937
12938 * manual/resource.texi (How to get information about the memory
12939 subsystem?): Fix typo.
12940 Reported by Peon de la Parra Ivan <peon@keba.com>
12941
b42eca7d
GY
129422014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12943
12944 [BZ #16882]
12945 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12946 (pthread_spin_lock): Branch out of spin loop to proper location.
12947 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12948 (pthread_spin_lock): Likewise.
12949
902b71f9
DM
12950 * nptl/tst-spin4.c: New test.
12951 * nptl/Makefile (tests): Add tst-spin4.
12952
f9d2d032
AS
129532014-06-03 Andreas Schwab <schwab@suse.de>
12954
12955 [BZ #15946]
12956 * resolv/res_send.c (send_dg): Reload file descriptor after
12957 calling reopen.
12958
cf7bfd28
SL
129592014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12960
12961 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12962
111cc714
RH
129632014-06-03 Richard Henderson <rth@redhat.com>
12964
89b4bd6b
RH
12965 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12966 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12967 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12968 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12969 in the SAVE_PID block.
12970 (__libc_vfork): New alias.
71840409 12971 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 12972
111cc714
RH
12973 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12974 child in registers, not on the stack. Remove RESET_PID conditionals.
12975 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12976
ccc39911
MS
129772014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12978
12979 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12980
693096cc
W
129812014-06-03 Wilco <wdijkstr@arm.com>
12982
12983 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12984 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12985 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12986 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12987 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12988 Likewise.
12989
0b4366bc
W
129902014-06-03 Wilco <wdijkstr@arm.com>
12991
12992 * sysdeps/aarch64/fpu/math_private.h
12993 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12994 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12995 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12996 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12997 Fix declarations.
12998
8747cd03
KS
129992014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13000
13001 * crypt/crypt-private.h: Include ufc-crypt.h.
13002 (__b64_from_24bit): Declare extern.
13003 * crypt/crypt_util.c(__b64_from_24bit): New function.
13004 (b64t): New static const variable.
13005 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13006 (b64t): Remove variable.
13007 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13008 * crypt/sha256-crypt.c: Include crypt-private.h.
13009 (b64t): Remove variable.
13010 (__sha256_crypt_r): Remove b64_from_24bit and replace
13011 with __b64_from_24bit.
13012 * crypt/sha512-crypt.c: Likewise.
13013
d936d379
RM
130142014-06-02 Roland McGrath <roland@hack.frob.com>
13015
13016 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13017 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13018 Label the code __libc_vfork rather than __vfork.
13019 [!NOT_IN_libc] (vfork): Define as weak alias.
13020 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13021 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13022 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13023
9fa76613
SP
130242014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13025
13026 * malloc/malloc.c (malloc_info): Fix format specifier for
13027 n_mmaps.
13028
a88dadbe
W
130292014-06-02 Wilco <wdijkstr@arm.com>
13030
13031 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13032 FPCR write.
13033
c95b3011
W
130342014-06-02 Wilco <wdijkstr@arm.com>
13035
13036 [BZ #17009]
13037 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13038 Rewrite to reduce FPCR/FPSR accesses.
13039
6b4d7a90
DM
130402014-06-01 David S. Miller <davem@davemloft.net>
13041
13042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13043
30f3d07c
DM
130442014-05-31 David S. Miller <davem@davemloft.net>
13045
13046 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13047 to occur in round to nearest mode when |x| >= 2.0
13048
74f31c18
RH
130492014-05-30 Richard Henderson <rth@twiddle.net>
13050
f0712b54
RH
13051 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13052 (PSEUDO_RET_NOERRNO): Remove.
13053 (ret): Don't redefine.
13054 (ret_NOERRNO): Define in terms of ret.
13055 (ret_ERRVAL): Likewise.
13056
74f31c18
RH
13057 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13058 use of PSEUDO_RET; perform the error check directly.
13059
30477995
MM
130602014-05-30 Marko Myllynen <myllynen@redhat.com>
13061
13062 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13063 with __int128_t.
13064
62a58816
SP
130652014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13066
13067 * malloc/malloc (malloc_info): Fix formatting.
13068
4d653a59
SP
130692014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13070 Roland McGrath <roland@hack.frob.com>
13071
13072 * malloc/malloc (malloc_info): Also print mmapped statistics.
13073
5190c17f
RM
130742014-05-30 Roland McGrath <roland@hack.frob.com>
13075
13076 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13077 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13078
987c0269
OB
130792014-05-30 Ondřej Bílka <neleai@seznam.cz>
13080
13081 * malloc/malloc.c (malloc_info): Inline mi_arena.
13082
af4e8ef9
RH
130832014-05-29 Richard Henderson <rth@twiddle.net>
13084
1670e207
RH
13085 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13086 Remove comma before expanding ASM_ARGS_##nr.
13087 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13088 Make _x0 a strict output; make _x8 a strict input; adjust expansion
13089 of ASM_ARGS_##nr.
13090 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13091 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13092 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13093 (ASM_ARGS_1): Add leading comma.
13094
11a28aee
RH
13095 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13096 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13097 to __errno_location.
13098 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13099 Remove the expected plt for __errno_location.
13100
a17e5ffb 13101 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 13102 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
13103 call to __read_tp.
13104
b5be4597
RH
13105 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13106 Always allocate 64 bytes of stack frame. Use ldp/stp to create
13107 it and break it down.
13108 (DOCARGS_0, DOCARGS_1): Do nothing.
13109 (DOCARGS_2): Update to store into the new stack frame.
13110 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13111 (UNDOCARGS_1): Update to restore from the new stack frame.
13112 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13113 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13114
645d44ab
RH
13115 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13116 (SINGLE_THREAD_P): New parameter for result regno.
13117 (PSEUDO): Update to match; use cbz instead of beq.
13118
a8b4f04a
RH
13119 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13120 Use ENTRY to define the _nocancel entry point. Share the syscall
13121 and syscall error check paths with the cancel path.
13122 (PSEUDO_END): New.
13123
af4e8ef9
RH
13124 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13125 whitespace; tabs before and after asm mnemonics.
13126
26b0d2e1
EW
131272014-05-29 Eric Wong <normalperson@yhbt.net>
13128
13129 [BZ #15132]
13130 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13131 Call fstat64 or stat64 internally, depending on arguments passed.
13132 Replace stat buffer argument with file descriptor argument.
13133 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13134 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13135 Pass fd to __internal_statvfs instead of calling fstat64.
13136 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13137 Pass fd to __internal_statvfs64 instead of calling fstat64.
13138 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13139 Pass -1 to __internal_statvfs instead of calling stat64.
13140 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13141 Pass -1 to __internal_statvfs64 instead of calling stat64.
13142
1efe2bd9
RM
131432014-05-28 Roland McGrath <roland@hack.frob.com>
13144
0d3b7a19
RM
13145 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13146 that was previously under [RESET_PID].
13147 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13148
1efe2bd9
RM
13149 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13150 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13151
a6bea3ca
RM
131522014-05-27 Roland McGrath <roland@hack.frob.com>
13153
30b6629e
RM
13154 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13155
a6bea3ca
RM
13156 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13157 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13158
3dfb9a5c
OB
131592014-05-27 Ondřej Bílka <neleai@seznam.cz>
13160
13161 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13162
774f9285
AS
131632014-05-27 Andreas Schwab <schwab@suse.de>
13164
13165 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13166 TLS_INIT_TP macro.
13167 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13168 * elf/rtld.c (init_tls, dl_main): Likewise.
13169 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13170 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13171 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13172 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13173 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13174 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13175 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13176 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13177 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13178 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13179 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13180 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13181 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13182 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13183 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13184 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13185 * sysdeps/generic/tls.h: Update description.
13186
36ffe739
WN
131872014-05-27 Will Newton <will.newton@linaro.org>
13188
13189 [BZ #16990]
13190 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13191 and restore r2 rather than just restoring.
13192
2482ae43
SP
131932014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13194
13195 [BZ #16724]
13196 * libio/tst-ftell-append.c: New test case.
13197 * libio/Makefile (tests): Add test case.
13198 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13199 append mode.
13200 * libio/wfileops.c (do_ftell_wide): Likewise.
13201
3d1024e8
AZ
132022014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13203
bab90016
AZ
13204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13205
c7a8d667
AZ
13206 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13207 ...
13208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13210 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13211 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13212 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13213 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13214 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13215 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13216 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13217 Moved ...
13218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13219 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13220 Moved ...
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13222 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13223 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13224 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13225 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13226 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13227 ...
13228 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13229 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13230 Moved ...
13231 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13232 here.
13233 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13234 ...
13235 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13236 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13237 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13238
daee7851
AZ
13239 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13240 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13241 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13242 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13243
50a40819
AZ
13244 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13245 merge into ...
13246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13247 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13248 ...
13249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13250 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13251 ...
13252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13253 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13254 Moved ...
13255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13256 here.
13257 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13258 Moved ...
13259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13260 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13261 Moved ...
13262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13263
8464c2a1
AZ
13264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13265 conditional [RESET_PID].
13266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13267 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13268 removed.
13269 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13270 removed.
13271
3d1024e8
AZ
13272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13273 <tcb-offsets.h>.
13274 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13275 (__libc_vfork): New strong alias.
13276 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13277 removed.
13278 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13279 Removed.
13280
13281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13282 <tcb-offsets.h>.
13283 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13284 (__libc_vfork): New strong alias.
13285 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13286 removed.
13287 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13288 removed.
13289
fdfd175d
CD
132902014-05-26 Carlos O'Donell <carlos@redhat.com>
13291
13292 * malloc/malloc.c (mi_arena): New function.
13293 (malloc_info): Remove nested function mi_arena. Call non-nosted
13294 function mi_arena.
13295
d298c416
AZ
132962014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13297
13298 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13299 by insrwi.
13300 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13301 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13302 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13303 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13304 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13305 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13306 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13307
b60ea6ff
AS
133082014-05-26 Andreas Schwab <schwab@suse.de>
13309
13310 [BZ #16984]
13311 * locale/programs/repertoire.c (repertoire_read): Add slash
13312 between I18NPATH element and file name.
13313 * locale/programs/locfile.c (locfile_read): Likewise.
13314
67365926
SL
133152014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13316
13317 * nptl/pthread_mutexattr_settype.c
13318 (__pthread_mutexattr_settype):
13319 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13320
f8bdf1f0
SL
133212014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13322
13323 * nptl/tst-mutex5 (do_test):
13324 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13325
15eaf6ff
SP
133262014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13327
13328 * benchtests/README: Document 'init' directive.
13329 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13330 BENCH_INIT.
13331 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13332 (parse_file): Recognize 'init' directive.
13333
75f11331
KM
133342014-05-26 Kyle McMartin <kyle@redhat.com>
13335
13336 [BZ #16796]
13337 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13338 alignment of struct pthread.
13339
c3ec475c
SP
133402014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13341
13342 [BZ #16878]
13343 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13344 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13345 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13346 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13347
82aab97c
RH
133482014-05-25 Richard Henderson <rth@twiddle.net>
13349
aa2f176d
RH
13350 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13351 (SINGLE_THREAD_P_PIC): Remove.
13352 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13353 (SINGLE_THREAD_P_PIC): Remove.
13354
ca3cfa40
RH
13355 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13356 branch to syscall error ...
13357 (PSEUDO): ... here.
13358 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13359 from __local_syscall_error to .Lsyscall_error.
13360 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13361 (SYSCALL_ERROR): Update label name.
13362
6e6c2d01
RH
13363 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13364 Do not use DOARGS/UNDOARGS.
13365 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13366 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13367 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13368 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13369 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13370
c69abcee
RH
13371 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13372 block comment.
13373
82aab97c
RH
13374 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13375 define if !NOT_IN_libc.
13376 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13377 define with non-default symbol versions.
13378
8820e3ac
RH
133792014-05-23 Richard Henderson <rth@twiddle.net>
13380
900e445f
RH
13381 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13382 (vfork, __vfork): Define via compat_symbol.
13383
8820e3ac
RH
13384 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13385 [!HAVE_IFUNC] (vfork_compat): Remove.
13386 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13387
e59252a5
JM
133882014-05-23 Joseph Myers <joseph@codesourcery.com>
13389
13390 [BZ #16978]
13391 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13392 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13393 variable.
13394
132c7f5f
RH
133952014-05-23 Richard Henderson <rth@twiddle.net>
13396
bc89e962
RH
13397 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13398 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13399 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13400 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13401
13402 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13403 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13404 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13405 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13406 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13407 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13408 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13409 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13410 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13411 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13412 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13413 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13414 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13415 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13416 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13417 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13418 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13419 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13420 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13421 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13422 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13423 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13424 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13425 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13426 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13427 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13428 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13429 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13430 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13431 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13432 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13433 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13434 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13435 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13436 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13437 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13438 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13439 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13440 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13441 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13442 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13443 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13444 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13445 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13446 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13447 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13448 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13449 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13450 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13451 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13452 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13453 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13454 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13455 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13456 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13457 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13458
e2fa4bc2
RH
13459 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13460 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13461 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13462 before exiting on error.
13463 (__libc_vfork): New strong alias.
13464 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13465 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13466
279b24e2
RH
13467 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13468 that was previously under [RESET_PID].
13469 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13470
132c7f5f
RH
13471 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13472
b72592e7
JM
134732014-05-23 Joseph Myers <joseph@codesourcery.com>
13474
13475 [BZ #16977]
13476 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13477 value when x - 1 is zero.
13478 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13479 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13480 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13481 0.0L for an argument of 1.0L.
13482 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13483 Likewise.
13484 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13485 value when x - 1 is zero.
13486 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13487 * sysdeps/i386/fpu/libm-test-ulps: Update.
13488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13489
2302d679
RV
134902014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13491
13492 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13493 alphasort and versionsort.
13494
32999d63
AZ
134952014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13496
13497 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13498 macro.
13499 [copysignf]: Likewise.
13500
019324d0
SP
135012014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13502
13503 * crypt/md5-crypt.c: Fix formatting.
13504
34fff5c2
KS
135052014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13506
13507 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13508 (b64_from_24bit): New function.
13509
3d2badac
AZ
135102014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13511
13512 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13513 libc_hidden_builtin_def to ifunc.
13514 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13515 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13516
f7bb179f 135172014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
13518
13519 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13520 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13521
4134b50d
JM
135222014-05-21 Joseph Myers <joseph@codesourcery.com>
13523
bb7d0337
JM
13524 * nscd/Depend (linuxthreads): Remove.
13525 (nptl): Add.
13526 * resolv/Depend (linuxthreads): Remove.
13527 * rt/Depend (linuxthreads): Remove.
13528
4134b50d
JM
13529 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13530 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13531 $(common-objpfx)elf/.
13532 (link-libc-before-gnulib): Likewise.
13533 (elfobjdir): Remove variable.
13534 * Makefile (install): Use $(elf-objpfx) instead of
13535 $(common-objpfx)elf/.
13536 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13537 $(elfobjdir)/.
13538 (link-libc-deps): Likewise.
13539 ($(common-objpfx)libc.so): Likewise.
13540 ($(common-objpfx)linkobj/libc.so): Likewise.
13541 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13542 instead of $(common-objpfx)elf/.
13543 (symbolic-link-list): Likewise.
13544 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13545 [$(cross-compiling) = no]: Likewise.
13546 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13547 $(elfobjdir)/.
13548 (static-gnulib-arch): Likewise.
13549 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13550 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13551 $(common-objpfx)elf/.
13552
3612eb8f
RH
135532014-05-21 Richard Henderson <rth@redhat.com>
13554
a6b3657b
RH
13555 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13556 (SINGLE_THREAD_P): Use the correct width load. Fold
13557 into the ldr offset.
13558
3612eb8f
RH
13559 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13560 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13561
175cef41
JM
135622014-05-20 Joseph Myers <joseph@codesourcery.com>
13563
13564 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13565 (libgcc_s_resume): Use __attribute_used__.
13566 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13567 Likewise.
13568
e13bccd3
AZ
135692014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13570
13571 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13572 optimization when used with float constants.
13573
7c112a38
AZ
13574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13575
ae75a883
AJ
135762014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13577
13578 [BZ #16915]
13579 * locale/nl_langinfo_l.c: Make direct reference to every
13580 _nl_current_CATEGORY symbol.
13581 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13582 (tests-static): Add tst-langinfo-static.
13583 (tests-special): Add tst-langinfo-static.out.
13584 ($(objpfx)tst-langinfo.out): Redirect output.
13585 ($(objpfx)tst-langinfo-static.out): New.
13586 * localedata/tst-langinfo.sh: Send output to stdout.
13587 * localedata/tst-langinfo-static.c: New file.
13588
4406c41c
AJ
13589 [BZ #16965]
13590 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13591 when the shift amount is modulo the limb size.
13592
4c0a1e63
RH
135932014-05-20 Richard Henderson <rth@redhat.com>
13594
de9d8f20
RH
13595 [BZ #16967]
13596 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13597 Change type of sa_flags from unsigned int to int.
13598
4c0a1e63
RH
13599 [BZ #16966]
13600 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
13601
13602 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13603
a60339aa
WN
136042014-05-20 Will Newton <will.newton@linaro.org>
13605
13606 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13607 Test the return value of the system call in the nocancel case.
13608
7d05a816
YR
136092014-05-20 Will Newton <will.newton@linaro.org>
13610 Yvan Roux <yvan.roux@linaro.org>
13611
13612 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13613 #include of asm/ptrace.h.
13614 (PTRACE_GET_THREAD_AREA): Remove #undef.
13615 (PTRACE_GETHBPREGS): Likewise.
13616 (PTRACE_SETHBPREGS): Likewise.
13617 (struct user_regs_struct): New structure.
13618 (struct user_fpsimd_struct): New structure.
13619 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13620 #include of asm/ptrace.h and second #include of sys/user.h.
13621 (PTRACE_GET_THREAD_AREA): Remove #undef.
13622 (PTRACE_GETHBPREGS): Likewise.
13623 (PTRACE_SETHBPREGS): Likewise.
13624 (ELF_NGREG): Use new struct user_regs_struct.
13625 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13626
af121e37
AZ
136272014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13628
13629 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13630 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13631
834caf06
JM
136322014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13633
13634 [BZ #16958]
13635 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13636 membar to avoid block loads/stores to overlap previous stores.
13637
e184a918
RH
136382014-05-17 Richard Henderson <rth@redhat.com>
13639
13640 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13641 Create the __##syscall_name##_nocancel entry point.
13642 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13643 Remove; let the sysdep-cancel.h code create it.
13644
f56c7a6a
DM
136452014-05-17 David S. Miller <davem@davemloft.net>
13646
13647 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13648 Protect with __USE_GNU.
13649 (TIOCSET_TEMPT): Likewise.
13650 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13651 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13652 these are already provided in bits/ioctl-types.h
13653
f75616b2
RM
136542014-05-16 Roland McGrath <roland@hack.frob.com>
13655
3edeca86
RM
13656 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13657 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13658
f75616b2
RM
13659 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13660 Use wait4 regardless of [__NR_waitpid].
13661
deb0f7f6
MR
136622014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13663
13664 PR libgcc/60166
13665 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13666 (_FP_NANSIGN_Q): Set the quiet bit.
13667
79520f4b
JM
136682014-05-16 Joseph Myers <joseph@codesourcery.com>
13669
13670 * benchtests/Makefile
13671 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13672 not $(common-objpfx)math/libm.so.
13673 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13674 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13675 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13676 $(common-objpfx)dlfcn/libdl.so.
13677 ($(objpfx)tst-audit8): Depend on $(libm), not
13678 $(common-objpfx)math/libm.so.
13679 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13680 not $(common-objpfx)dlfcn/libdl.so.
13681 * math/Makefile
13682 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13683 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13684 [$(build-shared) = yes].
13685 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13686 $(common-objpfx)nptl/libpthread.so.
13687 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13688 $(common-objpfx)math/libm.so$(libm.so-version) or
13689 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13690 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13691 $(common-objpfx)dlfcn/libdl.so.
13692 * setjmp/Makefile (link-libm): Remove variable.
13693 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13694 * stdio-common/Makefile (link-libm): Remove variable.
13695 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13696 * stdlib/Makefile (link-libm): Remove variable.
13697 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13698 ($(objpfx)tst-strtod-round): Likewise.
13699 ($(objpfx)tst-tininess): Likewise.
13700 ($(objpfx)tst-strtod-underflow): Likewise.
13701 ($(objpfx)tst-strtod6): Likewise.
13702 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13703 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13704 $(common-objpfx)dlfcn/libdl.so.
13705
026b0fe4
AZ
137062014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13707
13708 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13709 BSD terminal modes definitions.
13710
def4bcb2
RM
137112014-05-16 Roland McGrath <roland@hack.frob.com>
13712
fe39b021
RM
13713 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13714 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13715
1d1fc46e 13716 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
13717 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13718 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13719 Don't do #include_next.
13720 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13721 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13722 Don't do #include_next.
13723 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13724 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13725 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13726 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13727
c72399fb
AM
137282014-05-16 Allan McRae <allan@archlinux.org>
13729
d51d659d
AM
13730 * po/sv.po: Update Swedish translation from translation project.
13731
c72399fb
AM
13732 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13733 in sed expression.
13734
d0583c40
AJ
137352014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13736
13737 [BZ #16917]
13738 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13739 errno if the TIOCGPTN ioctl fails with an error different than
13740 EINVAL.
13741 * login/tst-ptsname.c: New file.
13742 * login/Makefile (tests): Add tst-ptsname.
13743
d16e6ec7
AJ
13744 [BZ #16943]
13745 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13746 and prlimit64.
13747
cf26a0cb
SP
137482014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13749
13750 [BZ #16849]
13751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13752 herrno to return EAI_AGAIN.
13753
5675da1e
RM
137542014-05-14 Roland McGrath <roland@hack.frob.com>
13755
a5d87b3d
RM
13756 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13757 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13758 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13759 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13760 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13761 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13762 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13763 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13764 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13765 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13766 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13767 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13768 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13769 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13770 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13771 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13772 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13773 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13774 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13775 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13776 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13777 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13778 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13779 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13780 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13781 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13782 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13783 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13784 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13785 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13787 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13789 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13791 Moved ...
13792 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13794 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13796 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13798 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13800 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13802 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13804 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13806 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13808 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13810 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13812 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13814 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13816 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13818 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13820 Moved ...
13821 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13823 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13825 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13827 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13829 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13831 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13833 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13835 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13837 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13839 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13841 Moved ...
13842 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13844 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13845
039890a6
RM
13846 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13847 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13848 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13849 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13850 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13851 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13852 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13853 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13854 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13855 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13856 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13857 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13858 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13859 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13860 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13861 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13862 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13863 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13864 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13865 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13866 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13867 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13868 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13869 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13870 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13871 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13872 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13873 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13874 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13875 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13876 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13877
65c89320
RM
13878 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13879 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13880
348f8e8c
RM
13881 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13882 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13883 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13884 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13885 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13886 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13887 Moved ...
13888 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13889 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13890 Moved ...
13891 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13892 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13893 Moved ...
13894 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13895 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13896 Moved ...
13897 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13898 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13899 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13900 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13901 Moved ...
13902 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13903 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13904 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13905 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13906 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13907 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13908 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13909 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13910 Moved ...
13911 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13912 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13913 Moved ...
13914 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13915 ... here.
13916 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13917 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13918 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13919 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13920 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13921 Moved ...
13922 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13923 ... here.
13924 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13925 Moved ...
13926 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13927 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13928 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13929 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13930 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13931 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13932 Moved ...
13933 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13934 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13935 Moved ...
13936 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13937 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13938 Moved ...
13939 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13940 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13941 Moved ...
13942 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13943 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13944 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13945 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13946 Moved ...
13947 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13948 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13949 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13950 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13951 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13952 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13953 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13954 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13955 Moved ...
13956 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13957 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13958 Moved ...
13959 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13960 ... here.
13961 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13962 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13963 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13964 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13965 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13966 Moved ...
13967 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13968 ... here.
13969 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13970 Moved ...
13971 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13972 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13973 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13974 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13975 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13976 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13977 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13978 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13979 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13980 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13981 Moved ...
13982 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13983 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13984 Moved ...
13985 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13986 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13987 Moved ...
13988 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13989 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13990 Moved ...
13991 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13992 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13993 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13994 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13995 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13996 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13997 Moved ...
13998 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13999 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14000 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14001 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14002 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14003 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14004 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14005 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14006 Moved ...
14007 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14008 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14009 Moved ...
14010 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14011 ... here.
14012 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14013 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14014 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14015 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14016 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14017 Moved ...
14018 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14019 ... here.
14020 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14021 Moved ...
14022 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14023 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14024 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14025 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14026 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14027 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14028 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14029 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14030 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14031 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14032 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14033
5085af05
RM
14034 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14035 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14036
708f0813
RM
14037 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14038 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14039
c96067bc
RM
14040 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14041 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14042 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14043 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14044 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14045 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14046 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14047 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14048 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14049 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14050 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14051 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14052 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14053 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14054 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14055 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14056 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14057 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14058 Moved ...
14059 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14060 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14061 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14062 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14063 Moved ...
14064 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14065 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14066 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14067 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14068 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14069 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14070 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14071 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14072 Moved ...
14073 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14074 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14075 Moved ...
14076 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14077 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14078 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14079 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14080 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14081 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14082 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14083 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14084 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14085 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14086 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14087 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14088 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14089 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14090 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14091 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14092 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14093
ec136444
RM
14094 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14095 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14096 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14097 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14098 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14099
2fbdf533
RM
14100 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14101 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14102 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14103 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14104 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14105 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14106 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14107 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14108 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14109 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14110
4c68138b
RM
14111 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14112 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14113
4eaae765
RM
14114 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14115 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
14116 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14117 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14118 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14119 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14120 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14121 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14122 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14123 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14124 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14125 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14126 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14127 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14128 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14129 Update #include.
14130 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14131 Likewise.
14132 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14133 Likewise.
14134 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14135 Likewise.
14136 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14137 Likewise.
14138 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14139 Likewise.
14140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14141 Likewise.
14142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14143 Likewise.
14144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14145 Likewise.
14146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14147 Likewise.
4ef6befa
RM
14148 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14149 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14150 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14151 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14152 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
14153 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14154 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14155 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14156 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14157 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14158 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14159 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14160 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14161 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14162 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 14163
941d7dfd
RM
14164 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14165 that was previously under [RESET_PID].
14166 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14167 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14168 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14169
1b731c35
RM
14170 * sysdeps/i386/nptl/Implies: New file.
14171 * sysdeps/x86_64/nptl/Implies: New file.
14172 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14173 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14174 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14175 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14176
e2787137
RM
14177 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14178 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14179 (__libc_vfork): New strong alias.
14180 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14181 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14182
14183 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14184 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14185 (__libc_vfork): New strong alias.
14186 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14187 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14188
5675da1e
RM
14189 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14190 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14191 (__libc_vfork): New strong alias.
14192 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14193 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14194 * nptl/pt-vfork.c: New file.
14195 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14196 (libpthread: GLIBC_2.20): New version set (empty).
14197
4f02e2b8
WN
141982014-05-14 Will Newton <will.newton@linaro.org>
14199
14200 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14201 rather than #if.
14202
0bf061d3
JM
142032014-05-14 Joseph Myers <joseph@codesourcery.com>
14204
1a84c3d6
JM
14205 [BZ #16564]
14206 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14207 arguments with exponent 65 or above.
14208 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14209 arguments 0x1p113L or above.
14210 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14211 to arguments 0x1p107L or above.
14212 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14213 positive arguments with exponent 65 or above.
14214 * math/auto-libm-test-in: Add more tests of log1p.
14215 * math/auto-libm-test-out: Regenerated.
14216
01dbacd2
JM
14217 [BZ #16928]
14218 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14219 non-finite arguments is +0.
14220 * math/s_cacosf.c (__cacosf): Likewise.
14221 * math/s_cacosl.c (__cacosl): Likewise.
14222 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14223 * sysdeps/i386/fpu/libm-test-ulps: Update.
14224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14225
913d03c8
JM
14226 [BZ #16927]
14227 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14228 value.
14229 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14230 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14231 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14232 for explicit high bit of mantissa when testing for argument equal
14233 to 1.
14234 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14235 * sysdeps/i386/fpu/libm-test-ulps: Update.
14236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14237
0bf061d3
JM
14238 [BZ #16516]
14239 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14240 (__erf): Scale by 16 instead of 8 in potentially underflowing
14241 case. Ensure exception if result actually underflows.
14242 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14243 (__erff): Scale by 16 instead of 8 in potentially underflowing
14244 case. Ensure exception if result actually underflows.
14245 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14246 (efx8): Remove variable.
14247 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14248 case. Ensure exception if result actually underflows.
14249 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14250 (efx8): Remove variable.
14251 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14252 case. Ensure exception if result actually underflows.
14253 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14254 (efx8): Remove variable.
14255 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14256 case. Ensure exception if result actually underflows.
14257 * math/auto-libm-test-in: Add more tests of erf.
14258 * math/auto-libm-test-out: Regenerated.
14259
73ba67cb
AS
142602014-05-14 Andreas Schwab <schwab@suse.de>
14261
3d8c8bff
AS
14262 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14263 Remove code conditionalized on USE___THREAD.
14264
73ba67cb
AS
14265 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14266 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14267 not definedness.
14268
5c521ecd
JM
142692014-05-14 Joseph Myers <joseph@codesourcery.com>
14270
5e7698c6
JM
14271 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14272 Define unconditionally.
14273 (__ASSUME_O_CLOEXEC): Likewise.
14274 (__ASSUME_SOCK_CLOEXEC): Likewise.
14275 (__ASSUME_IN_NONBLOCK): Likewise.
14276 (__ASSUME_PIPE2): Likewise.
14277 (__ASSUME_EVENTFD2): Likewise.
14278 (__ASSUME_SIGNALFD4): Likewise.
14279 (__ASSUME_DUP3): Likewise.
14280 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14281 (__ASSUME_DUP3): Do not define.
14282 (__ASSUME_EVENTFD2): Likewise.
14283 (__ASSUME_IN_NONBLOCK): Likewise.
14284 (__ASSUME_O_CLOEXEC): Likewise.
14285 (__ASSUME_PIPE2): Likewise.
14286 (__ASSUME_SIGNALFD4): Likewise.
14287 (__ASSUME_SOCK_CLOEXEC): Likewise.
14288 (__ASSUME_UTIMES): Undefine.
14289 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14290 (__ASSUME_UTIMES): Do not define.
14291 (__ASSUME_O_CLOEXEC): Likewise.
14292 (__ASSUME_SOCK_CLOEXEC): Likewise.
14293 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14294 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14295 0x020621].
14296 (__ASSUME_PIPE2): Likewise.
14297 (__ASSUME_EVENTFD2): Likewise.
14298 (__ASSUME_SIGNALFD4): Likewise.
14299 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14300 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14301 Do not define.
14302 (__ASSUME_EVENTFD2): Likewise.
14303 (__ASSUME_SIGNALFD4): Likewise.
14304 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14305 (__ASSUME_32BITUIDS): Likewise.
14306 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14307 (__ASSUME_IPC64): Likewise.
14308 (__ASSUME_ST_INO_64_BIT): Likewise.
14309 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14310 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14311 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14312 (__ASSUME_UTIMES): Do not define.
14313 (__ASSUME_PSELECT): Likewise.
14314 (__ASSUME_PPOLL): Likewise.
14315 (__ASSUME_O_CLOEXEC): Likewise.
14316 (__ASSUME_SOCK_CLOEXEC): Likewise.
14317 (__ASSUME_IN_NONBLOCK): Likewise.
14318 (__ASSUME_PIPE2): Likewise.
14319 (__ASSUME_EVENTFD2): Likewise.
14320 (__ASSUME_SIGNALFD4): Likewise.
14321 (__ASSUME_DUP3): Likewise.
14322 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14323 (__ASSUME_UTIMES): Likewise.
14324 (__ASSUME_O_CLOEXEC): Likewise.
14325 (__ASSUME_SOCK_CLOEXEC): Likewise.
14326 (__ASSUME_IN_NONBLOCK): Likewise.
14327 (__ASSUME_PIPE2): Likewise.
14328 (__ASSUME_EVENTFD2): Likewise.
14329 (__ASSUME_SIGNALFD4): Likewise.
14330 (__ASSUME_DUP3): Likewise.
14331 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14332 (__ASSUME_UTIMES): Likewise.
14333 (__ASSUME_O_CLOEXEC): Likewise.
14334 (__ASSUME_SOCK_CLOEXEC): Likewise.
14335 (__ASSUME_IN_NONBLOCK): Likewise.
14336 (__ASSUME_PIPE2): Likewise.
14337 (__ASSUME_EVENTFD2): Likewise.
14338 (__ASSUME_SIGNALFD4): Likewise.
14339 (__ASSUME_DUP3): Likewise.
14340 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14341 Likewise.
14342 (__ASSUME_UTIMES): Likewise.
14343 (__ASSUME_EVENTFD2): Likewise.
14344 (__ASSUME_SIGNALFD4): Likewise.
14345 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14346 (__ASSUME_O_CLOEXEC): Likewise.
14347 (__ASSUME_SOCK_CLOEXEC): Likewise.
14348 (__ASSUME_IN_NONBLOCK): Likewise.
14349 (__ASSUME_PIPE2): Likewise.
14350 (__ASSUME_EVENTFD2): Likewise.
14351 (__ASSUME_SIGNALFD4): Likewise.
14352 (__ASSUME_DUP3): Likewise.
14353 (__ASSUME_UTIMES): Undefine.
14354
5c521ecd
JM
14355 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14356 feclearexcept. Remove symbol versioning code.
14357 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14358 symbol versioning code.
14359 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14360 symbol versioning code.
14361 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14362 feupdateenv. Remove symbol versioning code.
14363 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14364 fegetexceptflag. Remove symbol versioning code.
14365 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14366 fesetexceptflag. Remove symbol versioning code.
14367 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14368 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14369 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14370 (__posix_fadvise64_l32): Remove prototype.
14371 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14372 code.
14373
5da9dfad
RM
143742014-05-13 Roland McGrath <roland@hack.frob.com>
14375
14376 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14377 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14378 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14379 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14380
893b4f37
SK
143812014-05-13 Sami Kerola <kerolasa@iki.fi>
14382
14383 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14384 current working directory
14385
e0db6517
RM
143862014-05-13 Roland McGrath <roland@hack.frob.com>
14387
58aa195d
RM
14388 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14389 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14390 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14391 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14392 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14393 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14394 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14395 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14396 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14397 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14398 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14399 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14400 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14401 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14402 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14403 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14404 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14405 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14406 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14407 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14408 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14409 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14410 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14411 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14412 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14413 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14414 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14415 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14416 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14417 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14418 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14419 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14420 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14421 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14422 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14423 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14424 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14425 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14426 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14427 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14428 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14429 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14430
8c6d01f0
RM
14431 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14432 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14433
14434 * sysdeps/unix/sysv/linux/arm/Makefile
14435 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14436 Add rt-aeabi_unwind_cpp_pr1.
14437 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14438 Add nptl-aeabi_unwind_cpp_pr1.
14439 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14440 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14441 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14442 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14443 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14444 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14445
14446 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14447 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14448 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14449 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14450
bba6da4e
RM
14451 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14452 Deconditionalize the code that was previously under [RESET_PID].
14453 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14454
e0db6517
RM
14455 * sysdeps/generic/exit-thread.h: New file.
14456 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14457 * include/unistd.h (__exit_thread): Remove declaration.
14458 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14459 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14460 * csu/libc-start.c: Include <exit-thread.h>.
14461 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14462 * nptl/pthread_create.c: Include <exit-thread.h>.
14463 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14464 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14465 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14466 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14467 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14468 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14469 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14470 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14471 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14472 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14473 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14474 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14475 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14476 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14477 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14478 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14479 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14480
01eb16fd
AS
144812014-05-13 Andreas Schwab <schwab@suse.de>
14482
14483 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14484
637461d9
JM
144852014-05-12 Joseph Myers <joseph@codesourcery.com>
14486
14487 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14488 (__ASSUME_UTIMES): Do not condition on kernel version.
14489 (__ASSUME_PSELECT): Define unconditionally.
14490 (__ASSUME_PPOLL): Likewise.
14491 (__ASSUME_ATFCTS): Likewise.
14492 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14493 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14494 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14495 (__ASSUME_UTIMENSAT): Define unconditionally.
14496 (__ASSUME_PRIVATE_FUTEX): Likewise.
14497 (__ASSUME_FALLOCATE): Likewise.
14498 (__ASSUME_O_CLOEXEC): Likewise.
14499 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14500 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14501 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14502 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14503 (__ASSUME_IN_NONBLOCK): Likewise.
14504 (__ASSUME_PIPE2): Likewise.
14505 (__ASSUME_EVENTFD2): Likewise.
14506 (__ASSUME_SIGNALFD4): Likewise.
14507 (__ASSUME_DUP3): Likewise.
14508 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14509 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14510 (__ASSUME_AT_RANDOM): Likewise.
14511 (__ASSUME_PREADV): Likewise.
14512 (__ASSUME_PWRITEV): Likewise.
14513 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14514 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14515 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14516 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14517 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14518 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14519 (__ASSUME_O_CLOEXEC): Define unconditionally.
14520 (__ASSUME_PSELECT): Do not undefine conditionally.
14521 (__ASSUME_PPOLL): Likewise.
14522 (__ASSUME_ATFCTS): Likewise.
14523 (__ASSUME_SET_ROBUST_LIST): Likewise.
14524 (__ASSUME_UTIMENSAT): Likewise.
14525 (__ASSUME_FDATASYNC): Define unconditionally.
14526 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14527 (__ASSUME_SIGFRAME_V2): Likewise.
14528 )__ASSUME_EVENTFD2): Likewise.
14529 (__ASSUME_SIGNALFD4): Likewise.
14530 (__ASSUME_PSELECT): Do not undefine conditionally.
14531 (__ASSUME_PPOLL): Likewise.
14532 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14533 (__ASSUME_PSELECT): Define unconditionally.
14534 (__ASSUME_PPOLL): Likewise.
14535 (__ASSUME_O_CLOEXEC): Likewise.
14536 (__ASSUME_SOCK_CLOEXEC): Likewise.
14537 (__ASSUME_IN_NONBLOCK): Likewise.
14538 (__ASSUME_PIPE2): Likewise.
14539 (__ASSUME_EVENTFD2): Likewise.
14540 (__ASSUME_SIGNALFD4): Likewise.
14541 (__ASSUME_DUP3): Likewise.
14542 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14543 (__ASSUME_O_CLOEXEC): Likewise.
14544 (__ASSUME_SOCK_CLOEXEC): Likewise.
14545 (__ASSUME_IN_NONBLOCK): Likewise.
14546 (__ASSUME_PIPE2): Likewise.
14547 (__ASSUME_EVENTFD2): Likewise.
14548 (__ASSUME_SIGNALFD4): Likewise.
14549 (__ASSUME_DUP3): Likewise.
14550 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14551 (__ASSUME_EVENTFD2): Likewise.
14552 (__ASSUME_SIGNALFD4): Likewise.
14553 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14554
315eb1d8
AS
145552014-05-12 Andreas Schwab <schwab@suse.de>
14556
14557 [BZ #16932]
14558 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14559 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14560 than maximum RPC packet size.
14561 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14562 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14563 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14564 (_nss_nis_getservbyport_r): Likewise.
14565
91df99f7
WN
145662014-05-12 Will Newton <will.newton@linaro.org>
14567
14568 * malloc/Makefile (tests): Add tst-mallopt.
14569 * malloc/tst-mallopt.c: New file.
14570
0a982a29
RM
145712014-05-09 Roland McGrath <roland@hack.frob.com>
14572
14573 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14574 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14575
0ded08a5
AZ
145762014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14577
14578 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14579 (tst-tlsmod6.so): Likewise.
14580
55d4d550
RM
145812014-05-09 Roland McGrath <roland@hack.frob.com>
14582
14583 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14584
77d08aca
JM
145852014-05-09 Joseph Myers <joseph@codesourcery.com>
14586
14587 [BZ #16064]
14588 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14589 and <dl-procinfo.h>.
14590 (__fegetenv): Save SSE state in envp->__eip if supported.
14591 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14592 envp->__eip if supported.
14593 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14594 and <dl-procinfo.h>.
14595 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14596 __data_offset and __data_selector in environment to 0. Set SSE
14597 state if supported.
14598 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14599 test-fenv-sse.
14600 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14601 -mfpmath=sse.
14602 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14603
28162f4d
WN
146042014-05-09 Will Newton <will.newton@linaro.org>
14605
14606 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14607 and libc_relro_required for ARM.
14608 * sysdeps/arm/preconfigure: Regenerate.
14609
5a414ff7
DV
146102014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14611 Stefan Liebler <stli@linux.vnet.ibm.com>
14612
14613 * config.make.in (enable-lock-elision): New Makefile variable.
14614 * configure.ac: Likewise.
14615 * configure: Regenerate.
14616 * sysdeps/s390/configure.ac:
14617 Add check for gcc transactions support.
14618 * sysdeps/s390/configure: Regenerate.
14619 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14620 Build elision files if enabled.
14621 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14622 Add lock elision support for s390.
14623 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14624 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14625 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14626 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14627 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14628 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14629 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14630 Likewise.
14631 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14632 Likewise.
14633 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14634 Likewise.
14635 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14636 Likewise.
14637 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14638 (__lll_timedlock_elision, __lll_lock_elision)
14639 (__lll_unlock_elision, __lll_trylock_elision)
14640 (lll_timedlock_elision, lll_lock_elision)
14641 (lll_unlock_elision, lll_trylock_elision): Add.
14642 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14643 (pthread_mutex_t): Add lock elision support for s390.
14644
1a2f40e5
W
146452014-05-14 Wilco <wdijkstr@arm.com>
14646
14647 * sysdeps/arm/fclrexcpt.c: Cleanup.
14648 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14649 * sysdeps/arm/feenablxcpt.c: Cleanup.
14650 * sysdeps/arm/fegetenv.c: Cleanup.
14651 * sysdeps/arm/fegetexcept.c: Cleanup.
14652 * sysdeps/arm/fegetround.c: Cleanup.
14653 * sysdeps/arm/feholdexcpt.c: Cleanup.
14654 * sysdeps/arm/fesetenv.c: Cleanup.
14655 * sysdeps/arm/fesetround.c: Cleanup.
14656 * sysdeps/arm/feupdateenv.c: Cleanup.
14657 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14658 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14659 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14660 * sysdeps/arm/ftestexcept.c: Cleanup.
14661 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14662 * sysdeps/arm/setfpucw.c: Cleanup.
14663
f63c86fe
WN
146642014-05-09 Will Newton <will.newton@linaro.org>
14665
14666 * sysdeps/arm/armv7/strcmp.S: New file.
14667 * NEWS: Mention addition of ARMv7 optimized strcmp.
14668
7a1a51b5
RM
146692014-05-08 Roland McGrath <roland@hack.frob.com>
14670
95afbbe5
RM
14671 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14672 look for %.ac rather than %.in.
14673
14674 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14675 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14676 * sysdeps/mach/hurd/configure: Regenerated.
14677 * sysdeps/unix/sysv/linux/configure: Regenerated.
14678
7a1a51b5
RM
14679 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14680
5057ad3b
SE
146812014-05-07 Steve Ellcey <sellcey@mips.com>
14682
14683 [BZ# 16922]
14684 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14685 (LONG_SUB): Ditto.
14686 (PTR_SUB): Ditto.
14687
8dc97517
AS
146882014-05-07 Andreas Schwab <schwab@suse.de>
14689
14690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14691 when skipping over non-matching result from nscd.
14692
ce0c5b8f
OB
146932014-05-07 Ondřej Bílka <neleai@seznam.cz>
14694
14695 [BZ #16876]
14696 * nptl/sockperf.c (client): Check socket return value.
8dc97517 14697
a1189263
OB
14698 [BZ #16877]
14699 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14700 nscd security class.
ce0c5b8f 14701
0f58d252
RM
147022014-05-06 Roland McGrath <roland@hack.frob.com>
14703
14704 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14705 * sysdeps/arm/unwind.h: ... here.
14706
83df9ad0
AJ
147072014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14708
ce0c5b8f
OB
14709 [BZ# 16916]
14710 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14711 Define.
83df9ad0 14712
f360f94a
VR
147132014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14714
14715 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14716 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14717 multiarch strncpy for PPC64.
14718 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14719 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14721 multiarch optimizations.
14722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14723 (__libc_ifunc_impl_list): Likewise.
14724 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14725 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14726 multiarch stpncpy for PPC64.
14727 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14728 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14729
978a41c3
AS
147302014-05-06 Andreas Schwab <schwab@suse.de>
14731
14732 [BZ #16912]
14733 * gmon/mcount.c (_MCOUNT_DECL): Use
14734 atomic_compare_and_exchange_bool_acq instead of
14735 catomic_compare_and_exchange_bool_acq.
14736
eb1ed03d
RM
147372014-05-05 Roland McGrath <roland@hack.frob.com>
14738
fe658845
RM
14739 * elf/Makefile (others, install-bin): Remove pldd.
14740 (pldd-modules): Variable removed.
14741 ($(objpfx)pldd): Target removed.
14742 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14743 (others, install-bin): Append pldd here.
14744 ($(objpfx)pldd): New target.
14745
eb1ed03d
RM
14746 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14747 to 0, so the first #if test emitted later doesn't see it undefined.
14748 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14749 * sysdeps/gnu/errlist.c: Regenerated.
14750
19c4bec0
AZ
147512014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14752
14753 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14754 [libc_hidden_builtin_def]: Define to empty value.
14755 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14756 [libc_hidden_builtin_def]: Likewise.
14757 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14758 [libc_hidden_builtin_def]: Likewise.
14759 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14760 [libc_hidden_builtin_def]: Likewise.
14761 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14762 __redirect_memcpy and define ifunc as default hidden symbol.
14763 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14764 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14765
7776e669
AC
147662014-05-04 Adam Conrad <adconrad@0c3.net>
14767
14768 * locale/iso-4217.def: Reintroduce XDR currency.
14769
d69aeb12
AM
147702014-05-04 Allan McRae <allan@archlinux.org>
14771
14772 * po/eo.po: Update Esperanto translation from translation project.
14773
8f1df5cf
CD
147742014-05-02 Carlos O'Donell <carlos@redhat.com>
14775
14776 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14777 and FEATURE_INDEX_MAX to 1.
14778 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14779
13e402e7
SE
147802014-05-01 Steve Ellcey <sellcey@mips.com>
14781
14782 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14783 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14784 * iconvdata/big5.c (ONE_DIRECTION): Define.
14785 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14786 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14787 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14788 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14789 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14790 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14791 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14792 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14793 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14794 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14795 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14796 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14797 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14798 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14799 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14800 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14801 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14802 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14803 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14804 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14805 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14806 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14807 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14808 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14809 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14810 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14811 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14812 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14813 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14814 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14815 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14816 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14817 * iconvdata/johab.c (ONE_DIRECTION): Define.
14818 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14819 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14820 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14821 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14822 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14823 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14824 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14825 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14826 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14827 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14828
c727f032
RM
148292014-05-01 Roland McGrath <roland@hack.frob.com>
14830
8f2f08d0
RM
14831 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14832 (_IO_JUMPS_OFFSET): Define to 0.
14833
c727f032
RM
14834 * nptl/sysdeps/pthread/bits/libc-lock.h
14835 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14836 (__libc_lock_define_initialized_recursive): Always define using
14837 initializer. Modern compilers treat uninitialized (implicit zero) and
14838 explicit zero initializers the same (i.e. put the datum in bss).
14839
a849e800
AS
148402014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14841
14842 * nscd/nscd-client.h: Include <string.h>.
14843
5331255b
DM
148442014-05-01 David S. Miller <davem@davemloft.net>
14845
14846 [BZ #16885]
14847 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14848 multiple zero bytes exist at the end of a string.
14849 Reported by Aurelien Jarno <aurelien@aurel32.net>
14850
14851 * string/test-strcmp.c (check): Add explicit test for situations where
14852 there are multiple zero bytes after the first.
14853
4fdfe821
AS
148542014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14855
14856 [BZ #16890]
14857 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14858 when compiling wprintf.
14859 * stdio-common/tstdiomisc.c (t3): New function.
14860 (main): Call it.
14861
0cdddc25
SE
148622014-05-01 Steve Ellcey <sellcey@mips.com>
14863
14864 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14865 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14866 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14867 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14868
6426d77e
SE
148692014-05-01 Steve Ellcey <sellcey@mips.com>
14870
14871 * stdlib/longlong.h: Updated from GCC.
14872
6d96f5e4
WN
148732014-05-01 Will Newton <will.newton@linaro.org>
14874 Bernard Ogden <bernie.ogden@linaro.org>
14875
7470db0c
WN
14876 * NEWS: Update fixed bug list.
14877
6d96f5e4
WN
14878 [BZ #15119]
14879 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14880
211d653c
DM
148812014-04-30 David S. Miller <davem@davemloft.net>
14882
4fa262fa
DM
14883 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14884 (libc_feholdexcept_setround_sparc_ctx): New function.
14885 (libc_fesetenv_sparc_ctx): Likewise.
14886 (libc_feupdateenv_sparc_ctx): Likewise.
14887 (libc_feholdsetround_sparc_ctx): Likewise.
14888 (libc_feholdexcept_setround_ctx): Define.
14889 (libc_feholdexcept_setroundf_ctx): Likewise.
14890 (libc_feholdexcept_setroundl_ctx): Likewise.
14891 (libc_fesetenv_ctx): Likewise.
14892 (libc_fesetenvf_ctx): Likewise.
14893 (libc_fesetenvl_ctx): Likewise.
14894 (libc_feupdateenv_ctx): Likewise.
14895 (libc_feupdateenvf_ctx): Likewise.
14896 (libc_feupdateenvl_ctx): Likewise.
14897 (libc_feresetround_ctx): Likewise.
14898 (libc_feresetroundf_ctx): Likewise.
14899 (libc_feresetroundl_ctx): Likewise.
14900 (libc_feholdsetround_ctx): Likewise.
14901 (libc_feholdsetroundf_ctx): Likewise.
14902 (libc_feholdsetroundl_ctx): Likewise.
14903
1d3d93ef
DM
14904 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14905 with __USE_GNU instead of XOPEN cpp guards.
14906
8aa583c3
DM
14907 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14908 0.
14909
211d653c
DM
14910 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14911 with XOPEN cpp guards.
14912
60c8f1f6
JB
149132014-04-30 Julian Brown <julian@codesourcery.com>
14914
14915 [BZ #16888]
14916 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14917 handling.
14918
9a461d46
JM
149192014-04-30 Joseph Myers <joseph@codesourcery.com>
14920
d0f5b3f8
JM
14921 [BZ #9894]
14922 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14923 Change to 2.6.32.
14924 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14925 * sysdeps/unix/sysv/linux/configure: Regenerated.
14926 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14927 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14928 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14929 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14930 * README: Update reference to required Linux kernel version.
14931 * manual/install.texi (Linux): Update reference to required Linux
14932 kernel headers version.
14933 * INSTALL: Regenerated.
14934
9a461d46
JM
14935 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14936 header inclusion.
14937 [POSIX] (limits.h): Likewise.
14938 [POSIX] (math.h): Likewise.
14939 [POSIX] (sys/wait.h): Likewise.
14940 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14941 function.
14942 [POSIX] (stddef.h): Do not allow header inclusion.
14943
1775babf
AZ
149442014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14945
57f41c40 14946 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 14947
8f630cca
YY
149482014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14949
14950 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14951 Return immediately after lll_futex_wake.
14952
1cdeb237
SP
149532014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14954
bc8f194c
SP
14955 [BZ #16791]
14956 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14957 structure.
14958 (datahead_init_pos): Call datahead_init_common early.
14959 (datahead_init_neg): Likewise.
14960
1cdeb237
SP
14961 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14962 datahead_init_neg): New functions.
14963 * nscd/aicache.c (addhstaiX): Use them.
14964 * nscd/grpcache.c (cache_addgr): Likewise.
14965 * nscd/hstcache.c (cache_addhst): Likewise.
14966 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14967 * nscd/netgroupcache.c (do_notfound): Likewise.
14968 (addgetnetgrentX): Likewise.
14969 (addinnetgrX): Likewise.
14970 * nscd/pwdcache.c (cache_addpw): Likewise.
14971 * nscd/servicescache.c (cache_addserv): Likewise.
14972
16b293a7
SP
149732014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14974 Atsushi Onoe <atsushi@onoe.org>
14975
14976 [BZ #14308]
14977 [BZ #12994]
14978 [BZ #13651]
14979 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14980 one response is valid.
14981 * resolv/res_send.c (send_dg): Check for validity of other
14982 response if the current response is a referral.
14983
a28a9b94
SE
149842014-04-29 Steve Ellcey <sellcey@mips.com>
14985
14986 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14987
2ca180e9
SL
149882014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14989
14990 [BZ #16823]
14991 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14992 Always divide by positive zero when computing -Inf result.
14993 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14994 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14995
18f2945a
AZ
149962014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14997
14998 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14999 FPSCR if value do not change.
15000 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15001 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15002 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15003 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15004 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15005 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15006 function.
15007
5abebba4
CD
150082014-05-29 Carlos O'Donell <carlos@systemhalted.org>
15009
15010 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15011 * sysdeps/unix/sysv/linux/hppa: Move directory from
15012 ports/systeps/unix/sysv/linux/hppa.
15013 * README: Update listing for hppa-*-linux-gnu.
15014
f7ed60c2
OB
150152014-04-28 Ondřej Bílka <neleai@seznam.cz>
15016
fff763a5
OB
15017 [BZ #16754]
15018 * manual/stdio.texi (Hook functions): Fix types of stream hook
15019 functions.
f7ed60c2
OB
15020 [BZ #16854]
15021 * socket/sys/socket.h: Fix typo in comment.
15022
df639d73
WD
150232014-04-28 Wilco <wdijkstr@arm.com>
15024
f7ed60c2 15025 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
15026 * sysdeps/arm/math_private.h: New file.
15027 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15028
48332d82
L
150292014-04-25 H.J. Lu <hongjiu.lu@intel.com>
15030
15031 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15032 with __int128_t.
15033 (La_x86_64_retval): Likewise.
15034
e5e0d9a4
IB
150352014-04-24 Ian Bolton <ian.bolton@arm.com>
15036
15037 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15038 fpsr if value didn't change.
15039 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15040 to fpcr if value didn't change.
15041 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15042 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15043 fpsr or fpcr if value didn't change.
15044 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15045 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15046 fpcr if value didn't change.
15047 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15048 to fpsr if value didn't change.
15049
bacc75f7
SP
150502014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15051
15052 * nptl/tst-sem3.c: Use test-skeleton.c
15053 (main): Rename to do_test. Use return instead of
15054 exit.
15055 * nptl/tst-sem4.c: Use test-skeleton.c
15056 (main): Rename to do_test.
15057
a059d359
DM
150582014-04-22 David S. Miller <davem@davemloft.net>
15059
15060 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15061 (struct sigaction): New struct member __glibc_reserved0, change
15062 type of sa_flags to int.
15063
ea6c92f3
YZ
150642014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
15065
15066 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15067 (COUNT_LEADING_ZEROS_0): Define for AArch64.
15068
766c4a36
SP
150692014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15070
15071 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15072 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15073
140cc7ab
VK
150742014-04-22 Will Newton <will.newton@linaro.org>
15075 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
15076
15077 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15078 (__longjmp): Add longjmp and longjmp_target SystemTap
15079 probes.
15080 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15081 (__sigsetjmp): Add setjmp SystemTap probe.
15082
c54e5cf7
CD
150832014-04-17 Carlos O'Donell <carlos@redhat.com>
15084
15085 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15086 match manual order.
15087
75ffb047
AZ
150882014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15089
15090 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15091
2cd925f7
AZ
15092 * sysdeps/powerpc/fpu/fenv_private.h
15093 (libc_feholdexcept_setroundl_ctx): Define to
15094 libc_feholdexcept_setround_ppc_ctx.
15095 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15096 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15097 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15098 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15099
39e6cd8d
IB
151002014-04-17 Ian Bolton <ian.bolton@arm.com>
15101
15102 * sysdeps/aarch64/math-tests.h: New file.
15103
f9281df9
SY
151042014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
15105
15106 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15107 New.
15108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15109 Check and set bit_AVX2_Usable.
15110 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15111 macro.
15112 (bit_AVX2): Likewise.
15113 (index_AVX2_Usable): Likewise.
15114 (CPUID_AVX2): Likewise.
15115 (HAS_AVX2): Likewise.
15116
37d35007
WN
151172014-04-17 Will Newton <will.newton@linaro.org>
15118
7c677662
WN
15119 * manual/setjmp.texi (System V contexts): Add note that
15120 calling setcontext on a context created by a call to a
15121 signal handler is undefined. Update text to note that
15122 setcontext from a signal handler is possible but not
15123 recommended.
15124
37d35007 15125 [BZ #16629]
e04a4e9d
WN
15126 * stdlib/tst-setcontext.c: Include signal.h.
15127 (main): Check that the signal stack before and
15128 after swapcontext is the same.
15129
37d35007
WN
15130 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15131 Re-implement to restore registers in user code and avoid
15132 rt_sigreturn system call.
15133
423a7160
W
151342014-04-17 Wilco <wdijkstr@arm.com>
15135
15136 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15137 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15138 * math/test-fenv.c: Skip exception trap tests on targets which only
15139 support non-stop mode.
15140
bc93ab29
IB
151412014-04-17 Ian Bolton <ian.bolton@arm.com>
15142 Wilco Dijkstra <wilco.dijkstra@arm.com>
15143
15144 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15145 (libc_feholdsetround_aarch64_ctx)
15146 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15147 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15148 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15149 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15150 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15151 (libc_feresetround_noexl_ctx): Define.
15152
95fc5fa3
RH
151532014-04-16 Richard Henderson <rth@redhat.com>
15154
ddb04724
RH
15155 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15156
d77c0899
RH
15157 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15158 unwind tables.
15159
a3df56fc
RH
15160 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15161 const from the non-libc, non-ldso copy.
15162
95fc5fa3
RH
15163 * sysdeps/alpha/libm-test-ulps: Regenerate.
15164
7e0b6763
IB
151652014-04-16 Ian Bolton <ian.bolton@arm.com>
15166 Wilco Dijkstra <wilco.dijkstra@arm.com>
15167
15168 * sysdeps/aarch64/fpu/math_private.h: New file.
15169
a9ea2e0c
MS
151702014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15171
15172 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15173
ea8ba7cd
IZ
151742014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15175
7e54fd04 15176 [BZ #16275]
ea8ba7cd
IZ
15177 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15178 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15179 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15180 Intel MPX bound registers before _dl_profile_fixup.
15181 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15182 registers after _dl_profile_fixup. Save and restore bound
15183 registers bnd0/bnd1 when calling _dl_call_pltexit.
15184 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15185 (LR_BND_OFFSET): Likewise.
15186 (LRV_BND0_OFFSET): Likewise.
15187 (LRV_BND1_OFFSET): Likewise.
15188
9f2a4fbc
ST
151892014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15190
15191 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15192 to...
15193 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
15194 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15195 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15196 fields.
9f2a4fbc 15197
fd15a59b
ST
151982014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15199
15200 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15201
f19dfa0a
SL
152022014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15203
15204 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15205
4fa8bc3b
SL
152062014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15207
15208 [BZ #14770]
15209 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15210 * sysdeps/s390/configure: Regenerate.
15211
8ea587db
SL
15212 [BZ #16824]
15213 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15214 Set round-to-nearest internally to reduce error accumulation.
15215
aa5f0ff1
AM
152162014-04-16 Alan Modra <amodra@gmail.com>
15217
15218 [BZ #16740]
15219 [BZ #16619]
15220 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15221 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 15222 * NEWS: Update fixed bug list.
aa5f0ff1 15223
bb9c256f
SP
152242014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15225
15226 * benchtests/Makefile: Depend on libraries in build directory.
15227 (bench-math): Separate out math tests.
15228 (bench-pthread): Separate out pthread tests.
15229 (bench): Include math and pthread tests.
15230
f737dfd0
CD
152312014-04-14 Carlos O'Donell <carlos@redhat.com>
15232
15233 [BZ #16831]
15234 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15235 _dl_debug_initialize.
15236
0699f766
CD
15237 * configure.ac: Remove SELinux header check.
15238 * configure: Regenerate.
15239 * nscd/selinux.c (perms): Array of const char* to permission names.
15240 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15241 default policy. Call string_to_security_class and string_to_av_perm to
15242 translate strings. Enforce default policy and call avs_has_perm with
15243 results of translated strings.
15244
809bd45f
DM
152452014-04-13 David S. Miller <davem@davemloft.net>
15246
15247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15248
89e691f2
AM
152492014-04-12 Allan McRae <allan@archlinux.org>
15250
15251 [BZ #16838]
15252 * manual/string.texi (Collation Functions): Fix qsort argument
15253 order in example.
15254 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15255
9c9daaeb
CM
152562014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15257
15258 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15259 Make the test a no-op if there are no exceptions defined.
15260
95561fb9
PP
152612014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15262
fe8d072c 15263 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
15264 enable-hardcoded-path-in-tests
15265
970c602a
WN
152662014-04-11 Will Newton <will.newton@linaro.org>
15267
15268 * benchtests/Makefile (extra-objs): Add json-lib.o.
15269 (bench-func): Tidy up JSON output.
15270 * benchtests/bench-skeleton.c: Include json-lib.h.
15271 (main): Use JSON library functions to do output of
15272 benchmark results.
15273 * benchtests/bench-timing-type.c (main): Output the
15274 timing type simply, leaving formatting to the user.
15275 * benchtests/json-lib.c: New file.
15276 * benchtests/json-lib.h: Likewise.
15277
36875b06
TR
152782014-04-11 Torvald Riegel <triegel@redhat.com>
15279
15280 [BZ #15215]
15281 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15282 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15283 memory barriers. Add comments.
15284 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15285 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15286 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15287 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15288 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15289 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15290
579db35a
SL
152912014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15292
15293 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15294 * sysdeps/s390/s390-64/configure.ac: ... this ...
15295 * sysdeps/s390/configure.ac: ... to here.
15296 * sysdeps/s390/s390-32/configure: Delete file.
15297 * sysdeps/s390/s390-64/configure: Delete file.
15298 * sysdeps/s390/configure: Regenerate.
15299
c12e9f37
JAPH
153002014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15301
15302 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15303
439bda32
WN
153042014-04-11 Will Newton <will.newton@linaro.org>
15305
15306 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15307 to zero if it is not defined elsewhere. (mtrim): Test
15308 the value of MALLOC_DEBUG with #if rather than #ifdef.
15309
6a5d6ea1
TR
153102014-04-10 Torvald Riegel <triegel@redhat.com>
15311
15312 * benchtests/pthread_once-inputs: New file.
15313 * benchtests/pthread_once-source.c: New file.
15314 * benchtests/README: Update documentation.
15315
a4c75cfd
IZ
153162014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15317 H.J. Lu <hongjiu.lu@intel.com>
15318
7e54fd04 15319 [BZ #16275]
a4c75cfd
IZ
15320 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15321 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15322 * sysdeps/x86_64/configure: Regenerated.
15323 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15324 macro.
15325 (REGISTER_SAVE_RAX): Likewise.
15326 (REGISTER_SAVE_RCX): Likewise.
15327 (REGISTER_SAVE_RDX): Likewise.
15328 (REGISTER_SAVE_RSI): Likewise.
15329 (REGISTER_SAVE_RDI): Likewise.
15330 (REGISTER_SAVE_R8): Likewise.
15331 (REGISTER_SAVE_R9): Likewise.
15332 (REGISTER_SAVE_BND0): Likewise.
15333 (REGISTER_SAVE_BND1): Likewise.
15334 (REGISTER_SAVE_BND2): Likewise.
15335 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15336 bound registers when calling _dl_fixup.
15337
27822ce6
AZ
153382014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15339
15340 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
15341 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15342 of its definition.
27822ce6
AZ
15343 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15344 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15345 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15346 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15347 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15348 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15349 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15350
a88ddc90
PTB
153512014-04-09 Peter Brett <peter@peter-b.co.uk>
15352
15353 [BZ #15514]
15354 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15355 pathconf(_PC_NAME_MAX).
15356
01f8eac2
AZ
153572014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15358
15359 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15360 Remove macro usage.
15361 (__PTHREAD_SPINS): Move definition to ...
15362 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15363 (__PTHREAD_SPINS): ... here.
15364 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15365 (__PTHREAD_SPIN): Likewise.
15366 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15367 (__PTHREAD_SPIN): Likewise.
15368 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15369 (__PTHREAD_SPIN): Likewise.
15370 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15371 (__PTHREAD_SPIN): Likewise.
15372 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15373 (__PTHREAD_SPIN): Likewise.
15374 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15375 (__PTHREAD_SPIN): Likewise.
15376 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15377 (__PTHREAD_SPIN): Likewise.
15378 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15379 (__PTHREAD_SPIN): Likewise.
15380 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15381 (__PTHREAD_SPIN): Likewise.
15382 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15383 (__PTHREAD_SPIN): Likewise.
15384 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15385 (__PTHREAD_SPIN): Likewise.
15386 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15387 (__PTHREAD_SPIN): Likewise.
15388
de21c33c
AZ
15389 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15390 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15391 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15392 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15393 imply folder.
15394 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15395 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15396 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15397 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15398 correct imply path.
15399 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15400 strlen symbol for non multi-arch builds.
15401 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15402 missing hidden_def and weak_alias.
15403
862c472e
CD
154042014-04-08 Carlos O'Donell <carlos@redhat.com>
15405
15406 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15407
8667f90e
WN
154082014-04-07 Will Newton <will.newton@linaro.org>
15409
15410 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15411 and contents. [!_LIBC] Remove #ifndef and contents.
15412 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15413 * string/memccpy.c (__memccpy): Use ANSI prototype.
15414 * string/memfrob.c (memfrob): Likewise.
15415 * string/strcoll.c (STRCOLL): Likewise.
15416 * string/strlen.c (strlen): Likewise.
15417 * string/strtok.c (STRTOK): Likewise.
15418 * string/strcat.c: Remove unused #include of memcopy.h.
15419 (strcat): Use ANSI prototype.
15420 * string/strchr.c: Remove unused #include of memcopy.h.
15421 (strchr): Use ANSI prototype.
15422 * string/strcmp.c: Remove unused #include of memcopy.h.
15423 (strcmp): Use ANSI prototype.
15424 * string/strcpy.c: Remove unused #include of memcopy.h.
15425 (strcpy): Use ANSI prototype.
15426
7ffa9423
AZ
154272014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15428
15429 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15430 * config.make.in (config-extra-cppflags): Set it from
15431 libc_extra_cppflags.
15432 * configure.ac (libc_extra_cflags): Make it accumulate over
15433 configure fragments.
15434 (libc_extra_cppflags): New flag.
15435 * configure. Regenerate.
15436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
15437 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15438 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
15439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15440
8bd70862
AZ
15441 [BZ #16815]
15442 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15443 result for FE_DOWNWARD rounding mode.
15444 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15445 Likewise.
15446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15447
d42f3448
CM
154482014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15449
15450 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15451 in function argument name.
15452
1c21d115
DS
154532014-04-03 David Svoboda <svoboda@cert.org>
15454
15455 [BZ #5666]
15456 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15457 explicitly.
15458
fcccd512
RM
154592014-04-03 Roland McGrath <roland@hack.frob.com>
15460
15461 * elf/dl-unmap-segments.h: New file.
15462 * sysdeps/generic/ldsodefs.h
15463 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15464 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15465 * elf/dl-fptr.c: Likewise.
15466 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15467 * sysdeps/aarch64/tlsdesc.c: Likewise.
15468 * sysdeps/arm/tlsdesc.c: Likewise.
15469 * sysdeps/i386/tlsdesc.c: Likewise.
15470 * sysdeps/tile/dl-runtime.c: Likewise.
15471 * sysdeps/x86_64/tlsdesc.c: Likewise.
15472 * elf/dl-load.h: New file.
15473 * elf/dl-load.c: Include it.
15474 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15475 Macros moved to dl-load.h.
15476 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15477 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15478 Use _dl_unmap_segments in place of __munmap.
15479 Break out segment-mapping loop into ...
15480 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15481
f6488e2b
WN
154822014-04-03 Will Newton <will.newton@linaro.org>
15483
15484 * elf/dl-lookup.c (do_lookup_x): Remove comment
15485 referring to nested function and move variable
15486 declarations down to before first use.
15487
6f05bafe
JM
154882014-04-02 Joseph Myers <joseph@codesourcery.com>
15489
a84e78c8
JM
15490 [BZ #16799]
15491 [BZ #16800]
15492 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15493 with 0 numerator.
15494 * math/s_catanf.c (__catanf): Likewise.
15495 * math/s_catanh.c (__catanh): Likewise.
15496 * math/s_catanhf.c (__catanhf): Likewise.
15497 * math/s_catanhl.c (__catanhl): Likewise.
15498 * math/s_catanl.c (__catanl): Likewise.
15499 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15500 by positive zero when computing -Inf result.
15501 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15502 (catanh_test): Likewise.
15503 * sysdeps/i386/fpu/libm-test-ulps: Update.
15504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15505
6f05bafe
JM
15506 [BZ #16789]
15507 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15508 instead of using underflowing value in computing result.
15509 * math/s_clog10.c (__clog10): Likewise.
15510 * math/s_clog10f.c (__clog10f): Likewise.
15511 * math/s_clog10l.c (__clog10l): Likewise.
15512 * math/s_clogf.c (__clogf): Likewise.
15513 * math/s_clogl.c (__clogl): Likewise.
15514 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15515 (clog10_test): Likewise.
15516 * sysdeps/i386/fpu/libm-test-ulps: Update.
15517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15518
b0abbc21
AM
155192014-04-02 Alan Modra <amodra@gmail.com>
15520
15521 [BZ #16739]
15522 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15523 output when value is near a power of two. Use int64_t for lx and
15524 remove casts. Use decimal rather than hex exponent constants.
15525 Don't use long double multiplication when double will suffice.
15526 * math/libm-test.inc (nextafter_test_data): Add tests.
15527 * NEWS: Add 16739 and 16786 to bug list.
15528
af6b1797
AM
15529 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15530
483818d7
AM
15531 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15532
f6c55796
WN
155332014-04-01 Will Newton <will.newton@linaro.org>
15534
15535 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15536 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15537
13f7fe35
FW
155382014-04-01 Florian Weimer <fweimer@redhat.com>
15539
15540 [BZ #13347]
15541 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15542 * nptl/tst-setuid2.c: New file.
15543 * nptl/Makefile (xtests): Add tst-setuid2.
15544
c859b32e
AM
155452014-04-01 Alan Modra <amodra@gmail.com>
15546
15547 [BZ #16786]
15548 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15549
54fa2475
JM
155502014-03-31 Joseph Myers <joseph@codesourcery.com>
15551
8795b4a4
JM
15552 [BZ #6803]
15553 [BZ #6804]
15554 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15555 set errno as appropriate.
15556 * math/w_scalbf.c (__scalbf): Likewise.
15557 * math/w_scalbl.c (__scalbl): Likewise.
15558 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15559 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15560 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15561 Add more NaN tests.
15562
54fa2475
JM
15563 [BZ #16349]
15564 * math/w_atan2.c: Include <errno.h>.
15565 (__atan2): Set errno for result underflowing to zero.
15566 * math/w_atan2f.c: Include <errno.h>.
15567 (__atan2f): Set errno for result underflowing to zero.
15568 * math/w_atan2l.c: Include <errno.h>.
15569 (__atan2l): Set errno for result underflowing to zero.
15570 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15571 tests.
15572 * math/auto-libm-test-out: Regenerated.
15573
757d9dd5
AZ
155742014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15575
15576 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15577 Encode instruction correctly in little endian.
15578 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15579 Likewise.
15580 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15581 Likewise.
15582 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15583 Likewise.
15584 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15585 Likewise.
15586
d7a68734
JM
155872014-03-31 Joseph Myers <joseph@codesourcery.com>
15588
47c5adeb
JM
15589 [BZ #9894]
15590 * sysdeps/unix/sysv/linux/kernel-features.h
15591 [__sparc__ && !__arch64__ && !__sparc_v9__]
15592 (__ASSUME_SET_ROBUST_LIST): Do not define.
15593 [__sparc__ && !__arch64__ && !__sparc_v9__]
15594 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15595 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15596 Likewise.
15597 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15598 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15599 (__ASSUME_REQUEUE_PI): Likewise.
15600 (__ASSUME_SET_ROBUST_LIST): Likewise.
15601 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15602 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15603 Undefine.
15604 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15605 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15606 Likewise.
15607 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15608 Likewise.
15609 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15610 Likewise.
15611 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15612 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15613 Undefine.
15614 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15615 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15616 Likewise.
15617
d7a68734
JM
15618 [BZ #16648]
15619 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15620 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15621 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15622
c760f5c2
WN
156232014-03-31 Will Newton <will.newton@linaro.org>
15624
15625 * benchtests/Makefile (bench): Add ffs and ffsll to list
15626 of tests.
15627 * benchtests/ffs-inputs: New file.
15628 * benchtests/ffsll-inputs: Likewise.
15629
ea6029b1
JM
156302014-03-29 Joseph Myers <joseph@codesourcery.com>
15631
15632 [BZ #16770]
15633 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15634 too large before casting to int.
15635 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15636 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15637 * math/libm-test.inc (scalb_test_data): Add more tests.
15638
cf806aff
SP
156392014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15640
56737508
SP
15641 * benchtests/Makefile (DETAILED_OPT): New make option.
15642 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15643 set.
15644 * benchtests/bench-skeleton.c: Include stdbool.h.
15645 (main): Store and print timings per input.
15646 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15647 member to each argument value.
15648 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15649 (_print_arg_data): Initialize per-input timing to 0.
15650
cb5e4aad
SP
15651 * benchtests/Makefile (timing-type): New binary.
15652 (bench-clean): Also remove bench-timing-type.
15653 (bench): New target for timing-type.
15654 (bench-func): Print output in JSON format.
15655 * benchtests/bench-skeleton.c (main): Print output in JSON
15656 format.
15657 * benchtests/bench-timing-type.c: New file.
15658 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15659 (TIMING_PRINT_STATS): Remove.
15660 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15661 name separately.
15662
cf806aff
SP
15663 * benchtests/bench-modf.c: Remove.
15664 * benchtests/modf-inputs: New inputs file.
15665
289e0779
JM
156662014-03-28 Joseph Myers <joseph@codesourcery.com>
15667
15668 [BZ #16362]
15669 * math/s_clog10.c (M_PI_LOG10E): New macro.
15670 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15671 imaginary parts are 0.
15672 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15673 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15674 imaginary parts are 0.
15675 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15676 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15677 imaginary parts are 0.
15678 * math/libm-test.inc (clog10_test_data): Update expected results
15679 for when real and imaginary parts are 0.
15680
277ae3f1
PP
156812014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15682
15683 * elf/dl-load.c: Finish conversion of __builtin_expect into
15684 __glibc_{un}likely.
15685
03a7091f
JM
156862014-03-27 Joseph Myers <joseph@codesourcery.com>
15687
15688 [BZ #16348]
15689 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15690 1+x for argument with exponent below -67.
15691 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15692 Likewise.
15693 * math/auto-libm-test-in: Add more tests of exp.
15694 * math/auto-libm-test-out: Regenerated.
15695
ea7d8b95
SP
156962014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15697
dd3022d7
SP
15698 [BZ #16759]
15699 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15700 (nscd_getnetgrent): Use it.
15701
ea7d8b95
SP
15702 [BZ #16760]
15703 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15704 of stpcpy.
15705
df5b85da
AK
157062014-03-27 Andi Kleen <ak@linux.intel.com>
15707
57f41c40
AS
15708 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15709 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15710 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15711 (lll_robust_unlock): Remove out of line section. Use cfi
15712 intrinsics.
df5b85da 15713 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
15714 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15715 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15716 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15717 (lll_robust_unlock): Remove out of line section. Use cfi
15718 intrinsics.
df5b85da
AK
15719 (LLL_STUB_UNWIND_INFO*): Remove.
15720
fbd6b5a4
SP
157212014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15722
15723 [BZ #16758]
15724 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15725 blank values.
15726
1b26b855
PP
157272014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15728
15729 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15730
9be36fb8
JM
157312014-03-26 Joseph Myers <joseph@codesourcery.com>
15732
15733 [BZ #16198]
15734 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15735 fnstenv.
15736 * math/test-fenv-preserve.c: New file.
15737 * math/Makefile (tests): Add test-fenv-preserve.
15738
60a2f3c1
WN
157392014-03-26 Will Newton <will.newton@linaro.org>
15740
15741 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15742
a5e5f1e2
RM
157432014-03-25 Roland McGrath <roland@hack.frob.com>
15744
15745 * scripts/versionlist.awk: Partition the version sets and emit all
15746 GLIBC_* (sorted) before all others (sorted).
15747
00f4012a
JM
157482014-03-25 Joseph Myers <joseph@codesourcery.com>
15749
15750 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15751 GLIBC_2.2.5 version.
15752
7bc5a741
AZ
157532014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15754
15755 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15756 calls.
15757
7578473b
AZ
15758 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15759 previous change.
15760
f3f1dab3
AZ
15761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15762
6da36183
AS
157632014-03-25 Andreas Schwab <schwab@suse.de>
15764
15765 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15766 label to be used after in6ailist is initialized.
15767
f3f1dab3 157682014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 15769
7578473b 15770 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
15771 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15772
046651c1
JM
157732014-03-25 Joseph Myers <joseph@codesourcery.com>
15774
15775 [BZ #16357]
15776 [BZ #16599]
15777 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15778 min_plus_half.
15779 (fp_formats): Update initializers.
15780 (init_fp_formats): Initialize new field.
15781 (output_for_one_input_case): Allow underflow for results up to
15782 min_plus_half.
15783 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15784 * math/auto-libm-test-in: Don't mark some underflows from asin and
15785 atanh as spurious.
15786 * math/auto-libm-test-out: Regenerated.
15787 * sysdeps/i386/fpu/libm-test-ulps: Update.
15788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15789
003e49ed
AS
157902014-03-25 Andreas Schwab <schwab@suse.de>
15791
15792 * libio/Makefile (tst-ftell-partial-wide-ENV)
15793 (tst-ftell-active-handler-ENV): Define.
15794
de031874
SL
157952014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15796
15797 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15798
55a81e3b
PP
157992014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15800
15801 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15802
f3426898
JM
158032014-03-24 Joseph Myers <joseph@codesourcery.com>
15804
15805 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15806 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15807 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15808
a42faf59
PP
158092014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15810
15811 [BZ #16634]
a42faf59 15812 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
15813 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15814 (open_path): Change from boolean 'secure' to complete flag 'mode'
15815 (_dl_map_object): Adjust.
a42faf59
PP
15816 * elf/Makefile (tests): Add tst-dlopen-aout.
15817 * elf/tst-dlopen-aout.c: New test.
15818
50936127
SL
158192014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15820
15821 [BZ #16714]
15822 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15823 (struct stat): Rename member pad0 to __glibc_reserved0.
15824
26011b5c
SL
15825 [BZ #16712]
15826 * sysdeps/s390/s390-32/bits/wordsize.h
15827 (__WORDSIZE32_SIZE_ULONG): New define.
15828 * sysdeps/s390/s390-64/bits/wordsize.h
15829 (__WORDSIZE32_SIZE_ULONG): Likewise.
15830 * sysdeps/generic/stdint.h (SIZE_MAX):
15831 Define as UL if __WORDSIZE32_SIZE_ULONG.
15832
a2d86bf1
SL
15833 [BZ #16713]
15834 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15835 (__glibc_reserved0): New variable.
15836 (sa_flags): Change type to int.
15837
78b6eebc
SL
15838 * posix/Makefile (before-compile): Use += before-compile instead
15839 of a :=.
15840
f1399b5a
SL
15841 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15842 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15843
a071766e
AS
158442014-03-20 Andreas Schwab <schwab@suse.de>
15845
15846 [BZ #16743]
15847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15848 non-matching result from nscd.
15849
27c673b8
SP
158502014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15851
15852 * scripts/bench.py: Moved to ...
15853 * benchtests/scripts/bench.py: ... here.
15854 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15855
44152e4b
AS
158562014-03-24 Andreas Schwab <schwab@suse.de>
15857
15858 [BZ #16002]
15859 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15860 alloca_account and account alloca use for struct in6ailist.
15861
b376a11a
JM
158622014-03-24 Joseph Myers <joseph@codesourcery.com>
15863
15864 [BZ #16284]
15865 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15866 rounding mode to recompute results that overflow to infinity or
15867 underflow to zero.
15868 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15869 bug 16284.
15870 * math/auto-libm-test-out: Regenerated.
15871 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15872 (ccosh_test): Likewise.
15873 (csin_test_data): Use plus_oflow.
15874 (csin_test): Use ALL_RM_TEST.
15875 (csinh_test_data): Use plus_oflow.
15876 (csinh_test): Use ALL_RM_TEST.
15877 * sysdeps/i386/fpu/libm-test-ulps: Update.
15878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15879
f7be7376
JM
158802014-03-21 Joseph Myers <joseph@codesourcery.com>
15881
1ca2d03e
JM
15882 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15883 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15884 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15885
f7be7376
JM
15886 [BZ #16731]
15887 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15888 when x - 1 is zero.
15889 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15890 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15891 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15892 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15893 argument is 1.
15894 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15895 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15896 zero.
15897 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15898 * sysdeps/i386/fpu/libm-test-ulps: Update.
15899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15900
fdf4534d
SP
159012014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15902
df26ea53
SP
15903 * scripts/bench.pl: Remove file.
15904 * scripts/bench.py: New benchmark script.
15905 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15906 * benchtests/README: Mention python dependency.
15907 * scripts/pylintrc: New file.
15908 * scripts/pylint: New file.
15909
fdf4534d
SP
15910 * bits/mathdef.h: Use #ifdef instead of #if.
15911 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15912 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15913 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15914 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15915 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15916 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15917
6f23d093
AZ
159182014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15919 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15920
15921 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15922 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15923 and strpbrk-ppc64 objects.
15924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15925 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15926 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15927 multiarch strpbrk for POWER7.
15928 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15929 multiarch strpbrk for PPC64.
15930 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15931 ifunc selector.
15932 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15933 strpbrk for POWER7.
15934
8c92dfff
JM
159352014-03-20 Joseph Myers <joseph@codesourcery.com>
15936
15937 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15938 (atan_test): Likewise.
15939 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15940 (atanh_test): Use ALL_RM_TEST.
15941 (atan2_test_data): Likewise.
15942 (cabs_test): Likewise.
15943 (cacosh_test): Likewise.
15944 (carg_test): Likewise.
15945 (casin_test): Likewise.
15946 (casinh_test): Likewise.
15947 (cbrt_test): Likewise.
15948 (csqrt_test): Likewise.
15949 (erf_test): Likewise.
15950 (erfc_test): Likewise.
15951 (pow10_test): Likewise.
15952 (exp2_test): Likewise.
15953 (hypot_test): Likewise.
15954 (j0_test): Likewise.
15955 (j1_test): Likewise.
15956 (lgamma_test): Likewise.
15957 (gamma_test): Likewise.
15958 (sincos_test): Likewise.
15959 (tanh_test): Likewise.
15960 (y0_test): Likewise.
15961 (y1_test): Likewise.
15962 * sysdeps/i386/fpu/libm-test-ulps: Update.
15963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15964
6eaf95cb
AZ
159652014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15966
a387428c
SP
15967 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
15969 and strcspn-ppc64 objects.
15970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15971 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15972 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15973 multiarch strcspn for POWER7.
15974 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15975 multiarch strcspn for PPC64.
15976 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15977 ifunc selector.
15978 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15979 strcspn for POWER7.
15980
ae3a5dff
JM
159812014-03-20 Joseph Myers <joseph@codesourcery.com>
15982
15983 * math/gen-libm-test.pl (generate_testfile): Expect only function
15984 name as argument to AUTO_TESTS_* and pass results for all rounding
15985 modes to parse_args.
15986 (parse_auto_input): Separate inputs of automatic tests from
15987 outputs before storing in %auto_tests.
15988 * math/libm-test.inc (acos_test_data): Update call to
15989 AUTO_TESTS_f_f.
15990 (acos_test): Use ALL_RM_TEST.
15991 (acos_tonearest_test_data): Remove.
15992 (acos_test_tonearest): Likewise.
15993 (acos_towardzero_test_data): Likewise.
15994 (acos_test_towardzero): Likewise.
15995 (acos_downward_test_data): Likewise.
15996 (acos_test_downward): Likewise.
15997 (acos_upward_test_data): Likewise.
15998 (acos_test_upward): Likewise.
15999 (acosh_test_data): Update call to AUTO_TESTS_f_f.
16000 (asin_test_data): Likewise.
16001 (asin_test): Use ALL_RM_TEST.
16002 (asin_tonearest_test_data): Remove.
16003 (asin_test_tonearest): Likewise.
16004 (asin_towardzero_test_data): Likewise.
16005 (asin_test_towardzero): Likewise.
16006 (asin_downward_test_data): Likewise.
16007 (asin_test_downward): Likewise.
16008 (asin_upward_test_data): Likewise.
16009 (asin_test_upward): Likewise.
16010 (asinh_test_data): Update call to AUTO_TESTS_f_f.
16011 (atan_test_data): Likewise.
16012 (atanh_test_data): Likewise.
16013 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16014 (cabs_test_data): Update call to AUTO_TESTS_c_f.
16015 (carg_test_data): Likewise.
16016 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16017 (ccos_test_data): Update call to AUTO_TESTS_c_c.
16018 (ccosh_test_data): Likewise.
16019 (cexp_test_data): Likewise.
16020 (clog_test_data): Likewise.
16021 (clog10_test_data): Likewise.
16022 (cos_test_data): Update call to AUTO_TESTS_f_f.
16023 (cos_test): Use ALL_RM_TEST.
16024 (cos_tonearest_test_data): Remove.
16025 (cos_test_tonearest): Likewise.
16026 (cos_towardzero_test_data): Likewise.
16027 (cos_test_towardzero): Likewise.
16028 (cos_downward_test_data): Likewise.
16029 (cos_test_downward): Likewise.
16030 (cos_upward_test_data): Likewise.
16031 (cos_test_upward): Likewise.
16032 (cosh_test_data): Update call to AUTO_TESTS_f_f.
16033 (cosh_test): Use ALL_RM_TEST.
16034 (cosh_tonearest_test_data): Remove.
16035 (cosh_test_tonearest): Likewise.
16036 (cosh_towardzero_test_data): Likewise.
16037 (cosh_test_towardzero): Likewise.
16038 (cosh_downward_test_data): Likewise.
16039 (cosh_test_downward): Likewise.
16040 (cosh_upward_test_data): Likewise.
16041 (cosh_test_upward): Likewise.
16042 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16043 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16044 (ctan_test_data): Likewise.
16045 (ctan_test): Use ALL_RM_TEST.
16046 (ctan_tonearest_test_data): Remove.
16047 (ctan_test_tonearest): Likewise.
16048 (ctan_towardzero_test_data): Likewise.
16049 (ctan_test_towardzero): Likewise.
16050 (ctan_downward_test_data): Likewise.
16051 (ctan_test_downward): Likewise.
16052 (ctan_upward_test_data): Likewise.
16053 (ctan_test_upward): Likewise.
16054 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16055 (ctanh_test): Use ALL_RM_TEST.
16056 (ctanh_tonearest_test_data): Remove.
16057 (ctanh_test_tonearest): Likewise.
16058 (ctanh_towardzero_test_data): Likewise.
16059 (ctanh_test_towardzero): Likewise.
16060 (ctanh_downward_test_data): Likewise.
16061 (ctanh_test_downward): Likewise.
16062 (ctanh_upward_test_data): Likewise.
16063 (ctanh_test_upward): Likewise.
16064 (erf_test_data): Update call to AUTO_TESTS_f_f.
16065 (erfc_test_data): Likewise.
16066 (exp_test_data): Likewise.
16067 (exp_test): Use ALL_RM_TEST.
16068 (exp_tonearest_test_data): Remove.
16069 (exp_test_tonearest): Likewise.
16070 (exp_towardzero_test_data): Likewise.
16071 (exp_test_towardzero): Likewise.
16072 (exp_downward_test_data): Likewise.
16073 (exp_test_downward): Likewise.
16074 (exp_upward_test_data): Likewise.
16075 (exp_test_upward): Likewise.
16076 (exp10_test_data): Update call to AUTO_TESTS_f_f.
16077 (exp10_test): Use ALL_RM_TEST.
16078 (exp10_tonearest_test_data): Remove.
16079 (exp10_test_tonearest): Likewise.
16080 (exp10_towardzero_test_data): Likewise.
16081 (exp10_test_towardzero): Likewise.
16082 (exp10_downward_test_data): Likewise.
16083 (exp10_test_downward): Likewise.
16084 (exp10_upward_test_data): Likewise.
16085 (exp10_test_upward): Likewise.
16086 (exp2_test_data): Update call to AUTO_TESTS_f_f.
16087 (expm1_test_data): Likewise.
16088 (expm1_test): Use ALL_RM_TEST.
16089 (expm1_tonearest_test_data): Remove.
16090 (expm1_test_tonearest): Likewise.
16091 (expm1_towardzero_test_data): Likewise.
16092 (expm1_test_towardzero): Likewise.
16093 (expm1_downward_test_data): Likewise.
16094 (expm1_test_downward): Likewise.
16095 (expm1_upward_test_data): Likewise.
16096 (expm1_test_upward): Likewise.
16097 (fma_test_data): Update call to AUTO_TESTS_fff_f.
16098 (fma_test): Use ALL_RM_TEST.
16099 (fma_towardzero_test_data): Remove.
16100 (fma_test_towardzero): Likewise.
16101 (fma_downward_test_data): Likewise.
16102 (fma_test_downward): Likewise.
16103 (fma_upward_test_data): Likewise.
16104 (fma_test_upward): Likewise.
16105 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16106 (j0_test_data): Update call to AUTO_TESTS_f_f.
16107 (j1_test_data): Likewise.
16108 (jn_test_data): Update call to AUTO_TESTS_if_f.
16109 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16110 (log_test_data): Update call to AUTO_TESTS_f_f.
16111 (log10_test_data): Likewise.
16112 (log1p_test_data): Likewise.
16113 (log2_test_data): Likewise.
16114 (pow_test_data): Update call to AUTO_TESTS_ff_f.
16115 (pow_tonearest_test_data): Likewise.
16116 (sin_test_data): Update call to AUTO_TESTS_f_f.
16117 (sin_test): Use ALL_RM_TEST.
16118 (sin_tonearest_test_data): Remove.
16119 (sin_test_tonearest): Likewise.
16120 (sin_towardzero_test_data): Likewise.
16121 (sin_test_towardzero): Likewise.
16122 (sin_downward_test_data): Likewise.
16123 (sin_test_downward): Likewise.
16124 (sin_upward_test_data): Likewise.
16125 (sin_test_upward): Likewise.
16126 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16127 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16128 (sinh_test): Use ALL_RM_TEST.
16129 (sinh_tonearest_test_data): Remove.
16130 (sinh_test_tonearest): Likewise.
16131 (sinh_towardzero_test_data): Likewise.
16132 (sinh_test_towardzero): Likewise.
16133 (sinh_downward_test_data): Likewise.
16134 (sinh_test_downward): Likewise.
16135 (sinh_upward_test_data): Likewise.
16136 (sinh_test_upward): Likewise.
16137 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16138 (sqrt_test): Use ALL_RM_TEST.
16139 (sqrt_tonearest_test_data): Remove.
16140 (sqrt_test_tonearest): Likewise.
16141 (sqrt_towardzero_test_data): Likewise.
16142 (sqrt_test_towardzero): Likewise.
16143 (sqrt_downward_test_data): Likewise.
16144 (sqrt_test_downward): Likewise.
16145 (sqrt_upward_test_data): Likewise.
16146 (sqrt_test_upward): Likewise.
16147 (tan_test_data): Update call to AUTO_TESTS_f_f.
16148 (tan_test): Use ALL_RM_TEST.
16149 (tan_tonearest_test_data): Remove.
16150 (tan_test_tonearest): Likewise.
16151 (tan_towardzero_test_data): Likewise.
16152 (tan_test_towardzero): Likewise.
16153 (tan_downward_test_data): Likewise.
16154 (tan_test_downward): Likewise.
16155 (tan_upward_test_data): Likewise.
16156 (tan_test_upward): Likewise.
16157 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16158 (tgamma_test_data): Likewise.
16159 (y0_test_data): Likewise.
16160 (y1_test_data): Likewise.
16161 (yn_test_data): Update call to AUTO_TESTS_if_f.
16162 (main): Do not call removed functions.
16163
d71aeee8
JM
161642014-03-19 Joseph Myers <joseph@codesourcery.com>
16165
16166 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16167 (ldexp_test_data): Remove.
16168 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16169 scalbn_test_data.
16170 (scalb_test): Use ALL_RM_TEST.
16171
baaf1ded
AS
161722014-03-19 Andreas Schwab <schwab@suse.de>
16173
16174 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16175
b1115e91
JM
161762014-03-19 Joseph Myers <joseph@codesourcery.com>
16177
16178 [BZ #16649]
16179 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16180 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16181 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16182 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16183 (__ASSUME_PREADV): Undefine.
16184 (__ASSUME_PWRITEV): Likewise.
16185
0283ecca
RM
161862014-03-18 Roland McGrath <roland@hack.frob.com>
16187
7d375303
RM
16188 * bits/mman-linux.h: Add comment about non-Linux use.
16189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16190 bits/mman-linux.h resting place.
16191
0283ecca
RM
16192 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16193 * bits/mman-linux.h: ... here.
16194
aebe1003
AZ
161952014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16196
16197 * conform/conformtest.pl: Add standard definition when calling C
16198 preprocessor on data files.
16199 (checknamespace): Remove unused variable.
16200
b29b6bb8
JM
162012014-03-18 Joseph Myers <joseph@codesourcery.com>
16202
16203 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16204 minus_oflow, plus_uflow and minus_uflow in expected results.
16205 * math/libm-test.inc (scalbn_test_data): Add more tests of
16206 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16207 minus_uflow.
16208 (scalbn_test): Use ALL_RM_TEST.
16209 (scalbln_test_data): Add more tests of negative arguments. Use
16210 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16211 (scalbln_test): Use ALL_RM_TEST.
16212
c8f8fa15
RM
162132014-03-18 Roland McGrath <roland@hack.frob.com>
16214
16215 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16216
fede7a5f
WN
162172014-03-18 Will Newton <will.newton@linaro.org>
16218
16219 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16220 inaccurate comment.
16221
80cf0a58
JM
162222014-03-18 Joseph Myers <joseph@codesourcery.com>
16223
16224 * Makerules [!subdir] (check-abi): Exit with error status if a
16225 test failed.
16226
b3620862
JM
162272014-03-17 Joseph Myers <joseph@codesourcery.com>
16228
16229 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16230 for rint. Include results for all rounding modes.
16231 (nearbyint_test): Use ALL_RM_TEST.
16232 (rint_test_data): Include all tests used for nearbyint.
16233
788bba36
WN
162342014-03-17 Will Newton <will.newton@linaro.org>
16235
04ec140a
WN
16236 * nptl/sysdeps/pthread/pthread.h: Revert previous
16237 change.
16238
7579d8d5
WN
16239 * sysdeps/generic/ldsodefs.h: Revert previous
16240 change.
16241
c15cf13a
WN
16242 * libio/genops.c: Revert previous change.
16243 * libio/libioP.h: Likewise.
16244 * stdio-common/vfprintf.c: Likewise.
16245
d0ac1324
WN
16246 * sysdeps/generic/math_private.h: Revert previous
16247 change.
16248
9290130a
WN
16249 * sysdeps/generic/math_private.h: Check whether
16250 HAVE_RM_CTX is defined with #ifdef rather
16251 than #if.
16252
afb466fc
WN
16253 * argp/argp-fmtstream.h: Check whether
16254 __STRICT_ANSI__ is defined with #ifdef rather
16255 than #if.
16256 * argp/argp.h: Likewise.
16257
f7efd7c3
WN
16258 * libio/genops.c: Check whether
16259 _IO_JUMPS_OFFSET is defined with #ifdef rather
16260 than #if.
16261 * libio/libioP.h: Likewise.
16262 * stdio-common/vfprintf.c: Likewise.
16263
53f1bed3
WN
16264 * sysdeps/generic/ldsodefs.h: Check whether
16265 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16266 than #if.
16267
788bba36
WN
16268 * nptl/sysdeps/pthread/pthread.h: Check
16269 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16270 its value.
16271
fcd89ebe
SP
162722014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16273
ae42bbc5
SP
16274 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16275 setting O_APPEND.
16276 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16277 test case.
16278
ea33158c
SP
16279 [BZ #16680]
16280 * libio/fileops.c (_IO_file_open): Seek to end of file but
16281 don't cache the offset.
16282 (get_file_offset): Remove function.
16283 (do_ftell): Use cached offset when available.
16284 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16285 don't cache the offset.
16286 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16287 case.
16288 (do_one_test): Call it.
16289 (do_ftell_test): Fix up expected old offset for a+ mode.
16290 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16291 available.
16292
b1dbb426
SP
16293 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16294 up test status with function return status.
16295 (do_write_test): Likewise.
16296 (do_append_test): Likewise.
16297
fcd89ebe
SP
16298 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16299 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16300 Remove.
16301
9962a2d3
JM
163022014-03-17 Joseph Myers <joseph@codesourcery.com>
16303
16304 * math/gen-libm-test.pl (parse_args): Handle results specified for
16305 each rounding mode separately.
16306 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16307 tests and results from lrint_tonearest_test_data,
16308 lrint_towardzero_test_data, lrint_downward_test_data and
16309 lrint_upward_test_data.
16310 (lrint_test): Use ALL_RM_TEST.
16311 (lrint_tonearest_test_data): Remove.
16312 (lrint_test_tonearest): Likewise.
16313 (lrint_towardzero_test_data): Likewise.
16314 (lrint_test_towardzero): Likewise.
16315 (lrint_downward_test_data): Likewise.
16316 (lrint_test_downward): Likewise.
16317 (lrint_upward_test_data): Likewise.
16318 (lrint_test_upward): Likewise.
16319 (llrint_test_data): Merge in per-rounding-mode tests and results
16320 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16321 llrint_downward_test_data and llrint_upward_test_data.
16322 (llrint_test): Use ALL_RM_TEST.
16323 (llrint_tonearest_test_data): Remove.
16324 (llrint_test_tonearest): Likewise.
16325 (llrint_towardzero_test_data): Likewise.
16326 (llrint_test_towardzero): Likewise.
16327 (llrint_downward_test_data): Likewise.
16328 (llrint_test_downward): Likewise.
16329 (llrint_upward_test_data): Likewise.
16330 (llrint_test_upward): Likewise.
16331 (rint_test_data): Merge in per-rounding-mode tests and results
16332 from rint_tonearest_test_data, rint_towardzero_test_data,
16333 rint_downward_test_data and rint_upward_test_data. Add
16334 per-rounding-mode results for tests not in those arrays.
16335 (rint_test): Use ALL_RM_TEST.
16336 (rint_tonearest_test_data): Remove.
16337 (rint_test_tonearest): Likewise.
16338 (rint_towardzero_test_data): Likewise.
16339 (rint_test_towardzero): Likewise.
16340 (rint_downward_test_data): Likewise.
16341 (rint_test_downward): Likewise.
16342 (rint_upward_test_data): Likewise.
16343 (rint_test_upward): Likewise.
16344 (main): Don't call removed functions.
16345
5006148e
RM
163462014-03-14 Roland McGrath <roland@hack.frob.com>
16347
16348 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16349 "Compiled on ..." crapola. It is anti-useful.
16350
d6fe5e58
JM
163512014-03-14 Joseph Myers <joseph@codesourcery.com>
16352
16353 * scripts/evaluate-test.sh: Handle fourth argument to determine
16354 whether test run should stop on failure.
16355 * Makeconfig (stop-on-test-failure): New variable.
16356 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16357 $(stop-on-test-failure).
16358 * Makefile (tests): Give a summary of results from testing and
16359 exit with failure status if they include an ERROR or FAIL.
16360 (xtests): Likewise.
16361 * manual/install.texi (Configuring and compiling): Mention
16362 stop-on-test-failure=y.
16363 * INSTALL: Regenerated.
16364
498a2233
RM
163652014-03-14 Roland McGrath <roland@hack.frob.com>
16366
22dbc19d
RM
16367 * scripts/versionlist.awk: New file.
16368 * Makerules [$(build-shared) = yes]
16369 (postclean-generated): Add Versions.def, not Versions.def.v and
16370 Versions.def.v.i.
16371 ($(common-objpfx)Versions.def.v.i): Target removed.
16372 ($(common-objpfx)Versions.def): New target.
16373 ($(common-objpfx)Versions.all): Depend on that rather that
16374 $(common-objpfx)Versions.def.v.
16375 * Versions.def: File removed.
16376
498a2233
RM
16377 * Makeconfig (+gccwarn): Add -Wundef.
16378 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16379 a dl-sysdep.h breaking its contract.
16380 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16381 * include/stackinfo.h: New file.
16382 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16383 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16384 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16385 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16386 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16387 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16388 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16389 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16390 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16391 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16392 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16393 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16394 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16395 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16396 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16397
c7de5025
AZ
163982014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16399
16400 [BZ #16707]
16401 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16402 implementation.
16403 * math/libm-test.inc (round_test_data): Add more tests.
16404
98fb27a3
AZ
16405 [BZ #16706]
16406 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16407 implementation.
16408 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16409
374f7f61
AZ
16410 [BZ #16701]
16411 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16412 implementation.
16413 * math/libm-test.inc (ceil_test_data): Add more tests.
16414
4655c291
AZ
16415 * math/libm-test.inc (trunc_test_data): Add more tests related to
16416 BZ#16414.
16417
d7329d4b
RM
164182014-03-14 Roland McGrath <roland@hack.frob.com>
16419
16420 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16421 with #if rather than #ifdef.
16422 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16423
aa4de9ce
L
164242014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16425
16426 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16427 first. Disable AVX-512 GCC support if assembler doesn't support
16428 it.
16429 * sysdeps/x86_64/configure: Regenerated.
16430
2e03fae7
CD
164312014-03-13 Carlos O'Donell <carlos@redhat.com>
16432
16433 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16434 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16435 (__old_pthread_attr_setstack): Likewise.
16436 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16437 [!_STACK_GROWS_DOWN]: Likewise.
16438
43ca83ec
MF
164392014-03-13 Mike Frysinger <vapier@gentoo.org>
16440
16441 * config.make.in (have-bash2): Delete.
16442 * configure.ac (libc_cv_have_bash2): Delete.
16443 * configure: Regenerate.
16444 * elf/Makefile (common-ldd-rewrite): Rename to ...
16445 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16446 (sh-ldd-rewrite): Delete.
16447 (bash-ldd-rewrite): Delete.
16448 (have-bash2): Delete checks.
57f41c40
AS
16449 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16450 ldd-rewrite.
c66e48b4
MF
16451
16452 * config.make.in (have-ksh): Delete.
16453 (KSH): Delete.
16454 * configure.ac (libc_cv_have_ksh): Delete.
16455 * configure: Regenerate.
16456
b93834ef
MF
16457 * elf/Makefile: Delete $(have-ksh) check.
16458 ($(objpfx)sotruss): Change KSH to BASH.
16459 * elf/sotruss.ksh: Rename to ...
16460 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16461 function style to match POSIX. Drop ksh vim mode setting.
16462
f3a4632a
MF
16463 * manual/time.texi (Specifying the Time Zone with TZ): Change
16464 Tuesday to Thursday.
16465
5896c8bd
MF
16466 * debug/tst-longjmp_chk2.c: Update header comment.
16467 (stackoverflow_handler): Add comment. Call assert on pass value.
16468
2d63a517
IZ
164692014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16470
7e54fd04 16471 [BZ #16194]
2d63a517
IZ
16472 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16473 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16474 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16475 (La_x86_64_vector): Add zmm.
16476 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16477 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16478 ($(objpfx)tst-audit10): New target.
16479 ($(objpfx)tst-audit10.out): Likewise.
16480 (tst-audit10-ENV): New.
16481 (AVX512-CFLAGS): Likewise.
16482 (CFLAGS-tst-audit10.c): Likewise.
16483 (CFLAGS-tst-auditmod10a.c): Likewise.
16484 (CFLAGS-tst-auditmod10b.c): Likewise.
16485 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16486 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16487 * sysdeps/x86_64/configure: Regenerated.
16488 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16489 AVX-512 zmm register support.
16490 (_dl_x86_64_save_sse): Likewise.
16491 (_dl_x86_64_restore_sse): Likewise.
16492 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16493 size vector registers.
16494 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16495 (ZMM_SIZE): Likewise.
16496 * sysdeps/x86_64/tst-audit10.c: New file.
16497 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16498 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16499
44c4e5d5
RM
165002014-03-13 Roland McGrath <roland@hack.frob.com>
16501
16502 * configure.ac (HAVE_EHDR_START): New check.
16503 * configure: Regenerated.
16504 * config.h.in (HAVE_EHDR_START): New #undef.
16505 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16506 assuming the lowest-addressed segment maps the start of the file.
16507
acd6e389
JM
165082014-03-13 Joseph Myers <joseph@codesourcery.com>
16509
16510 * INSTALL: Regenerated.
16511
6f918f36
WN
165122014-03-13 Will Newton <will.newton@linaro.org>
16513
16514 * manual/setjmp.texi (System V contexts): Improve
16515 clarity and grammar of documentation.
16516
798212a0
PP
165172014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16518
16519 [BZ #16381]
798212a0 16520 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 16521 (tests-pie): Add tst-pie2.
798212a0
PP
16522 * elf/tst-pie2.c: New file.
16523 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16524 for ET_EXEC.
16525 * elf/rtld.c (map_doit): Load executable as lt_executable.
16526 (dl_main): Likewise.
16527
abe6d90c
JM
165282014-03-12 Joseph Myers <joseph@codesourcery.com>
16529
16530 [BZ #16642]
16531 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16532 (__ASSUME_PSELECT): Undefine.
16533
dd3946c6
AZ
165342014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16535
16536 [BZ #16689]
16537 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16538 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16539 static build.
16540 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16541 selector for static builds.
16542
c44496df
SP
165432014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16544
16545 [BZ #16695]
16546 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16547 key in the buffer.
16548
27c7220a
AZ
165492014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16550
57f41c40
AS
16551 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16552 IFUNC selector for static builds.
27c7220a 16553
600fa361
JM
165542014-03-11 Joseph Myers <joseph@codesourcery.com>
16555
76c96cf7
JM
16556 * sysdeps/mips/math_private.h [__mips_hard_float]
16557 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16558 libc_feresetround_mips_ctx.
16559 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16560 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16561 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16562
600fa361
JM
16563 [BZ #16677]
16564 * math/s_nextafter.c (__nextafter): Do not return value from
16565 overflowing computation.
16566 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16567 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16568 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16569 Likewise.
16570 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16571 Likewise.
16572 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16573 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16574
d7706c32
RM
165752014-03-11 Roland McGrath <roland@hack.frob.com>
16576
16577 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16578 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16579 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16580 the new mov targetting sp.
16581
4facea47
AZ
165822014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16583
16584 [BZ #16683]
16585 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16586 Define it for static builds as well.
16587 (NO_BZERO_IMPL): Likewise.
16588
e65caf1f
VR
165892014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16590
16591 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16592 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16593 multiarch strspn for PPC64.
16594 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16595 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16597 (__libc_ifunc_impl_list): Likewise.
16598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16599 multiarch optimizations
16600 * string/strspn.c (strspn): Using macro to redefine symbol name.
16601
ba9cc071
AZ
166022014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16603 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16604
16605 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16606 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16607 multiarch strncat for PPC64.
16608 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16609 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16611 (__libc_ifunc_impl_list): Likewise.
16612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16613 multiarch optimizations
16614
8b4ff974
SP
166152014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16616
16617 [BZ #16639]
16618 * nscd/nscd.service: Make service type forking.
16619
54b46a4b
AZ
166202014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16621
16622 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16623 sign in non default rounding modes.
16624 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16625
e9996ef7
JM
166262014-03-08 Joseph Myers <joseph@codesourcery.com>
16627
16628 * math/libm-test.inc (ALL_RM_TEST): New macro.
16629 (ceil_test): Use ALL_RM_TEST.
16630 (cimag_test): Likewise.
16631 (conj_test): Likewise.
16632 (copysign_test): Likewise.
16633 (cproj_test): Likewise.
16634 (creal_test): Likewise.
16635 (fabs_test): Likewise.
16636 (floor_test): Likewise.
16637 (fmax_test): Likewise.
16638 (fmin_test): Likewise.
16639 (fmod_test): Likewise.
16640 (fpclassify_test): Likewise.
16641 (frexp_test): Likewise.
16642 (ilogb_test): Likewise.
16643 (isfinite_test): Likewise.
16644 (finite_test): Likewise.
16645 (isgreater_test): Likewise.
16646 (isgreaterequal_test): Likewise.
16647 (isinf_test): Likewise.
16648 (isless_test): Likewise.
16649 (islessequal_test): Likewise.
16650 (islessgreater_test): Likewise.
16651 (isnan_test): Likewise.
16652 (isnormal_test): Likewise.
16653 (issignaling_test): Likewise.
16654 (isunordered_test): Likewise.
16655 (logb_test): Likewise.
16656 (logb_downward_test_data): Remove.
16657 (logb_test_downward): Likewise.
16658 (lround_test): Use ALL_RM_TEST.
16659 (llround_test): Likewise.
16660 (modf_test): Likewise.
16661 (nexttoward_test): Likewise.
16662 (remainder_test): Likewise.
16663 (drem_test): Likewise.
16664 (remainder_tonearest_test_data): Likewise.
16665 (remainder_test_tonearest): Likewise.
16666 (drem_test_tonearest): Likewise.
16667 (remainder_towardzero_test_data): Likewise.
16668 (remainder_test_towardzero): Likewise.
16669 (drem_test_towardzero): Likewise.
16670 (remainder_downward_test_data): Likewise.
16671 (remainder_test_downward): Likewise.
16672 (drem_test_downward): Likewise.
16673 (remainder_upward_test_data): Likewise.
16674 (remainder_test_upward): Likewise.
16675 (drem_test_upward): Likewise.
16676 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16677 (round_test): Use ALL_RM_TEST.
16678 (signbit_test): Likewise.
16679 (trunc_test): Likewise.
16680 (significand_test): Likewise.
16681 (main): Don't call removed functions.
16682
bc61d27c
JM
166832014-03-07 Joseph Myers <joseph@codesourcery.com>
16684
5c780849
JM
16685 [BZ #16674]
16686 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16687 || __USE_XOPEN2K8].
16688 (ILL_ILLOPN): Likewise.
16689 (ILL_ILLADR): Likewise.
16690 (ILL_ILLTRP): Likewise.
16691 (ILL_PRVOPC): Likewise.
16692 (ILL_PRVREG): Likewise.
16693 (ILL_COPROC): Likewise.
16694 (ILL_BADSTK): Likewise.
16695 (FPE_INTDIV): Likewise.
16696 (FPE_INTOVF): Likewise.
16697 (FPE_FLTDIV): Likewise.
16698 (FPE_FLTOVF): Likewise.
16699 (FPE_FLTUND): Likewise.
16700 (FPE_FLTRES): Likewise.
16701 (FPE_FLTINV): Likewise.
16702 (FPE_FLTSUB): Likewise.
16703 (SEGV_MAPERR): Likewise.
16704 (SEGV_ACCERR): Likewise.
16705 (BUS_ADRALN): Likewise.
16706 (BUS_ADRERR): Likewise.
16707 (BUS_OBJERR): Likewise.
16708 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16709 (TRAP_TRACE): Likewise.
16710 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16711 __USE_XOPEN2K8].
16712 (CLD_KILLED): Likewise.
16713 (CLD_DUMPED): Likewise.
16714 (CLD_TRAPPED): Likewise.
16715 (CLD_STOPPED): Likewise.
16716 (CLD_CONTINUED): Likewise.
16717 (POLL_IN): Likewise.
16718 (POLL_OUT): Likewise.
16719 (POLL_MSG): Likewise.
16720 (POLL_ERR): Likewise.
16721 (POLL_PRI): Likewise.
16722 (POLL_HUP): Likewise.
16723 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16724 Likewise.
16725 (ILL_ILLOPN): Likewise.
16726 (ILL_ILLADR): Likewise.
16727 (ILL_ILLTRP): Likewise.
16728 (ILL_PRVOPC): Likewise.
16729 (ILL_PRVREG): Likewise.
16730 (ILL_COPROC): Likewise.
16731 (ILL_BADSTK): Likewise.
16732 (FPE_INTDIV): Likewise.
16733 (FPE_INTOVF): Likewise.
16734 (FPE_FLTDIV): Likewise.
16735 (FPE_FLTOVF): Likewise.
16736 (FPE_FLTUND): Likewise.
16737 (FPE_FLTRES): Likewise.
16738 (FPE_FLTINV): Likewise.
16739 (FPE_FLTSUB): Likewise.
16740 (SEGV_MAPERR): Likewise.
16741 (SEGV_ACCERR): Likewise.
16742 (BUS_ADRALN): Likewise.
16743 (BUS_ADRERR): Likewise.
16744 (BUS_OBJERR): Likewise.
16745 (BUS_MCEERR_AR): Likewise.
16746 (BUS_MCEERR_AO): Likewise.
16747 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16748 (TRAP_TRACE): Likewise.
16749 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16750 __USE_XOPEN2K8].
16751 (CLD_KILLED): Likewise.
16752 (CLD_DUMPED): Likewise.
16753 (CLD_TRAPPED): Likewise.
16754 (CLD_STOPPED): Likewise.
16755 (CLD_CONTINUED): Likewise.
16756 (POLL_IN): Likewise.
16757 (POLL_OUT): Likewise.
16758 (POLL_MSG): Likewise.
16759 (POLL_ERR): Likewise.
16760 (POLL_PRI): Likewise.
16761 (POLL_HUP): Likewise.
16762 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16763 (ILL_ILLOPN): Likewise.
16764 (ILL_ILLADR): Likewise.
16765 (ILL_ILLTRP): Likewise.
16766 (ILL_PRVOPC): Likewise.
16767 (ILL_PRVREG): Likewise.
16768 (ILL_COPROC): Likewise.
16769 (ILL_BADSTK): Likewise.
16770 (FPE_INTDIV): Likewise.
16771 (FPE_INTOVF): Likewise.
16772 (FPE_FLTDIV): Likewise.
16773 (FPE_FLTOVF): Likewise.
16774 (FPE_FLTUND): Likewise.
16775 (FPE_FLTRES): Likewise.
16776 (FPE_FLTINV): Likewise.
16777 (FPE_FLTSUB): Likewise.
16778 (SEGV_MAPERR): Likewise.
16779 (SEGV_ACCERR): Likewise.
16780 (BUS_ADRALN): Likewise.
16781 (BUS_ADRERR): Likewise.
16782 (BUS_OBJERR): Likewise.
16783 (BUS_MCEERR_AR): Likewise.
16784 (BUS_MCEERR_AO): Likewise.
16785 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16786 (TRAP_TRACE): Likewise.
16787 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16788 __USE_XOPEN2K8].
16789 (CLD_KILLED): Likewise.
16790 (CLD_DUMPED): Likewise.
16791 (CLD_TRAPPED): Likewise.
16792 (CLD_STOPPED): Likewise.
16793 (CLD_CONTINUED): Likewise.
16794 (POLL_IN): Likewise.
16795 (POLL_OUT): Likewise.
16796 (POLL_MSG): Likewise.
16797 (POLL_ERR): Likewise.
16798 (POLL_PRI): Likewise.
16799 (POLL_HUP): Likewise.
16800 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16801 Likewise.
16802 (ILL_ILLOPN): Likewise.
16803 (ILL_ILLADR): Likewise.
16804 (ILL_ILLTRP): Likewise.
16805 (ILL_PRVOPC): Likewise.
16806 (ILL_PRVREG): Likewise.
16807 (ILL_COPROC): Likewise.
16808 (ILL_BADSTK): Likewise.
16809 (ILL_BADIADDR): Likewise.
16810 (ILL_BREAK): Likewise.
16811 (FPE_INTDIV): Likewise.
16812 (FPE_INTOVF): Likewise.
16813 (FPE_FLTDIV): Likewise.
16814 (FPE_FLTOVF): Likewise.
16815 (FPE_FLTUND): Likewise.
16816 (FPE_FLTRES): Likewise.
16817 (FPE_FLTINV): Likewise.
16818 (FPE_FLTSUB): Likewise.
16819 (FPE_DECOVF): Likewise.
16820 (FPE_DECDIV): Likewise.
16821 (FPE_DECERR): Likewise.
16822 (FPE_INVASC): Likewise.
16823 (FPE_INVDEC): Likewise.
16824 (SEGV_MAPERR): Likewise.
16825 (SEGV_ACCERR): Likewise.
16826 (SEGV_PSTKOVF): Likewise.
16827 (BUS_ADRALN): Likewise.
16828 (BUS_ADRERR): Likewise.
16829 (BUS_OBJERR): Likewise.
16830 (BUS_MCEERR_AR): Likewise.
16831 (BUS_MCEERR_AO): Likewise.
16832 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16833 (TRAP_TRACE): Likewise.
16834 (TRAP_BRANCH): Likewise.
16835 (TRAP_HWBKPT): Likewise.
16836 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16837 __USE_XOPEN2K8].
16838 (CLD_KILLED): Likewise.
16839 (CLD_DUMPED): Likewise.
16840 (CLD_TRAPPED): Likewise.
16841 (CLD_STOPPED): Likewise.
16842 (CLD_CONTINUED): Likewise.
16843 (POLL_IN): Likewise.
16844 (POLL_OUT): Likewise.
16845 (POLL_MSG): Likewise.
16846 (POLL_ERR): Likewise.
16847 (POLL_PRI): Likewise.
16848 (POLL_HUP): Likewise.
16849 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16850 (ILL_ILLOPN): Likewise.
16851 (ILL_ILLADR): Likewise.
16852 (ILL_ILLTRP): Likewise.
16853 (ILL_PRVOPC): Likewise.
16854 (ILL_PRVREG): Likewise.
16855 (ILL_COPROC): Likewise.
16856 (ILL_BADSTK): Likewise.
16857 (FPE_INTDIV): Likewise.
16858 (FPE_INTOVF): Likewise.
16859 (FPE_FLTDIV): Likewise.
16860 (FPE_FLTOVF): Likewise.
16861 (FPE_FLTUND): Likewise.
16862 (FPE_FLTRES): Likewise.
16863 (FPE_FLTINV): Likewise.
16864 (FPE_FLTSUB): Likewise.
16865 (SEGV_MAPERR): Likewise.
16866 (SEGV_ACCERR): Likewise.
16867 (BUS_ADRALN): Likewise.
16868 (BUS_ADRERR): Likewise.
16869 (BUS_OBJERR): Likewise.
16870 (BUS_MCEERR_AR): Likewise.
16871 (BUS_MCEERR_AO): Likewise.
16872 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16873 (TRAP_TRACE): Likewise.
16874 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16875 __USE_XOPEN2K8].
16876 (CLD_KILLED): Likewise.
16877 (CLD_DUMPED): Likewise.
16878 (CLD_TRAPPED): Likewise.
16879 (CLD_STOPPED): Likewise.
16880 (CLD_CONTINUED): Likewise.
16881 (POLL_IN): Likewise.
16882 (POLL_OUT): Likewise.
16883 (POLL_MSG): Likewise.
16884 (POLL_ERR): Likewise.
16885 (POLL_PRI): Likewise.
16886 (POLL_HUP): Likewise.
16887 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16888 (ILL_ILLOPN): Likewise.
16889 (ILL_ILLADR): Likewise.
16890 (ILL_ILLTRP): Likewise.
16891 (ILL_PRVOPC): Likewise.
16892 (ILL_PRVREG): Likewise.
16893 (ILL_COPROC): Likewise.
16894 (ILL_BADSTK): Likewise.
16895 (FPE_INTDIV): Likewise.
16896 (FPE_INTOVF): Likewise.
16897 (FPE_FLTDIV): Likewise.
16898 (FPE_FLTOVF): Likewise.
16899 (FPE_FLTUND): Likewise.
16900 (FPE_FLTRES): Likewise.
16901 (FPE_FLTINV): Likewise.
16902 (FPE_FLTSUB): Likewise.
16903 (SEGV_MAPERR): Likewise.
16904 (SEGV_ACCERR): Likewise.
16905 (BUS_ADRALN): Likewise.
16906 (BUS_ADRERR): Likewise.
16907 (BUS_OBJERR): Likewise.
16908 (BUS_MCEERR_AR): Likewise.
16909 (BUS_MCEERR_AO): Likewise.
16910 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16911 (TRAP_TRACE): Likewise.
16912 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16913 __USE_XOPEN2K8].
16914 (CLD_KILLED): Likewise.
16915 (CLD_DUMPED): Likewise.
16916 (CLD_TRAPPED): Likewise.
16917 (CLD_STOPPED): Likewise.
16918 (CLD_CONTINUED): Likewise.
16919 (POLL_IN): Likewise.
16920 (POLL_OUT): Likewise.
16921 (POLL_MSG): Likewise.
16922 (POLL_ERR): Likewise.
16923 (POLL_PRI): Likewise.
16924 (POLL_HUP): Likewise.
16925 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16926 (ILL_ILLOPN): Likewise.
16927 (ILL_ILLADR): Likewise.
16928 (ILL_ILLTRP): Likewise.
16929 (ILL_PRVOPC): Likewise.
16930 (ILL_PRVREG): Likewise.
16931 (ILL_COPROC): Likewise.
16932 (ILL_BADSTK): Likewise.
16933 (FPE_INTDIV): Likewise.
16934 (FPE_INTOVF): Likewise.
16935 (FPE_FLTDIV): Likewise.
16936 (FPE_FLTOVF): Likewise.
16937 (FPE_FLTUND): Likewise.
16938 (FPE_FLTRES): Likewise.
16939 (FPE_FLTINV): Likewise.
16940 (FPE_FLTSUB): Likewise.
16941 (SEGV_MAPERR): Likewise.
16942 (SEGV_ACCERR): Likewise.
16943 (BUS_ADRALN): Likewise.
16944 (BUS_ADRERR): Likewise.
16945 (BUS_OBJERR): Likewise.
16946 (BUS_MCEERR_AR): Likewise.
16947 (BUS_MCEERR_AO): Likewise.
16948 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16949 (TRAP_TRACE): Likewise.
16950 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16951 __USE_XOPEN2K8].
16952 (CLD_KILLED): Likewise.
16953 (CLD_DUMPED): Likewise.
16954 (CLD_TRAPPED): Likewise.
16955 (CLD_STOPPED): Likewise.
16956 (CLD_CONTINUED): Likewise.
16957 (POLL_IN): Likewise.
16958 (POLL_OUT): Likewise.
16959 (POLL_MSG): Likewise.
16960 (POLL_ERR): Likewise.
16961 (POLL_PRI): Likewise.
16962 (POLL_HUP): Likewise.
16963 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16964 (ILL_ILLOPN): Likewise.
16965 (ILL_ILLADR): Likewise.
16966 (ILL_ILLTRP): Likewise.
16967 (ILL_PRVOPC): Likewise.
16968 (ILL_PRVREG): Likewise.
16969 (ILL_COPROC): Likewise.
16970 (ILL_BADSTK): Likewise.
16971 (ILL_DBLFLT): Likewise.
16972 (ILL_HARDWALL): Likewise.
16973 (FPE_INTDIV): Likewise.
16974 (FPE_INTOVF): Likewise.
16975 (FPE_FLTDIV): Likewise.
16976 (FPE_FLTOVF): Likewise.
16977 (FPE_FLTUND): Likewise.
16978 (FPE_FLTRES): Likewise.
16979 (FPE_FLTINV): Likewise.
16980 (FPE_FLTSUB): Likewise.
16981 (SEGV_MAPERR): Likewise.
16982 (SEGV_ACCERR): Likewise.
16983 (BUS_ADRALN): Likewise.
16984 (BUS_ADRERR): Likewise.
16985 (BUS_OBJERR): Likewise.
16986 (BUS_MCEERR_AR): Likewise.
16987 (BUS_MCEERR_AO): Likewise.
16988 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16989 (TRAP_TRACE): Likewise.
16990 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16991 __USE_XOPEN2K8].
16992 (CLD_KILLED): Likewise.
16993 (CLD_DUMPED): Likewise.
16994 (CLD_TRAPPED): Likewise.
16995 (CLD_STOPPED): Likewise.
16996 (CLD_CONTINUED): Likewise.
16997 (POLL_IN): Likewise.
16998 (POLL_OUT): Likewise.
16999 (POLL_MSG): Likewise.
17000 (POLL_ERR): Likewise.
17001 (POLL_PRI): Likewise.
17002 (POLL_HUP): Likewise.
17003 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17004 (ILL_ILLOPN): Likewise.
17005 (ILL_ILLADR): Likewise.
17006 (ILL_ILLTRP): Likewise.
17007 (ILL_PRVOPC): Likewise.
17008 (ILL_PRVREG): Likewise.
17009 (ILL_COPROC): Likewise.
17010 (ILL_BADSTK): Likewise.
17011 (FPE_INTDIV): Likewise.
17012 (FPE_INTOVF): Likewise.
17013 (FPE_FLTDIV): Likewise.
17014 (FPE_FLTOVF): Likewise.
17015 (FPE_FLTUND): Likewise.
17016 (FPE_FLTRES): Likewise.
17017 (FPE_FLTINV): Likewise.
17018 (FPE_FLTSUB): Likewise.
17019 (SEGV_MAPERR): Likewise.
17020 (SEGV_ACCERR): Likewise.
17021 (BUS_ADRALN): Likewise.
17022 (BUS_ADRERR): Likewise.
17023 (BUS_OBJERR): Likewise.
17024 (BUS_MCEERR_AR): Likewise.
17025 (BUS_MCEERR_AO): Likewise.
17026 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17027 (TRAP_TRACE): Likewise.
17028 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17029 __USE_XOPEN2K8].
17030 (CLD_KILLED): Likewise.
17031 (CLD_DUMPED): Likewise.
17032 (CLD_TRAPPED): Likewise.
17033 (CLD_STOPPED): Likewise.
17034 (CLD_CONTINUED): Likewise.
17035 (POLL_IN): Likewise.
17036 (POLL_OUT): Likewise.
17037 (POLL_MSG): Likewise.
17038 (POLL_ERR): Likewise.
17039 (POLL_PRI): Likewise.
17040 (POLL_HUP): Likewise.
17041 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17042 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17043
bc61d27c
JM
17044 [BZ #16670]
17045 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17046 before #include of <time.h>.
17047 [!__USE_XOPEN2K] (__need_timespec): Likewise.
17048 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17049 (test-xfail-UNIX98/sched.h/conform): Likewise.
17050
302949e2
MS
170512014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
17052
17053 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17054 error absence of trapping exception support.
17055 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17056
a00f522a
JM
170572014-03-07 Joseph Myers <joseph@codesourcery.com>
17058
6f99f280
JM
17059 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17060 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17061 * timezone/Makefile (testdata): Move definition above include of
17062 Rules.
17063 (test-zones): New variable.
17064 (tests-special): Add zone files.
17065 (build-testdata): Use $(evaluate-test).
17066
0b20a9e8
JM
17067 * elf/Makefile (tests-special): Rename tests to end with .out.
17068 ($(objpfx)noload-mem): Likewise.
17069 ($(objpfx)tst-leaks1-mem): Likewise.
17070 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17071 * iconv/Makefile (xtests-special): Change test-iconvconfig to
17072 $(objpfx)test-iconvconfig.out.
17073 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
17074 set -e inside subshell and redirect output to file.
17075 * iconvdata/Makefile (generated): Rename tests to end with .out.
17076 Correct type.
17077 (tests-special): Rename tests to end with .out.
17078 ($(objpfx)mtrace-tst-loading): Likewise.
17079 * intl/Makefile (generated): Likewise.
17080 (tests-special): Likewise.
17081 ($(objpfx)mtrace-tst-gettext): Likewise.
17082 * misc/Makefile (generated): Likewise.
17083 (tests-special): Likewise.
17084 ($(objpfx)tst-error1-mem): Likewise.
17085 * nptl/Makefile (tests-special): Likewise.
17086 ($(objpfx)tst-stack3-mem): Likewise.
17087 (generated): Likewise.
17088 * posix/Makefile (generated): Likewise.
17089 (tests-special): Likewise.
17090 (xtests-special): Likewise.
17091 ($(objpfx)tst-fnmatch-mem): Likewise.
17092 ($(objpfx)bug-regex2-mem): Likewise.
17093 ($(objpfx)bug-regex14-mem): Likewise.
17094 ($(objpfx)bug-regex21-mem): Likewise.
17095 ($(objpfx)bug-regex31-mem): Likewise.
17096 ($(objpfx)tst-vfork3-mem): Likewise.
17097 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17098 ($(objpfx)tst-pcre-mem): Likewise.
17099 ($(objpfx)tst-boost-mem): Likewise.
17100 ($(objpfx)bug-ga2-mem): Likewise.
17101 ($(objpfx)bug-glob2-mem): Likewise.
17102 * resolv/Makefile (generate): Likewise.
17103 (tests-special): Likewise.
17104 (xtests-special): Likewise.
17105 (generated): Likewise.
17106 ($(objpfx)mtrace-tst-leaks): Likewise.
17107 ($(objpfx)mtrace-tst-leaks2): Likewise.
17108
265d52ab
JM
17109 * scripts/merge-test-results.sh: New file.
17110 * Makefile (tests-special-notdir): New variable.
17111 (tests): Run merge-test-results.sh.
17112 (xtests): Likewise.
17113 * Rules (tests-special-notdir): New variable.
17114 (xtests-special-notdir): Likewise.
17115 (tests): Run merge-test-results.sh
17116 (xtests): Likewise.
17117
54ee292d
JM
17118 * Makeconfig (test-xfail-name): New variable.
17119 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17120 compute variable name for expected failures.
17121 * conform/Makefile (conformtest-headers-data): New variable.
17122 (conformtest-standards): Likewise.
17123 (conformtest-headers-ISO): Likewise.
17124 (conformtest-headers-ISO99): Likewise.
17125 (conformtest-headers-ISO11): Likewise.
17126 (conformtest-headers-POSIX): Likewise.
17127 (conformtest-headers-XPG3): Likewise.
17128 (conformtest-headers-XPG4): Likewise.
17129 (conformtest-headers-UNIX98): Likewise.
17130 (conformtest-headers-XOPEN2K): Likewise.
17131 (conformtest-headers-POSIX2008): Likewise.
17132 (conformtest-headers-XOPEN2K8): Likewise.
17133 (conformtest-header-list-base): Likewise.
17134 (conformtest-header-list-tests): Likewise.
17135 (conformtest-header-base): Likewise.
17136 (conformtest-header-tests): Likewise.
17137 (tests-special): Add $(conformtest-header-list-tests). If
17138 [$(fast-check) && !$(cross-compiling)], add
17139 $(conformtest-header-tests) instead of
17140 $(objpfx)run-conformtest.out.
17141 (generated): Add $(conformtest-header-list-base). If
17142 [$(fast-check) && !$(cross-compiling)], add
17143 $(conformtest-header-base). Remove previous setting.
17144 ($(conformtest-header-list-tests)): New target.
17145 (test-xfail-run-conformtest): Remove variable.
17146 ($(objpfx)run-conformtest.out): Remove target.
17147 (test-xfail-ISO11/complex.h/conform): New variable.
17148 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17149 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17150 (test-xfail-XPG3/varargs.h/conform): Likewise.
17151 (test-xfail-XPG4/varargs.h/conform): Likewise.
17152 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17153 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17154 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17155 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17156 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17157 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17158 (test-xfail-XPG3/ftw.h/conform): Likewise.
17159 (test-xfail-XPG3/grp.h/conform): Likewise.
17160 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17161 (test-xfail-XPG3/limits.h/conform): Likewise.
17162 (test-xfail-XPG3/pwd.h/conform): Likewise.
17163 (test-xfail-XPG3/search.h/conform): Likewise.
17164 (test-xfail-XPG3/signal.h/conform): Likewise.
17165 (test-xfail-XPG3/stdio.h/conform): Likewise.
17166 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17167 (test-xfail-XPG3/string.h/conform): Likewise.
17168 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17169 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17170 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17171 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17172 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17173 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17174 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17175 (test-xfail-XPG3/termios.h/conform): Likewise.
17176 (test-xfail-XPG3/time.h/conform): Likewise.
17177 (test-xfail-XPG3/unistd.h/conform): Likewise.
17178 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17179 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17180 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17181 (test-xfail-XPG4/netdb.h/conform): Likewise.
17182 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17183 (test-xfail-XPG4/signal.h/conform): Likewise.
17184 (test-xfail-XPG4/stdio.h/conform): Likewise.
17185 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17186 (test-xfail-XPG4/stropts.h/conform): Likewise.
17187 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17188 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17189 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17190 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17191 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17192 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17193 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17194 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17195 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17196 (test-xfail-XPG4/termios.h/conform): Likewise.
17197 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17198 (test-xfail-XPG4/unistd.h/conform): Likewise.
17199 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17200 (test-xfail-POSIX/sched.h/conform): Likewise.
17201 (test-xfail-POSIX/signal.h/conform): Likewise.
17202 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17203 (test-xfail-POSIX/tar.h/conform): Likewise.
17204 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17205 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17206 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17207 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17208 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17209 (test-xfail-UNIX98/sched.h/conform): Likewise.
17210 (test-xfail-UNIX98/signal.h/conform): Likewise.
17211 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17212 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17213 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17214 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17215 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17216 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17217 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17218 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17219 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17220 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17221 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17222 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17223 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17224 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17225 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17226 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17227 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17228 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17229 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17230 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17231 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17232 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17233 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17234 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17235 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17236 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17237 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17238 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17239 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17240 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17241 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17242 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17243 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17244 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17245 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17246 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17247 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17248 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17249 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17250 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17251 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17252 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17253 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17254 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17255 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17256 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17257 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17258 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17259 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17260 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17261 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17262 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17263 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17264 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17265 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17266 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17267 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17268 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17269 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17270 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17271 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17272 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17273 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17274 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17275 (conformtest-cc-flags): Likewise.
17276 ($(conformtest-header-tests): New target.
17277 * conform/check-header-lists.sh: New file.
17278 * conform/run-conformtest.sh: Remove.
17279
a00f522a
JM
17280 * conform/conformtest.pl: Allow ' and \ in values given for
17281 constants.
17282 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17283 inclusion.
17284 [POSIX] (sys/types.h): Likewise.
17285 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17286 inclusion.
17287 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17288 inclusion.
17289 * conform/data/signal.h-data (SIGIO): Remove expectation.
17290 [XPG3] (SIGBUS): Do not expect.
17291 [POSIX || XPG3] (SIGPOLL): Likewise.
17292 [POSIX || XPG3] (SIGPROF): Likewise.
17293 [POSIX || XPG3] (SIGSYS): Likewise.
17294 [XPG3] (SIGTRAP): Likewise.
17295 [POSIX || XPG3] (SIGURG): Likewise.
17296 [POSIX || XPG3] (SIGVTALRM): Likewise.
17297 [POSIX || XPG3] (SIGXCPU): Likewise.
17298 [POSIX || XPG3] (SIGXFSZ): Likewise.
17299 [POSIX] (SA_SIGINFO): Expect.
17300 [XPG3] (siginfo_t): Do not expect type or contents.
17301 [POSIX] (si_pid): Do not expect element.
17302 [POSIX] (si_uid): Likewise.
17303 [POSIX] (si_addr): Likewise.
17304 [POSIX] (si_status): Likewise.
17305 [POSIX] (si_band): Likewise.
17306 [XPG4] (si_value): Likewise.
17307 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17308 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17309 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17310 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17311 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17312 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17313 [POSIX || XPG3] (ILL_COPROC): Likewise.
17314 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17315 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17316 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17317 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17318 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17319 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17320 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17321 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17322 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17323 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17324 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17325 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17326 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17327 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17328 [POSIX || XPG3] (CLD_EXITED): Likewise.
17329 [POSIX || XPG3] (CLD_KILLED): Likewise.
17330 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17331 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17332 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17333 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17334 [POSIX || XPG3] (POLL_IN): Likewise.
17335 [POSIX || XPG3] (POLL_OUT): Likewise.
17336 [POSIX || XPG3] (POLL_MSG): Likewise.
17337 [POSIX || XPG3] (POLL_ERR): Likewise.
17338 [POSIX || XPG3] (POLL_PRI): Likewise.
17339 [POSIX || XPG3] (POLL_HUP): Likewise.
17340 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17341 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17342 (SIG*): Do not allow.
17343 [XPG3] (si_*): Likewise.
17344 [XPG3] (SI_*): Likewise.
17345 [XPG3 || XPG4] (sigev_*): Likewise.
17346 [XPG3 || XPG4] (SIGEV_*): Likewise.
17347 [XPG3 || XPG4] (sival_*): Likewise.
17348 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17349 [POSIX || XPG3] (BUS_*): Likewise.
17350 [POSIX || XPG3] (CLD_*): Likewise.
17351 [POSIX || XPG3] (FPE_*): Likewise.
17352 [POSIX || XPG3] (ILL_*): Likewise.
17353 [POSIX || XPG3] (POLL_*): Likewise.
17354 [POSIX || XPG3] (SEGV_*): Likewise.
17355 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17356 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17357 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17358 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17359 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17360 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17361 Specify type and value.
17362 (TVERSLEN): Likewise.
17363 (REGTYPE): Likewise.
17364 (AREGTYPE): Likewise.
17365 (LNKTYPE): Likewise.
17366 (SYMTYPE): Likewise.
17367 (CHRTYPE): Likewise.
17368 (BLKTYPE): Likewise.
17369 (DIRTYPE): Likewise.
17370 (FIFOTYPE): Likewise.
17371 (CONTTYPE): Likewise.
17372 (TSUID): Likewise.
17373 (TSGID): Likewise.
17374 (TSVTX): Likewise.
17375 (TUREAD): Likewise.
17376 (TUWRITE): Likewise.
17377 (TUEXEC): Likewise.
17378 (TGREAD): Likewise.
17379 (TGWRITE): Likewise.
17380 (TGEXEC): Likewise.
17381 (TOREAD): Likewise.
17382 (TOWRITE): Likewise.
17383 (TOEXEC): Likewise.
17384 [POSIX] (TSVTX): Expect constant.
17385
aa97dee1
JM
173862014-03-06 Joseph Myers <joseph@codesourcery.com>
17387
f214606a
JM
17388 * Makefile (tests): Change dependencies to ....
17389 (tests-special): ... additions to this variable.
17390 (tests): Depend on $(tests-special).
17391 * Makerules (check-abi-list): New variable.
17392 (check-abi): Depend on $(check-abi-list).
17393 [$(subdir) = elf] (tests-special): Add
17394 $(objpfx)check-abi-libc.out.
17395 [$(build-shared) = yes && subdir] (tests-special): Add
17396 $(check-abi-list).
17397 [$(build-shared) = yes && subdir] (tests): Do not depend on
17398 check-abi.
17399 * Rules (tests): Depend on $(tests-special).
17400 (xtests): Depend on $(xtests-special).
17401 * catgets/Makefile (tests): Change dependencies to ....
17402 (tests-special): ... additions to this variable.
17403 * conform/Makefile (tests): Change dependencies to ....
17404 (tests-special): ... additions to this variable.
17405 * elf/Makefile (tests): Change dependencies to ....
17406 (tests-special): ... additions to this variable.
17407 * grp/Makefile (tests): Change dependencies to ....
17408 (tests-special): ... additions to this variable.
17409 * iconv/Makefile (xtests): Change dependencies to ....
17410 (xtests-special): ... additions to this variable.
17411 * iconvdata/Makefile (tests): Change dependencies to ....
17412 (tests-special): ... additions to this variable.
17413 * intl/Makefile (tests): Change dependencies to ....
17414 (tests-special): ... additions to this variable. Also add
17415 $(objpfx)tst-gettext.out.
17416 * io/Makefile (tests): Change dependencies to ....
17417 (tests-special): ... additions to this variable.
17418 * libio/Makefile (tests): Change dependencies to ....
17419 (tests-special): ... additions to this variable.
17420 * malloc/Makefile (tests): Change dependencies to ....
17421 (tests-special): ... additions to this variable.
17422 * misc/Makefile (tests): Change dependencies to ....
17423 (tests-special): ... additions to this variable.
17424 * nptl/Makefile (tests): Change dependencies to ....
17425 (tests-special): ... additions to this variable.
17426 * nptl_db/Makefile (tests): Change dependencies to ....
17427 (tests-special): ... additions to this variable.
17428 * posix/Makefile (tests): Change dependencies to ....
17429 (tests-special): ... additions to this variable.
17430 (xtests): Change dependencies to ....
17431 (xtests-special): ... additions to this variable.
17432 * resolv/Makefile (tests): Change dependencies to ....
17433 (tests-special): ... additions to this variable.
17434 (xtests): Change dependencies to ....
17435 (xtests-special): ... additions to this variable.
17436 * stdio-common/Makefile (tests): Change dependencies to ....
17437 (tests-special): ... additions to this variable.
17438 (do-tst-unbputc): Remove target.
17439 (do-tst-printf): Likewise.
17440 * stdlib/Makefile (tests): Change dependencies to ....
17441 (tests-special): ... additions to this variable.
17442 * string/Makefile (tests): Change dependencies to ....
17443 (tests-special): ... additions to this variable.
17444 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17445 (tests-special): ... additions to this variable.
17446
81700b53
JM
17447 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17448 whole file.
17449 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17450 whole file.
17451 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17452 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17453
2ea18461
JM
17454 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17455 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17456 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17457 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17458 * conform/data/libgen.h-data [XPG3]: Likewise.
17459 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17460 * conform/data/ndbm.h-data [XPG3]: Likewise.
17461 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17462 * conform/data/netdb.h-data [XPG3]: Likewise.
17463 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17464 * conform/data/poll.h-data [XPG3]: Likewise.
17465 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17466 * conform/data/strings.h-data [XPG3]: Likewise.
17467 * conform/data/stropts.h-data [XPG3]: Likewise.
17468 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17469 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17470 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17471 Likewise.
17472 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17473 * conform/data/sys/time.h-data [XPG3]: Likewise.
17474 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17475 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17476 * conform/data/sys/un.h-data [XPG3]: Likewise.
17477 * conform/data/syslog.h-data [XPG3]: Likewise.
17478 * conform/data/ucontext.h-data [XPG3]: Likewise.
17479 * conform/data/utmpx.h-data [XPG3]: Likewise.
17480 * conform/data/varargs.h-data [UNIX98]: Enable file.
17481
355bc986
JM
17482 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17483
215db402
JM
17484 * math/libm-test.inc (struct test_f_f_data): Move expected results
17485 into structure for each rounding mode.
17486 (struct test_ff_f_data): Likewise.
17487 (struct test_ff_f_data_nexttoward): Likewise.
17488 (struct test_fi_f_data): Likewise.
17489 (struct test_fl_f_data): Likewise.
17490 (struct test_if_f_data): Likewise.
17491 (struct test_fff_f_data): Likewise.
17492 (struct test_c_f_data): Likewise.
17493 (struct test_f_f1_data): Likewise.
17494 (struct test_fF_f1_data): Likewise.
17495 (struct test_ffI_f1_data): Likewise.
17496 (struct test_c_c_data): Likewise.
17497 (struct test_cc_c_data): Likewise.
17498 (struct test_f_i_data): Likewise.
17499 (struct test_ff_i_data): Likewise.
17500 (struct test_f_l_data): Likewise.
17501 (struct test_f_L_data): Likewise.
17502 (struct test_fFF_11_data): Likewise.
17503 (RM_): New macro.
17504 (RM_FE_DOWNWARD): Likewise.
17505 (RM_FE_TONEAREST): Likewise.
17506 (RM_FE_TOWARDZERO): Likewise.
17507 (RM_FE_UPWARD): Likewise.
17508 (RUN_TEST_LOOP_f_f): Update references to expected results.
17509 (RUN_TEST_LOOP_2_f): Likewise.
17510 (RUN_TEST_LOOP_fff_f): Likewise.
17511 (RUN_TEST_LOOP_c_f): Likewise.
17512 (RUN_TEST_LOOP_f_f1): Likewise.
17513 (RUN_TEST_LOOP_fF_f1): Likewise.
17514 (RUN_TEST_LOOP_fI_f1): Likewise.
17515 (RUN_TEST_LOOP_ffI_f1): Likewise.
17516 (RUN_TEST_LOOP_c_c): Likewise.
17517 (RUN_TEST_LOOP_cc_c): Likewise.
17518 (RUN_TEST_LOOP_f_i): Likewise.
17519 (RUN_TEST_LOOP_f_i_tg): Likewise.
17520 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17521 (RUN_TEST_LOOP_f_b): Likewise.
17522 (RUN_TEST_LOOP_f_b_tg): Likewise.
17523 (RUN_TEST_LOOP_f_l): Likewise.
17524 (RUN_TEST_LOOP_f_L): Likewise.
17525 (RUN_TEST_LOOP_fFF_11): Likewise.
17526 * math/gen-libm-test.pl (parse_args): Output four copies of
17527 expected results for each test.
17528
67737b8f
JM
17529 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17530 (__ASSUME_UTIMES): Remove.
17531 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17532 (__ASSUME_UTIMES): Likewise.
17533
aa97dee1
JM
17534 * math/gen-auto-libm-tests.c: Update comment on output format.
17535 (output_for_one_input_case): Generate before-rounding and
17536 after-rounding information as conditions on output flags not
17537 floating-point format.
17538 * math/auto-libm-test-out: Regenerated.
17539 * math/gen-libm-test.pl (cond_value): New function.
17540 (or_cond_value): Use cond_value.
17541 (generate_testfile): Handle conditional exceptions.
17542
e6b6a857
JM
175432014-03-05 Joseph Myers <joseph@codesourcery.com>
17544
2f0a0f44
JM
17545 * math/libm-test.inc (max_valid_error): New variable.
17546 (init_max_error): Take new argument specifying whether function
17547 results are exactly determined. Set max_valid_error and bound
17548 other variables for errors based on this argument.
17549 (set_max_error): Do not record results above max_valid_error.
17550 (check_float_internal): Only accept errors of up to 0.5ulps if
17551 also at most max_valid_error.
17552 (START): Take new argument EXACT and pass it to init_max_error.
17553 (acos_test): Update call to START.
17554 (acos_test_tonearest): Likewise.
17555 (acos_test_towardzero): Likewise.
17556 (acos_test_downward): Likewise.
17557 (acos_test_upward): Likewise.
17558 (acosh_test): Likewise.
17559 (asin_test): Likewise.
17560 (asin_test_tonearest): Likewise.
17561 (asin_test_towardzero): Likewise.
17562 (asin_test_downward): Likewise.
17563 (asin_test_upward): Likewise.
17564 (asinh_test): Likewise.
17565 (atan_test): Likewise.
17566 (atanh_test): Likewise.
17567 (atan2_test): Likewise.
17568 (cabs_test): Likewise.
17569 (cacos_test): Likewise.
17570 (cacosh_test): Likewise.
17571 (carg_test): Likewise.
17572 (casin_test): Likewise.
17573 (casinh_test): Likewise.
17574 (catan_test): Likewise.
17575 (catanh_test): Likewise.
17576 (cbrt_test): Likewise.
17577 (ccos_test): Likewise.
17578 (ccosh_test): Likewise.
17579 (ceil_test): Likewise.
17580 (cexp_test): Likewise.
17581 (cimag_test): Likewise.
17582 (clog_test): Likewise.
17583 (clog10_test): Likewise.
17584 (conj_test): Likewise.
17585 (copysign_test): Likewise.
17586 (cos_test): Likewise.
17587 (cos_test_tonearest): Likewise.
17588 (cos_test_towardzero): Likewise.
17589 (cos_test_downward): Likewise.
17590 (cos_test_upward): Likewise.
17591 (cosh_test): Likewise.
17592 (cosh_test_tonearest): Likewise.
17593 (cosh_test_towardzero): Likewise.
17594 (cosh_test_downward): Likewise.
17595 (cosh_test_upward): Likewise.
17596 (cpow_test): Likewise.
17597 (cproj_test): Likewise.
17598 (creal_test): Likewise.
17599 (csin_test): Likewise.
17600 (csinh_test): Likewise.
17601 (csqrt_test): Likewise.
17602 (ctan_test): Likewise.
17603 (ctan_test_tonearest): Likewise.
17604 (ctan_test_towardzero): Likewise.
17605 (ctan_test_downward): Likewise.
17606 (ctan_test_upward): Likewise.
17607 (ctanh_test): Likewise.
17608 (ctanh_test_tonearest): Likewise.
17609 (ctanh_test_towardzero): Likewise.
17610 (ctanh_test_downward): Likewise.
17611 (ctanh_test_upward): Likewise.
17612 (erf_test): Likewise.
17613 (erfc_test): Likewise.
17614 (exp_test): Likewise.
17615 (exp_test_tonearest): Likewise.
17616 (exp_test_towardzero): Likewise.
17617 (exp_test_downward): Likewise.
17618 (exp_test_upward): Likewise.
17619 (exp10_test): Likewise.
17620 (exp10_test_tonearest): Likewise.
17621 (exp10_test_towardzero): Likewise.
17622 (exp10_test_downward): Likewise.
17623 (exp10_test_upward): Likewise.
17624 (pow10_test): Likewise.
17625 (exp2_test): Likewise.
17626 (expm1_test): Likewise.
17627 (expm1_test_tonearest): Likewise.
17628 (expm1_test_towardzero): Likewise.
17629 (expm1_test_downward): Likewise.
17630 (expm1_test_upward): Likewise.
17631 (fabs_test): Likewise.
17632 (fdim_test): Likewise.
17633 (floor_test): Likewise.
17634 (fma_test): Likewise.
17635 (fma_test_towardzero): Likewise.
17636 (fma_test_downward): Likewise.
17637 (fma_test_upward): Likewise.
17638 (fmax_test): Likewise.
17639 (fmin_test): Likewise.
17640 (fmod_test): Likewise.
17641 (fpclassify_test): Likewise.
17642 (frexp_test): Likewise.
17643 (hypot_test): Likewise.
17644 (ilogb_test): Likewise.
17645 (isfinite_test): Likewise.
17646 (finite_test): Likewise.
17647 (isgreater_test): Likewise.
17648 (isgreaterequal_test): Likewise.
17649 (isinf_test): Likewise.
17650 (isless_test): Likewise.
17651 (islessequal_test): Likewise.
17652 (islessgreater_test): Likewise.
17653 (isnan_test): Likewise.
17654 (isnormal_test): Likewise.
17655 (issignaling_test): Likewise.
17656 (isunordered_test): Likewise.
17657 (j0_test): Likewise.
17658 (j1_test): Likewise.
17659 (jn_test): Likewise.
17660 (ldexp_test): Likewise.
17661 (lgamma_test): Likewise.
17662 (gamma_test): Likewise.
17663 (lrint_test): Likewise.
17664 (lrint_test_tonearest): Likewise.
17665 (lrint_test_towardzero): Likewise.
17666 (lrint_test_downward): Likewise.
17667 (lrint_test_upward): Likewise.
17668 (llrint_test): Likewise.
17669 (llrint_test_tonearest): Likewise.
17670 (llrint_test_towardzero): Likewise.
17671 (llrint_test_downward): Likewise.
17672 (llrint_test_upward): Likewise.
17673 (log_test): Likewise.
17674 (log10_test): Likewise.
17675 (log1p_test): Likewise.
17676 (log2_test): Likewise.
17677 (logb_test): Likewise.
17678 (logb_test_downward): Likewise.
17679 (lround_test): Likewise.
17680 (llround_test): Likewise.
17681 (modf_test): Likewise.
17682 (nearbyint_test): Likewise.
17683 (nextafter_test): Likewise.
17684 (nexttoward_test): Likewise.
17685 (pow_test): Likewise.
17686 (pow_test_tonearest): Likewise.
17687 (pow_test_towardzero): Likewise.
17688 (pow_test_downward): Likewise.
17689 (pow_test_upward): Likewise.
17690 (remainder_test): Likewise.
17691 (drem_test): Likewise.
17692 (remainder_test_tonearest): Likewise.
17693 (drem_test_tonearest): Likewise.
17694 (remainder_test_towardzero): Likewise.
17695 (drem_test_towardzero): Likewise.
17696 (remainder_test_downward): Likewise.
17697 (drem_test_downward): Likewise.
17698 (remainder_test_upward): Likewise.
17699 (drem_test_upward): Likewise.
17700 (remquo_test): Likewise.
17701 (rint_test): Likewise.
17702 (rint_test_tonearest): Likewise.
17703 (rint_test_towardzero): Likewise.
17704 (rint_test_downward): Likewise.
17705 (rint_test_upward): Likewise.
17706 (round_test): Likewise.
17707 (scalb_test): Likewise.
17708 (scalbn_test): Likewise.
17709 (scalbln_test): Likewise.
17710 (signbit_test): Likewise.
17711 (sin_test): Likewise.
17712 (sin_test_tonearest): Likewise.
17713 (sin_test_towardzero): Likewise.
17714 (sin_test_downward): Likewise.
17715 (sin_test_upward): Likewise.
17716 (sincos_test): Likewise.
17717 (sinh_test): Likewise.
17718 (sinh_test_tonearest): Likewise.
17719 (sinh_test_towardzero): Likewise.
17720 (sinh_test_downward): Likewise.
17721 (sinh_test_upward): Likewise.
17722 (sqrt_test): Likewise.
17723 (sqrt_test_tonearest): Likewise.
17724 (sqrt_test_towardzero): Likewise.
17725 (sqrt_test_downward): Likewise.
17726 (sqrt_test_upward): Likewise.
17727 (tan_test): Likewise.
17728 (tan_test_tonearest): Likewise.
17729 (tan_test_towardzero): Likewise.
17730 (tan_test_downward): Likewise.
17731 (tan_test_upward): Likewise.
17732 (tanh_test): Likewise.
17733 (tgamma_test): Likewise.
17734 (trunc_test): Likewise.
17735 (y0_test): Likewise.
17736 (y1_test): Likewise.
17737 (yn_test): Likewise.
17738 (significand_test): Likewise.
17739
e6b6a857
JM
17740 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17741 individual tests in comment.
17742 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17743 (prev_max_error): New variable.
17744 (prev_real_max_error): Likewise.
17745 (prev_imag_max_error): Likewise.
17746 (compare_ulp_data): Don't refer to test names in comment.
17747 (find_test_ulps): Remove function.
17748 (find_function_ulps): Likewise.
17749 (find_complex_function_ulps): Likewise.
17750 (init_max_error): Take function name as argument. Look up ulps
17751 for that function.
17752 (print_ulps): Remove function.
17753 (print_max_error): Use prev_max_error instead of calling
17754 find_function_ulps.
17755 (print_complex_max_error): Use prev_real_max_error and
17756 prev_imag_max_error instead of calling find_complex_function_ulps.
17757 (check_float_internal): Take max_ulp parameter instead of calling
17758 find_test_ulps. Don't call print_ulps.
17759 (check_float): Update call to check_float_internal.
17760 (check_complex): Update calls to check_float_internal.
17761 (START): Pass argument to init_max_error.
17762 * math/gen-libm-test.pl (%results): Don't include "kind"
17763 information.
17764 (parse_ulps): Don't handle ulps of individual tests.
17765 (print_ulps_file): Likewise.
17766 (output_ulps): Likewise.
17767 * math/README.libm-test: Update.
17768 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17769 individual tests.
17770 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17771 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17772 * sysdeps/arm/libm-test-ulps: Likewise.
17773 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17774 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17775 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17776 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17777 * sysdeps/microblaze/libm-test-ulps: Likewise.
17778 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17779 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17780 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17781 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17782 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17783 * sysdeps/sh/libm-test-ulps: Likewise.
17784 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17785 * sysdeps/tile/libm-test-ulps: Likewise.
17786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17787
45adef3c
JM
177882014-03-04 Joseph Myers <joseph@codesourcery.com>
17789
17790 * math/libm-test.inc (print_complex_max_error): Check separately
17791 whether real and imaginary errors are within allowed range and
17792 pass 0 to print_complex_function_ulps instead of value within
17793 allowed range.
17794
000232b9
SP
177952014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17796
d4b17258
SP
17797 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17798 formatting.
17799 (get_handles_fopen): Likewise.
17800 (do_write_test): Likewise.
17801
091eff71
SP
17802 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17803
fa3cd248
SP
17804 * libio/fileops.c (do_ftell): Use cached offset when
17805 available.
17806 * libio/iofwide.c (do_ftell_wide): Likewise.
17807 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17808 _IO_file_attach.
17809 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17810
000232b9
SP
17811 [BZ #16532]
17812 * libio/libioP.h (get_file_offset): New function.
17813 * libio/fileops.c (get_file_offset): Likewise.
17814 (do_ftell): Likewise.
17815 (_IO_new_file_seekoff): Split out ftell logic.
17816 * libio/wfileops.c (do_ftell_wide): Likewise.
17817 (_IO_wfile_seekoff): Split out ftell logic.
17818 * libio/tst-ftell-active-handler.c: New test case.
17819 * libio/Makefile (tests): Add it.
17820
116f4d1a
RM
178212014-03-03 Roland McGrath <roland@hack.frob.com>
17822
17823 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17824 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17825
532a6035
SP
178262014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17827
17828 [BZ #16639]
17829 * nscd/connections.c (nscd_init): Call do_exit.
17830 (start_threads): Call do_exit and notify_parent.
17831 (begin_drop_privileges): Call do_exit.
17832 (finish_drop_privileges): Likewise.
17833 * nscd/selinux.c (preserve_capabilities): Likewise.
17834 (install_real_capabilities): Likewise.
17835 (nscd_selinux_enabled): Likewise.
17836 (avc_create_thread): Likewise.
17837 (avc_alloc_lock): Likewise.
17838 (nscd_avc_init): Likewise.
17839 * nscd/nscd.c (parent_fd): New static variable.
17840 (main): Create a pipe between parent and child processes.
17841 Skip closing parent_fd.
17842 (monitor_child): New function.
17843 (do_exit): Likewise.
17844 (notify_parent): Likewise.
17845 * nscd/nscd.h (notify_parent): Likewise.
17846 (do_exit): Likewise.
17847
d6285c9f
CD
178482014-03-03 Carlos O'Donell <carlos@redhat.com>
17849
17850 * malloc/malloc.c (__libc_calloc): Revert last change.
17851
2b85d2a0
AZ
178522014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17853
17854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17855
c7debbdf
RS
178562014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17857
17858 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17860 implementation.
17861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17862 (__libc_ifunc_impl_list): Likewise.
17863 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17864 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17865 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17866 * string/strrchr.c: Define STRRCHR.
17867
235eed86
OB
178682014-02-28 Ondřej Bílka <neleai@seznam.cz>
17869
17870 * benchtest/bench-strtok.c (simple_strtok): Delete.
17871 (strtok_string): Use as benchmark.
17872 * string/strtok (STRTOK): New macro.
17873
8e25d1e7
CD
178742014-02-28 Carlos O'Donell <carlos@redhat.com>
17875
ef563f92
CD
17876 * manual/threads.texi: Add header and standard comments to all
17877 functions.
17878
8e25d1e7
CD
17879 * elf/dl-lookup.c (check_match): New function.
17880 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17881 (do_lookup_x): Remove nested function check_match. Use non-nested
17882 function check_match.
17883
ff71cc37
RM
178842014-02-28 Roland McGrath <roland@hack.frob.com>
17885
f08e9a26
RM
17886 * csu/Makefile (generated, before-compile): Use += rather than =.
17887 * catgets/Makefile (generated, generated-dirs): Likewise.
17888 * debug/Makefile (generated): Likewise.
17889 * dlfcn/Makefile (generated): Likewise.
17890 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17891 * iconvdata/Makefile (before-compile, generated): Likewise.
17892 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17893 * libio/Makefile (generated): Likewise.
17894 * malloc/Makefile (generated): Likewise.
17895 * manual/Makefile (generated, generated-dirs): Likewise.
17896 * misc/Makefile (generated): Likewise.
17897 * posix/Makefile (generated): Likewise.
17898 * resolv/Makefile (generated): Likewise.
17899 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17900 * timezone/Makefile (generated, generated-dirs): Likewise.
17901
ff71cc37
RM
17902 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17903
fe13a20c
AZ
179042014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17905
57f41c40
AS
17906 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17907 power8 implementation.
17908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17909 file: POWER8 llround ifunc implementation.
17910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17911 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
17912 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17913 POWER8 llround implementation.
17914
57f41c40
AS
17915 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17916 power8 implementation.
17917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17918 file: POWER8 llrint ifunc implementation.
17919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17920 Add POWER8 implementation.
1ad8950a
AZ
17921 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17922 POWER8 llrint implementation.
17923
57f41c40
AS
17924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17925 power8 implementation.
17926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17927 file: POWER8 finite ifunc implementation.
17928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17929 Add POWER8 implementation.
cac626d6
AZ
17930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17931 Likewise.
17932 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17933 POWER8 finite implementation.
17934 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17935
57f41c40
AS
17936 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17937 power8 implementation.
17938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17939 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
17940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17941 POWER8 implementation.
17942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17943 Likewise.
57f41c40
AS
17944 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17945 isinf implementation.
4393fc11
AZ
17946 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17947
57f41c40
AS
17948 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17949 (INIT_ARCH): Add hwcap2 initialization.
17950 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17951 power8 implementation.
17952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17953 file: POWER8 isnan ifunc implementation.
487972ae
AZ
17954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17955 POWER8 implementation.
17956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17957 Likewise.
57f41c40
AS
17958 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17959 isnan implementation.
487972ae
AZ
17960 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17961
7d92b787
JY
179622014-02-27 Joey Ye <joey.ye@arm.com>
17963
17964 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17965 (_FP_NANFRAC_Q): Set to zero.
17966
1cadc858
SP
179672014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17968
17969 [BZ #16623]
17970 * math/auto-libm-test-in: New test inputs.
17971 * math/auto-libm-test-out: Regenerate.
17972 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17973 and DA.
17974 (__cos): Likewise.
17975 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17976
f8c17e79
JM
179772014-02-27 Joseph Myers <joseph@codesourcery.com>
17978
17979 * scripts/evaluate-test.sh: Take new argument indicating whether
17980 failure is expected.
17981 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17982 indicating whether failure is expected.
17983 * conform/Makefile (test-xfail-run-conformtest): New variable.
17984 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17985 level.
17986 * posix/Makefile (test-xfail-annexc): New variable.
17987 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17988
a5f891ac
JM
179892014-02-26 Joseph Myers <joseph@codesourcery.com>
17990
17991 * argp/Makefile: Include Makeconfig immediately after defining
17992 subdir.
17993 * assert/Makefile: Likewise.
17994 * benchtests/Makefile: Likewise.
17995 * catgets/Makefile: Likewise.
17996 * conform/Makefile: Likewise.
17997 * crypt/Makefile: Likewise.
17998 * csu/Makefile: Likewise.
17999 (all): Remove target.
18000 * ctype/Makefile: Include Makeconfig immediately after defining
18001 subdir.
18002 * debug/Makefile: Likewise.
18003 * dirent/Makefile: Likewise.
18004 * dlfcn/Makefile: Likewise.
18005 * gmon/Makefile: Likewise.
18006 * gnulib/Makefile: Likewise.
18007 * grp/Makefile: Likewise.
18008 * gshadow/Makefile: Likewise.
18009 * hesiod/Makefile: Likewise.
18010 * hurd/Makefile: Likewise.
18011 (all): Remove target.
18012 * iconvdata/Makefile: Include Makeconfig immediately after
18013 defining subdir.
18014 * inet/Makefile: Likewise.
18015 * intl/Makefile: Likewise.
18016 * io/Makefile: Likewise.
18017 * libio/Makefile: Likewise.
18018 (all): Remove target.
18019 * locale/Makefile: Include Makeconfig immediately after defining
18020 subdir.
18021 * login/Makefile: Likewise.
18022 * mach/Makefile: Likewise.
18023 (all): Remove target.
18024 * malloc/Makefile: Include Makeconfig immediately after defining
18025 subdir.
18026 (all): Remove target.
18027 * manual/Makefile: Include Makeconfig immediately after defining
18028 subdir.
18029 * math/Makefile: Likewise.
18030 * misc/Makefile: Likewise.
18031 * nis/Makefile: Likewise.
18032 * nss/Makefile: Likewise.
18033 * po/Makefile: Likewise.
18034 (all): Remove target.
18035 * posix/Makefile: Include Makeconfig immediately after defining
18036 subdir.
18037 * pwd/Makefile: Likewise.
18038 * resolv/Makefile: Likewise.
18039 * resource/Makefile: Likewise.
18040 * rt/Makefile: Likewise.
18041 * setjmp/Makefile: Likewise.
18042 * shadow/Makefile: Likewise.
18043 * signal/Makefile: Likewise.
18044 * socket/Makefile: Likewise.
18045 * soft-fp/Makefile: Likewise.
18046 * stdio-common/Makefile: Likewise.
18047 * stdlib/Makefile: Likewise.
18048 * streams/Makefile: Likewise.
18049 * string/Makefile: Likewise.
18050 * sunrpc/Makefile: Likewise.
18051 (all): Remove target.
18052 * sysvipc/Makefile: Include Makeconfig immediately after defining
18053 subdir.
18054 * termios/Makefile: Likewise.
18055 * time/Makefile: Likewise.
18056 * timezone/Makefile: Likewise.
18057 (all): Remove target.
18058 * wcsmbs/Makefile: Include Makeconfig immediately after defining
18059 subdir.
18060 * wctype/Makefile: Likewise.
18061
5b456e9d
SE
180622014-02-26 Steve Ellcey <sellcey@mips.com>
18063
18064 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18065 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18066 (libc_feholdexcept_setround_mips): Ditto.
18067 (libc_feholdsetround): New.
18068 (libc_feholdsetroundf): New.
18069 (libc_feholdsetroundl): New.
18070 (libc_feupdateenv_test_mips): New.
18071 (libc_feupdateenv_test): New.
18072 (libc_feupdateenv_testf): New.
18073 (libc_feupdateenv_testl): New.
18074 (libc_feresetround): New.
18075 (libc_feresetroundf): New.
18076 (libc_feresetroundl): New.
18077 (libc_fetestexcept_mips): New.
18078 (libc_fetestexcept): New.
18079 (libc_fetestexceptf): New.
18080 (libc_fetestexceptl): New.
18081 (HAVE_RM_CTX): New.
18082 (libc_feholdexcept_setround_mips_ctx): New.
18083 (libc_feholdexcept_setround_ctx): New.
18084 (libc_feholdexcept_setroundf_ctx): New.
18085 (libc_feholdexcept_setroundl_ctx): New.
18086 (libc_fesetenv_mips_ctx): New.
18087 (libc_fesetenv_ctx): New.
18088 (libc_fesetenv_ctxf): New.
18089 (libc_fesetenv_ctxl): New.
18090 (libc_feupdateenv_mips_ctx): New.
18091 (libc_feupdateenv_ctx): New.
18092 (libc_feupdateenvf_ctx): New.
18093 (libc_feupdateenvl_ctx): New.
18094 (libc_feholdsetround_mips_ctx): New.
18095 (libc_feholdsetround_ctx): New.
18096 (libc_feholdsetroundf_ctx): New.
18097 (libc_feholdsetroundl_ctx): New.
18098 (libc_feresetround_mips_ctx): New.
18099 (libc_feresetround_ctx): New.
18100 (libc_feresetroundf_ctx): New.
18101 (libc_feresetroundl_ctx): New.
18102
085d0e35
CD
181032014-02-26 Carlos O'Donell <carlos@redhat.com>
18104
f067bf1f
CD
18105 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18106
085d0e35
CD
18107 * manual/ipc.texi: New file.
18108 * manual/Makefile (chapters): Add ipc.
18109 * manual/job.texi: Add "Inter-Process Communication" to next.
18110 * manual/process.texi: Add "Inter-Process Communication" to prev.
18111
86e58c08
AZ
181122014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18113
18114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18115
4248f0da
OB
181162014-02-26 Ondřej Bílka <neleai@seznam.cz>
18117
18118 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18119
cf822e3c
OB
18120 * manual/arith.texi: Fix spaces after sentences.
18121 * manual/charset.texi: Likewise.
18122 * manual/errno.texi: Likewise.
18123 * manual/install.texi: Likewise.
18124 * manual/llio.texi: Likewise.
18125 * manual/locale.texi: Likewise.
18126 * manual/maint.texi: Likewise.
18127 * manual/math.texi: Likewise.
18128 * manual/memory.texi: Likewise.
18129 * manual/message.texi: Likewise.
18130 * manual/probes.texi: Likewise.
18131 * manual/resource.texi: Likewise.
18132 * manual/signal.texi: Likewise.
18133 * manual/socket.texi: Likewise.
18134 * manual/stdio.texi: Likewise.
18135 * manual/string.texi: Likewise.
18136 * manual/time.texi: Likewise.
18137 * manual/users.texi: Likewise.
18138
ade40b10
CD
181392014-02-25 Carlos O'Donell <carlos@redhat.com>
18140
18141 [BZ #16632]
18142 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18143 _DEFAULT_SOURCE is defined.
18144
d0503676
CD
181452014-02-25 Ulrich Drepper <drepper@gmail.com>
18146 Carlos O'Donell <carlos@redhat.com>
18147
18148 [BZ #16613]
18149 * elf/dl-tls.c (_dl_count_modids): New function.
18150 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18151 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18152 audit library and increment generation counter.
18153 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18154 * elf/tst-audit9.c: New file.
18155 * elf/tst-auditmod9a.c: New file.
18156 * elf/tst-auditmod9b.c: New file.
18157 * elf/Makefile: Add rules to build and run tst-audit9.
18158
4cbf380c
FW
181592014-02-25 Florian Weimer <fweimer@redhat.com>
18160
18161 [BZ #15347]
18162 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18163
80a56cc3
WN
181642014-02-25 Will Newton <will.newton@linaro.org>
18165
18166 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18167 (__longjmp): Restore sp and lr before restoring callee
18168 saved registers. Add longjmp and longjmp_target
18169 SystemTap probe point.
18170 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18171 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18172 Define to zero to match jmpbuf layout.
18173 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18174 (__sigsetjmp): Save sp and lr before saving callee
18175 saved registers. Add setjmp SystemTap probe point.
18176
3ea0f74e
SL
181772014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18178
18179 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18180
b04acb26
AS
181812014-02-24 Andreas Schwab <schwab@suse.de>
18182
18183 [BZ #15804]
18184 * elf/pldd.c (wait_for_ptrace_stop): New function.
18185 (main): Call it after attaching.
18186
098ad55c
RM
181872014-02-22 Roland McGrath <roland@hack.frob.com>
18188
d4ec6ae1
RM
18189 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18190 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18191 Versions files is now verboten.
18192 * hurd/Versions (libc: GLIBC_2.0):
18193 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18194 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18195 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18196 * mach/Versions: Likewise.
18197
098ad55c
RM
18198 * csu/Versions: Remove unused %include.
18199 * resolv/Versions: Likewise.
18200
acd7f096
JM
182012014-02-21 Joseph Myers <joseph@codesourcery.com>
18202
f0881698
JM
18203 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18204 ($(objpfx)check-local-headers.out): Likewise.
18205 ($(objpfx)begin-end-check.out): Likewise.
18206 * Makerules (check-abi-%.out): Likewise.
18207 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18208 ($(objpfx)test2.cat): Likewise.
18209 ($(objpfx)de/libc.cat): Likewise.
18210 ($(objpfx)test-gencat.out): Likewise.
18211 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18212 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18213 ($(objpfx)noload-mem): Likewise.
18214 ($(objpfx)tst-pathopt.out): Likewise.
18215 ($(objpfx)tst-rtld-load-self.out): Likewise.
18216 ($(objpfx)tst-array1-cmp.out): Likewise.
18217 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18218 ($(objpfx)tst-array2-cmp.out): Likewise.
18219 ($(objpfx)tst-array3-cmp.out): Likewise.
18220 ($(objpfx)tst-array4-cmp.out): Likewise.
18221 ($(objpfx)tst-array5-cmp.out): Likewise.
18222 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18223 ($(objpfx)check-textrel.out): Likewise.
18224 ($(objpfx)check-execstack.out): Likewise.
18225 ($(objpfx)check-localplt.out): Likewise.
18226 ($(objpfx)order2-cmp.out): Likewise.
18227 ($(objpfx)tst-leaks1-mem): Likewise.
18228 ($(objpfx)tst-leaks1-static-mem): Likewise.
18229 ($(objpfx)tst-initorder-cmp.out): Likewise.
18230 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18231 ($(objpfx)tst-unused-dep.out): Likewise.
18232 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18233 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18234 * iconv/Makefile (test-iconvconfig): Likewise.
18235 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18236 ($(objpfx)iconv-test.out): Likewise.
18237 ($(objpfx)tst-tables.out): Likewise.
18238 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18239 ($(objpfx)tst-gettext.out): Likewise.
18240 ($(objpfx)tst-translit.out): Likewise.
18241 ($(objpfx)tst-gettext2.out): Likewise.
18242 ($(objpfx)tst-gettext4.out): Likewise.
18243 ($(objpfx)tst-gettext6.out): Likewise.
18244 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18245 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18246 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18247 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18248 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18249 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18250 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18251 ($(objpfx)wordexp-tst.out): Likewise.
18252 ($(objpfx)annexc.out): Likewise.
18253 ($(objpfx)tst-fnmatch-mem): Likewise.
18254 ($(objpfx)bug-regex2-mem): Likewise.
18255 ($(objpfx)bug-regex14-mem): Likewise.
18256 ($(objpfx)bug-regex21-mem): Likewise.
18257 ($(objpfx)bug-regex31-mem): Likewise.
18258 ($(objpfx)tst-vfork3-mem): Likewise.
18259 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18260 ($(objpfx)tst-pcre-mem): Likewise.
18261 ($(objpfx)tst-boost-mem): Likewise.
18262 ($(objpfx)tst-getconf.out): Likewise.
18263 ($(objpfx)bug-ga2-mem): Likewise.
18264 ($(objpfx)bug-glob2-mem): Likewise.
18265 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18266 ($(objpfx)mtrace-tst-leaks2): Likewise.
18267 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18268 ($(objpfx)tst-printf.out): Likewise.
18269 ($(objpfx)tst-setvbuf1.out): Likewise.
18270 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18271 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18272 ($(objpfx)tst-fmtmsg.out): Likewise.
18273 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18274 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18275
acd7f096
JM
18276 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18277 * bits/sigaction.h [__USE_MISC]: Likewise.
18278 * bits/waitstatus.h: Update #endif comments.
18279 * ctype/ctype.h: Likewise.
18280 * dirent/dirent.h: Likewise.
18281 [__USE_MISC]: Remove redundant conditionals.
18282 * grp/grp.h: Update #endif comments.
18283 [__USE_GNU]: Remove redundant conditionals.
18284 [__USE_MISC]: Likewise.
18285 * inet/netinet/in.h [__USE_GNU]: Likewise.
18286 * io/sys/stat.h [__USE_MISC]: Likewise.
18287 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18288 * libio/bits/stdio.h: Update #endif comments.
18289 [__USE_MISC]: Remove redundant conditionals.
18290 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18291 * libio/stdio.h: Update #endif comments.
18292 [__USE_MISC]: Remove redundant conditionals.
18293 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18294 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18295 * math/math.h: Update #else and #endif comments.
18296 [__USE_MISC]: Remove redundant conditionals.
18297 * misc/sys/uio.h: Update #endif comments.
18298 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18299 * posix/glob.h [__USE_MISC]: Likewise.
18300 * posix/sys/types.h: Update #endif comments.
18301 [__USE_MISC]: Remove redundant conditionals.
18302 * posix/sys/wait.h: Update #endif comments.
18303 [__USE_MISC]: Remove redundant conditionals.
18304 * posix/unistd.h: Update #endif comments.
18305 [__USE_MISC]: Remove redundant conditionals.
18306 * pwd/pwd.h [__USE_GNU]: Likewise.
18307 [__USE_MISC]: Likewise.
18308 * resolv/netdb.h [__USE_GNU]: Likewise.
18309 * signal/signal.h: Update #endif comments.
18310 [__USE_MISC]: Remove redundant conditionals.
18311 * stdlib/stdlib.h: Update #else and #endif comments.
18312 [__USE_MISC]: Remove redundant conditionals.
18313 [__USE_GNU]: Likewise.
18314 * string/bits/string2.h [__USE_MISC]: Likewise.
18315 * string/string.h: Update #endif comments.
18316 [__USE_MISC]: Remove redundant conditionals.
18317 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18318 Likewise.
18319 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18320 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18321 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18322 Likewise.
18323 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18324 Likewise.
18325 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18326 comments.
18327 [__USE_MISC]: Remove redundant conditionals.
18328 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18329 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18330 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18331 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18332 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18333 Likewise.
18334 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18335 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18336 Likewise.
18337 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18338 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18339 Likewise.
18340 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18341 Likewise.
18342 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18343 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18344 Likewise.
18345 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18346 Likewise.
18347 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18348 * sysdeps/x86/bits/string.h: Update #endif comments.
18349 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18350 conditionals.
18351 * time/sys/time.h: Update #endif comments.
18352 * time/time.h: Likewise.
18353 [__USE_MISC]: Remove redundant conditionals.
18354
a5d82e4e
YG
183552014-02-21 Yury Gribov <y.gribov@samsung.com>
18356
18357 [BZ #16600]
18358 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18359
9a80491d
AS
183602014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18361
18362 * Versions.def (librt): Add GLIBC_2.17.
18363
105fa381
AC
183642014-02-21 Adam Conrad <adconrad@0c3.net>
18365
18366 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18367 synonym for _SYS_AUXV_H to allow direct inclusion.
18368 * sysdeps/sparc/bits/hwcap.h: Likewise.
18369 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18370 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18371 * sysdeps/sparc/sysdep.h: Likewise.
18372
b8cd1c4e
SP
183732014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18374
18375 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18376
bd939d23
RS
183772014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18378
18379 * benchtests/bench-strrchr.c: Print length instead of position.
18380
5d7b57ca
JM
183812014-02-20 Joseph Myers <joseph@codesourcery.com>
18382
bc688c10
JM
18383 [BZ #16611]
18384 * sysdeps/unix/sysv/linux/kernel-features.h
18385 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18386 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18387 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18388 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18389 Likewise.
18390 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18391 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18392 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18393 (__ASSUME_SENDMMSG): Define instead of using previous
18394 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18395 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18396 (__ASSUME_SENDMMSG_SYSCALL): Define.
18397 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18398 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18399 Likewise.
18400 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18401 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18402 Likewise.
18403 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18404 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18405 Likewise.
18406 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18407 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18408 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18409 [__ASSUME_SENDMMSG]: Change conditionals to
18410 [__ASSUME_SENDMMSG_SOCKETCALL].
18411 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18412 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18413 Define.
18414 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18415 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18416 Likewise.
18417 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18418 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18419 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18420 [!__ASSUME_SENDMMSG]: Change conditional to
18421 [!__ASSUME_SENDMMSG_SOCKETCALL].
18422 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18423 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18424 Define.
18425
0e31b18c
JM
18426 [BZ #16610]
18427 * sysdeps/unix/sysv/linux/kernel-features.h
18428 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18429 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18430 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18431 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18432 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18433 [__i386__ || __sparc__]
18434 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18435 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18436 (__ASSUME_RECVMMSG): Define instead of using previous
18437 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18438 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18439 (__ASSUME_RECVMMSG_SYSCALL): Define.
18440 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18441 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18442 Likewise.
18443 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18444 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18445 Likewise.
18446 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18447 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18448 Likewise.
18449 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18450 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18451 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18452 [__ASSUME_RECVMMSG]: Change condition to
18453 [__ASSUME_RECVMMSG_SOCKETCALL].
18454 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18455 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18456 Define.
18457 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18458 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18459 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18460 Likewise.
18461 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18462 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18463 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18464 [!__ASSUME_RECVMMSG]: Change condition to
18465 [!__ASSUME_RECVMMSG_SOCKETCALL].
18466 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18467 (__ASSUME_RECVMMSG_SYSCALL): Define.
18468
dd481ccf
JM
18469 [BZ #16609]
18470 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18471 __powerpc__ || __s390__ || __sh__ || __sparc__]
18472 (__ASSUME_SOCKETCALL): Define.
18473 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18474 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18475 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18476 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18477 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18478 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18479 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18480 (__ASSUME_ACCEPT4): Define instead of using previous
18481 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18482 __powerpc__ || __sparc__ || __s390__)] condition.
18483 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18484 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18485 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18486 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18487 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18488 [!__ASSUME_ACCEPT4]: Change condition to
18489 [!__ASSUME_ACCEPT4_SOCKETCALL].
18490 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18491 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18492 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18493 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18494 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18495 __ASSUME_ACCEPT4_SYSCALL.
18496 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18497 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18498 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18499 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18500 __ASSUME_ACCEPT4_SYSCALL.
18501 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18502 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18503 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18504 [__ASSUME_ACCEPT4]: Change condition to
18505 [__ASSUME_ACCEPT4_SOCKETCALL].
18506 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18507 (__ASSUME_SOCKETCALL): Define.
18508 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18509 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18510 (__ASSUME_SOCKETCALL): Define.
18511 (__ASSUME_ACCEPT4): Remove.
18512 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18513 Define.
18514 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18515 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18516 Likewise.
18517 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18518 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18519
5d7b57ca
JM
18520 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18521 macro.
18522 (HWCAP_ARM_LPAE): Likewise.
18523 (HWCAP_ARM_EVTSTRM): Likewise.
18524 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18525 Add vpfd32, lpae and evtstrm.
18526 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18527 Increase to 22.
18528
63689d61
JM
185292014-02-19 Joseph Myers <joseph@codesourcery.com>
18530
18531 * math/auto-libm-test-in: Add tests of clog10.
18532 * math/auto-libm-test-out: Regenerated.
18533 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18534 * sysdeps/i386/fpu/libm-test-ulps: Update.
18535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18536
ab09bf61
AS
185372014-02-18 Andreas Schwab <schwab@suse.de>
18538
18539 [BZ #16574]
18540 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18541 Store non-zero if the second buffer was newly allocated.
18542 (send_dg): Likewise.
18543 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18544 to send_vc and send_dg.
18545 (res_nsend): Pass NULL for ansp2_malloced.
18546 * resolv/res_query.c (__libc_res_nquery): Add parameter
18547 answerp2_malloced and pass it down to __libc_res_nsend.
18548 (res_nquery): Pass additional NULL to __libc_res_nquery.
18549 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18550 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18551 second answer buffer if answerp2_malloced was set.
18552 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18553 (__libc_res_nquerydomain): Add parameter
18554 answerp2_malloced and pass it down to __libc_res_nquery.
18555 (res_nquerydomain): Pass additional NULL to
18556 __libc_res_nquerydomain.
18557 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18558 additional NULL to __libc_res_nsend and __libc_res_nquery.
18559 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18560 additional NULL to __libc_res_nsearch.
18561 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18562 parameter of __libc_res_nsearch to check for separately allocated
18563 second buffer.
18564 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18565 __libc_res_nquery.
18566 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18567 additional NULL to __libc_res_nquery.
18568 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18569 __libc_res_nsearch.
18570 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18571 * include/resolv.h: Update prototypes of __libc_res_nquery,
18572 __libc_res_nsearch, __libc_res_nsend.
18573
a4fb7861
JM
185742014-02-18 Joseph Myers <joseph@codesourcery.com>
18575
c6af2d89
JM
18576 * math/auto-libm-test-in: Add tests of fma.
18577 * math/auto-libm-test-out: Regenerated.
18578 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18579 (fma_towardzero_test_data): Likewise.
18580 (fma_downward_test_data): Likewise.
18581 (fma_upward_test_data): Likewise.
18582 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18583 mpc_mode.
18584 (rounding_modes): Add values for new field.
18585 (func_calc_method): Add value mpfr_fff_f.
18586 (func_calc_desc): Add mpfr_fff_f union field.
18587 (test_function): Add field exact_args.
18588 (FUNC): Add macro argument EXACT_ARGS.
18589 (FUNC_mpfr_f_f): Update call to FUNC.
18590 (FUNC_mpfr_f_f): Likewise.
18591 (FUNC_mpfr_ff_f): Likewise.
18592 (FUNC_mpfr_if_f): Likewise.
18593 (FUNC_mpc_c_f): Likewise.
18594 (FUNC_mpc_c_c): Likewise.
18595 (test_functions): Add fma. Update calls to FUNC.
18596 (handle_input_arg): Add argument exact_args.
18597 (add_test): Update call to handle_input_arg.
18598 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18599 (output_for_one_input_case): Update call to calc_generic_results.
18600 Recalculate exact zero results in each rounding mode.
18601
a4fb7861
JM
18602 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18603 non-negative before setting low bit.
18604 * math/auto-libm-test-in: Mark one asin test possibly having
18605 spurious underflow.
18606 * math/auto-libm-test-out: Regenerated.
18607 * sysdeps/i386/fpu/libm-test-ulps: Update.
18608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18609
ef114eaf
DH
186102014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18611
2b7f4f2c
SP
18612 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18613 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18614 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
18615 * README: Add missing listing for microblaze*-*-linux-gnu.
18616
8125aedc
AM
186172014-02-16 Ondřej Bílka <neleai@seznam.cz>
18618
18619 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18620 duplicate code
18621
c70a4b1d
MF
186222014-02-16 Mike Frysinger <vapier@gentoo.org>
18623
18624 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18625 * sysdeps/unix/sysv/linux/ia64: Move directory from
18626 ports/sysdeps/unix/sysv/linux/ia64.
18627 * README: Update listing for ia64-*-linux-gnu.
18628
591aeaf7
TD
186292014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18630 Joseph Myers <joseph@codesourcery.com>
18631
18632 * Makeconfig (test-name): New variable.
18633 (evaluate-test): Likewise.
18634 * Makerules (do-test-clean): Remove .test-result files.
18635 (common-mostlyclean): Likewise.
18636 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18637 * scripts/evaluate-test.sh: New file.
18638
6e89caf1
JM
186392014-02-14 Joseph Myers <joseph@codesourcery.com>
18640
7f98f180
JM
18641 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18642 separate $(objpfx)tst-fopenloc-cmp.out and
18643 $(objpfx)tst-fopenloc-mem.out targets.
18644 (tests): Update dependencies.
18645 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18646 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18647 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18648 (tst-rxspencer-no-utf8-ARGS): New variable.
18649 (tst-rxspencer-no-utf8-ENV): Likewise.
18650 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18651 instead of $(objpfx)tst-rxspencer-mem.
18652 ($(objpfx)tst-rxspencer-mem): Change target to
18653 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18654 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18655 * posix/tst-rxspencer-no-utf8.c: New file.
18656
6e89caf1
JM
18657 * elf/Makefile ($(objpfx)order.out): Remove rule.
18658 [$(run-built-tests) = yes] (tests): Depend on
18659 $(objpfx)order-cmp.out.
18660 ($(objpfx)order-cmp.out): New rule.
18661 [$(run-built-tests) = yes] (tests): Depend on
18662 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18663 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18664 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18665 $(objpfx)tst-array5-static-cmp.out.
18666 ($(objpfx)tst-array1.out): Remove rule.
18667 ($(objpfx)tst-array1-cmp.out): New rule.
18668 ($(objpfx)tst-array1-static.out): Remove rule.
18669 ($(objpfx)tst-array1-static-cmp.out): New rule.
18670 ($(objpfx)tst-array2.out): Remove rule.
18671 ($(objpfx)tst-array2-cmp.out): New rule.
18672 ($(objpfx)tst-array3.out): Remove rule.
18673 ($(objpfx)tst-array3-cmp.out): New rule.
18674 ($(objpfx)tst-array4.out): Remove rule.
18675 ($(objpfx)tst-array4-cmp.out): New rule.
18676 ($(objpfx)tst-array5.out): Remove rule.
18677 ($(objpfx)tst-array5-cmp.out): New rule.
18678 ($(objpfx)tst-array5-static.out): Remove rule.
18679 ($(objpfx)tst-array5-static-cmp.out): New rule.
18680 [$(run-built-tests) = yes] (tests): Depend on
18681 $(objpfx)order2-cmp.out.
18682 ($(objpfx)order2.out): Remove rule.
18683 ($(objpfx)order2-cmp.out): New rule.
18684 ($(objpfx)tst-initorder.out): Remove rule.
18685 [$(run-built-tests) = yes] (tests): Depend on
18686 $(objpfx)tst-initorder-cmp.out.
18687 ($(objpfx)tst-initorder-cmp.out): New rule.
18688 ($(objpfx)tst-initorder2.out): Remove rule.
18689 [$(run-built-tests) = yes] (tests): Depend on
18690 $(objpfx)tst-initorder2-cmp.out.
18691 ($(objpfx)tst-initorder2-cmp.out): New rule.
18692 [$(run-built-tests) = yes] (tests): Depend on
18693 $(objpfx)tst-unused-dep-cmp.out.
18694 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18695 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18696 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18697 on $(objpfx)tst-setvbuf1-cmp.out.
18698 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18699 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18700 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18701 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18702 ($(objpfx)tst-svc.out): Remove rule.
18703 ($(objpfx)tst-svc-cmp.out): New rule.
18704
ed9a38e2
JM
187052014-02-13 Joseph Myers <joseph@codesourcery.com>
18706
18707 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18708 * ctype/ctype.h [__USE_MISC]: Likewise.
18709 * dirent/dirent.h [__USE_MISC]: Likewise.
18710 * grp/grp.h [__USE_MISC]: Likewise.
18711 * io/fcntl.h [__USE_MISC]: Likewise.
18712 * io/sys/stat.h [__USE_MISC]: Likewise.
18713 * libio/stdio.h [__USE_MISC]: Likewise.
18714 * posix/unistd.h [__USE_MISC]: Likewise.
18715 * pwd/pwd.h [__USE_MISC]: Likewise.
18716 * stdlib.h [__USE_MISC]: Likewise.
18717 * string/bits/string2.h [__USE_MISC]: Likewise.
18718 * string/string.h [__USE_MISC]: Likewise.
18719 * time/time.h [__USE_MISC]: Likewise.
18720
d6680619
AS
187212014-02-13 Andreas Schwab <schwab@suse.de>
18722
18723 [BZ #16574]
18724 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18725 second answer buffer if it was separately allocated.
18726
ace614b8
JM
187272014-02-12 Joseph Myers <joseph@codesourcery.com>
18728
743151ae
JM
18729 * sysdeps/mips/math-tests.h: Include <features.h>.
18730 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18731 (ROUNDING_TESTS_long_double): Do not define.
18732 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18733 (EXCEPTION_TESTS_long_double): Likewise.
18734 * sysdeps/mips/mips64/libm-test-ulps: Update.
18735
498afc54
JM
18736 * include/features.h (__USE_BSD): Remove macro definitions.
18737 (__USE_SVID): Likewise.
18738 (_BSD_SOURCE): Likewise.
18739 (_SVID_SOURCE): Likewise.
18740 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18741 from definition of _DEFAULT_SOURCE.
18742 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18743 [_DEFAULT_SOURCE].
18744 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18745 * bits/mman.h [__USE_BSD]: Likewise.
18746 * bits/termios.h [__USE_BSD]: Likewise.
18747 * bits/waitstatus.h [__USE_BSD]: Likewise.
18748 * ctype/ctype.h [__USE_SVID]: Likewise.
18749 * dirent/dirent.h [__USE_BSD]: Likewise.
18750 * grp/grp.h [__USE_SVID]: Likewise.
18751 [__USE_BSD]: Likewise.
18752 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18753 * io/fcntl.h [__USE_BSD]: Likewise.
18754 * io/ftw.h [__USE_BSD]: Likewise.
18755 * io/sys/stat.h [__USE_BSD]: Likewise.
18756 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18757 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18758 * libio/stdio.h [__USE_SVID]: Likewise.
18759 [__USE_BSD]: Likewise.
18760 * math/math.h [__USE_SVID]: Likewise.
18761 [__USE_BSD]: Likewise.
18762 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18763 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18764 * misc/search.h [__USE_SVID]: Likewise.
18765 * misc/sys/mman.h [__USE_BSD]: Likewise.
18766 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18767 * misc/sys/uio.h [__USE_BSD]: Likewise.
18768 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18769 * posix/glob.h [__USE_BSD]: Likewise.
18770 * posix/regex.h [__USE_BSD]: Likewise.
18771 * posix/sys/types.h [__USE_BSD]: Likewise.
18772 [__USE_SVID]: Likewise.
18773 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18774 * posix/sys/wait.h [__USE_BSD]: Likewise.
18775 [__USE_SVID]: Likewise.
18776 * posix/unistd.h [__USE_BSD]: Likewise.
18777 [__USE_SVID]: Likewise.
18778 * pwd/pwd.h [__USE_SVID]: Likewise.
18779 * resolv/netdb.h [__USE_BSD]: Likewise.
18780 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18781 * signal/signal.h [__USE_BSD]: Likewise.
18782 [__USE_SVID]: Likewise.
18783 * socket/sys/socket.h [__USE_BSD]: Likewise.
18784 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18785 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18786 [__USE_SVID]: Likewise.
18787 * string/bits/string2.h [__USE_BSD]: Likewise.
18788 [__USE_SVID]: Likewise.
18789 * string/bits/string3.h [__USE_BSD]: Likewise.
18790 * string/endian.h [__USE_BSD]: Likewise.
18791 * string/string.h [__USE_SVID]: Likewise.
18792 [__USE_BSD]: Likewise.
18793 * string/strings.h [__USE_BSD]: Likewise.
18794 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18795 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18796 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18797 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18798 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18799 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18800 Likewise.
18801 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18802 Likewise.
18803 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18804 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18805 Likewise.
18806 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18807 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18808 Likewise.
18809 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18810 Likewise.
18811 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18812 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18813 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18814 Likewise.
18815 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18816 Likewise.
18817 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18818 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18819 * termios/termios.h [__USE_BSD]: Likewise.
18820 * time/sys/time.h [__USE_BSD]: Likewise.
18821 * time/time.h [__USE_BSD]: Likewise.
18822 [__USE_SVID]: Likewise.
18823
dd7b064c
JM
18824 * Makefile (subdir_targets): Remove subdir_lint.out.
18825
a2c4c199
JM
18826 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18827 (do-tst-printf): Likewise.
18828 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18829 $(objpfx)tst-printf.out.
18830
8756f740
JM
18831 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18832
1b6dd3f1
JM
18833 * Makerules (check-abi-%): Change target to
18834 $(objpfx)check-abi-%.out.
18835 (check-abi target): Update dependencies.
18836 (check-abi-pattern variable): Redirect output of diff to $@.
18837 (check-abi variable): Likewise.
18838 * elf/Makefile (check-abi): Update dependencies.
18839
ace614b8
JM
18840 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18841 unused.
18842 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18843 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18844 subnormal range.
18845 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18846 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18847 value has largest subnormal exponent.
18848 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18849 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18850 * sysdeps/aarch64/soft-fp/sfp-machine.h
18851 (_FP_TININESS_AFTER_ROUNDING): New macro.
18852 * sysdeps/alpha/soft-fp/sfp-machine.h
18853 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18854 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18855 Likewise.
18856 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18857 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18858 * sysdeps/mips/soft-fp/sfp-machine.h
18859 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18860 * sysdeps/powerpc/soft-fp/sfp-machine.h
18861 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18862 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18863 Likewise.
18864 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18865 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18866 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18867 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18868 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18869 Likewise.
18870
fbfdf9cb
DAS
188712014-02-12 Dylan Alex Simon <dylan@dylex.net>
18872
18873 [BZ #16545]
18874 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18875 model 1.
18876
68b7efaa
RH
188772014-02-12 Richard Henderson <rth@redhat.com>
18878
c70a4b1d 18879 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
18880 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18881 * sysdeps/unix/sysv/linux/alpha: Move directory from
18882 ports/sysdeps/unix/sysv/linux/alpha.
18883 * README: Update listing for alpha-*-linux-gnu.
18884
cb4a2928
JM
188852014-02-11 Joseph Myers <joseph@codesourcery.com>
18886
c941736c
JM
18887 * include/features.h: Update comment documenting feature test
18888 macros.
18889 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18890 _DEFAULT_SOURCE.
18891 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18892 (_SVID_SOURCE): Likewise.
18893 (_DEFAULT_SOURCE): Update description of default features.
18894 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18895 with _GNU_SOURCE.
18896 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18897 (S_ISVTX): Likewise.
18898 * manual/math.texi (Mathematical Constants): Likewise.
18899 * manual/signal.texi (Interrupted Primitives): Likewise.
18900 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18901 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18902 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18903 Don't refer to _SVID_SOURCE in warning text.
18904
e8d8d7ec
JM
18905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18906
cb4a2928
JM
18907 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18908 already defined.
18909 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18910 * sysdeps/mips/dl-lookup.c: Remove.
18911 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18912
7e6424e3
AK
189132014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18914
18915 [BZ #16447]
18916 * math/auto-libm-test-in: Add testcase for expl.
18917 * math/auto-libm-test-out: Regenerate.
18918 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18919 calculation of unsafe.
18920 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18921
75eff3fe
MS
189222014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18923
18924 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18925 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18926 ports/sysdeps/unix/sysv/linux/aarch64.
18927 * README: Update listing for aarch64*-*-linux-gnu.
18928
d35f1e80
WN
189292014-02-11 Will Newton <will.newton@linaro.org>
18930
18931 * manual/probes.texi (Mathematical Function Probes): Use
18932 "triggered" instead of "hit".
18933
7b3436d4
WN
18934 * manual/probes.texi (Internal Probes): Add documentation
18935 of setjmp, longjmp and longjmp_target probes.
18936
b4f12ca3
WN
18937 * include/stap-probe.h: Add comment about probe argument
18938 format.
18939
c13a72b7
WN
18940 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18941 definition. (tr_where, tr_freehook, tr_mallochook,
18942 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18943
195b8165
DM
189442014-02-11 David S. Miller <davem@davemloft.net>
18945
18946 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18947 processing int_tests.
18948
2ad7600b
JM
189492014-02-10 Joseph Myers <joseph@codesourcery.com>
18950
18951 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18952 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18953 * sysdeps/unix/sysv/linux/mips: Move directory from
18954 ports/sysdeps/unix/sysv/linux/mips.
18955 * README: Update listing for mips-*-linux-gnu and
18956 mips64-*-linux-gnu.
18957
73588a72
AS
189582014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18959
18960 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18961 * sysdeps/unix/sysv/linux/m68k: Move directory from
18962 ports/sysdeps/unix/sysv/linux/m68k.
18963 * README: Update listing for m68k-*-linux-gnu.
18964
4372980f
CM
189652014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18966
18967 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18968 * sysdeps/unix/sysv/linux/generic: Move directory from
18969 ports/sysdeps/unix/sysv/linux/generic.
18970 * sysdeps/unix/sysv/linux/tile: Move directory from
18971 ports/sysdeps/unix/sysv/linux/tile.
18972 * README: Update listing for tile*-*-linux-gnu.
18973
a1ffb40e
OB
189742014-02-10 Ondřej Bílka <neleai@seznam.cz>
18975
57f41c40
AS
18976 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18977 __builtin_expect.
a1ffb40e
OB
18978 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18979 * catgets/open_catalog.c (__open_catalog): Likewise.
18980 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18981 * debug/confstr_chk.c: Likewise.
18982 * debug/fread_chk.c (__fread_chk): Likewise.
18983 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18984 * debug/getgroups_chk.c: Likewise.
18985 * debug/mbsnrtowcs_chk.c: Likewise.
18986 * debug/mbsrtowcs_chk.c: Likewise.
18987 * debug/mbstowcs_chk.c: Likewise.
18988 * debug/memcpy_chk.c: Likewise.
18989 * debug/memmove_chk.c: Likewise.
18990 * debug/mempcpy_chk.c: Likewise.
18991 * debug/memset_chk.c: Likewise.
18992 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18993 * debug/strcat_chk.c (__strcat_chk): Likewise.
18994 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18995 * debug/strncat_chk.c (__strncat_chk): Likewise.
18996 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18997 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18998 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18999 * debug/wcpncpy_chk.c: Likewise.
19000 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19001 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19002 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19003 * debug/wcsncpy_chk.c: Likewise.
19004 * debug/wcsnrtombs_chk.c: Likewise.
19005 * debug/wcsrtombs_chk.c: Likewise.
19006 * debug/wcstombs_chk.c: Likewise.
19007 * debug/wmemcpy_chk.c: Likewise.
19008 * debug/wmemmove_chk.c: Likewise.
19009 * debug/wmempcpy_chk.c: Likewise.
19010 * debug/wmemset_chk.c: Likewise.
19011 * dirent/scandirat.c (SCANDIRAT): Likewise.
19012 * dlfcn/dladdr1.c (dladdr1): Likewise.
19013 * dlfcn/dladdr.c (dladdr): Likewise.
19014 * dlfcn/dlclose.c (dlclose_doit): Likewise.
19015 * dlfcn/dlerror.c (__dlerror): Likewise.
19016 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19017 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19018 * dlfcn/dlopen.c (dlopen_doit): Likewise.
19019 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19020 * dlfcn/dlsym.c (dlsym_doit): Likewise.
19021 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19022 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19023 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19024 Likewise.
19025 * elf/dl-conflict.c: Likewise.
19026 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19027 * elf/dl-dst.h: Likewise.
19028 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19029 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19030 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19031 * elf/dl-init.c (call_init, _dl_init): Likewise.
19032 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
19033 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19034 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19035 Likewise.
a1ffb40e
OB
19036 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19037 Likewise.
19038 * elf/dl-minimal.c (__libc_memalign): Likewise.
19039 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19040 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19041 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19042 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
19043 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19044 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
19045 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19046 * elf/dl-writev.h (_dl_writev): Likewise.
19047 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
19048 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19049 (dl_main): Likewise.
a1ffb40e
OB
19050 * elf/setup-vdso.h (setup_vdso): Likewise.
19051 * grp/compat-initgroups.c (compat_call): Likewise.
19052 * grp/fgetgrent.c (fgetgrent): Likewise.
19053 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19054 * grp/putgrent.c (putgrent): Likewise.
19055 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19056 Likewise.
19057 * hurd/hurdinit.c: Likewise.
19058 * iconvdata/8bit-gap.c (struct): Likewise.
19059 * iconvdata/ansi_x3.110.c : Likewise.
19060 * iconvdata/big5.c : Likewise.
19061 * iconvdata/big5hkscs.c : Likewise.
19062 * iconvdata/cp1255.c: Likewise.
19063 * iconvdata/cp1258.c : Likewise.
19064 * iconvdata/cp932.c : Likewise.
19065 * iconvdata/euc-cn.c: Likewise.
19066 * iconvdata/euc-jisx0213.c : Likewise.
19067 * iconvdata/euc-jp.c: Likewise.
19068 * iconvdata/euc-jp-ms.c : Likewise.
19069 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19070 * iconvdata/gb18030.c : Likewise.
19071 * iconvdata/gbbig5.c (const): Likewise.
19072 * iconvdata/gbgbk.c: Likewise.
19073 * iconvdata/gbk.c : Likewise.
19074 * iconvdata/ibm1364.c : Likewise.
19075 * iconvdata/ibm930.c : Likewise.
19076 * iconvdata/ibm932.c: Likewise.
19077 * iconvdata/ibm933.c : Likewise.
19078 * iconvdata/ibm935.c : Likewise.
19079 * iconvdata/ibm937.c : Likewise.
19080 * iconvdata/ibm939.c : Likewise.
19081 * iconvdata/ibm943.c: Likewise.
19082 * iconvdata/iso_11548-1.c: Likewise.
19083 * iconvdata/iso-2022-cn.c : Likewise.
19084 * iconvdata/iso-2022-cn-ext.c : Likewise.
19085 * iconvdata/iso-2022-jp-3.c: Likewise.
19086 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19087 * iconvdata/iso-2022-kr.c : Likewise.
19088 * iconvdata/iso646.c (gconv_end): Likewise.
19089 * iconvdata/iso_6937-2.c : Likewise.
19090 * iconvdata/iso_6937.c : Likewise.
19091 * iconvdata/iso8859-1.c: Likewise.
19092 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19093 * iconvdata/shift_jisx0213.c : Likewise.
19094 * iconvdata/sjis.c : Likewise.
19095 * iconvdata/t.61.c : Likewise.
19096 * iconvdata/tcvn5712-1.c : Likewise.
19097 * iconvdata/tscii.c: Likewise.
19098 * iconvdata/uhc.c : Likewise.
19099 * iconvdata/unicode.c (gconv_end): Likewise.
19100 * iconvdata/utf-16.c (gconv_end): Likewise.
19101 * iconvdata/utf-32.c (gconv_end): Likewise.
19102 * iconvdata/utf-7.c (base64): Likewise.
19103 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19104 * iconv/gconv_close.c (__gconv_close): Likewise.
19105 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
19106 * iconv/gconv_simple.c (internal_ucs4_loop_single)
19107 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19108 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19109 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19110 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
19111 * iconv/iconv.c (iconv): Likewise.
19112 * iconv/iconv_close.c: Likewise.
19113 * iconv/loop.c (SINGLE): Likewise.
19114 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19115 * include/atomic.h: Likewise.
19116 * inet/inet6_option.c (option_alloc): Likewise.
19117 * intl/bindtextdom.c (set_binding_values): Likewise.
19118 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19119 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19120 * intl/localealias.c (read_alias_file): Likewise.
19121 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
19122 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19123 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
19124 * libio/fmemopen.c (fmemopen): Likewise.
19125 * libio/iofgets.c (_IO_fgets): Likewise.
19126 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19127 * libio/iofgetws.c (fgetws): Likewise.
19128 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19129 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
19130 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19131 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
19132 * locale/findlocale.c (_nl_find_locale): Likewise.
19133 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19134 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19135 Likewise.
19136 * locale/setlocale.c (setlocale): Likewise.
19137 * login/programs/pt_chown.c (main): Likewise.
19138 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19139 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
19140 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19141 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
19142 * math/e_exp2l.c: Likewise.
19143 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19144 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19145 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19146 * math/s_catan.c (__catan): Likewise.
19147 * math/s_catanf.c (__catanf): Likewise.
19148 * math/s_catanh.c (__catanh): Likewise.
19149 * math/s_catanhf.c (__catanhf): Likewise.
19150 * math/s_catanhl.c (__catanhl): Likewise.
19151 * math/s_catanl.c (__catanl): Likewise.
19152 * math/s_ccosh.c (__ccosh): Likewise.
19153 * math/s_ccoshf.c (__ccoshf): Likewise.
19154 * math/s_ccoshl.c (__ccoshl): Likewise.
19155 * math/s_cexp.c (__cexp): Likewise.
19156 * math/s_cexpf.c (__cexpf): Likewise.
19157 * math/s_cexpl.c (__cexpl): Likewise.
19158 * math/s_clog10.c (__clog10): Likewise.
19159 * math/s_clog10f.c (__clog10f): Likewise.
19160 * math/s_clog10l.c (__clog10l): Likewise.
19161 * math/s_clog.c (__clog): Likewise.
19162 * math/s_clogf.c (__clogf): Likewise.
19163 * math/s_clogl.c (__clogl): Likewise.
19164 * math/s_csin.c (__csin): Likewise.
19165 * math/s_csinf.c (__csinf): Likewise.
19166 * math/s_csinh.c (__csinh): Likewise.
19167 * math/s_csinhf.c (__csinhf): Likewise.
19168 * math/s_csinhl.c (__csinhl): Likewise.
19169 * math/s_csinl.c (__csinl): Likewise.
19170 * math/s_csqrt.c (__csqrt): Likewise.
19171 * math/s_csqrtf.c (__csqrtf): Likewise.
19172 * math/s_csqrtl.c (__csqrtl): Likewise.
19173 * math/s_ctan.c (__ctan): Likewise.
19174 * math/s_ctanf.c (__ctanf): Likewise.
19175 * math/s_ctanh.c (__ctanh): Likewise.
19176 * math/s_ctanhf.c (__ctanhf): Likewise.
19177 * math/s_ctanhl.c (__ctanhl): Likewise.
19178 * math/s_ctanl.c (__ctanl): Likewise.
19179 * math/w_pow.c: Likewise.
19180 * math/w_powf.c: Likewise.
19181 * math/w_powl.c: Likewise.
19182 * math/w_scalb.c (sysv_scalb): Likewise.
19183 * math/w_scalbf.c (sysv_scalbf): Likewise.
19184 * math/w_scalbl.c (sysv_scalbl): Likewise.
19185 * misc/error.c (error_tail): Likewise.
19186 * misc/pselect.c (__pselect): Likewise.
19187 * nis/nis_callback.c (__nis_create_callback): Likewise.
19188 * nis/nis_call.c (__nisfind_server): Likewise.
19189 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19190 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19191 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19192 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19193 * nis/nis_lookup.c (nis_lookup): Likewise.
19194 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
19195 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19196 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 19197 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
19198 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19199 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19200 * nis/nss_compat/compat-initgroups.c (add_group)
19201 (internal_getgrent_r): Likewise.
19202 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19203 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19204 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19205 (internal_getspnam_r): Likewise.
19206 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19207 (_nss_nis_getaliasbyname_r): Likewise.
19208 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19209 (_nss_nis_getntohost_r): Likewise.
19210 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19211 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19212 (_nss_nis_getgrgid_r): Likewise.
19213 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19214 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19215 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19216 (_nss_nis_gethostbyname4_r): Likewise.
19217 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19218 (initgroups_netid): Likewise.
a1ffb40e 19219 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
19220 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19221 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19222 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19223 (_nss_nis_getprotobynumber_r): Likewise.
19224 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19225 (_nss_nis_getsecretkey): Likewise.
19226 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19227 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19228 (_nss_nis_getpwuid_r): Likewise.
19229 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19230 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19231 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19232 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19233 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19234 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
19235 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19236 Likewise.
57f41c40
AS
19237 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19238 (_nss_nisplus_getntohost_r): Likewise.
19239 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19240 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19241 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19242 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 19243 Likewise.
57f41c40
AS
19244 * nis/nss_nisplus/nisplus-initgroups.c
19245 (_nss_nisplus_initgroups_dyn): Likewise.
19246 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19247 (_nss_nisplus_getnetbyaddr_r): Likewise.
19248 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19249 (_nss_nisplus_getprotobynumber_r): Likewise.
19250 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19251 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
19252 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19253 Likewise.
57f41c40
AS
19254 * nis/nss_nisplus/nisplus-service.c
19255 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19256 (_nss_nisplus_getservbyport_r): Likewise.
19257 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19258 (_nss_nisplus_getspnam_r): Likewise.
19259 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19260 Likewise.
a1ffb40e
OB
19261 * nscd/aicache.c (addhstaiX): Likewise.
19262 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
19263 * nscd/connections.c (register_traced_file, send_ro_fd)
19264 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19265 (main_loop_epoll): Likewise.
a1ffb40e
OB
19266 * nscd/grpcache.c (addgrbyX): Likewise.
19267 * nscd/hstcache.c (addhstbyX): Likewise.
19268 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19269 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
19270 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19271 (addinnetgrX): Likewise.
19272 * nscd/nscd-client.h (__nscd_acquire_maplock)
19273 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
19274 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19275 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19276 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19277 Likewise.
19278 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19279 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
19280 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19281 (__nscd_get_map_ref): Likewise.
a1ffb40e 19282 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
19283 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19284 Likewise.
a1ffb40e
OB
19285 * nscd/pwdcache.c (addpwbyX): Likewise.
19286 * nscd/selinux.c (preserve_capabilities): Likewise.
19287 * nscd/servicescache.c (addservbyX): Likewise.
19288 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19289 * posix/fnmatch.c (fnmatch): Likewise.
19290 * posix/getopt.c (_getopt_internal_r): Likewise.
19291 * posix/glob.c (glob, glob_in_dir): Likewise.
19292 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
19293 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19294 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
19295 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19296 * resolv/res_init.c: Likewise.
19297 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19298 * resolv/res_query.c (__libc_res_nquery): Likewise.
19299 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19300 Likewise.
19301 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19302 * stdio-common/perror.c (perror): Likewise.
19303 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19304 * stdio-common/tmpnam.c (tmpnam): Likewise.
19305 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19306 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
19307 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19308 Likewise.
a1ffb40e
OB
19309 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19310 * stdlib/putenv.c (putenv): Likewise.
19311 * stdlib/setenv.c (__add_to_environ): Likewise.
19312 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19313 * stdlib/strtol_l.c (INTERNAL): Likewise.
19314 * string/memmem.c (memmem): Likewise.
19315 * string/strerror.c (strerror): Likewise.
19316 * string/strnlen.c (__strnlen): Likewise.
19317 * string/test-memmem.c (simple_memmem): Likewise.
19318 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19319 * sunrpc/pm_getport.c (__get_socket): Likewise.
19320 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19321 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
19322 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19323 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
19324 Likewise.
19325 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19326 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19327 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19328 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19329 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
19330 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19331 Likewise.
19332 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19333 Likewise.
a1ffb40e
OB
19334 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19335 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19336 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19337 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19338 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19340 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19341 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19342 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19343 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19344 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19345 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19346 Likewise.
19347 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19348 Likewise.
19349 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19350 Likewise.
19351 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19352 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19353 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19354 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19355 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19356 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19357 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19358 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19359 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19360 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19361 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19362 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19363 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19364 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19365 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
19366 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19367 Likewise.
a1ffb40e
OB
19368 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19369 Likewise.
19370 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19371 Likewise.
19372 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19373 Likewise.
19374 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19375 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19376 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19377 Likewise.
19378 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19379 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19380 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19381 * sysdeps/posix/sleep.c: Likewise.
19382 * sysdeps/posix/tempname.c: Likewise.
19383 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19384 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19385 Likewise.
57f41c40
AS
19386 * sysdeps/powerpc/powerpc32/dl-machine.h
19387 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
19388 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19389 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19390 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19391 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19392 Likewise.
19393 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19394 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19395 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19396 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19397 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19398 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19399 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19400 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19401 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19402 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19403 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19404 (elf_machine_lazy_rel): Likewise.
a1ffb40e 19405 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19406 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19407 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19408 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19409 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19410 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19411 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19412 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19413 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19414 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19415 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19416 Likewise.
19417 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19418 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19419 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19420 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19421 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19422 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19423 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19424 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19425 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19426 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19427 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19428 Likewise.
19429 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19430 (__posix_fallocate64_l64): Likewise.
19431 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19432 (posix_fallocate): Likewise.
57f41c40
AS
19433 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19434 Likewise.
a1ffb40e 19435 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
19436 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19437 (getifaddrs_internal): Likewise.
a1ffb40e
OB
19438 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19439 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19440 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19441 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19442 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19443 (__posix_fallocate64_l64): Likewise.
19444 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19445 Likewise.
19446 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
19447 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19448 (__get_clockfreq): Likewise.
a1ffb40e
OB
19449 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19450 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19451 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19452 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19453 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19454 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19455 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19456 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19457 Likewise.
19458 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19459 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19460 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19461 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19462 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19463 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19464 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19465 Likewise.
19466 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19467 (posix_fallocate): Likewise.
19468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19469 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19470 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19471 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19472 (elf_machine_rela, elf_machine_rela_relative)
19473 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19474 * time/asctime.c (asctime_internal): Likewise.
19475 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19476 * time/tzset.c (__tzset_parse_tz): Likewise.
19477 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19478 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19479 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19480 * wcsmbs/wcsmbsload.h: Likewise.
19481
f3d338c9
OB
19482 [BZ #15894]
19483 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19484
57f41c40
AS
19485 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19486 (arena_get2): Remove THREAD_STATS conditionals.
19487 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19488 (__malloc_stats, int): Likewise.
bdfe308a 19489
d674667c
MF
194902014-02-08 Mike Frysinger <vapier@gentoo.org>
19491
19492 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19493 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19494
6349768c
MF
19495 * manual/setjmp.texi: Fix typos/grammar errors.
19496
0b7c7473
MF
19497 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19498 Only return early when n is <= 0. Delete unused return statement.
19499
ac8cc9e3
MF
19500 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19501 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19502 * debug/tst-longjmp_chk3.c: New file.
19503
c5bb8e23
MF
19504 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19505 (test_main): Replace code with set_fortify_handler call.
19506 * debug/test-strcpy_chk.c: Likewise.
19507 * debug/tst-chk1.c: Likewise.
19508 * debug/tst-longjmp_chk.c: Likewise.
19509 * test-skeleton.c: Include fcntl.h & paths.h
19510 (set_fortify_handler): Define.
19511
10444e42
MF
19512 * debug/tst-longjmp_chk.c: Add header comment and include
19513 ../test-skeleton.c.
19514 (do_test): Mark static.
19515 (TEST_FUNCTION): Define.
19516
1e805e8d
MF
19517 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19518 (IP_PMTUDISC_INTERFACE): Likewise.
19519 (IP_MULTICAST_IF): Likewise.
19520 (IP_MULTICAST_TTL): Likewise.
19521 (IP_MULTICAST_LOOP): Likewise.
19522 (IP_ADD_MEMBERSHIP): Likewise.
19523 (IP_DROP_MEMBERSHIP): Likewise.
19524 (IP_UNBLOCK_SOURCE): Likewise.
19525 (IP_BLOCK_SOURCE): Likewise.
19526 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19527 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19528 (IP_MSFILTER): Likewise.
19529 (MCAST_JOIN_GROUP): Likewise.
19530 (MCAST_BLOCK_SOURCE): Likewise.
19531 (MCAST_UNBLOCK_SOURCE): Likewise.
19532 (MCAST_LEAVE_GROUP): Likewise.
19533 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19534 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19535 (MCAST_MSFILTER): Likewise.
19536 (IP_MULTICAST_ALL): Likewise.
19537 (IP_UNICAST_IF): Likewise.
19538
73f79bb7
MF
19539 * timezone/Makefile: Delete $(have-ksh) check.
19540 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19541 * timezone/tzselect.ksh: Add +x mode bits.
19542
8da79b60
MF
19543 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19544 (ANON_INODE_FS_MAGIC): Likewise.
19545 (BDEVFS_MAGIC): Likewise.
19546 (BINFMTFS_MAGIC): Likewise.
19547 (BTRFS_TEST_MAGIC): Likewise.
19548 (CRAMFS_MAGIC_WEND): Likewise.
19549 (DEBUGFS_MAGIC): Likewise.
19550 (ECRYPTFS_SUPER_MAGIC): Likewise.
19551 (EXT3_SUPER_MAGIC): Likewise.
19552 (EXT4_SUPER_MAGIC): Likewise.
19553 (FUTEXFS_SUPER_MAGIC): Likewise.
19554 (HOSTFS_SUPER_MAGIC): Likewise.
19555 (HUGETLBFS_MAGIC): Likewise.
19556 (MINIX3_SUPER_MAGIC): Likewise.
19557 (MTD_INODE_FS_MAGIC): Likewise.
19558 (NILFS_SUPER_MAGIC): Likewise.
19559 (OPENPROM_SUPER_MAGIC): Likewise.
19560 (PIPEFS_MAGIC): Likewise.
19561 (PSTOREFS_MAGIC): Likewise.
19562 (QNX6_SUPER_MAGIC): Likewise.
19563 (RAMFS_MAGIC): Likewise.
19564 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19565 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19566 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19567 (SECURITYFS_MAGIC): Likewise.
19568 (SELINUX_MAGIC): Likewise.
19569 (SMACK_MAGIC): Likewise.
19570 (SOCKFS_MAGIC): Likewise.
19571 (SQUASHFS_MAGIC): Likewise.
19572 (STACK_END_MAGIC): Likewise.
19573 (TMPFS_MAGIC): Likewise.
19574 (USBDEVICE_SUPER_MAGIC): Likewise.
19575 (V9FS_MAGIC): Likewise.
19576 (XENFS_SUPER_MAGIC): Likewise.
19577 (CRAMFS_MAGIC): Fix typo in comment.
19578 (EXT2_SUPER_MAGIC): Update comment.
19579 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19580
464263cc
JM
195812014-02-08 Joseph Myers <joseph@codesourcery.com>
19582
c6bfe5c4
JM
19583 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19584 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19585 * sysdeps/unix/sysv/linux/arm: Move directory from
19586 ports/sysdeps/unix/sysv/linux/arm.
19587 * README: Update listing for arm-*-linux-gnueabi.
19588
464263cc
JM
19589 * README: Remove mention of am33.
19590
32749f6c
RM
195912014-02-07 Roland McGrath <roland@hack.frob.com>
19592
19593 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19594 than the comma operator, to avoid "rhs of comma has no effect"
19595 compiler warnings.
19596 (__sigfillset, __sigandset, __sigorset): Likewise.
19597 * include/signal.h (__sigemptyset): Likewise.
19598 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19599
d5b396c1
AM
196002014-02-07 Allan McRae <allan@archlinux.org>
19601
19602 * version.h (RELEASE): Set to "development".
19603 (VERSION): Set to "2.19.90"
19604 * NEWS: Add 2.20 section.
19605
3bfff2ed
CD
196062014-02-06 Carlos O'Donell <carlos@redhat.com>
19607
19608 [BZ #16529]
19609 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19610
ee7cc385
SP
196112014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19612
19613 * manual/contrib.texi: Update entry for Carlos O'Donell,
19614 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19615
f877c4f2
CD
196162014-02-05 Carlos O'Donell <carlos@rehdat.com>
19617
27e839f6
CD
19618 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19619
f877c4f2
CD
19620 * sysdeps/unix/sysv/linux/kernel-features.h
19621 [__LINUX_KERNEL_VERSION >= 0x020621]
19622 (__ASSUME_PROC_PID_TASK_COMM): Define.
19623
68159946
SP
196242014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19625
ba17cdbd
SP
19626 [BZ #16398]
19627 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19628 conversion when destination buffer does not have enough space.
19629 * libio/tst-ftell-partial-wide.c: New test case.
19630 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19631
68159946
SP
19632 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19633 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19634 Leonard and Allan McRae.
19635
2b528732
DM
196362014-02-04 David S. Miller <davem@davemloft.net>
19637
19638 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19639 32-bit.
19640
0ff82463
AZ
196412014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19642
57f41c40
AS
19643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19644 New file
c01603f7
AZ
19645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19646 New file
57f41c40
AS
19647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19648 New file.
19649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19650 New file.
c01603f7
AZ
19651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19652 New file.
57f41c40
AS
19653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19654 New file.
19655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19656 New file.
c01603f7
AZ
19657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19658 New file.
19659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19660 New file.
19661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19662 New file.
19663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19664 New file.
19665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19666 New file.
19667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19668 New file.
19669
196702014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19671
0ff82463
AZ
19672 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19673 * shlib-versions: Likewise.
19674
1695c773
AZ
196752014-02-04 Roland McGrath <roland@hack.frob.com>
19676 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19677
19678 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19679 (abilist-pattern): New variable, set to %-le.abilist.
19680
19681 * Makerules (abilist-pattern): New variable.
19682 (vpath): Use $(abilist-pattern) in place of %.abilist.
19683 (check-abi-% pattern rule): Likewise.
19684 (check-abi, update-abi): Likewise.
19685
6c0ce4b4
EW
196862014-02-04 Eric Wong <normalperson@yhbt.net>
19687
19688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19689
481e3524
CD
196902014-02-03 Carlos O'Donell <carlos@redhat.com>
19691
19692 * manual/startup.texi: Add next, previous, and top entries for
19693 the `Program Arguments' and `Environment Variables' nodes.
19694
375592d3
AO
196952014-02-03 Alexandre Oliva <aoliva@redhat.com>
19696
19697 * manual/macros.texi: Add comments before MTASC-safety macros.
19698
f54838ba
AO
19699 * manual/users.texi: Document MTASC-safety properties.
19700
57f41c40
AS
19701 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19702 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
19703 @deftypefun, and add @safety note.
19704 * manual/signal.texi: Move comments that analyze the above
19705 functions to their home place.
19706
fd3daba4
AM
197072014-02-03 Allan McRae <allan@archlinux.org>
19708
19709 * po/sl.po: Update Slovenian translation from translation project.
19710
597636d7
AO
197112014-02-02 Alexandre Oliva <aoliva@redhat.com>
19712
19713 * manual/time.texi (timegm): Add missing blank after @c.
19714 Reported by Joseph Myers <joseph@codesourcery.com>.
19715
ee196e3c
AO
197162014-02-01 Alexandre Oliva <aoliva@redhat.com>
19717
19718 * manual/check-safety.sh: New.
19719 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19720
f8d529d5
AO
19721 * manual/terminal.texi: Document MTASC-safety properties.
19722
de55fdf4
AO
19723 * manual/filesys.texi: Document MTASC-safety properties.
19724
c3299c08
AO
19725 * manual/errno.texi: Document MTASC-safety properties.
19726
06e90b14
AO
19727 * manual/intro.texi: Document safety identifiers and
19728 conditionals.
19729
1acd4371
AO
19730 * manual/string.texi (wcstok): Fix prototype.
19731 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19732
23e5b8cb
AO
19733 * manual/time.texi: Document MTASC-safety properties.
19734
11087373
AO
19735 * manual/string.texi: Document MTASC-safety properties.
19736
5da2c93d
AO
19737 * manual/threads.texi: Document MTASC-safety properties.
19738
171e9210
AO
19739 * manual/stdio.texi: Document MTASC-safety properties.
19740
d9e02532
AO
19741 * manual/syslog.texi: Document MTASC-safety properties.
19742
6af8bab7
AO
19743 * manual/sysinfo.texi: Document MTASC-safety properties.
19744
663b02d7
AO
19745 * manual/startup.texi: Document MTASC-safety properties.
19746
973f180b
AO
19747 * manual/socket.texi: Document MTASC-safety properties.
19748
8f3c25c8
AO
19749 * manual/signal.texi: Document MTASC-safety properties.
19750
542210fb
AO
197512014-01-31 Alexandre Oliva <aoliva@redhat.com>
19752
19753 * manual/setjmp.texi: Document MTASC-safety properties.
19754
433c45a2
AO
19755 * manual/search.texi: Document MTASC-safety properties.
19756
c8ce789c
AO
19757 * manual/resource.texi: Document MTASC-safety properties.
19758
19f5d29c
AO
19759 * manual/process.texi: Document MTASC-safety properties.
19760
e2dfb7f4
AO
19761 * manual/platform.texi: Document MTASC-safety properties.
19762
8c1413f5
AO
19763 * manual/pipe.texi: Document MTASC-safety properties.
19764
03483ada
AO
19765 * manual/pattern.texi: Document MTASC-safety properties.
19766
29e7e2df
AO
19767 * manual/message.texi: Document MTASC-safety properties.
19768
9f529d7c
AO
19769 [BZ #12751]
19770 * manual/memory.texi: Document MTASC-safety properties.
19771
27aaa791
AO
19772 * manual/math.texi: Document MTASC-safety properties.
19773
f2d58726
AO
19774 * manual/locale.texi: Document MTASC-safety properties.
19775
2cc3615c
AO
19776 * manual/llio.texi: Document MTASC-safety properties.
19777
d9f0ec97
AO
19778 * manual/libdl.texi: New.
19779
e7c4409a
AO
19780 * manual/lang.texi: Document MTASC-safety properties.
19781
27bdc63c
AO
19782 * manual/job.texi: Document MTASC-safety properties.
19783
a7b90ea9
AO
19784 * manual/getopt.texi: Document MTASC-safety properties.
19785
c49130e3
AO
19786 * manual/ctype.texi: Document MTASC-safety properties.
19787
0d23a5c1
MR
197882014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19789
19790 [BZ #16046]
19791 * csu/libc-tls.c (static_map): Remove variable.
19792 (__libc_setup_tls): Use main executable's link map for TLS data.
19793 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19794 casing for LM_ID_BASE and GL(dl_nns).
19795 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19796 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19797 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19798 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19799 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19800 member.
19801 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19802 l_phnum members.
19803
0037bb60
AO
198042014-01-30 Alexandre Oliva <aoliva@redhat.com>
19805
19806 * manual/debug.texi: Document MTASC-safety properties.
19807
409e00bd
L
198082014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19809
19810 [BZ #16510]
19811 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19812 of __x86_64__ when disabling x87 inline functions.
19813
86e60666
AO
198142014-01-29 Alexandre Oliva <aoliva@redhat.com>
19815
19816 * manual/charset.texi: Document MTASC-safety properties.
19817
76167637
AO
19818 * manual/crypt.texi: Document MTASC-safety properties.
19819
e567f2a0
AO
19820 * manual/conf.texi: Document MTASC-safety properties.
19821
b719dafd
AO
19822 * manual/arith.texi: Document MTASC-safety properties.
19823
4a16c662
AO
19824 * manual/argp.texi: Document MTASC-safety properties.
19825
0a57b83e
AO
19826 * manual/macros.texi: Introduce macros to document multi
19827 thread, asynchronous signal and asynchronous cancellation
19828 safety properties.
19829 * manual/intro.texi: Introduce the properties themselves.
19830
feab2397
KK
198312014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19832
19833 * sysdeps/sh/sh4/Makefile: New file.
19834
1c0d11bc
AS
198352014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19836
19837 * math/gen-libm-test.pl ($srcdir): New variable.
19838 ($auto_input): Use it.
19839
af37a8a3
SP
198402014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19841
d7b00f98
SP
19842 [BZ #16506]
19843 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19844 access beyond array bounds when parsing netgroups file.
19845
af37a8a3
SP
19846 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19847 the old buffer before realloc.
19848
0c00f062
AM
198492014-01-27 Allan McRae <allan@archlinux.org>
19850
19851 * po/fr.po: Update French translation from translation project.
19852
7d69a1b0
KK
198532014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19854
19855 * sysdeps/sh/libm-test-ulps: Regenerate.
19856
6e697ff7
DM
198572014-01-24 David S. Miller <davem@davemloft.net>
19858
19859 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19860
9cadb35c
KK
198612014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19862
19863 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19864 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19865
5d41dadf
SP
198662013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19867
19868 [BZ #16474]
19869 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19870 string pointers after reallocation.
19871
0bad441c
KK
198722014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19873
19874 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19875 __SH4A__ instead of __SH_FPU_ANY__.
19876
7007c661
KK
198772014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19878
19879 * sysdeps/sh/fpu_control.h: New file.
19880 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19881 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19882 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19883 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19884 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19885 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19886 * sysdeps/sh/sys/ucontext.h: Remove.
19887 * sysdeps/sh/sys: Remove directory.
19888
0f0c35e4
AK
198892014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19890
19891 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19892 s390/sys/ucontext.h.
19893 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19894 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19895
4959e284
L
198962014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19897
19898 [BZ #15605]
19899 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19900
d98720e0
AZ
199012014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19902
19903 [BZ#16431]
19904 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19905 Adjust the vDSO correctly for internal calls.
19906 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19907
91cbd0bc
AM
199082014-01-20 Allan McRae <allan@archlinux.org>
19909
19910 * po/ca.po: Update Catalan translation from translation project.
19911
7a02cfad
MF
199122014-01-16 Mike Frysinger <vapier@gentoo.org>
19913
19914 * sysdeps/s390/sotruss-lib.c: New file.
19915
736c304a
AZ
199162014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19917
19918 [BZ#16430]
6e077ee5 19919 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
19920 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19921 local calls issues by not having a PLT stub required for IFUNC calls.
19922 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19923
94d0cea0
JM
199242014-01-16 Joseph Myers <joseph@codesourcery.com>
19925
19926 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19927 * math/test-fpucw-static.c: Likewise.
19928
980cb518
SP
199292013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19930
19931 [BZ #16453]
19932 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19933
2393fc01
AZ
199342014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19935
19936 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19937 implementation for powerpc.
19938
d359bcc2
OB
199392014-01-15 Ondřej Bílka <neleai@seznam.cz>
19940
19941 [BZ #14782]
19942 * sysdeps/posix/system.c (__libc_system): Do not enable
19943 asynchronous cancellation.
19944
7beb48cb
AK
199452014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19946
19947 [BZ #16427]
19948 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19949 handling only for numbers special also in the IEEE case.
19950
c20d5bf5
AK
199512014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19952
19953 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19954
e83bd4ee
AM
199552014-01-11 Allan McRae <allan@archlinux.org>
19956
76d0ea69
AM
19957 * po/bg.po: Update Bulgarian translation from translation project.
19958
e83bd4ee
AM
19959 * po/de.po: Update German translation from translation project.
19960
bc2ba20a
RM
199612014-01-10 Roland McGrath <roland@hack.frob.com>
19962
19963 * sysdeps/generic/gcc-compat.h: New file.
19964
649ecea2
SP
199652014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19966
19967 * benchtests/asin-inputs: Correct slow inputs.
19968 * benchtests/acos-inputs: Likewise.
19969
1b19c006
AM
199702014-01-10 Allan McRae <allan@archlinux.org>
19971
a46dab08
AM
19972 * po:sv.po: Update Swedish translation from translation project.
19973
421df74a
AM
19974 * po/vi.po: Update Vietnamese translation from translation project.
19975
d61c51a7
AM
19976 * po/eo.po: Update Esperanto translation from translation project.
19977
0339a319
AM
19978 * po/cs.po: Update Czech translation from translation project.
19979
94ad3e99
AM
19980 * po/nl.po: Update Dutch translation from translation project.
19981
e349ca71
AM
19982 * po/pl.po: Update Polish translation from translation project.
19983
ddf930c1
AM
19984 * po/ru.po: Update Russian translation from translation project.
19985
1b19c006
AM
19986 * po/uk.po: Update Ukrainian translation from translation project.
19987
9f236c49
BM
199882014-01-08 Brooks Moses <bmoses@google.com>
19989
19990 * elf/dl-load.c: Fix comment typo.
19991
cd6701cf
CD
199922014-01-08 Carlos O'Donell <carlos@redhat.com>
19993
19994 * po/header.pot: Rename to...
19995 * po/pot.header: ... this.
19996 * po/Makefile: Use pot.header.
19997
66671c84
YK
199982014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19999 Maxim Kuvyrkov <maxim@kugelworks.com>
20000
20001 [BZ #16394]
cd6701cf
CD
20002 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20003 SRC and DEST against LEN.
66671c84 20004
38f34581
AZ
200052014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20006
20007 [BZ #16414]
20008 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20009 implementation.
20010 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20011
200122014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
20013
20014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20015
4c327f2a
JM
200162014-01-08 Joseph Myers <joseph@codesourcery.com>
20017
20018 [BZ #16408]
20019 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20020 for large positive arguments.
20021
b821f414
JM
200222014-01-07 Joseph Myers <joseph@codesourcery.com>
20023
1f0f2067
JM
20024 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20025
a5a326f6
JM
20026 * math/auto-libm-test-in: Mark various tests with
20027 xfail-rounding:ldbl-128ibm.
20028 * math/auto-libm-test-out: Regenerated.
20029
b821f414
JM
20030 [BZ #16407]
20031 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20032 Increase overflow threshold.
20033
94c8a4bc
OB
200342014-01-07 Ondřej Bílka <neleai@seznam.cz>
20035
20036 [BZ #14286]
20037 * stdio-common/vfprintf.c: Check for integer overflow.
20038
87ded0c3
AK
200392014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20040
20041 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20042 the first argument and return value of __tls_get_addr_internal.
20043
c5eebdd0
AK
200442014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20045
20046 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20047 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20048
05d138ef
AK
200492014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20050
20051 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20052 * sysdeps/s390/rtld-global-offsets.sym: New file.
20053 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20054 GLIBC_2.19 symbol.
20055 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20056 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20057 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20058 ... this.
20059 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20060 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20061 ... this.
20062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20063 Regenerate.
20064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20065 Regenerate.
20066 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20067 halfs of GPRs for high_gprs contexts.
20068 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20069 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
20070 field.
20071 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20072 uc_flags field.
20073 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20074 64 bit versions:
20075 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20076 for high GPRs (uc_high_gprs) and for future extensions
20077 (__reserved).
20078 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20079 for future extensions (__reserved).
20080 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20081 64 bit versions:
20082 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20083 SC_HIGHGPRS offset definition.
20084 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20085 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20086
93a45ff1
AK
20087 * Versions.def: Add GLIBC_2.19 for libpthread.
20088 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20089 siglongjmp for libpthread with GLIBC_2.19 symver.
20090 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20091 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20092 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20093 * sysdeps/s390/__longjmp.c: New file.
20094 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20095 * sysdeps/s390/longjmp.c: New file.
20096 * sysdeps/s390/setjmp.S: New file.
20097 * sysdeps/s390/sigjmp.S: New file.
20098 * sysdeps/s390/v1-longjmp.c: New file.
20099 * sysdeps/s390/v1-setjmp.h: New file.
20100 * sysdeps/s390/v1-sigjmp.c: New file.
20101 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20102 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20103 GLIBC_2.19 version.
20104 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20105 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20106 versioned symbols for ____longjmp_chk.
20107 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20108 Likewise.
20109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20110 Regenerate.
20111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20112 Regenerate.
20113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20114 Regenerate.
20115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20116 Regenerate.
20117 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20118 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20119 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20120 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20121 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20122 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20123 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20124 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20125 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20126 * sysdeps/s390/rtld-__longjmp.c: New file.
20127 * sysdeps/s390/rtld-setjmp.S: New file.
20128
eb3fc44b
JM
201292014-01-06 Joseph Myers <joseph@codesourcery.com>
20130
20131 [BZ #16400]
20132 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20133 Return -__logl (x) for small positive arguments without evaluating
20134 a polynomial.
20135
9341dde4
MF
201362014-01-06 Mike Frysinger <vapier@gentoo.org>
20137
20138 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20139 Rename to ...
20140 (__ptrace_peeksiginfo_args): ... this.
20141 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20142 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20143 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20144
4cff0293
AM
201452014-01-06 Allan McRae <allan@archlinux.org>
20146
20147 * inet/netinet/in.h: Fix typo in comment.
20148
75595dcf
AJ
201492014-01-05 Andreas Jaeger <aj@suse.de>
20150
20151 * sysdeps/i386/fpu/libm-test-ulps: Update.
20152
79c1e109
AM
201532014-01-05 Allan McRae <allan@archlinux.org>
20154
dd804818
AM
20155 * po/libc.pot: Regenerated.
20156
79c1e109
AM
20157 * malloc/memusagestat.c: Fix gettext call formatting.
20158
0c813d1f
SK
201592014-01-04 Sami Kerola <kerolasa@iki.fi>
20160
20161 * nscd/nscd.c: Improve usage() output.
20162
20f4a8d9
MF
201632014-01-04 Mike Frysinger <vapier@gentoo.org>
20164
20165 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20166 * sysdeps/unix/sysv/linux/configure: Regenerated.
20167 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20168 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20169
22562bb2
JM
201702014-01-03 Joseph Myers <joseph@codesourcery.com>
20171
20172 [BZ #16390]
20173 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20174 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20175
d7ad2d9b
AZ
201762014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20177
20178 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20179 extra tokens at end of #undef directive.
20180 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20181 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20182 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20183
7dd009d8
JM
201842014-01-03 Joseph Myers <joseph@codesourcery.com>
20185
24db925a
JM
20186 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20187
7dd009d8
JM
20188 * math/auto-libm-test-in: Mark various tests with
20189 xfail-rounding:ldbl-128ibm.
20190 * math/auto-libm-test-out: Regenerated.
20191
396e3ecf
JM
201922014-01-02 Joseph Myers <joseph@codesourcery.com>
20193
819e5d50
JM
20194 [BZ #16386]
20195 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20196 numbers with subnormal high part when calculating exponent.
20197
90b6a1e5
JM
20198 [BZ #16385]
20199 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20200 fabs.
20201
396e3ecf
JM
20202 [BZ #16384]
20203 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20204 M_LN2l.
20205 (__ieee754_acoshl): Use __log1pl not __log1p.
20206
6c8dbf00
OB
202072013-01-02 Ondřej Bílka <neleai@seznam.cz>
20208
57f41c40
AS
20209 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20210 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20211 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20212 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20213 (reused_arena, arena_get2): Convert to GNU style.
20214 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20215 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20216 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 20217 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
20218 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20219 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20220 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20221 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20222 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20223 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 20224 * malloc/malloc.h: Likewise.
57f41c40
AS
20225 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20226 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 20227 * malloc/mcheck.h: Likewise.
57f41c40
AS
20228 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20229 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
20230 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20231 * malloc/morecore.c (__default_morecore): Likewise.
20232 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
20233 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20234 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20235 (print_and_abort): Likewise.
6c8dbf00
OB
20236 * malloc/obstack.h: Likewise.
20237 * malloc/set-freeres.c (__libc_freeres): Likewise.
20238 * malloc/tst-mallocstate.c (main): Likewise.
20239 * malloc/tst-mtrace.c (main): Likewise.
20240 * malloc/tst-realloc.c (do_test): Likewise.
20241
d4124212
SP
202422013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20243
9a3c6a6f
SP
20244 [BZ #16366]
20245 * nscd/netgroupcache.c (do_notfound): New function.
20246 (addgetnetgrentX): Use it.
20247
d4124212
SP
20248 [BZ # 16365]
20249 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20250 NSS_STATUS_NOTFOUND.
20251
97b9a009
JM
202522014-01-01 Joseph Myers <joseph@codesourcery.com>
20253
20254 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20256
d4697bc9
AM
202572014-01-01 Allan McRae <allan@archlinux.org>
20258
ddb3687f
AM
20259 * scripts/update-copyrights: Update configure input file suffix.
20260
88726d48
AM
20261 * NEWS: Update copyright year.
20262 * catgets/gencat.c: Likewise.
20263 * csu/version.c: Likewise.
20264 * debug/catchsegv.sh: Likewise.
20265 * debug/pcprofiledump.c: Likewise.
20266 * debug/xtrace.sh: Likewise.
20267 * elf/ldconfig.c: Likewise.
20268 * elf/ldd.bash.in: Likewise.
20269 * elf/pldd.c: Likewise.
20270 * elf/sotruss.ksh: Likewise.
20271 * elf/sprof.c: Likewise.
20272 * iconv/iconv_prog.c: Likewise.
20273 * iconv/iconvconfig.c: Likewise.
20274 * locale/programs/locale.c: Likewise.
20275 * locale/programs/localedef.c: Likewise.
20276 * login/programs/pt_chown.c: Likewise.
20277 * malloc/memusage.sh: Likewise.
20278 * malloc/memusagestat.c: Likewise.
20279 * malloc/mtrace.pl: Likewise.
20280 * manual/libc.texinfo: Likewise.
20281 * nscd/nscd.c: Likewise.
20282 * nss/getent.c: Likewise.
20283 * nss/makedb.c: Likewise.
20284 * posix/getconf.c: Likewise.
20285 * scripts/test-installation.pl: Likewise.
20286
d4697bc9
AM
20287 * All files with FSF copyright notices: Update copyright dates
20288 using scripts/update-copyrights.
20289 * intl/plural.c: Regenerated.
20290 * locale/programs/charmap-kw.h: Likewise.
20291 * locale/programs/locfile-kw.h: Likewise.
20292
c8590f9d
MF
202932013-12-31 Mike Frysinger <vapier@gentoo.org>
20294
20295 * sysdeps/unix/sysv/linux/configure: Regenerated.
20296 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20297 the linux/fanotify.h header.
20298 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20299 HAVE_LINUX_FANOTIFY_H is defined.
20300
b19221b9
SP
203012013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20302
dd1d85e5
SP
20303 * benchtests/cos-inputs: New inputs.
20304 * benchtests/sin-inputs: Likewise.
20305
1acbb90f
SP
20306 * benchtests/atan-inputs: New inputs. Fix name of multiple
20307 precision fallback inputs.
20308
4c012ed3
SP
20309 * benchtests/atanh-inputs: New inputs.
20310 * benchtests/tanh-inputs: Likewise.
20311
eff98324
SP
20312 * benchtests/acosh-inputs: New inputs.
20313 * benchtests/asinh-inputs: Likewise.
20314
ce641152
SP
20315 * benchtests/cosh-inputs: New inputs.
20316 * benchtests/sinh-inputs: Likewise.
20317
b19221b9
SP
20318 * benchtests/acos-inputs: Add more inputs.
20319 * benchtests/asin-inputs: Likewise.
20320
030a4976 203212013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 20322
030a4976 20323 [BZ #16375]
9dcc8f11
VS
20324 * manual/arith.texi: Fix spelling.
20325 * manual/charset.texi: Likewise.
20326 * manual/errno.texi: Likewise.
20327 * manual/filesys.texi: Likewise.
20328 * manual/lang.texi: Likewise.
20329 * manual/llio.texi: Likewise.
20330 * manual/locale.texi: Likewise.
20331 * manual/message.texi: Likewise.
20332 * manual/resource.texi: Likewise.
20333 * manual/search.texi: Likewise.
20334 * manual/setjmp.texi: Likewise.
20335 * manual/stdio.texi: Likewise.
20336 * manual/string.texi: Likewise.
20337 * manual/sysinfo.texi: Likewise.
20338 * manual/time.texi: Likewise.
20339
11520a57
CD
203402013-12-27 Carlos O'Donell <carlos@redhat.com>
20341
20342 * po/sl.po: New file.
20343
471103ae
MF
203442013-12-27 Mike Frysinger <vapier@gentoo.org>
20345
20346 * .gitignore: Add core/.gdbinit/.gdb_history.
20347
6c9642ed
AM
203482013-12-27 Allan McRae <allan@archlinux.org>
20349
20350 [BZ #16369]
20351 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20352 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20353
3f637079
BM
203542013-12-24 Brooks Moses <bmoses@google.com>
20355
20356 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20357 all compilers that claim C++98 compliance, not just GCC.
20358 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20359 Likewise.
20360
abc26e99
MK
203612013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20362
20363 * NEWS: Restore accidentally deleted bug-fix entries.
20364
362b47fe
MK
203652013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20366 Ondřej Bílka <neleai@seznam.cz>
20367
20368 [BZ #15073]
20369 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 20370 have_lock.
362b47fe 20371
b9bcbbcb
OB
203722013-12-23 Ondřej Bílka <neleai@seznam.cz>
20373
20374 [BZ #12986]
20375 * manual/stdio.texi (String Input Conversions): Clarify that character
20376 classes are not supported.
20377
fb55fcd2
AZ
203782013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20379
20380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20381
ef7344f0
JM
203822013-12-22 Joseph Myers <joseph@codesourcery.com>
20383
4f40e4b3
JM
20384 [BZ #16337]
20385 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20386 Calculate results for small negative arguments directly rather
20387 than using reflection formula with special underflow handling.
20388
ef7344f0
JM
20389 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20390 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20391 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20392 (fchflags): Likewise.
20393 (revoke): Likewise.
20394 (setlogin): Likewise.
20395 (sigaltstack): Likewise.
20396 (wait4): Likewise.
20397 (sigblock): Remove.
20398 (sigsetmask): Likewise.
20399 (wait3): Likewise.
20400 (waitpid): Likewise.
20401 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20402 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20403 file.
20404 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20405 * sysdeps/unix/bsd/Makefile: ... here.
20406 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20407 * sysdeps/unix/bsd/Versions: ... here.
20408 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20409 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20410 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20411 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20412 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20413 * sysdeps/unix/bsd/sigblock.c: ... here.
20414 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20415 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20416 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20417 * sysdeps/unix/bsd/sigvec.c: ... here.
20418 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20419 * sysdeps/unix/bsd/tcdrain.c: ... here.
20420 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20421 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20422 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20423 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20424 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20425 * sysdeps/unix/bsd/wait.c: ... here.
20426 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20427 * sysdeps/unix/bsd/wait3.c: ... here.
20428 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20429 * sysdeps/unix/bsd/waitpid.c: ... here.
20430
5b0626b9
JM
204312013-12-21 Joseph Myers <joseph@codesourcery.com>
20432
20433 [BZ #16356]
20434 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20435 round-to-nearest for [!USE_AS_EXPM1L].
20436 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20437 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20438 more tests of exp and exp10. Expect some exp10 tests to miss
20439 exceptions or fail in directed rounding modes.
20440 * math/auto-libm-test-out: Regenerated.
20441 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20442 (exp10_test_tonearest): New function.
20443 (exp10_towardzero_test_data): New array.
20444 (exp10_test_towardzero): New function.
20445 (exp10_downward_test_data): New array.
20446 (exp10_test_downward): New function.
20447 (exp10_upward_test_data): New array.
20448 (exp10_test_upward): New function.
20449 (main): Call the new functions.
20450 * sysdeps/i386/fpu/libm-test-ulps: Update.
20451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20452
7fda5682
JM
204532013-12-20 Joseph Myers <joseph@codesourcery.com>
20454
31e3a405
JM
20455 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20456 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20457 * math/auto-libm-test-out: Regenerated.
20458 * math/libm-test.inc (acosh_test_data): Add more tests.
20459 (atanh_test_data): Likewise.
20460 (ceil_test_data): Likewise.
20461 (copysign_test_data): Likewise.
20462 * sysdeps/i386/fpu/libm-test-ulps: Update.
20463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20464
85bff96a
JM
20465 * timezone/checktab.awk: Update from tzcode 2013i.
20466 * timezone/private.h: Likewise.
20467 * timezone/scheck.c: Likewise.
20468 * timezone/tzfile.h: Likewise.
20469 * timezone/tzselect.ksh: Likewise.
20470 * timezone/zdump.c: Likewise.
20471 * timezone/zic.c: Likewise.
20472
b7867a3b
JM
20473 * math/auto-libm-test-in: Add tests of cpow.
20474 * math/auto-libm-test-out: Regenerated.
20475 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 20476 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
20477 mpc_cc_c.
20478 (func_calc_desc): Add mpc_cc_c union field.
20479 (test_functions): Add cpow.
20480 (special_fill_2pi): New function.
20481 (special_real_inputs): Add 2pi.
20482 (calc_generic_results): Handle mpc_cc_c.
20483 * sysdeps/i386/fpu/libm-test-ulps: Update.
20484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20485
7fda5682
JM
20486 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20487 csqrt, ctan and ctanh.
20488 * math/auto-libm-test-out: Regenerated.
20489 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20490 (TEST_COND_x86): Likewise.
20491 (ccos_test_data): Use AUTO_TESTS_c_c.
20492 (ccosh_test_data): Likewise.
20493 (cexp_test_data): Likewise.
20494 (clog_test_data): Likewise.
20495 (csqrt_test_data): Likewise.
20496 (ctan_test_data): Likewise.
20497 (ctan_tonearest_test_data): Likewise.
20498 (ctan_towardzero_test_data): Likewise.
20499 (ctan_downward_test_data): Likewise.
20500 (ctan_upward_test_data): Likewise.
20501 (ctanh_test_data): Likewise.
20502 (ctanh_tonearest_test_data): Likewise.
20503 (ctanh_towardzero_test_data): Likewise.
20504 (ctanh_downward_test_data): Likewise.
20505 (ctanh_upward_test_data): Likewise.
20506 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20507 mpc_c_c.
20508 (func_calc_desc): Add mpc_c_c union field.
20509 (FUNC_mpc_c_c): New macro.
20510 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20511 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20512 ctanh.
20513 (special_fill_min_subnorm_p120): New function.
20514 (special_real_inputs): Add min_subnorm_p120.
20515 (calc_generic_results): Handle mpc_c_c.
20516 * sysdeps/i386/fpu/libm-test-ulps: Update.
20517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20518
5ff8d60e
SP
205192013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20520
57f41c40
AS
20521 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20522 (do_sin_slow): New functions.
20523 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20524 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 20525
84ba214c
SP
20526 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20527 Use M to change sign of result instead of X. Assume X is
20528 positive.
20529 (csloww1): Likewise.
20530 (__sin): Adjust.
20531 (__cos): Adjust.
20532
975195e4
SP
20533 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20534 arguments A and DA.
20535 (__sin): Adjust.
20536 (__cos): Likewise.
20537
5ff8d60e
SP
20538 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20539 (__cos): Likewise.
20540 (sloww1): Don't adjust sign of DX.
20541 (csloww1): Likewise.
20542 (sloww2): Use X directly and don't adjust sign of DX.
20543 (csloww2): Likewise.
20544
eb983568
JM
205452013-12-19 Joseph Myers <joseph@codesourcery.com>
20546
64a17f1a
JM
20547 * math/auto-libm-test-in: Add tests of cabs and carg.
20548 * math/auto-libm-test-out: Regenerated.
20549 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20550 (carg_test_data): Likewise.
20551 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20552 mpc_c_f.
20553 (func_calc_desc): Add mpc_c_f union field.
20554 (test_functions): Add cabs and carg.
20555 (calc_generic_results): Handle mpc_c_f.
20556
eb983568
JM
20557 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20558 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20559 as a macro and a compat symbol.
20560 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20561 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20562 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20563 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20564 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20565 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20566 not use .hidden.
20567 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20568 Likewise.
20569 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20570 Likewise.
20571 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20572 Likewise.
20573 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20574 Likewise.
20575 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20576 Likewise.
20577 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20578 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20579 from GLIBC_2.3.2.
20580
6eeb678a
AZ
205812013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20582
20583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20584
6f6fc482
JM
205852013-12-19 Joseph Myers <joseph@codesourcery.com>
20586
21fea2e2
JM
20587 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20588 trailing whitespace removed.
20589 * scripts/config.guess: Update to version 2013-11-29.
20590 * scripts/config.sub: Update to version 2013-10-01.
20591
6f6fc482
JM
20592 * math/auto-libm-test-in: Add tests of sincos.
20593 * math/auto-libm-test-out: Regenerated.
20594 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20595 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20596 mpfr_f_11.
20597 (func_calc_desc): Add mpfr_f_11 union field.
20598 (test_functions): Add sincos.
20599 (calc_generic_results): Handle mpfr_f_11.
20600 * sysdeps/i386/fpu/libm-test-ulps: Update.
20601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20602
83f5c32d
AS
206032013-12-19 Andreas Schwab <schwab@suse.de>
20604
20605 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20606 CALL_MCOUNT.
20607 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20608 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20609 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20610
c688b419
JM
206112013-12-19 Joseph Myers <joseph@codesourcery.com>
20612
335ee092
JM
20613 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20614 * sysdeps/i386/fpu/libm-test-ulps: Update.
20615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20616
f88acd39
JM
20617 [BZ #16293]
20618 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20619 round-to-nearest mode when using frndint.
20620 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20621 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20622 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20623 Likewise.
20624 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20625 sinh test to fail.
20626 * math/auto-libm-test-out: Regenerated.
20627 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20628 (TEST_COND_x86): Likewise.
20629 (expm1_tonearest_test_data): New array.
20630 (expm1_test_tonearest): New function.
20631 (expm1_towardzero_test_data): New array.
20632 (expm1_test_towardzero): New function.
20633 (expm1_downward_test_data): New array.
20634 (expm1_test_downward): New function.
20635 (expm1_upward_test_data): New array.
20636 (expm1_test_upward): New function.
20637 (main): Run the new test functions.
20638 * sysdeps/i386/fpu/libm-test-ulps: Update.
20639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20640
c688b419
JM
20641 * include/features.h: Update comment documenting feature test
20642 macros. Mention _DEFAULT_SOURCE in comment.
20643 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20644 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20645 _BSD_SOURCE and _SVID_SOURCE.
20646 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20647 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20648 !_SVID_SOURCE]: Likewise.
20649 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20650 (__USE_POSIX_IMPLICITLY): Define.
20651 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20652 (_POSIX_SOURCE): Undefine and redefine.
20653 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20654 (_POSIX_C_SOURCE): Likewise.
20655 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20656 (Feature Test Macros): Update documentation of default features.
20657
9f6e964c
RS
206582013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20659
20660 * benchtests/Makefile: Add bench-strtok.
20661 * benchtests/bench-strtok.c: New file: strtok benchtest.
20662
ee0a148a
AM
206632013-12-19 Allan McRae <allan@archlinux.org>
20664
20665 * manual/install.texi: Suppress menu for plain text output.
20666 * INSTALL: Regenerated.
20667
b9ab448f
BM
206682013-12-18 Brooks Moses <bmoses@google.com>
20669
20670 [BZ #15846]
20671 * misc/getauxval.c: Include errno.h.
20672 (__getauxval): Set errno to ENOENT if the requested type is not
20673 found.
20674 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20675 don't declare with __attribute_const__.
20676 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20677 * manual/startup.texi: Document that getauxval sets errno.
20678
23776487
JM
206792013-12-18 Joseph Myers <joseph@codesourcery.com>
20680
f889953b
JM
20681 * math/auto-libm-test-in: Add tests of jn and yn.
20682 * math/auto-libm-test-out: Regenerated.
20683 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20684 (yn_test_data): Likewise.
20685 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20686 mpfr_if_f.
20687 (func_calc_desc): Add mpfr_if_f union field.
20688 (FUNC_mpfr_if_f): New macro.
20689 (test_functions): Add jn and yn.
20690 (calc_generic_results): Assert type of second input for
20691 mpfr_ff_f. Handle mpfr_if_f.
20692 (output_for_one_input_case): Disable all checking for arguments
20693 fitting floating-point types in case of an integer argument.
20694 * sysdeps/i386/fpu/libm-test-ulps: Update.
20695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20696
23776487
JM
20697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20698 Don't expect fegetround reference in libm.so.
20699
cb756c6d
MS
207002013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20701
20702 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20703 $(config-cflags-nofma).
20704
2dec468f
JM
207052013-12-18 Joseph Myers <joseph@codesourcery.com>
20706
5953eb3a
JM
20707 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20708 * math/auto-libm-test-out: Regenerated.
20709
2dec468f
JM
20710 [BZ #16338]
20711 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20712 to determine exponent and adjust argument to have exponent of -1.
20713 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20714 log2.
20715 * math/auto-libm-test-out: Regenerated.
20716 * sysdeps/i386/fpu/libm-test-ulps: Update.
20717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20718
4d84e6ad
OB
207192013-12-18 Ondřej Bílka <neleai@seznam.cz>
20720
20721 * manual/probes.texi: Remove cases when per-thread arenas are
20722 disabled.
20723
1818483b
AS
207242013-12-18 Andreas Schwab <schwab@suse.de>
20725
20726 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20727 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20728 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20729 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20730 * sysdeps/i386/i686/multiarch/Makefile: Update.
20731 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20732
25de95bf
JM
207332013-12-17 Joseph Myers <joseph@codesourcery.com>
20734
20735 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20736 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20737
674762d9
PE
207382013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20739
ed27ed83 20740 [BZ #15968]
0748546f
PE
20741 Support TZ transition times < 00:00:00.
20742 This is needed for version-3 tz-format files; it supports time
20743 stamps past 2037 for America/Godthab (the only entry in the tz
20744 database for which this change is relevant).
20745 * manual/time.texi (TZ Variable): Document transition times
20746 from -167:59:59 through -00:00:01.
20747 * time/tzset.c (tz_rule): Time of day is now signed.
20748 (__tzset_parse_tz): Parse negative time of day.
20749
4480e934
PE
20750 Document TZ transition times >= 25:00:00.
20751 * manual/time.texi (TZ Variable): Document transition times from
20752 25:00:00 through 167:59:59. These are already supported, and this
20753 support will help with version-3 tz-format files.
20754
69947401
PE
20755 * manual/time.texi (TZ Variable): Modernize North America example
20756 to reflect current (i.e., 2007-and-later) daylight saving rules.
20757
674762d9
PE
20758 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20759
7011c262
JM
207602013-12-17 Joseph Myers <joseph@codesourcery.com>
20761
2fc6557e
JM
20762 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20763 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20764 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20765 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20766 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20767 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20768 * sysdeps/unix/bsd/clock.c: Likewise.
20769 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20770 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20771 * sysdeps/unix/bsd/init-posix.c: Likewise.
20772 * sysdeps/unix/bsd/poll.c: Likewise.
20773 * sysdeps/unix/bsd/ptsname.c: Likewise.
20774 * sysdeps/unix/bsd/seekdir.c: Likewise.
20775 * sysdeps/unix/bsd/setegid.c: Likewise.
20776 * sysdeps/unix/bsd/seteuid.c: Likewise.
20777 * sysdeps/unix/bsd/setgid.c: Likewise.
20778 * sysdeps/unix/bsd/setrgid.c: Likewise.
20779 * sysdeps/unix/bsd/setruid.c: Likewise.
20780 * sysdeps/unix/bsd/setsid.c: Likewise.
20781 * sysdeps/unix/bsd/setuid.c: Likewise.
20782 * sysdeps/unix/bsd/sigaction.c: Likewise.
20783 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20784 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20785 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20786 * sysdeps/unix/bsd/telldir.c: Likewise.
20787 * sysdeps/unix/bsd/times.c: Likewise.
20788 * sysdeps/unix/bsd/usleep.c: Likewise.
20789
029c7b25
JM
20790 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20791 ($(objpfx)libbsd-compat.a): Remove rule.
20792
7011c262
JM
20793 * include/features.h (__FAVOR_BSD): Do not define.
20794 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20795 features conflicting with POSIX.
20796 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20797 (_BSD_SOURCE): Remove description of not being a subset of other
20798 feature test macros.
20799 * manual/job.texi (getpgrp): Do not document BSD version.
20800 (getpgid): Do not document by reference to BSD getpgrp.
20801 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20802 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20803 * signal/signal.h [__FAVOR_BSD]: Likewise.
20804 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20805 instead of making contents conditional on [__FAVOR_BSD].
20806 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20807
affb6f78
AZ
208082013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20809
20810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20811
c88769dd
JM
208122013-12-17 Joseph Myers <joseph@codesourcery.com>
20813
6432a540
JM
20814 [BZ #16314]
20815 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20816 values below 2**-450, not 2**-500.
20817 * math/auto-libm-test-in: Don't allow spurious underflow from
20818 hypot.
20819 * math/auto-libm-test-out: Regenerated.
20820
c88769dd
JM
20821 [BZ #16316]
20822 [BZ #16330]
20823 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20824 values of ha and hb and sort them after adjusting subnormal
20825 arguments.
20826 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20827 Likewise.
20828 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20829 values of ea and eb and sort them after adjusting subnormal
20830 arguments.
20831 * math/auto-libm-test-in: Do not expect some hypot tests of
20832 subnormals to fail. Add more hypot tests.
20833 * math/auto-libm-test-out: Regenerated.
20834
29618f6b
KK
208352013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20836
20837 [BZ #13304]
20838 * sysdeps/sh/s_fma.c: New file.
20839 * sysdeps/sh/s_fmaf.c: New file.
20840 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20841 version.
20842 * sysdeps/sh/Implies: Add sh/soft-fp.
20843
eacfdfbf
RM
208442013-12-16 Roland McGrath <roland@hack.frob.com>
20845
20846 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20847 level of indirection to members `objname', `errstring', `malloced'.
20848 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20849 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20850 it as the __longjmp argument (just pass 1 instead).
20851 (_dl_catch_error): Initialize C with argument pointers and address of
20852 volatile local ERRCODE rather than copying values out of C at return.
20853
ff362e5b
JM
208542013-12-16 Joseph Myers <joseph@codesourcery.com>
20855
20856 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20857 * math/auto-libm-test-out: Regenerated.
20858 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20859 (hypot_test_data): Likewise.
20860 (pow_test_data): Likewise.
20861 (pow_tonearest_test_data): Likewise.
20862 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20863 mpfr_ff_f.
20864 (func_calc_desc): Add mpfr_ff_f union field.
20865 (FUNC_mpfr_ff_f): New macro.
20866 (test_functions): Add atan2, hypot and pow.
20867 (special_fill_min): New function.
20868 (special_fill_minus_min): Likewise.
20869 (special_fill_min_subnorm): Likewise.
20870 (special_fill_minus_min_subnorm): Likewise.
20871 (special_real_inputs): Add min, -min, min_subnorm and
20872 -min_subnorm.
20873 (calc_generic_results): Handle mpfr_ff_f.
20874 * sysdeps/i386/fpu/libm-test-ulps: Update.
20875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20876
5764c27f
WN
208772013-12-16 Will Newton <will.newton@linaro.org>
20878
20879 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20880 (Aligned Memory Blocks): Add documentation for aligned_alloc
20881 and suggest it as an alternative to posix_memalign.
20882 (Hooks for Malloc): Document __memalign_hook is also called
20883 for aligned_alloc. (Summary of Malloc): Add summary for
20884 aligned alloc. Document __memalign_hook is also called
20885 for aligned_alloc.
20886
0a096e44
WN
208872013-12-16 Will Newton <will.newton@linaro.org>
20888
20889 * manual/memory.texi (Malloc Examples): Clarify default
20890 alignment documentation. Suggest posix_memalign rather
20891 than memalign or valloc.
20892 (Aligned Memory Blocks): Remove suggestion to use memalign
20893 or valloc. Remove obsolete comment about BSD.
20894 Document memalign errno values and mark the function obsolete.
20895 Document posix_memalign returned error codes. Mark valloc
20896 as obsolete. (Hooks for Malloc): __memalign_hook is also
20897 called for posix_memalign and valloc.
20898 (Summary of Malloc): Add posix_memalign to function summary.
20899 __memalign_hook is also called for posix_memalign and valloc.
20900
8d561986
SP
209012013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20902
20903 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20904 TAYLOR_SIN.
20905 (__sin): Adjust.
20906 (__cos): Likewise.
20907 (sloww): Use mynumber union. Expand ternary operator into
20908 if-else statements.
20909 (cslow): use mynumber union.
20910
73616a74
AM
209112013-12-16 Allan McRae <allan@archlinux.org>
20912
9e8ac24b
AM
20913 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20914 * configure: Regenerated.
20915
6f8e37eb
AM
20916 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20917
8894bad3
AM
20918 [BZ #14120]
20919 * configure.ac: Added --enable-maintainer-mode. Check for
20920 autoconf when enabled.
20921 * configure: Regenerated.
20922
73616a74
AM
20923 * nscd/nscd.service: New file.
20924 * nscd/nscd.tmpfiles: New file.
20925
584b18eb
OB
209262013-12-14 Ondřej Bílka <neleai@seznam.cz>
20927
20928 [BZ #12100]
20929 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20930 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20931 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20932 (strstr): Add __strstr_sse2_unaligned ifunc.
20933 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20934 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20935 (strcasestr): Remove __strcasestr_sse42 ifunc.
20936 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20937 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20939
8a5c7897
KK
209402013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20941
20942 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20943 * sysdeps/sh/bits/fenv.h: ... here.
20944 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20945
fd712ef3
AZ
209462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20947
20948 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20949
42fcb46c
AZ
20950 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20951 hypotf multiarch implementations.
20952 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20953 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20954 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20955 multiarch hypot for PPC64.
20956 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20957 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20958 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20959 multiarch hypotf for PPC64.
20960
83efded4
AZ
20961 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20962 modff multiarch implementations.
20963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20966 multiarch modf for PPC64.
20967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20970 multiarch modff for PPC64.
20971
43e246d2
AZ
20972 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20973 and logl multiarch implementations.
20974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20977 multiarch logb for PPC64.
20978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20981 multiarch logb for PPC64.
20982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20985 multiarch logb for PPC64.
20986
8fdad123
AZ
20987 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20988 isinff multiarch implementation.
20989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20990 file.
20991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20993 multiarch isinf for PPC64.
20994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20995 file.
20996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20997 multiarch isinff for PPC64.
20998
1481d706
AZ
20999 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21000 finitef multiarch implementation.
21001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21002 file.
21003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21005 multiarch finite for PPC64.
21006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21007 file.
21008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21009 multiarch finitef for PPC64.
21010
5ccd5fc8
AZ
21011 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21012 lrint multiarch implementation.
21013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21014 file.
21015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21017 multiarch llrint for PPC64.
21018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21019 multiarch lrint for PPC64.
21020
2568f3fa
AZ
21021 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21022 copysignf multiarch implementation.
21023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21024 file.
21025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21026 file.
21027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21028 multiarch copysign for PPC64.
21029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21030 multiarch copysignf for PPC64.
21031
1cb341fd
AZ
21032 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21033 multiarch implementation.
21034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21035 file.
21036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21037 file.
21038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21039 file.
21040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21041 file.
21042 multiarch llround for PPC64.
21043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21044 multiarch trunc for PPC64.
21045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21046 multiarch truncf for PPC64.
21047
59a3e194
AZ
21048 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21049 multiarch implementation.
21050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21051 file.
21052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21053 file.
21054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21055 file.
21056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21057 file.
21058 multiarch llround for PPC64.
21059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21060 multiarch round for PPC64.
21061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21062 multiarch roundf for PPC64.
21063
357fd3b4
AZ
21064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21065 multiarch implementation.
21066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21067 file.
21068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21069 file.
21070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21071 file.
21072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21073 file.
21074 multiarch llround for PPC64.
21075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21076 multiarch floor for PPC64.
21077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21078 multiarch floorf for PPC64.
21079
96770f12
AZ
21080 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21081 multiarch implementation.
21082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21083 file.
21084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21085 file.
21086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21087 file.
21088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21089 file.
21090 multiarch llround for PPC64.
21091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21092 multiarch ceil for PPC64.
21093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21094 multiarch ceilf for PPC64.
21095
c3627f6e
AZ
21096 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21097 multiarch implementation.
21098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21099 file.
21100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21101 file.
21102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21103 file.
21104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21105 multiarch llround for PPC64.
21106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21107 multiarch lround for PPC64.
21108
b2284ad7
AZ
21109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21110 multiarch implementation.
21111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21114 file.
21115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21118 multiarch isnan for PPC64.
21119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21120 multiarch isnanf for PPC64.
21121
69bbc63d
AZ
21122 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21123 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21124 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21125 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21126 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21128
c24517c9
AZ
21129 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21130 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21131 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21132 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21133
a52374e8
AZ
21134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21135 multiarch implementations.
21136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21137 (__libc_ifunc_impl_list): Likewise.
21138 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21139 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21140 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21141 multiarch stpcpy for PPC64.
21142
7f5ec113
AZ
21143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21144 multiarch implementations.
21145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21146 (__libc_ifunc_impl_list): Likewise.
21147 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21148 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21149 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21150 multiarch strcpy for PPC64.
21151
e28bcd42
AZ
21152 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21153 redefine function name.
21154 (_wordcopy_fwd_dest_aligned): Likewise.
21155 (_wordcopy_bwd_aligned): Likewise.
21156 (_wordcopy_bwd_dest_aligned): Likewise.
21157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21158 multiarch implementations.
21159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21160 (__libc_ifunc_impl_list): Likewise.
21161 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21162 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21163 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21164 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21165 multiarch wcscpy for PPC64.
21166
92cacfce
AZ
21167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21168 multiarch implementations.
21169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21170 (__libc_ifunc_impl_list): Likewise.
21171 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21172 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21173 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21174 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21175 multiarch wcscpy for PPC64.
21176
7b714620
AZ
21177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21178 multiarch implementations.
21179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21180 (__libc_ifunc_impl_list): Likewise.
21181 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21182 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21183 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21184 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21185 multiarch wcsrchr for PPC64.
21186
16fd2ae3
AZ
21187 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21188 multiarch implementations.
21189 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21190 (__libc_ifunc_impl_list): Likewise.
21191 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21192 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21193 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21194 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21195 multiarch wcschr for PPC64.
21196
9ee2969b
AZ
21197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21198 multiarch implementations.
21199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21200 (__libc_ifunc_impl_list): Likewise.
21201 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21202 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21203 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21204 multiarch strchrnul for PPC64.
21205
372dc060
AZ
21206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21207 implementations.
21208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21209 (__libc_ifunc_impl_list): Likewise.
21210 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21211 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21212 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21213 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21214 strchr for PPC64.
21215
24c2c3b9
AZ
21216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21217 implementations.
21218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21219 (__libc_ifunc_impl_list): Likewise.
21220 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21221 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21222 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21223 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21224 strncmp for PPC64.
21225
1c92d9a0
AZ
21226 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21227 multiarch implementations.
21228 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21229 (__libc_ifunc_impl_list): Likewise.
21230 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21231 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21232 strncasecmp for PPC64.
21233 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21234 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21235 multiarch strncasecmp_l for PPC64.
21236
17de3ee3
AZ
21237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21238 multiarch implementations.
21239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21240 (__libc_ifunc_impl_list): Likewise.
21241 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21242 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21243 multiarch strcasecmp for PPC64.
21244 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21245 file.
21246 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21247 multiarch strcasecmp_l for PPC64.
21248
62982bf9
AZ
21249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21250 implementations.
21251 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21252 (__libc_ifunc_impl_list): Likewise.
21253 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21254 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21255 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21256 strnlen for PPC64.
21257
a65f4904
AZ
21258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21259 implementations.
21260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21261 (__libc_ifunc_impl_list): Likewise.
21262 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21263 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21264 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21265 strlen for PPC64.
21266
1fd005ad
AZ
21267 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21268 implementations.
21269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21270 (__libc_ifunc_impl_list): Likewise.
21271 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21272 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21273 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21274 rawmemrchr for PPC64.
21275
cd05ba91
AZ
21276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21277 implementation.
21278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21279 (__libc_ifunc_impl_list): Likewise.
21280 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21281 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21282 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21283 memrchr for PPC64.
21284
870f8676
AZ
21285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21286 implementation.
21287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21288 (__libc_ifunc_impl_list): Likewise.
21289 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21290 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21291 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21292 memchr for PPC64.
21293
f00be62b
AZ
21294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21295 implementation.
21296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21297 (__libc_ifunc_impl_list): Likewise.
21298 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21299 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21300 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21301 mempcpy for PPC64.
21302
8a29a3d0
AZ
21303 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21304 avoid cretion of __bzero symbol.
21305 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21306 Likewise.
21307 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21308 Likewise.
21309 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21310 Likewise.
21311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21312 multiarch implementations.
21313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21314 (__libc_ifunc_impl_list): Likewise.
21315 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21316 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21317 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21318 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21319 bzero for PPC32.
21320 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21321 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21322 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21323 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21324 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21325 memset for PPC64.
21326 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21327
07253fcf
AZ
21328 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21329 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21330 implementations.
21331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21332 (__libc_ifunc_impl_list): Likewise.
21333 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21334 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21335 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21336 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21337 memcmp for PPC64.
21338
b5beafbc
AZ
21339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21340 multiarch for POWER/PPC64.
21341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21342 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21343 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21344 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21345 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21346 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21347 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21348 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21349 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21350 memcpy for PPC64.
21351
5e6a4d4b
AZ
21352 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21353 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21354 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21355 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21356 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21357 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21358 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21359 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21360 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21361 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21362 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21363 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21364 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21365 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21366 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21374
ddfab6dc
KK
213752013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21376
21377 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21378
19b5525e
SP
213792013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21380
21381 * benchtests/Makefile (bench): Add exp2 and log2.
21382 (LDLIBS-bench-exp2): Add -lm.
21383 (LDLIBS-bench-log2): Likewise.
21384 * benchtests/exp2-inputs: New inputs file.
21385 * benchtests/log2-inputs: New inputs file.
21386 * benchtests/log-inputs: Add new inputs.
21387 * benchtests/tan-inputs: Likewise.
21388
196f7f5d
SP
213892013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21390
7a74607f
SP
21391 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21392 definition...
57f41c40
AS
21393 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21394 (csloww2): ... from here.
7a74607f 21395
196f7f5d
SP
21396 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21397 instead of structures.
21398 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21399 (POLYNOMIAL): Likewise.
21400 (TAYLOR_SLOW): Likewise.
21401 (__sin): Likewise.
21402 (__cos): Likewise.
21403 (slow1): Likewise.
21404 (slow2): Likewise.
21405 (sloww): Likewise.
21406 (sloww1); Likewise.
21407 (sloww2): Likewise.
21408 (bsloww1): Likewise.
21409 (bsloww2): Likewise.
21410 (cslow2): Likewise.
21411 (csloww): Likewise.
21412 (csloww1): Likewise.
21413 (csloww2): Likewise.
21414
0dfa665c
OB
214152013-12-10 Ondřej Bílka <neleai@seznam.cz>
21416
21417 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
21418 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21419 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
21420 * malloc/hooks.c (realloc_check): Likewise.
21421
5782a80f
OB
21422 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21423 * malloc/arena.c: Remove PER_THREAD conditional.
21424 [!PER_THREAD]: Remove code.
21425 (ptmalloc_unlock_all2): Likewise.
21426 (ptmalloc_init): Likewise.
21427 (_int_new_arena): Likewise.
21428 (arena_get2): Likewise.
21429 * malloc/hooks.c (__malloc_get_state): Likewise.
21430 (__malloc_set_state): Likewise.
21431 * malloc/malloc.c: Likewise.
21432 (struct malloc_state): Likewise.
21433 (struct malloc_par): Likewise.
21434 (__libc_realloc): Likewise.
21435 (__libc_mallopt): Likewise.
21436
aeb95445
AZ
214372013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21438
21439 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21440
e8349efd
OB
214412013-12-09 Ondřej Bílka <neleai@seznam.cz>
21442
21443 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21444 macro to a function. Check for zero perturb_byte.
21445 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21446
f3eeb3fc 21447 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
21448 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21449 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
21450 force_reg by atomic_forced_read.
21451 * malloc/arena.c (ptmalloc_init): Likewise.
21452 * malloc/hooks.c (top_check): Likewise.
21453
be2f9009
AZ
214542013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21455
21456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21457
e7b914bd
MT
214582013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21459
21460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21461
9f0be4f8
JM
214622013-12-08 Joseph Myers <joseph@codesourcery.com>
21463
21464 * math/auto-libm-test-in: Add tests of lgamma.
21465 * math/auto-libm-test-out: Regenerated.
21466 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21467 (M_LOG_2_SQRT_PIl): Likewise.
21468 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21469 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21470 mpfr_f_f1.
21471 (func_calc_desc): Add mpfr_f_f1 union field.
21472 (ARGS1): New macro.
21473 (ARGS2): Likewise.
21474 (ARGS3): Likewise.
21475 (ARGS4): Likewise.
21476 (RET1): Likewise.
21477 (RET2): Likewise.
21478 (CALC): Likewise.
21479 (FUNC): Likewise.
21480 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21481 (test_functions): Add lgamma.
21482 (calc_generic_results): Handle mpfr_f_f1.
21483 * sysdeps/i386/fpu/libm-test-ulps: Update.
21484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21485
24eeafdb
AZ
214862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21487
21488 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21489 __mpn_add_n for PowerPC64/POWER7.
21490 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21491 __mpn_sub_n for PowerPC64/POWER7.
21492
4a2c0fd4
AZ
21493 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21494 __mpn_addmul_1 for PowerPC64.
21495 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21496 __mpn_submul_1 for PowerPC64.
21497 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21498 for PowerPC64.
21499 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21500 for PowerPC64.
21501
4b5b548c
FS
215022013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21503
21504 [BZ #15089]
21505 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21506
0a3ac0aa
AZ
215072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21508
21509 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21510
ccdc8438
AZ
21511 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21512 add multiarch folders.
21513 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21514 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21515 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21516 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21517 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21518 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21519 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21520 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21521 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21522 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21523 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21530
2e973d99
AZ
21531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21532 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21534 New file.
21535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21536 New file.
21537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21538 multiarch __ieee754_hypot for PowerPC32.
21539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21540 New file.
21541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21542 New file.
21543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21544 multiarch __ieee754_hypotf for PowerPC32.
21545
2d9470b2
AZ
21546 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21547 long_double_symbol only if __logbl is defined.
21548 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21549 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21550 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21551 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21552 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21553 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21554 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21555 path for implementation.
21556 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21557 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21559 logb, and logbl multiarch implementations for PowerPC32.
21560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21561 file.
21562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21563 file.
21564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21565 multiarch logb for PowerPC32.
21566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21567 file.
21568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21569 file.
21570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21571 multiarch logbf for PowerPC32.
21572 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21574 file.
21575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21576 multiarch logbl implementation for PowerPC32.
21577
5212ffce
AZ
21578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21579 and modff multiarch implementations.
21580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21581 New file.
21582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21583 New file.
21584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21585 multiarch modf for PowerPC32.
21586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21587 New file.
21588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21589 New file.
21590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21591 multiarch modff for PowerPC32.
21592
79dccf31
AZ
21593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21594 and lrintf multiarch implementations.
21595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21596 New file.
21597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21598 New file.
21599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21600 multiarch lrint for PowerPC32.
21601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21602 file: multiarch lrintf for PowerPC32.
21603
deb66480
AZ
21604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21605 and lroundf multiarch implementations.
21606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21607 New file.
21608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21609 New file.
21610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21611 New file.
21612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21613 multiarch lround for PowerPC32.
21614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21615 file: multiarch lroundf for PowerPC32.
21616
264b036b
AZ
21617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21618 copysign and copysignf multiarch implementations.
21619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21620 New file.
21621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21622 New file.
21623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21624 file: multiarch copysign for PowerPC32.
21625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21626 file: multiarch copysignf for PowerPC32.
21627
d47db6c9
AZ
21628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21629 and truncf multiarch implementations.
21630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21631 New file.
21632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21633 file.
21634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21635 multiarch trunc for PowerPC32.
21636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21637 New file.
21638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21639 New file.
21640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21641 multiarch truncf for PowerPC32.
21642
ddb60b5a
AZ
21643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21644 and roundf multiarch implementations.
21645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21646 New file.
21647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21648 file.
21649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21650 multiarch round for PowerPC32.
21651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21652 New file.
21653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21654 New file.
21655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21656 multiarch roundf for PowerPC32.
21657
bedcf49b
AZ
21658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21659 and floorf multiarch implementations.
21660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21661 New file.
21662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21663 file.
21664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21665 multiarch floor for PowerPC32.
21666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21667 New file.
21668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21669 New file.
21670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21671 multiarch floorf for PowerPC32.
21672
35ae5b40
AZ
21673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21674 and ceilf multiarch implementations.
21675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21676 New file.
21677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21678 file.
21679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21680 multiarch ceil for PowerPC32.
21681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21682 New file.
21683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21684 file.
21685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21686 multiarch ceilf for PowerPC32.
21687
ae1a4cd9
AZ
21688 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21689 is defined.
21690 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21691 FINITEF is defined.
21692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21693 and finitef multiarch implementations.
21694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21695 New file.
21696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21697 file.
21698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21699 multiarch finite for PowerPC32.
21700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21701 New file.
21702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21703 file: multiarch finitef for PowerPC32.
21704
64fffd65
AZ
21705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21706 and isinff multiarch implementations.
21707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21708 file.
21709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21710 file.
21711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21712 multiarch isinf for PowerPC32.
21713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21714 New file.
21715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21716 multiarch isinff for PowerPC32.
21717
8e4e7ba2
AZ
21718 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21719 alias when __isnan is defined.
21720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21721 and isnanf multiarch implementations.
21722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21723 file.
21724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21725 file.
21726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21727 file.
21728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21729 file.
21730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21731 multiarch isnan for PowerPC32.
21732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21733 New file.
21734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21735 New file.
21736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21737 multiarch isnanf for PowerPC32.
21738
ddba588e
AZ
21739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21740 and sqrtf multiarch implementations.
21741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21742 file.
21743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21744 file.
21745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21746 multiarch sqrt for PowerPC32.
21747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21748 file.
21749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21750 file.
21751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21752 multiarch sqrtf for PowerPC32.
21753
0f96a2f0
AZ
21754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21755 and llroundf multiarch implementations.
21756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21757 New file.
21758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21759 New file.
21760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21761 New file.
21762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21763 file: multiarch llround for PowerPC32.
21764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21765 file: multiarch llroundf for PowerPC32.
21766
c9b5d79e
AZ
21767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21768 multiarch PowerPC32 fpu implementations.
21769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21770 New file.
21771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21772 New file.
21773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21774 multiarch llrint for PowerPC32.
21775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21776 New file.
21777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21778 New file.
21779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21780 file.
21781
9cbb3aab
AZ
21782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21783
ea5a72f8
AZ
21784 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21785 file.
21786 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21787 file.
21788 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21789 file.
21790 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21791 multiarch wordcopy for PPC32.
21792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21793 wordcopy objects.
21794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21795 (__libc_ifunc_impl_list): Likewise.
21796 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21797 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21798 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21799 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21800 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21801 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21802
93be09e7
AZ
21803 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21804 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21805 file.
21806 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21807 file.
21808 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21809 file.
21810 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21811 multiarch wcscpy for PPC32.
21812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21813 multiarch objects.
21814 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21815 (__libc_ifunc_impl_list): Likewise.
21816 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21817 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21818 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21819 sysdeps/powerpc/power6/wcscpy.c.
21820
bb04e529
AZ
21821 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21822 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21823 file.
21824 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21825 file.
21826 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21827 file.
21828 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21829 multiarch wcsrchr for PPC32.
21830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21831 multiarch objects.
21832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21833 (__libc_ifunc_impl_list): Likewise.
21834 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21835 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21836 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21837 sysdeps/powerpc/power6/wcsrchr.c.
21838
05b5cd1c
AZ
21839 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21840 file.
21841 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21842 file.
21843 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21844 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21845 multiarch wcschr for PPc32.
21846 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21847 multiarch objects.
21848 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21849 (__libc_ifunc_impl_list): Likewise.
21850 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21851 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21852 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21853 sysdeps/powerpc/power6/wcschr.c.
21854
ba964147
AZ
21855 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21856 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21857 file.
21858 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21859 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21860 file: multiarch strchr for PPC32.
21861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21862 multiarch objects.
21863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21864 (__libc_ifunc_impl_list): Likewise.
21865
31c81aaa
AZ
21866 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21867 name.
21868 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21869 file.
21870 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21871 file.
21872 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21873 multiarch strchrnul for PPC32.
21874 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21875 multiarch objects.
21876 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21877 (__libc_ifunc_impl_list): Likewise.
21878
0d0607d9
AZ
21879 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21880 file.
21881 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21882 multiarch strncasecmp for PPC32.
21883 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21884 file.
21885 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21886 multiarch strncasecmp_l for PPC32.
21887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21888 strncasecmp multiarch objects.
21889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21890 (__libc_ifunc_impl_list): Likewise.
21891
4dfd5c86
AZ
21892 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21893 file.
21894 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21895 multiarch strncasecmp for PPC32.
21896 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21897 New file.
21898 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21899 multiarch strcasecmp_l for PPC32.
21900 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21901 multiarch objects.
21902 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21903 (__libc_ifunc_impl_list): Likewise.
21904
a19e01a3
AZ
21905 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21906 file.
21907 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21908 file.
21909 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21910 multiarch strncmp for PPC32.
21911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21912 multiarch objects.
21913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21914 (__libc_ifunc_impl_list): Likewise.
21915
ae9cf7a2
AZ
21916 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21917 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21918 file.
21919 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21920 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21921 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21922 multiarch objects.
21923 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21924 (__libc_ifunc_impl_list): Likewise.
21925
3148bb7d
AZ
21926 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21927 file.
21928 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21929 file.
21930 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21931 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21932 multiarch objects.
21933 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21934 (__libc_ifunc_impl_list): Likewise.
21935
7af8b946
AZ
21936 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21937 file.
21938 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21939 file.
21940 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21941 multiarch rawmemchr for PPC32.
21942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21943 multiarch objects.
21944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21945 (__libc_ifunc_impl_list): Likewise.
21946
03a6aa6a
AZ
21947 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21948 file.
21949 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21950 file.
21951 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21952 file: memrchr multiarch for PPC32.
21953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21954 multiarch objects.
21955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21956 (__libc_ifunc_impl_list): Likewise.
21957
1c62e6d9
AZ
21958 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21959 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21960 file.
21961 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21962 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21963 multiarch memchr for PPC32.
21964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21965 multiarch objects.
21966 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21967 (__libc_ifunc_impl_list): Likewise.
21968
87da8bdb
AZ
21969 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21970 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21971 file.
21972 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21973 file.
21974 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21975 file: multiarch mempcpy for PPC32.
21976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21977 multiarch objects.
21978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21979 (__libc_ifunc_impl_list): Likewise.
21980
20ed4714
AZ
21981 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21982 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21983 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21984 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21985 multiarch bzero for PPC32.
21986 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21987 file.
21988 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21989 file.
21990 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21991 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21992 file: multiarch memset for PPC32.
21993 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21995 memset multiarch objects.
21996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21997 (__libc_ifunc_impl_list): Likewise.
21998
ab3e3a46
AZ
21999 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22000 file.
22001 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22002 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22003 memcmp for PPC32.
22004 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22006 multiarch objects.
22007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22008 (__libc_ifunc_impl_list): Likewise.
22009
930de6f0
AZ
22010 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22011 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22012 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22013 file.
22014 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22015 file.
22016 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22017 file.
22018 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22019 multiarch memcpy for PPC32.
22020 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22021 multiarch objects.
22022 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22023 (__libc_ifunc_impl_list): Likewise.
22024
4c628e00
AZ
22025 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22026 support multiarch for POWER/PPC32.
22027 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22028 Likewise.
22029 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22031 Implies file to make multiarch folder appers before the fpu and
22032 default folder for power4 configuration.
22033
f4479220
SP
220342013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22035
22036 * scripts/bench.pl: Append volatile keyword to type.
22037
8517800f
KK
220382013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22039
22040 * sysdeps/sh/sotruss-lib.c: New file.
22041 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22042
180138f1
AZ
220432013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22044
22045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22046
bbf37bdc
JM
220472013-12-05 Joseph Myers <joseph@codesourcery.com>
22048
e47cc4e0
JM
22049 [BZ #6810]
22050 * math/w_tgamma.c: Include <errno.h>.
22051 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
22052 * math/w_tgammaf.c: Include <errno.h>.
22053 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
22054 * math/w_tgammal.c: Include <errno.h>.
22055 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
22056 * math/auto-libm-test-in: Do not allow missing errno on tgamma
22057 underflow. Add more tgamma tests.
22058 * math/auto-libm-test-out: Regenerated.
22059 * sysdeps/i386/fpu/libm-test-ulps: Update.
22060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22061
bbf37bdc
JM
22062 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22063 sin, sinh, tan, tanh, tgamma, y0 and y1.
22064 * math/auto-libm-test-out: Regenerated.
22065 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22066 (TEST_COND_x86): Likewise.
22067 (M_E2l): Remove macro.
22068 (M_E3l): Likewise.
22069 (M_2_SQRT_PIl): Likewise.
22070 (M_SQRT_PIl): Likewise.
22071 (M_1_DIV_El): Likewise.
22072 (log_test_data): Use AUTO_TESTS_f_f.
22073 (log10_test_data): Likewise.
22074 (log1p_test_data): Likewise.
22075 (log2_test_data): Likewise.
22076 (sin_test_data): Likewise.
22077 (sin_tonearest_test_data): Likewise.
22078 (sin_towardzero_test_data): Likewise.
22079 (sin_downward_test_data): Likewise.
22080 (sin_upward_test_data): Likewise.
22081 (sinh_test_data): Likewise.
22082 (sinh_tonearest_test_data): Likewise.
22083 (sinh_towardzero_test_data): Likewise.
22084 (sinh_downward_test_data): Likewise.
22085 (sinh_upward_test_data): Likewise.
22086 (tan_test_data): Likewise.
22087 (tan_tonearest_test_data): Likewise.
22088 (tan_towardzero_test_data): Likewise.
22089 (tan_downward_test_data): Likewise.
22090 (tan_upward_test_data): Likewise.
22091 (tanh_test_data): Likewise.
22092 (tgamma_test_data): Likewise.
22093 (y0_test_data): Likewise.
22094 (y1_test_data): Likewise.
22095 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22096 (special_real_inputs): Add pi/4.
22097 * sysdeps/i386/fpu/libm-test-ulps: Update.
22098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22099
eb5ad6b9
AZ
221002013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22101
22102 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22103 "longjmp_target" static probes.
22104 (__longjmp): Rename to __longjmp_symbol.
22105 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22106 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22107 on which longjmp to generate.
22108 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22109 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22110 probe.
22111 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22112 (__sigjmp_save): Rename to __sigjmp_save_symbol.
22113 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22114 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22115 and __sigjmp_save_symbol based on which sigsetjmp to generated.
22116 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22118 __longjmp_symbol based on which __longjmp to generate.
22119 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22120 probe.
22121 (setjmp): Rename to setjmp_symbol.
22122 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22123 (_setjmp): Rename to _setjmp_symbol.
22124 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22125 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22126 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22127 which setjmp to generate.
22128 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22129 "longjmp_target" static probes.
22130
d136c6dc
SP
221312013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22132
9298ecba
SP
22133 * benchtests/README: Add note about output arguments.
22134 * benchtests/bench-sincos.c: Remove file.
22135 * benchtests/sincos-inputs: New file.
22136 * scripts/bench.pl: Identify output arguments and define
22137 static variables for them.
22138
232983e9
SP
22139 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22140
d136c6dc
SP
22141 [BZ #15941]
22142 * Makefile (INSTALL): Add install-plain.texi as the primary
22143 dependency.
22144 * manual/install-plain.texi: New file.
22145 * manual/install.texi: Include node directive only for
22146 non-plaintext output.
22147
699ff837
JM
221482013-12-04 Joseph Myers <joseph@codesourcery.com>
22149
ab07cea8
JM
22150 * stdlib/longlong.h: Update from GCC.
22151
699ff837
JM
22152 [BZ #6807]
22153 [BZ #15901]
22154 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22155 * math/w_j0f.c (y0f): Likewise.
22156 * math/w_j0l.c (__y0l): Likewise.
22157 * math/w_j1.c (y1): Likewise.
22158 * math/w_j1f.c (y1f): Likewise.
22159 * math/w_j1l.c (__y1l): Likewise
22160 * math/w_jn.c (yn): Likewise.
22161 * math/w_jnf.c (ynf): Likewise.
22162 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22163 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22164 value for Bessel function domain errors outside _SVID_ mode.
22165 Adjust sign of return value for yn (negative integer, 0).
22166 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22167 by zero in return for negative x and set sign appropriately for
22168 negative n.
22169 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22170 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22171 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22172 expectations in error cases.
22173 (y1_test_data): Likewise.
22174 (yn_test_data): Likewise.
22175 * sysdeps/i386/fpu/libm-test-ulps: Update.
22176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22177
5b118558
UW
221782013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22179
22180 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22181 "64" to "64-v1". Add "64-v2".
22182 (abi-64-options): Rename to ...
22183 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22184 (abi-64-condition): Rename to ...
22185 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22186 (abi-64-ld-soname): Rename to ...
22187 (abi-64-v1-ld-soname): ... this.
22188 (abi-64-v2-options): Define.
22189 (abi-64-v2-condition): Likewise.
22190 (abi-64-v2-ld-soname): Likewise.
22191 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22192 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22196
61cd8fe4
UW
221972013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22198 Alan Modra <amodra@gmail.com>
22199
22200 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22201 New versions for use with the ELFv2 ABI.
22202 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22203 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22204 declaration.
22205 (struct La_ppc64v2_retval): Likewise.
22206 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22207 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22208 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22209 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22210 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22211 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22212 Do not save or restore CR.
22213 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22214 (_dl_profile_resolve): Do no save or restore CR. Support extended
22215 return values for ELFv2 ABI. Fix location of FPR return registers.
22216 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22217 updated values for _CALL_ELF == 2.
22218 (La_regs, La_retval, int_retval): Likewise.
22219
8b8a692c
UW
222202013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22221
22222 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22223 (FRAME_MIN_SIZE_PARM): Likewise.
22224 (FRAME_BACKCHAIN): Likewise.
22225 (FRAME_CR_SAVE): Likewise.
22226 (FRAME_LR_SAVE): Likewise.
22227 (FRAME_TOC_SAVE): Likewise.
22228 (FRAME_PARM_SAVE): Likewise.
22229 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22230 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22231 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22232 (call_mcount_parm_offset): New macro.
22233 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22234 (PROF): Use symbolic stack frame offsets.
22235 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22236 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22237 Redefine in terms of FRAME_MIN_SIZE.
22238 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22239 (_dl_profile_resolve): Likewise. Update comment.
22240 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22241 symbols stack frame offsets.
22242 (__sigsetjmp): Likewise.
22243 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22244 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22245 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22246 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22247
22248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22249 (FRAME_BACKCHAIN): Remove.
22250 (FRAME_CR_SAVE): Likewise.
22251 (FRAME_LR_SAVE): Likewise.
22252 (FRAME_COMPILER_DW): Likewise.
22253 (FRAME_LINKER_DW): Likewise.
22254 (FRAME_TOC_SAVE): Likewise.
22255 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
22256 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22257 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22258 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
22259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22260 (CHECK_SP): Use symbolic stack frame offsets.
22261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22262 zone" instead of caller's parameter save area for temp storage.
22263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22264 Likewise. Also, use symbolic stack frame offsets.
22265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22266 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22267 our own stack frame instead of the caller's.
22268 (__socket): Use symbolic stack frame offsets.
22269
122b66de
UW
222702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22271 Alan Modra <amodra@gmail.com>
22272
22273 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22274 Define.
57f41c40
AS
22275 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22276 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
22277 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22278 New function.
22279 (elf_machine_fixup_plt): Call it.
22280 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22281 reloc arguments.
22282 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
22283 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22284 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
22285 r2 before calling target.
22286
696caf1d
UW
222872013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22288 Alan Modra <amodra@gmail.com>
22289
22290 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22291 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22292 versions of macros to support ELFv2 ABI.
22293 (LOCALENTRY): New macro.
22294 (ENTRY, EALIGN): Use it.
22295 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22296 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22297 fall through into ENTRY entry point.
22298 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22299 Only define if _CALL_ELF != 2.
22300
22301 (elf_machine_matches_host): Verify ABI version matches.
22302 (RTLD_START): Use LOCALENTRY.
22303 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22304 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22305 (PLT_ENTRY_WORDS): New macro.
22306 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22307 (elf_machine_runtime_setup): Support ELFv2 ABI.
22308 (elf_machine_fixup_plt): Likewise.
22309 (elf_machine_plt_conflict): Likewise.
22310 (resolve_ifunc): Likewise.
22311 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22312 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22313 Likewise.
22314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22315 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22317 (makecontext): Support ELFv2 ABI.
22318 * elf/elf.h (EF_PPC64_ABI): Define.
22319
d31beafa
UW
223202013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22321
57f41c40
AS
22322 * sysdeps/powerpc/powerpc64/sysdep.h
22323 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22324 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22325 (ENTRY) [ASSEMBLER]: ... but instead here ...
22326 (EALIGN) [ASSEMBLER]: ... and here.
22327 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22328 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22329 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
22330 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22331 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
22332 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22333 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
22334 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22336 Use PPC64_LOAD_FUNCPTR.
22337
b525166b
UW
22338 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22339
7ec07d9a
AM
223402013-12-04 Alan Modra <amodra@gmail.com>
22341
22342 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22343 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22344 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22345 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22346
22347 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22348 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22349 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22350 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22351 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22352 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22353
5162e7dd
UW
223542013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22355
22356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22357 (__makecontext): Fix incorrect CFI when backtracing out of
22358 context created via makecontext.
22359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22360 (__setcontext): Fix incorrect CFI during switch to new context.
22361 (__novec_setcontext): Likewise.
22362
19e3372b
OB
223632013-12-04 Ondřej Bílka <neleai@seznam.cz>
22364
22365 [BZ #4772]
22366 * time/strptime_l.c (__strptime_internal): Allow modifiers
22367 in strptime.
22368 * time/tst-strptime.c (day_tests): Add testcase.
22369
ecaf142d
SP
223702013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22371
22372 * scripts/bench.pl: Skip over blank lines.
22373
fbf964ae
PE
223742013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22375
22376 [BZ #926]
22377 * manual/time.texi (Calendar Time): Clarify what timezone functions
22378 use.
22379
fa60a674
AZ
223802013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22381
22382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22383
d674f0ef
OB
223842013-12-04 Ondřej Bílka <neleai@seznam.cz>
22385
22386 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22387 implementation.
22388 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22389 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22390 * debug/memset_chk.c (__memset_chk): Likewise.
22391 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22392 * debug/strncpy_chk.c: Likewise.
22393
17dea188
JM
223942013-12-03 Joseph Myers <joseph@codesourcery.com>
22395
749008ff
JM
22396 [BZ #15268]
22397 [BZ #15425]
22398 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22399 (__ieee754_exp): For possibly underflowing results, check size of
22400 result and force underflow exception if required.
22401 * math/auto-libm-test-in: Add more tests of exp.
22402 * math/auto-libm-test-out: Regenerated.
22403 * sysdeps/i386/fpu/libm-test-ulps: Update.
22404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22405
17dea188
JM
22406 [BZ #16283]
22407 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22408 * math/w_exp2f.c (__exp2f): Likewise.
22409 * math/w_exp2l.c (__exp2l): Likewise.
22410 * math/auto-libm-test-in: Do not allow missing errno on exp2
22411 underflow.
22412 * math/auto-libm-test-out: Regenerated.
22413
b20de2c3
OB
224142013-12-03 Ondřej Bílka <neleai@seznam.cz>
22415
22416 [BZ #16274]
22417 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22418 handle filename validation.
22419 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22420 (do_open): Delete.
22421
d8e2dbe3
JM
224222013-12-03 Joseph Myers <joseph@codesourcery.com>
22423
34e16df5
JM
22424 [BZ #6786]
22425 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22426 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22427 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22428 <float.h>.
22429 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22430 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22431 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22432 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22433 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22434 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22435 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22436 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22437 Add more erfc tests.
22438 * math/auto-libm-test-out: Regenerated.
22439 * sysdeps/i386/fpu/libm-test-ulps: Update.
22440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22441
d8e2dbe3
JM
22442 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22443 exp2, expm1, j0 and j1.
22444 * math/auto-libm-test-out: Regenerated.
22445 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22446 (erfc_test_data): Likewise.
22447 (exp_test_data): Likewise.
22448 (exp_tonearest_test_data): Likewise.
22449 (exp_towardzero_test_data): Likewise.
22450 (exp_downward_test_data): Likewise.
22451 (exp_upward_test_data): Likewise.
22452 (exp10_test_data): Likewise.
22453 (exp2_test_data): Likewise.
22454 (expm1_test_data): Likewise.
22455 (j0_test_data): Likewise.
22456 (j1_test_data): Likewise.
22457 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22458 (input_flag_type): Add flag_xfail_rounding.
22459 (input_flags): Add xfail-rounding.
22460 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22461 (output_for_one_input_case): Handle flag_xfail_rounding.
22462 * sysdeps/i386/fpu/libm-test-ulps: Update.
22463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22464
18d14251
AJ
224652013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22466
3d2e6075 22467 [BZ #16289]
18d14251
AJ
22468 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22469 division by 0.
22470
520d437b
SP
224712013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22472
22473 [BZ #16195]
22474 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22475 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22476 (STAP_PROBE0): New macro.
22477 (STAP_PROBE1): Likewise.
22478 (STAP_PROBE2): Likewise.
22479 (STAP_PROBE3): Likewise.
22480 (STAP_PROBE4): Likewise.
22481
416e0145
OB
224822013-12-02 Ondřej Bílka <neleai@seznam.cz>
22483
22484 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22485
9d17796a
SE
224862013-12-02 Steve Ellcey <sellcey@mips.com>
22487
22488 * benchtests/Makefile (bench): Add sqrt.
22489 (LDLIBS-bench-sqrt): New.
22490 * benchtests/sqrt-input: New.
22491
f524d6a8
PS
224922013-12-02 Pavel Simerda <psimerda@redhat.com>
22493
639a0ef8
PS
22494 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22495 (GAIH_EAI): Likewise.
22496 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22497 (gaih_inet): Likewise.
22498 (getaddrinfo): Don't use GAIH_EAI.
22499
f524d6a8
PS
22500 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22501 (struct gaih): Remove definition.
22502
df3aedaf
SP
225032013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22504
22505 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22506 Use HERRNOP directly.
22507
1ab19dec
AZ
225082013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22509
b42ad38d 22510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 22511
176b0c79
JM
225122013-11-30 Joseph Myers <joseph@codesourcery.com>
22513
22514 * math/gen-auto-libm-tests.c (test_functions): Add more
22515 single-argument functions.
22516 (special_fill_pi_2): New function.
22517 (special_fill_minus_pi_2): Likewise.
22518 (special_fill_pi_6): Likewise.
22519 (special_fill_minus_pi_6): Likewise.
22520 (special_fill_pi_3): Likewise.
22521 (special_fill_2pi_3): Likewise.
22522 (special_fill_e): Likewise.
22523 (special_fill_1_e): Likewise.
22524 (special_fill_e_minus_1): Likewise.
22525 (special_real_inputs): Add more special inputs.
22526 (output_for_one_input_case): Do not require ERANGE on underflow to
22527 zero if round-to-nearest result does not underflow to zero, unless
22528 exact results required.
22529 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22530 atan, atanh, cbrt, cos and cosh.
22531 * math/auto-libm-test-out: Regenerated.
22532 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22533 (acos_tonearest_test_data): Likewise.
22534 (acos_towardzero_test_data): Likewise.
22535 (acos_downward_test_data): Likewise.
22536 (acos_upward_test_data): Likewise.
22537 (acosh_test_data): Likewise.
22538 (asin_test_data): Likewise.
22539 (asin_tonearest_test_data): Likewise.
22540 (asin_towardzero_test_data): Likewise.
22541 (asin_upward_test_data): Likewise.
22542 (asinh_test_data): Likewise.
22543 (atan_test_data): Likewise.
22544 (atanh_test_data): Likewise.
22545 (cbrt_test_data): Likewise.
22546 (cos_test_data): Likewise.
22547 (cos_tonearest_test_data): Likewise.
22548 (cos_towardzero_test_data): Likewise.
22549 (cos_downward_test_data): Likewise.
22550 (cos_upward_test_data): Likewise.
22551 (cosh_test_data): Likewise.
22552 (cosh_tonearest_test_data): Likewise.
22553 (cosh_towardzero_test_data): Likewise.
22554 (cosh_downward_test_data): Likewise.
22555 (cosh_upward_test_data): Likewise.
22556 * sysdeps/i386/fpu/libm-test-ulps: Update.
22557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22558
ffb536d0
JM
225592013-11-29 Joseph Myers <joseph@codesourcery.com>
22560
2a77a467
JM
22561 [BZ #6787]
22562 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22563 * math/w_exp10f.c (__exp10f): Likewise.
22564 * math/w_exp10l.c (__exp10l): Likewise.
22565 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22566 errno settings in existing tests.
22567
ea3bc4e8
JM
22568 [BZ #14032]
22569 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22570 precision control set to double precision.
22571 * sysdeps/i386/fpu/w_sqrt.c: New file.
22572 * math/auto-libm-test-in: Add more tests.
22573 * math/auto-libm-test-out: Update.
22574
0712c9d8
JM
22575 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22576 (sqrt_test_tonearest): New function.
22577 (sqrt_towardzero_test_data): New variable.
22578 (sqrt_test_towardzero): New function.
22579 (sqrt_downward_test_data): New variable.
22580 (sqrt_test_downward): New function.
22581 (sqrt_upward_test_data): New variable.
22582 (sqrt_test_upward): New function.
22583 (main): Call the new functions.
22584
ffb536d0
JM
22585 * math/gen-auto-libm-tests.c: New file.
22586 * math/auto-libm-test-in: Likewise.
22587 * math/auto-libm-test-out: New generated file.
22588 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22589 variables.
22590 (%beautify): Add generated representations of zero.
22591 (top level): Set $auto_input and call parse_auto_input.
22592 (beautify): Remove trailing "f" from hex float constants.
22593 (parse_args): Handle XFAIL_TEST.
22594 (convert_condition): New function.
22595 (or_value): Likewise.
22596 (or_cond_value): Likewise.
22597 (generate_testfile): Handle AUTO_TESTS_* lines.
22598 (parse_auto_input): New function.
22599 * math/libm-test.inc (XFAIL_TEST): New macro.
22600 (ERRNO_UNCHANGED): Update value.
22601 (ERRNO_EDOM): Likewise.
22602 (ERRNO_ERANGE): Likewise.
22603 (IGNORE_RESULT): Likewise.
22604 (TEST_COND_flt_32): New macro.
22605 (TEST_COND_dbl_64): Likewise.
22606 (TEST_COND_ldbl_96_intel): Likewise.
22607 (TEST_COND_ldbl_96_m68k): Likewise.
22608 (TEST_COND_ldbl_128): Likewise.
22609 (TEST_COND_ldbl_128ibm): Likewise.
22610 (TEST_COND_long32): Likewise.
22611 (TEST_COND_long64): Likewise.
22612 (TEST_COND_before_rounding): Likewise.
22613 (TEST_COND_after_rounding): Likewise.
22614 (enable_test): Handle XFAIL_TEST flag.
22615 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22616 with finite results.
22617 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22618 auto-libm-test-out.
22619
acd98a8e
AK
226202013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22621 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22622
22623 [BZ #16214]
22624 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22625 __tls_get_addr_internal instead of __tls_get_offset in order to
22626 avoid GOT pointer dependency. Make rtld export
22627 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22628 __tls_get_addr since we are a __tls_get_offset platform.
22629 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22630 GOT pointer being set up before.
22631 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22632
3c1c46a6
JM
226332013-11-28 Joseph Myers <joseph@codesourcery.com>
22634
7475aef5
JM
22635 * manual/math.texi (Errors in Math Functions): Document accuracy
22636 goals.
22637
8bca7cd8
JM
22638 [BZ #15004]
22639 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22640 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22641 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22642 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22643 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22644 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22645 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22646 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22647 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22648 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22649 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22650 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22651 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22652 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22653 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22655
91a1f3fe
JM
22656 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22657 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22658 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22659 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22660 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22661 Likewise.
22662 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22663 Likewise.
22664 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22665 Likewise.
22666 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22667 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22668 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22669 atomic-feupdateenv and flt-rounds.
22670 * sysdeps/powerpc/nofpu/Versions (libc): Add
22671 __atomic_feholdexcept, __atomic_feclearexcept,
22672 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22673 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22674 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22675 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22676 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22677 here.
22678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22679 Update.
22680
c5df7609
JM
22681 * manual/arith.texi (FP Exceptions): Document that exceptions may
22682 not be raised when matherr is used.
22683 (Math Error Reporting): Document overflow in directed rounding
22684 modes. Document that errno may not be set when finite values are
22685 returned on overflow. Document intent to set errno on underflow
22686 only for underflow to zero.
22687
3c1c46a6
JM
22688 [BZ #16271]
22689 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22690 round-to-nearest then adjust result for other rounding modes.
22691 * include/fenv.h (fegetround): Use libm_hidden_proto.
22692 * math/fegetround.c (fegetround): Use libm_hidden_def.
22693 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22694 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22695 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22696 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22697 Likewise.
22698 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22699 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22700 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22701 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22702
5a4c6d53
SP
227032013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22704
22705 [BZ #16077]
22706 * nss/Versions (libnss_files): Add
22707 _nss_files_gethostbyname3_r.
22708 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22709 New function.
22710 (HOST_DB_LOOKUP): Remove macro.
22711 (_nss_files_gethostbyname_r): Implement function without the
22712 HOST_DB_LOOKUP macro.
22713 (_nss_files_gethostbyname2_r): Likewise.
22714
897b98ba
OB
227152013-11-28 Ondřej Bílka <neleai@seznam.cz>
22716
22717 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22718
6f476861
UB
227192013-11-26 Uros Bizjak <ubizjak@gmail.com>
22720
22721 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22722 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22723 warning.
22724
bd12ab55
AZ
227252013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22726
22727 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22728 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22729 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22730 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22731 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22732 __fe_nomask_env_priv and attribute_hidden.
22733 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22734 (libc_feupdateenv_test_ppc): Likewise.
22735 (libc_feresetround_ppc): Likewise.
22736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22737 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22738 compat_symbol macro.
22739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22740 (__fe_nomask_env): Likewise.
22741 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22742
52bb6543
OB
227432013-11-26 Ondřej Bílka <neleai@seznam.cz>
22744
22745 * string/Makefile: Remove ifunc tests.
22746 * string/test-string.h: Define TEST_IFUNC.
22747 * string/test-bcopy-ifunc.c: Remove.
22748 * string/test-bzero-ifunc.c: Likewise.
22749 * string/test-memccpy-ifunc.c: Likewise.
22750 * string/test-memchr-ifunc.c: Likewise.
22751 * string/test-memcmp-ifunc.c: Likewise.
22752 * string/test-memcpy-ifunc.c: Likewise.
22753 * string/test-memmem-ifunc.c: Likewise.
22754 * string/test-memmove-ifunc.c: Likewise.
22755 * string/test-mempcpy-ifunc.c: Likewise.
22756 * string/test-memrchr-ifunc.c: Likewise.
22757 * string/test-memset-ifunc.c: Likewise.
22758 * string/test-rawmemchr-ifunc.c: Likewise.
22759 * string/test-stpcpy-ifunc.c: Likewise.
22760 * string/test-stpncpy-ifunc.c: Likewise.
22761 * string/test-strcasecmp-ifunc.c: Likewise.
22762 * string/test-strcasestr-ifunc.c: Likewise.
22763 * string/test-strcat-ifunc.c: Likewise.
22764 * string/test-strchr-ifunc.c: Likewise.
22765 * string/test-strchrnul-ifunc.c: Likewise.
22766 * string/test-strcmp-ifunc.c: Likewise.
22767 * string/test-strcpy-ifunc.c: Likewise.
22768 * string/test-strcspn-ifunc.c: Likewise.
22769 * string/test-strlen-ifunc.c: Likewise.
22770 * string/test-strncasecmp-ifunc.c: Likewise.
22771 * string/test-strncat-ifunc.c: Likewise.
22772 * string/test-strncmp-ifunc.c: Likewise.
22773 * string/test-strncpy-ifunc.c: Likewise.
22774 * string/test-strnlen-ifunc.c: Likewise.
22775 * string/test-strpbrk-ifunc.c: Likewise.
22776 * string/test-strrchr-ifunc.c: Likewise.
22777 * string/test-strspn-ifunc.c: Likewise.
22778 * string/test-strstr-ifunc.c: Likewise.
22779
ab260039 227802013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
22781
22782 * benchtests/Makefile: Remove ifunc tests.
22783 * benchtests/bench-string.h: Define TEST_IFUNC.
22784 * benchtests/bench-bcopy-ifunc.c: Remove.
22785 * benchtests/bench-bzero-ifunc.c: Likewise.
22786 * benchtests/bench-memccpy-ifunc.c: Likewise.
22787 * benchtests/bench-memchr-ifunc.c: Likewise.
22788 * benchtests/bench-memcmp-ifunc.c: Likewise.
22789 * benchtests/bench-memcpy-ifunc.c: Likewise.
22790 * benchtests/bench-memmem-ifunc.c: Likewise.
22791 * benchtests/bench-memmove-ifunc.c: Likewise.
22792 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22793 * benchtests/bench-memrchr-ifunc.c: Likewise.
22794 * benchtests/bench-memset-ifunc.c: Likewise.
22795 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22796 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22797 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22798 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22799 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22800 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22801 * benchtests/bench-strcat-ifunc.c: Likewise.
22802 * benchtests/bench-strchr-ifunc.c: Likewise.
22803 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22804 * benchtests/bench-strcmp-ifunc.c: Likewise.
22805 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22806 * benchtests/bench-strcpy-ifunc.c: Likewise.
22807 * benchtests/bench-strcspn-ifunc.c: Likewise.
22808 * benchtests/bench-strlen-ifunc.c: Likewise.
22809 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22810 * benchtests/bench-strncat-ifunc.c: Likewise.
22811 * benchtests/bench-strncmp-ifunc.c: Likewise.
22812 * benchtests/bench-strncpy-ifunc.c: Likewise.
22813 * benchtests/bench-strnlen-ifunc.c: Likewise.
22814 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22815 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 22816 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
22817 * benchtests/bench-strspn-ifunc.c: Likewise.
22818 * benchtests/bench-strstr-ifunc.c: Likewise.
22819
228202013-11-26 Ondřej Bílka <neleai@seznam.cz>
22821
ab260039
OB
22822 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22823
d1d9eaf4 228242013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 22825
d1d9eaf4
OB
22826 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22827 * rt/aio.h: Likewise.
22828 * sysdeps/gnu/bits/utmp.h: Likewise.
22829 * sysdeps/gnu/bits/utmpx.h: Likewise.
22830 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22831 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22832 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22833 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22834 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22835 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22836 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22837 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22838 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22839 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22840 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22841 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22842 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22844 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22845 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22846 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22847 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22848 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22849 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22850 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22851 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22852 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22853 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22854 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22856 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22857 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22858 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22859 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22860 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22861 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22862 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22863 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22864 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22865 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22866 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22867 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22868 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22869 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22870 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22871 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22872
a7624ed9
CD
228732013-11-25 Carlos O'Donell <carlos@redhat.com>
22874
22875 [BZ #16245]
22876 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22877 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22878
63cfe52b
JM
228792013-11-25 Joseph Myers <joseph@codesourcery.com>
22880
22881 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22882 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22883 Likewise.
22884
41e8926a
AZ
228852013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22886
22887 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22888 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22889 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22890 (__fesetround): Remove define.
22891 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22892 rounding and exceptions handling.
22893 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22894 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22895 (__fe_nomask_env): Likewise.
22896 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22897 __fegetround instead of fegetround.
22898 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22899 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22900
6851bd4d
RM
229012013-11-21 Roland McGrath <roland@hack.frob.com>
22902
070906ff
RM
22903 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22904 it's there.
22905
6851bd4d
RM
22906 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22907
84ae135d
MI
229082013-11-21 Meador Inge <meadori@codesourcery.com>
22909
22910 [BZ #11157]
22911 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22912 (encrypt_r): Likewise.
22913 * malloc/obstack.h (obstack_free): Likewise.
22914 * posix/unistd.h (encrypt): Likewise.
22915
daf75146
GM
229162013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22917
22918 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22919 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22920 DL_CALL_DT_FINI() that call the functions directly.
22921 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22922 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22923 * elf/dl-fini.c: Likewise.
22924
10ad46bc
OB
229252013-11-20 Ondřej Bílka <neleai@seznam.cz>
22926
22927 * malloc/hooks.c (memalign_check): Add alignment rounding.
22928 * malloc/malloc.c (_mid_memalign): New function.
22929 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22930 Implement by calling _mid_memalign.
22931 * manual/probes.texi (Memory Allocation Probes): Remove
22932 memory_valloc_retry and memory_pvalloc_retry.
22933
f3fd2628
SP
229342013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22935
4712799f
SP
22936 * locale/programs/locarchive.c (open_archive): Add const
22937 qualifier to ARCHIVEFNAME and copy default fname to
22938 DEFAULT_FNAME.
22939
0417b20f
SP
22940 [BZ #15601]
22941 * libio/tst-widetext.input: Rename Oriya to Odia.
22942 * locale/iso-639.def: Likewise.
22943
f3fd2628
SP
22944 * manual/probes.texi (Mathematical Function Probes): Add
22945 documentation for sin, cos, asin and acos probes.
22946 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22947 (__sin32): Add slowasin probe.
22948 (__cos32): Add slowacos probe.
22949 (__mpsin): Add slowsin probe.
22950 (__mpcos): Add slowcos probe.
22951
73c1ce4f
JM
229522013-11-19 Joseph Myers <joseph@codesourcery.com>
22953
22954 [BZ #15483]
22955 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22956 thread-local __sim_exceptions_thread and global
22957 __sim_exceptions_global.
22958 (__sim_disabled_exceptions): Change to thread-local
22959 __sim_disabled_exceptions_thread and global
22960 __sim_disabled_exceptions_global.
22961 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22962 and global __sim_round_mode_global.
22963 (__simulate_exceptions): Use thread-local floating-point state and
22964 set global state from it as needed.
22965 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22966 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22967 __sim_round_mode_thread.
22968 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22969 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22970 and global __sim_exceptions_global.
22971 (__sim_disabled_exceptions): Change to thread-local
22972 __sim_disabled_exceptions_thread and global
22973 __sim_disabled_exceptions_global.
22974 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22975 and global __sim_round_mode_global.
22976 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22977 (SIM_SET_GLOBAL): Likewise.
22978 * sysdeps/powerpc/soft-fp/sfp-machine.h
22979 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22980 __sim_round_mode_thread.
22981 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22982 __sim_disabled_exceptions_thread.
22983 (__sim_exceptions): Change to __sim_exceptions_thread.
22984 (__sim_disabled_exceptions): Change to
22985 __sim_disabled_exceptions_thread.
22986 (__sim_round_mode): Change to __sim_round_mode_thread.
22987 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22988 thread-local floating-point state and set global state from it as
22989 needed.
22990 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22991 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22992 (__sim_disabled_exceptions): Remove extern declaration.
22993 (feenableexcept): Use thread-local floating-point state and set
22994 global state from it as needed.
22995 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22996 extern declaration.
22997 (__sim_disabled_exceptions): Likewise.
22998 (__sim_round_mode): Likewise.
22999 (__fegetenv): Use thread-local floating-point state.
23000 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23001 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23002 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23003 floating-point state and set global state from it as needed.
23004 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23005 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23006 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23007 Likewise.
23008 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23009 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23010 Likewise.
23011 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23012 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23013 Use __sim_round_mode_thread.
23014 * math/test-fenv-tls.c: New file.
23015 * math/Makefile (tests): Add test-fenv-tls.
23016 ($(objpfx)test-fenv-tls): Depend on
23017 $(common-objpfx)nptl/libpthread.so.
23018
b5449b12
AS
230192013-11-19 Andreas Schwab <schwab@suse.de>
23020
23021 * locale/programs/locale.c (show_info): Decode wordarray elements.
23022 * locale/categories.def (LC_MONETARY): Add element for
23023 _NL_MONETARY_CRNCYSTR.
23024 * locale/C-monetary.c (conversion_rate): New variable.
23025 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23026 element.
23027
e186536b
CM
230282013-11-18 Chris Metcalf <cmetcalf@tilera.com>
23029
23030 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23031 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23032
5c349950
PP
230332013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23034
23035 * elf/Makefile (tst-auxv): New test.
23036 * elf/tst-auxv.c: New
23037 * elf/rtld.c (dl_main): Adjust AT_EXECFN
23038
699df45b
JM
230392013-11-18 Joseph Myers <joseph@codesourcery.com>
23040
23041 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23042 (hidden_proto): Caller changed.
23043 (hidden_tls_proto): New macro.
23044 (libc_hidden_tls_proto): Likewise.
23045 (rtld_hidden_tls_proto): Likewise.
23046 (libm_hidden_tls_proto): Likewise.
23047 (libresolv_hidden_tls_proto): Likewise.
23048 (librt_hidden_tls_proto): Likewise.
23049 (libdl_hidden_tls_proto): Likewise.
23050 (libnss_files_hidden_tls_proto): Likewise.
23051 (libnsl_hidden_tls_proto): Likewise.
23052 (libnss_nisplus_hidden_tls_proto): Likewise.
23053 (libutil_hidden_tls_proto): Likewise.
23054
b7589107
OB
230552013-11-18 Ondřej Bílka <neleai@seznam.cz>
23056
23057 [BZ #10253]
23058 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23059 (decompose_rpath): Defer expansion to fillin_rpath.
23060 (_dl_init_paths): Pass linkmap to fillin_rpath.
23061
250c23bd
RS
230622013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23063
23064 * benchtests/Makefile: Add strsep.
23065 * benchtests/bench-strsep.c: New file: strsep benchtest.
23066 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23067
a7931fcf
AS
230682013-11-18 Andreas Schwab <schwab@suse.de>
23069
23070 * locale/programs/locale.c (show_info) [case byte]: Check for
23071 '\377' instead of '\177'.
23072 * locale/C-monetary.c (not_available): Always use "\377".
23073 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23074 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
23075 detect unavailable sign_posn locale elements.
23076 * locale/localeconv.c (__localeconv): For grouping and
23077 mon_grouping handle "\177" and "\377" like no grouping.
23078 (INT_ELEM): New macro. Use it to set all numeric members.
23079 * locale/programs/ld-monetary.c (monetary_read)
23080 <tok_mon_grouping>: Normalize single -1 to the empty string.
23081 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23082 Likewise.
23083
728dab0e
OB
230842013-11-07 Ondřej Bílka <neleai@seznam.cz>
23085
23086 [BZ #16055]
23087 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23088 when we match (nil).
23089 * stdio-common/tst-sscanf.c (struct test): Add testcase.
23090
66294491
JM
230912013-11-16 Joseph Myers <joseph@codesourcery.com>
23092
ce665817
JM
23093 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23094 (NO_TEST_INLINE): Update value.
23095 (ERRNO_UNCHANGED): Likewise.
23096 (ERRNO_EDOM): Likewise.
23097 (ERRNO_ERANGE): Likewise.
23098 (IGNORE_RESULT): Likewise.
23099 (check_float_internal): Check signs of NaN results if
23100 TEST_NAN_SIGN used.
23101 (check_complex): Pass TEST_NAN_SIGN flag through to second
23102 check_float_internal call.
23103 (copysign_test_data): Add tests with quiet NaNs as second
23104 argument. Use TEST_NAN_SIGN.
23105 (fabs_test_data): Add test of negative quiet NaN argument. Use
23106 TEST_NAN_SIGN.
23107 (signbit_test_data): Add tests of quiet NaN argument.
23108 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23109
ee1466a9
JM
23110 * math/gen-libm-test.pl (show_exceptions): Take extra argument
23111 $ignore_result.
23112 (parse_args): Handle function results specified as IGNORE.
23113 * math/libm-test.inc (IGNORE_RESULT): New macro.
23114 (check_float_internal): Do not check numerical result if flag
23115 IGNORE_RESULT set.
23116 (check_complex): Pass through IGNORE_RESULT to second
23117 check_float_internal call.
23118 (check_int): Do not check numerical result if flag IGNORE_RESULT
23119 set.
23120 (check_long): Likewise.
23121 (check_bool): Likewise.
23122 (check_longlong): Likewise.
23123 (lrint_test_data): Add tests of infinite and NaN arguments.
23124 (lrint_tonearest_test_data): Likewise.
23125 (lrint_towardzero_test_data): Likewise.
23126 (lrint_downward_test_data): Likewise.
23127 (lrint_upward_test_data): Likewise.
23128 (llrint_test_data): Likewise.
23129 (llrint_tonearest_test_data): Likewise.
23130 (llrint_towardzero_test_data): Likewise.
23131 (llrint_downward_test_data): Likewise.
23132 (llrint_upward_test_data): Likewise.
23133 (lround_test_data): Likewise.
23134 (llround_test_data): Likewise.
23135
14407b7e
JM
23136 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23137 (ERRNO_UNCHANGED): Update value.
23138 (ERRNO_EDOM): Likewise.
23139 (ERRNO_ERANGE): Likewise.
23140 (NO_TEST_INLINE_FLOAT): New macro.
23141 (NO_TEST_INLINE_DOUBLE): Likewise.
23142 (enable_test): New function.
23143 (RUN_TEST_f_f): Check enable_test before running test.
23144 (RUN_TEST_2_f): Likewise.
23145 (RUN_TEST_fff_f): Likewise.
23146 (RUN_TEST_c_f): Likewise.
23147 (RUN_TEST_f_f1): Likewise.
23148 (RUN_TEST_fF_f1): Likewise.
23149 (RUN_TEST_fI_f1): Likewise.
23150 (RUN_TEST_ffI_f1): Likewise.
23151 (RUN_TEST_c_c): Likewise.
23152 (RUN_TEST_cc_c): Likewise.
23153 (RUN_TEST_f_i): Likewise.
23154 (RUN_TEST_f_i_tg): Likewise.
23155 (RUN_TEST_ff_i_tg): Likewise.
23156 (RUN_TEST_f_b): Likewise.
23157 (RUN_TEST_f_b_tg): Likewise.
23158 (RUN_TEST_f_l): Likewise.
23159 (RUN_TEST_f_L): Likewise.
23160 (RUN_TEST_fFF_11): Likewise.
23161 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23162 conditionals.
23163 (cosh_test_data): Likewise.
23164 (exp_test_data): Likewise.
23165 (expm1_test_data): Likewise.
23166 (hypot_test_data): Likewise.
23167 (pow_test_data): Likewise.
23168 (sinh_test_data): Likewise.
23169 (tanh_test_data): Likewise.
23170 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23171 flags argument.
23172
ca07f197
JM
23173 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23174 tests with quiet NaN input and output.
23175 (acosh_test_data): Likewise.
23176 (asin_test_data): Likewise.
23177 (asinh_test_data): Likewise.
23178 (atan_test_data): Likewise.
23179 (atanh_test_data): Likewise.
23180 (atan2_test_data): Likewise.
23181 (cbrt_test_data): Likewise.
23182 (cos_test_data): Likewise.
23183 (cosh_test_data): Likewise.
23184 (erf_test_data): Likewise.
23185 (erfc_test_data): Likewise.
23186 (exp_test_data): Likewise.
23187 (exp10_test_data): Likewise.
23188 (exp2_test_data): Likewise.
23189 (expm1_test_data): Likewise.
23190 (hypot_test_data): Likewise.
23191 (j0_test_data): Likewise.
23192 (j1_test_data): Likewise.
23193 (jn_test_data): Likewise.
23194 (lgamma_test_data): Likewise.
23195 (log_test_data): Likewise.
23196 (log10_test_data): Likewise.
23197 (log1p_test_data): Likewise.
23198 (log2_test_data): Likewise.
23199 (pow_test_data): Likewise.
23200 (scalb_test_data): Likewise.
23201 (sin_test_data): Likewise.
23202 (sincos_test_data): Likewise.
23203 (sinh_test_data): Likewise.
23204 (tan_test_data): Likewise.
23205 (tanh_test_data): Likewise.
23206 (tgamma_test_data): Likewise.
23207 (y0_test_data): Likewise.
23208 (y1_test_data): Likewise.
23209 (yn_test_data): Likewise.
23210
66294491
JM
23211 [BZ #16167]
23212 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23213 argument being NaN and avoid computations with second argument in
23214 that case.
23215 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23216 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23217 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23218
1820b143
CL
232192013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23220
23221 * locale/iso-639.def: Add Chitwani Tharu (the).
23222
714bd261
AS
232232013-11-14 Andreas Schwab <schwab@suse.de>
23224
23225 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23226 word instead of empty string.
23227
7ab44563
AZ
232282013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23229
23230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23231 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23233 (__fe_nomask_env): Likewise.
23234
e8470ea2
SE
232352013-11-13 Steve Ellcey <sellcey@mips.com>
23236
23237 * benchtests/bench-timing.h: Include time.h.
23238
17c1d9f0
L
232392013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23240
23241 [BZ #15997]
23242 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23243 to 3.4.0 for x32.
23244 * sysdeps/unix/sysv/linux/configure: Regenerated.
23245
9310c284
JM
232462013-11-13 Joseph Myers <joseph@codesourcery.com>
23247
23248 [BZ #16151]
23249 * stdlib/strtod_l.c (round_and_return): Do not consider
23250 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23251 exponent one less than half the least subnormal exponent.
23252 * stdlib/test-strtod-round-data: Add more tests.
23253 * stdlib/tst-strtod-round.c (tests): Regenerated.
23254
7a2ad8cf
AZ
232552013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23256
23257 [BZ #14143]
23258 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23259 (__fe_mask_env): Likewise.
23260 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23261 libm_hidden_proto and add function prototype.
23262 (__fe_mask_env): Add function prototype.
23263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23264 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23266 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23268 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23269
50727aa7
MS
232702013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23271
b2f386c1 23272 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
23273 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23274
a615be46
MS
232752013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23276
23277 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23278 of htab_find_slot().
23279
7ddace62
DM
232802013-11-11 David S. Miller <davem@davemloft.net>
23281
23282 [BZ #16150]
23283 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23284 symbol in the non-vis3 case in static builds.
23285 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23286 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23287 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23288 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23289
9182aa67
JK
232902013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23291
23292 [BZ #387]
23293 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23294 it is empty.
23295
450a2e2d
AZ
232962013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23297
b2f386c1
SP
23298 * benchtests/Makefile: Add bench-strtod.
23299 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 23300
8ec3f656
AS
233012013-11-11 Andreas Schwab <schwab@suse.de>
23302
23303 [BZ #16153]
23304 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23305 terminating NUL in key length.
23306
76a9b998
AZ
233072013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23308
23309 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23310 Add artificial ODP entry for vDSO symbol for PPC64.
23311 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23312 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23313
e4368156
OB
233142013-11-07 Ondřej Bílka <neleai@seznam.cz>
23315
23316 [BZ #15374]
23317 * nss/getent.c (services_keys): Recognize services starting with digit.
23318
8d6bb57c
DM
233192013-11-06 David S. Miller <davem@davemloft.net>
23320
23321 [BZ #15985]
23322 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23323 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23324
e256c421
WN
233252013-11-06 Will Newton <will.newton@linaro.org>
23326
23327 * manual/memory.texi (Malloc Examples): Remove register
23328 keyword from examples.
23329
f6e12daa 233302013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 23331
f6e12daa 23332 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 23333
9d880655
AS
233342013-11-04 Joseph Myers <joseph@codesourcery.com>
23335
fd2f9486 23336 [BZ #6981]
9d880655
AS
23337 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23338 depending on [__GCC_IEC_559 > 0].
23339 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23340 depending on [__GCC_IEC_559_COMPLEX > 0].
23341
ae129d3c
CL
233422013-11-03 Chris Leonard <cjl@sugarlabs.org>
23343
23344 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23345 to iso-639.def.
23346
4a15c2a4 233472013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
23348
23349 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23350
8b35e35d
OB
233512013-11-01 Ondřej Bílka <neleai@seznam.cz>
23352
23353 [BZ #16112]
23354 * malloc/malloc (malloc_info): Do not handle first bin as
23355 special case.
23356
1d70fd6c
CL
233572013-11-01 Chris Leonard <cjl@sugarlabs.org>
23358
23359 * locale/iso-639.def: Add Central Nahuatl (nhn).
23360
8c5c2600
BH
233612013-11-01 Bruno Haible <bruno@clisp.org>
23362
23363 [BZ #7003]
23364 * manual/math.texi (BSD Random): Specify range upper bound as
23365 in POSIX.
23366
da5579c2
CL
233672013-10-31 Chris Leonard <cjl@sugarlabs.org>
23368
23369 * locale/iso-639.def: Add Meadow Mari (mhr).
23370
5d30d853
OB
233712013-10-31 Ondřej Bílka <neleai@seznam.cz>
23372
23373 [BZ #14752], [BZ #15763]
23374 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23375 Validate name.
23376 * rt/tst_shm.c: Add test for escaping directory.
23377
a4966c61
AS
233782013-10-31 Andreas Schwab <schwab@suse.de>
23379
8a43e768 23380 [BZ #15917]
a4966c61
AS
23381 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23382 followed by 'x' as part of digit sequence.
23383 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23384
28d708c4
MAP
233852013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23386
23387 [BZ #16037]
23388 * configure.ac: allow GNU Make 4.0 and greater.
23389 * configure: Regenerated.
23390
a56ee40b
WN
233912013-10-30 Will Newton <will.newton@linaro.org>
23392
23393 [BZ #16038]
23394 * malloc/hooks.c (memalign_check): Limit alignment to the
23395 maximum representable power of two.
23396 * malloc/malloc.c (__libc_memalign): Likewise.
23397 * malloc/tst-memalign.c (do_test): Add test for very
23398 large alignment values.
23399 * malloc/tst-posix_memalign.c (do_test): Likewise.
23400
c6e4925d
OB
234012013-10-30 Ondřej Bílka <neleai@seznam.cz>
23402
23403 [BZ #11087]
23404 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23405 (munmap_chunk): Likewise.
23406 (mremap_chunk): Likewise.
23407
234082013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 23409
8a43e768 23410 [BZ #15799]
bbea82f7
OB
23411 * stdlib/div.c (div): Remove obsolete code.
23412 * stdlib/ldiv.c (ldiv): Likewise.
23413 * stdlib/lldiv.c (lldiv): Likewise.
23414
977f4b31
SP
234152013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23416
23417 [BZ #16071]
23418 * nss/nss_files/files-XXX.c (get_contents_ret): New
23419 enumerator.
23420 (get_contents): New function.
23421 (internal_getent): Use it. Expand size of LINEBUFLEN.
23422
cb8a6dbd
MF
234232013-10-30 Mike Frysinger <vapier@gentoo.org>
23424
23425 * configure.in: Moved to ...
23426 * configure.ac: ... here. Change reference to configure.in
23427 to configure.ac.
23428 * sysdeps/arm/preconfigure.ac: ... here.
23429 configure.in to configure.ac.
23430 * sysdeps/gnu/configure.in: Moved to ...
23431 * sysdeps/gnu/configure.ac: ... here.
23432 * sysdeps/i386/configure.in: Moved to ...
23433 * sysdeps/i386/configure.ac: ... here.
23434 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23435 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23436 * sysdeps/mach/configure.in: Moved to ...
23437 * sysdeps/mach/configure.ac: ... here.
23438 * sysdeps/mach/hurd/configure.in: Moved to ...
23439 * sysdeps/mach/hurd/configure.ac: ... here.
23440 * sysdeps/powerpc/configure.in: Moved to ...
23441 * sysdeps/powerpc/configure.ac: ... here.
23442 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23443 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23444 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23445 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23446 * sysdeps/s390/s390-32/configure.in: Moved to ...
23447 * sysdeps/s390/s390-32/configure.ac: ... here.
23448 * sysdeps/s390/s390-64/configure.in: Moved to ...
23449 * sysdeps/s390/s390-64/configure.ac: ... here.
23450 * sysdeps/sh/configure.in: Moved to ...
23451 * sysdeps/sh/configure.ac: ... here.
23452 * sysdeps/sparc/configure.in: Moved to ...
23453 * sysdeps/sparc/configure.ac: ... here.
23454 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23455 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23456 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23457 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23458 * sysdeps/x86_64/configure.in: Moved to ...
23459 * sysdeps/x86_64/configure.ac: ... here.
23460 * sysdeps/x86_64/preconfigure.in: Moved to ...
23461 * sysdeps/x86_64/preconfigure.ac: ... here.
23462 * aclocal.m4: Change reference to configure.in to configure.ac.
23463 * config.h.in: Likewise.
23464 * manual/install.texi: Likewise.
23465 * manual/maint.texi: Likewise.
23466 * Makefile: Likewise.
23467 * malloc/Makefile: Likewise.
23468 * nscd/Makefile: Likewise.
23469 * Makeconfig: Change reference to configure.in and
23470 preconfigure.in to configure.ac and preconfigure.ac
23471 respectively.
23472 * INSTALL: Regenerated.
23473 * configure: Likewise.
23474 * sysdeps/gnu/configure: Likewise.
23475 * sysdeps/i386/configure: Likewise.
23476 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23477 * sysdeps/mach/configure: Likewise.
23478 * sysdeps/mach/hurd/configure: Likewise.
23479 * sysdeps/powerpc/configure: Likewise.
23480 * sysdeps/powerpc/powerpc32/configure: Likewise.
23481 * sysdeps/powerpc/powerpc64/configure: Likewise.
23482 * sysdeps/s390/s390-32/configure: Likewise.
23483 * sysdeps/s390/s390-64/configure: Likewise.
23484 * sysdeps/sh/configure: Likewise.
23485 * sysdeps/sparc/configure: Likewise.
23486 * sysdeps/unix/sysv/linux/configure: Likewise.
23487 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23488 * sysdeps/x86_64/configure: Likewise.
23489 * sysdeps/x86_64/preconfigure: Likewise.
23490
36a4953a
AS
234912013-10-29 Andreas Schwab <schwab@suse.de>
23492
23493 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23494
c79a1204
SP
234952013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23496
dfa1b402
SP
23497 * benchtests/pow-inputs: Add new inputs.
23498
54f73d9c
SP
23499 * benchtests/exp-inputs: Add new inputs.
23500
c79a1204
SP
23501 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23502 conditional check for return value.
23503 (__cos32): Likewise.
23504
67beb545 235052013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
23506
23507 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23508 to provide a boost for large inputs with word alignment.
23509 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23510 implementation based on optimized PPC64 strcpy.
23511 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23512 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23513 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23514 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23515
151659f6
OB
235162013-10-25 Ondřej Bílka <neleai@seznam.cz>
23517
482a077e 23518 [BZ #2801]
151659f6
OB
23519 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23520
10b0f26b
OB
235212013-10-25 Ondřej Bílka <neleai@seznam.cz>
23522
23523 [BZ #14876]
23524 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23525 * time/tst-strptime.c (day_tests): Add testcase.
23526
ca42d35e
OB
235272013-10-25 Ondřej Bílka <neleai@seznam.cz>
23528
482a077e 23529 [BZ #14029]
ca42d35e
OB
23530 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23531
52e6d801
FB
235322013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23533
23534 [BZ #16074]
23535 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23536 MAP_FAILED on error.
23537
7cbcdb36
SP
235382013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23539
23540 [BZ #16072]
23541 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23542 heap for large requests.
23543
894f3f10
AM
235442013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23545
23546 [BZ #9954]
23547 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23548 result if the result has no associated interface.
23549 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23550 interface for all 127.X.Y.Z addresses.
23551
b85545a6
CL
235522013-10-24 Chris Leonard <cjl@sugarlabs.org>
23553
23554 * locale/iso-639.def: Add Ligurian (lij)
23555
d1f23d46
OB
235562013-10-21 Ondřej Bílka <neleai@seznam.cz>
23557
23558 [BZ #15825]
23559 * sunrpc/rpc_main.c: Document rpcgen -5.
23560
4db5b08f
MS
235612013-10-19 Michael Stahl <mstahl@redhat.com>
23562
23563 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23564
a471e96a
OB
235652013-10-19 Ondřej Bílka <neleai@seznam.cz>
23566
d1f23d46 23567 [BZ #10278]
a471e96a
OB
23568 * posix/glob.c: Match only directories when trailing slash is present.
23569 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23570 (main): Add testcase.
23571
45c30c61
OB
235722013-10-19 Ondřej Bílka <neleai@seznam.cz>
23573
23574 [BZ #15670]
23575 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23576
484c12fb
CD
235772013-10-18 Carlos O'Donell <carlos@redhat.com>
23578
3d7dc513
CD
23579 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23580 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23581 AUTH_DES and cindex for FIPS 140-2.
23582 (DES Encryption): Add cindex FIPS 46-3.
23583
484c12fb
CD
23584 * locale/locarchive.h (struct locarhandle): Add fname.
23585 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23586 if an optional argument was specified to --list-archive,
23587 otherwise NULL.
23588 * locale/programs/locarchive.c (show_archive_content): Take new
23589 argument fname and pass it via ah.fname to open_archive.
23590 * locale/programs/localedef.h: Update decl.
23591 (open_archive): If AH->fname is non-null, open that file
23592 rather than the default file name, and don't ignore ENOENT.
23593 (create_archive): Set AH.fname to NULL.
23594 (delete_locales_from_archive): Likewise.
23595 (add_locales_to_archive): Likewise.
23596 * locale/programs/locfile.c (write_all_categories): Likewise.
23597
3c8325fb
JM
235982013-10-18 Joseph Myers <joseph@codesourcery.com>
23599 Aldy Hernandez <aldyh@redhat.com>
23600
23601 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23602 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23603 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23604 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23605 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23606 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23607 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23608 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23609 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23610 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23611 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23612 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23613 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23614 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23615 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23616 Likewise.
23617 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23618 Likewise.
23619 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23620 Likewise.
23621 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23622 Likewise.
23623 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23624 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23625 Likewise.
23626 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23627 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23628 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23629 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23630 Likewise.
23631 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23632 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23633 * sysdeps/powerpc/preconfigure: Likewise.
23634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23635 Likewise.
23636 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23637 Replace contents of file by #include of <fenv_libc.h>.
23638 * sysdeps/powerpc/soft-fp/sfp-machine.h
23639 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23640 and <sys/prctl.h>.
23641 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23642 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23643 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23644 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23645 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23646 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23647 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23648 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23649 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23650 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23651 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23652 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23654 Allow copysignl PLT reference to be missing.
23655
5abe0682
RS
236562013-10-18 Richard Sandiford <richard@codesourcery.com>
23657 Joseph Myers <joseph@codesourcery.com
23658
23659 [BZ #15948]
23660 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23661 single character.
23662 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23663
c7738d08
SP
236642013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23665
23666 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23667 * elf/tst-tls1.c: Likewise.
23668 * elf/tst-tls10.h: Likewise.
23669 * elf/tst-tls14.c: Likewise.
23670 * elf/tst-tls2.c: Likewise.
23671 * elf/tst-tls3.c: Likewise.
23672 * elf/tst-tls4.c: Likewise.
23673 * elf/tst-tls5.c: Likewise.
23674 * elf/tst-tls6.c: Likewise.
23675 * elf/tst-tls7.c: Likewise.
23676 * elf/tst-tls8.c: Likewise.
23677 * elf/tst-tls9.c: Likewise.
23678 * elf/tst-tlsmod1.c: Likewise.
23679 * elf/tst-tlsmod13.c: Likewise.
23680 * elf/tst-tlsmod13a.c: Likewise.
23681 * elf/tst-tlsmod14a.c: Likewise.
23682 * elf/tst-tlsmod16a.c: Likewise.
23683 * elf/tst-tlsmod16b.c: Likewise.
23684 * elf/tst-tlsmod2.c: Likewise.
23685 * elf/tst-tlsmod3.c: Likewise.
23686 * elf/tst-tlsmod4.c: Likewise.
23687 * elf/tst-tlsmod5.c: Likewise.
23688 * elf/tst-tlsmod6.c: Likewise.
23689
0bfcf2c7
OB
236902013-10-18 Ondřej Bílka <neleai@seznam.cz>
23691
23692 [BZ #12486]
23693 * malloc/malloc.c: remove checks for statistics.
23694
264aad1e
OB
236952013-10-17 Ondřej Bílka <neleai@seznam.cz>
23696
23697 [BZ #15277]
23698 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23699 * inet/tst-network.c: Add testcase.
23700
b957ced8
AS
237012013-10-17 Andreas Schwab <schwab@suse.de>
23702
23703 [BZ #15218]
23704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23705 to determine canonical name.
23706
c5d5d574
OB
237072013-10-17 Ondřej Bílka <neleai@seznam.cz>
23708
23709 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23710 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23711 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23712 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23713 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23714 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23715 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23716 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23717 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23718 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23719 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23720 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23721 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23722 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23723 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23724 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23726 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23727 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23728 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23729 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23730 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23731 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23732 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23733 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23734 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23735 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23736 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23737 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23738 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23739 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23740 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23741 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23742 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23743 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23744 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23745 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23746 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23747 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23748 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23749 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23750 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23751 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23752 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23753 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23754 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23755 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23756 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23757 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23758 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23759 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23760 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23761 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23762 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23763 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23764 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23765 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23766 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23767
e5c2c2d0
JM
237682013-10-17 Joseph Myers <joseph@codesourcery.com>
23769
23770 [BZ #16041]
23771 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23772 make result into a quiet NaN.
23773
51ca9e29
JM
237742013-10-16 Joseph Myers <joseph@codesourcery.com>
23775
23776 * soft-fp/adddf3.c: Fix horizontal whitespace.
23777 * soft-fp/addsf3.c: Likewise.
23778 * soft-fp/addtf3.c: Likewise.
23779 * soft-fp/divdf3.c: Likewise.
23780 * soft-fp/divsf3.c: Likewise.
23781 * soft-fp/divtf3.c: Likewise.
23782 * soft-fp/double.h: Likewise.
23783 * soft-fp/eqdf2.c: Likewise.
23784 * soft-fp/eqsf2.c: Likewise.
23785 * soft-fp/eqtf2.c: Likewise.
23786 * soft-fp/extenddftf2.c: Likewise.
23787 * soft-fp/extended.h: Likewise.
23788 * soft-fp/extendsfdf2.c: Likewise.
23789 * soft-fp/extendsftf2.c: Likewise.
23790 * soft-fp/extendxftf2.c: Likewise.
23791 * soft-fp/fixdfdi.c: Likewise.
23792 * soft-fp/fixdfsi.c: Likewise.
23793 * soft-fp/fixdfti.c: Likewise.
23794 * soft-fp/fixsfdi.c: Likewise.
23795 * soft-fp/fixsfsi.c: Likewise.
23796 * soft-fp/fixsfti.c: Likewise.
23797 * soft-fp/fixtfdi.c: Likewise.
23798 * soft-fp/fixtfsi.c: Likewise.
23799 * soft-fp/fixtfti.c: Likewise.
23800 * soft-fp/fixunsdfdi.c: Likewise.
23801 * soft-fp/fixunsdfsi.c: Likewise.
23802 * soft-fp/fixunsdfti.c: Likewise.
23803 * soft-fp/fixunssfdi.c: Likewise.
23804 * soft-fp/fixunssfsi.c: Likewise.
23805 * soft-fp/fixunssfti.c: Likewise.
23806 * soft-fp/fixunstfdi.c: Likewise.
23807 * soft-fp/fixunstfsi.c: Likewise.
23808 * soft-fp/fixunstfti.c: Likewise.
23809 * soft-fp/floatdidf.c: Likewise.
23810 * soft-fp/floatdisf.c: Likewise.
23811 * soft-fp/floatditf.c: Likewise.
23812 * soft-fp/floatsidf.c: Likewise.
23813 * soft-fp/floatsisf.c: Likewise.
23814 * soft-fp/floatsitf.c: Likewise.
23815 * soft-fp/floattidf.c: Likewise.
23816 * soft-fp/floattisf.c: Likewise.
23817 * soft-fp/floattitf.c: Likewise.
23818 * soft-fp/floatundidf.c: Likewise.
23819 * soft-fp/floatundisf.c: Likewise.
23820 * soft-fp/floatunditf.c: Likewise.
23821 * soft-fp/floatunsidf.c: Likewise.
23822 * soft-fp/floatunsisf.c: Likewise.
23823 * soft-fp/floatunsitf.c: Likewise.
23824 * soft-fp/floatuntidf.c: Likewise.
23825 * soft-fp/floatuntisf.c: Likewise.
23826 * soft-fp/floatuntitf.c: Likewise.
23827 * soft-fp/fmadf4.c: Likewise.
23828 * soft-fp/fmasf4.c: Likewise.
23829 * soft-fp/fmatf4.c: Likewise.
23830 * soft-fp/gedf2.c: Likewise.
23831 * soft-fp/gesf2.c: Likewise.
23832 * soft-fp/getf2.c: Likewise.
23833 * soft-fp/ledf2.c: Likewise.
23834 * soft-fp/lesf2.c: Likewise.
23835 * soft-fp/letf2.c: Likewise.
23836 * soft-fp/muldf3.c: Likewise.
23837 * soft-fp/mulsf3.c: Likewise.
23838 * soft-fp/multf3.c: Likewise.
23839 * soft-fp/negdf2.c: Likewise.
23840 * soft-fp/negsf2.c: Likewise.
23841 * soft-fp/negtf2.c: Likewise.
23842 * soft-fp/op-1.h: Likewise.
23843 * soft-fp/op-2.h: Likewise.
23844 * soft-fp/op-4.h: Likewise.
23845 * soft-fp/op-8.h: Likewise.
23846 * soft-fp/op-common.h: Likewise.
23847 * soft-fp/quad.h: Likewise.
23848 * soft-fp/single.h: Likewise.
23849 * soft-fp/soft-fp.h: Likewise.
23850 * soft-fp/sqrtdf2.c: Likewise.
23851 * soft-fp/sqrtsf2.c: Likewise.
23852 * soft-fp/sqrttf2.c: Likewise.
23853 * soft-fp/subdf3.c: Likewise.
23854 * soft-fp/subsf3.c: Likewise.
23855 * soft-fp/subtf3.c: Likewise.
23856 * soft-fp/truncdfsf2.c: Likewise.
23857 * soft-fp/trunctfdf2.c: Likewise.
23858 * soft-fp/trunctfsf2.c: Likewise.
23859 * soft-fp/trunctfxf2.c: Likewise.
23860 * soft-fp/unorddf2.c: Likewise.
23861 * soft-fp/unordsf2.c: Likewise.
23862 * soft-fp/unordtf2.c: Likewise.
23863
9ebb0332
JM
238642013-10-15 Joseph Myers <joseph@codesourcery.com>
23865
23866 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23867 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23868
4b1a6d8b
OB
238692013-10-15 Ondřej Bílka <neleai@seznam.cz>
23870
23871 * elf/dl-libc.c: Clear initfini list after freeing.
23872
1e145589
JM
238732013-10-14 Joseph Myers <joseph@codesourcery.com>
23874
23875 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23876 * soft-fp/addsf3.c: Likewise.
23877 * soft-fp/addtf3.c: Likewise.
23878 * soft-fp/divdf3.c: Likewise.
23879 * soft-fp/divsf3.c: Likewise.
23880 * soft-fp/divtf3.c: Likewise.
23881 * soft-fp/double.h: Likewise.
23882 * soft-fp/eqdf2.c: Likewise.
23883 * soft-fp/eqsf2.c: Likewise.
23884 * soft-fp/eqtf2.c: Likewise.
23885 * soft-fp/extenddftf2.c: Likewise.
23886 * soft-fp/extended.h: Likewise.
23887 * soft-fp/extendsfdf2.c: Likewise.
23888 * soft-fp/extendsftf2.c: Likewise.
23889 * soft-fp/extendxftf2.c: Likewise.
23890 * soft-fp/fixdfdi.c: Likewise.
23891 * soft-fp/fixdfsi.c: Likewise.
23892 * soft-fp/fixdfti.c: Likewise.
23893 * soft-fp/fixsfdi.c: Likewise.
23894 * soft-fp/fixsfsi.c: Likewise.
23895 * soft-fp/fixsfti.c: Likewise.
23896 * soft-fp/fixtfdi.c: Likewise.
23897 * soft-fp/fixtfsi.c: Likewise.
23898 * soft-fp/fixtfti.c: Likewise.
23899 * soft-fp/fixunsdfdi.c: Likewise.
23900 * soft-fp/fixunsdfsi.c: Likewise.
23901 * soft-fp/fixunsdfti.c: Likewise.
23902 * soft-fp/fixunssfdi.c: Likewise.
23903 * soft-fp/fixunssfsi.c: Likewise.
23904 * soft-fp/fixunssfti.c: Likewise.
23905 * soft-fp/fixunstfdi.c: Likewise.
23906 * soft-fp/fixunstfsi.c: Likewise.
23907 * soft-fp/fixunstfti.c: Likewise.
23908 * soft-fp/floatdidf.c: Likewise.
23909 * soft-fp/floatdisf.c: Likewise.
23910 * soft-fp/floatditf.c: Likewise.
23911 * soft-fp/floatsidf.c: Likewise.
23912 * soft-fp/floatsisf.c: Likewise.
23913 * soft-fp/floatsitf.c: Likewise.
23914 * soft-fp/floattidf.c: Likewise.
23915 * soft-fp/floattisf.c: Likewise.
23916 * soft-fp/floattitf.c: Likewise.
23917 * soft-fp/floatundidf.c: Likewise.
23918 * soft-fp/floatundisf.c: Likewise.
23919 * soft-fp/floatunsidf.c: Likewise.
23920 * soft-fp/floatunsisf.c: Likewise.
23921 * soft-fp/floatuntidf.c: Likewise.
23922 * soft-fp/floatuntisf.c: Likewise.
23923 * soft-fp/floatuntitf.c: Likewise.
23924 * soft-fp/fmadf4.c: Likewise.
23925 * soft-fp/fmasf4.c: Likewise.
23926 * soft-fp/fmatf4.c: Likewise.
23927 * soft-fp/gedf2.c: Likewise.
23928 * soft-fp/gesf2.c: Likewise.
23929 * soft-fp/getf2.c: Likewise.
23930 * soft-fp/ledf2.c: Likewise.
23931 * soft-fp/lesf2.c: Likewise.
23932 * soft-fp/letf2.c: Likewise.
23933 * soft-fp/muldf3.c: Likewise.
23934 * soft-fp/mulsf3.c: Likewise.
23935 * soft-fp/multf3.c: Likewise.
23936 * soft-fp/negdf2.c: Likewise.
23937 * soft-fp/negsf2.c: Likewise.
23938 * soft-fp/negtf2.c: Likewise.
23939 * soft-fp/op-1.h: Likewise.
23940 * soft-fp/op-2.h: Likewise.
23941 * soft-fp/op-4.h: Likewise.
23942 * soft-fp/op-8.h: Likewise.
23943 * soft-fp/op-common.h: Likewise.
23944 * soft-fp/quad.h: Likewise.
23945 * soft-fp/single.h: Likewise.
23946 * soft-fp/soft-fp.h: Likewise.
23947 * soft-fp/sqrtdf2.c: Likewise.
23948 * soft-fp/sqrtsf2.c: Likewise.
23949 * soft-fp/sqrttf2.c: Likewise.
23950 * soft-fp/subdf3.c: Likewise.
23951 * soft-fp/subsf3.c: Likewise.
23952 * soft-fp/subtf3.c: Likewise.
23953 * soft-fp/truncdfsf2.c: Likewise.
23954 * soft-fp/trunctfdf2.c: Likewise.
23955 * soft-fp/trunctfsf2.c: Likewise.
23956 * soft-fp/trunctfxf2.c: Likewise.
23957 * soft-fp/unorddf2.c: Likewise.
23958 * soft-fp/unordsf2.c: Likewise.
23959 * soft-fp/unordtf2.c: Likewise.
23960
17c48a60
OB
239612013-10-14 Ondřej Bílka <neleai@seznam.cz>
23962
23963 [BZ #15672]
23964 * misc/error.c (error_tail): Fix possible buffer overflow.
23965
cabba934
OB
239662013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23967
23968 [BZ #13028]
23969 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23970 address.
23971
94bf958a
PM
239722013-10-14 P. J. McDermott <pj@pehjota.net>
23973
23974 [BZ #832]
23975 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23976 testing pipefail option.
23977
71b4dea7
JM
239782013-10-12 Joseph Myers <joseph@codesourcery.com>
23979
23980 * soft-fp/double.h: Indent preprocessor directives inside #if.
23981 * soft-fp/extended.h: Likewise.
23982 * soft-fp/op-2.h: Likewise.
23983 * soft-fp/op-4.h: Likewise.
23984 * soft-fp/op-common.h: Likewise.
23985 * soft-fp/quad.h: Likewise.
23986 * soft-fp/single.h: Likewise.
23987 * soft-fp/soft-fp.h: Likewise.
23988
55602758
YC
239892013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23990
23991 * iconv/iconv_prog.c: Fix typos.
23992 * stdio-common/psiginfo-data.h: Likewise.
23993
9cd83302
RT
239942013-10-12 Reuben Thomas <rrt@sc3d.org>
23995
23996 [BZ #15764]
23997 * locale/setlocale.c: Fix typo.
23998
99fd9f47
JM
239992013-10-12 Joseph Myers <joseph@codesourcery.com>
24000
b7ea74f0
JM
24001 [BZ #16036]
24002 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24003 signaling NaN arguments.
24004 * soft-fp/unordsf2.c (__unordsf2): Likewise.
24005 * soft-fp/unordtf2.c (__unordtf2): Likewise.
24006
8a509447
JM
24007 [BZ #14910]
24008 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24009 unordered operands.
24010 * soft-fp/gesf2.c (__gesf2): Likewise.
24011 * soft-fp/getf2.c (__getf2): Likewise.
24012 * soft-fp/ledf2.c (__ledf2): Likewise.
24013 * soft-fp/lesf2.c (__lesf2): Likewise.
24014 * soft-fp/letf2.c (__letf2): Likewise.
24015
98998e9f
JM
24016 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24017 * soft-fp/eqsf2.c (__eqsf2): Likewise.
24018 * soft-fp/eqtf2.c (__eqtf2): Likewise.
24019 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24020 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24021 * soft-fp/fixdfti.c (__fixdfti): Likewise.
24022 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24023 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24024 * soft-fp/fixsfti.c (__fixsfti): Likewise.
24025 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24026 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24027 * soft-fp/fixtfti.c (__fixtfti): Likewise.
24028 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24029 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24030 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24031 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24032 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24033 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24034 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24035 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24036 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24037 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24038 * soft-fp/floatdisf.c (__floatdisf): Likewise.
24039 * soft-fp/floatsisf.c (__floatsisf): Likewise.
24040 * soft-fp/floattidf.c (__floattidf): Likewise.
24041 * soft-fp/floattisf.c (__floattisf): Likewise.
24042 * soft-fp/floattitf.c (__floattitf): Likewise.
24043 * soft-fp/floatundidf.c (__floatundidf): Likewise.
24044 * soft-fp/floatundisf.c (__floatundisf): Likewise.
24045 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24046 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24047 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24048 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24049 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24050 * soft-fp/gesf2.c (__gesf2): Likewise.
24051 * soft-fp/getf2.c (__getf2): Likewise.
24052 * soft-fp/ledf2.c (__ledf2): Likewise.
24053 * soft-fp/lesf2.c (__lesf2): Likewise.
24054 * soft-fp/letf2.c (__letf2): Likewise.
24055
8edc4a11
JM
24056 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24057 Undefine and redefine.
24058 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24059 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24060 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24061 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24062 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24063 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24064 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24065 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24066 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24067 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24068 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24069 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24070 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24071 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24072 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24073
8399acaf
JM
24074 [BZ #16032]
24075 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24076 without decrementing exponent if mantissa >= that for the
24077 denominator, not >.
24078 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24079 denominator, not >. Decrement exponent in < case instead of
24080 incrementing in >= case.
24081 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24082 without decrementing exponent if mantissa >= that for the
24083 denominator, not >.
24084
99fd9f47
JM
24085 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24086 computing saturated result for unsigned overflow.
24087
10e1cf6b
SP
240882013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24089 Jeff Law <law@redhat.com>
24090
24091 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24092 (atan2Mp): Add systemtap probe marker.
24093 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24094 (__ieee754_log): Add systemtap probe marker.
24095 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24096 (atanMp): Add systemtap probe marker.
24097 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24098 (tanMp): Add systemtap probe marker.
24099 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24100 (__slowexp): Add systemtap probe marker.
24101 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24102 (__slowpow): Add systemtap probe marker.
24103 * manual/probes.texi: Document probes.
24104
3d110c7c
EB
241052013-10-11 Eric Biggers <ebiggers3@gmail.com>
24106
24107 [BZ #15362]
24108 * libio/fileops.c (_IO_new_file_write): Return count of bytes
24109 written.
24110 (_IO_new_file_xsputn): Don't return EOF if nothing has been
24111 written.
24112 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24113 written to buffer but not flushed.
24114 * libio/iofwrite_u.c: Likewise.
24115 * libio/iopadn.c: Return bytes returned even if EOF was
24116 encountered.
24117 * libio/iowpadn.c: Likewise.
24118 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24119 if _IO_padn does not write the whole buffer.
24120 [!COMPILE_WPRINTF] (PAD): Likewise.
24121
75b4202a
DM
241222013-10-10 David S. Miller <davem@davemloft.net>
24123
24124 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24125 directory block.
24126
6c6352e6
JM
241272013-10-10 Joseph Myers <joseph@codesourcery.com>
24128
33b853c3
JM
24129 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24130 instead of FSF address.
24131 * soft-fp/fixdfti.c: Likewise.
24132 * soft-fp/fixsfti.c: Likewise.
24133 * soft-fp/fixtfti.c: Likewise.
24134 * soft-fp/fixunsdfti.c: Likewise.
24135 * soft-fp/fixunssfti.c: Likewise.
24136 * soft-fp/fixunstfti.c: Likewise.
24137 * soft-fp/floattidf.c: Likewise.
24138 * soft-fp/floattisf.c: Likewise.
24139 * soft-fp/floattitf.c: Likewise.
24140 * soft-fp/floatuntidf.c: Likewise.
24141 * soft-fp/floatuntisf.c: Likewise.
24142 * soft-fp/floatuntitf.c: Likewise.
24143 * soft-fp/trunctfxf2.c: Likewise.
24144
6c6352e6
JM
24145 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24146 * soft-fp/fixdfti.c: Likewise.
24147 * soft-fp/fixsfti.c: Likewise.
24148 * soft-fp/fixtfti.c: Likewise.
24149 * soft-fp/fixunsdfti.c: Likewise.
24150 * soft-fp/fixunssfti.c: Likewise.
24151 * soft-fp/fixunstfti.c: Likewise.
24152 * soft-fp/floattidf.c: Likewise.
24153 * soft-fp/floattisf.c: Likewise.
24154 * soft-fp/floattitf.c: Likewise.
24155 * soft-fp/floatuntidf.c: Likewise.
24156 * soft-fp/floatuntisf.c: Likewise.
24157 * soft-fp/floatuntitf.c: Likewise.
24158 * soft-fp/trunctfxf2.c: Likewise.
24159
3bf78b71
DM
241602013-10-10 David S. Miller <davem@davemloft.net>
24161
24162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24163
6f10289e
JM
241642013-10-10 Joseph Myers <joseph@codsourcery.com>
24165
bd878fc0
JM
24166 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24167 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24168 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24169 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24170 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24171 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24172 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24173
6f10289e
JM
24174 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24175 for NaNs before doing comparisons on argument.
24176 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24177 Likewise.
24178
321e2684
WN
241792013-10-10 Will Newton <will.newton@linaro.org>
24180
24181 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24182 passed to _int_memalign does not overflow.
24183
40fefba1
TR
241842013-10-10 Torvald Riegel <triegel@redhat.com>
24185
24186 * scripts/bench.pl: Add include-sources directive.
24187 * benchtests/README: Update documentation.
24188
2ae21ed2
JM
241892013-10-10 Joseph Myers <joseph@codesourcery.com>
24190
dcc2dd3f
JM
24191 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24192 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24193 instead of FP_INIT_ROUNDMODE.
24194 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24195 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24196
2ae21ed2
JM
24197 [BZ #16034]
24198 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24199 copy class of input value.
24200 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24201 not handle exceptions.
24202 * soft-fp/negsf2.c (__negsf2): Likewise.
24203 * soft-fp/negtf2.c (__negtf2): Likewise.
24204 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24205
cb8f9562
JM
242062013-10-09 Joseph Myers <joseph@codesourcery.com>
24207
24208 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24209 semicolon. From Linux kernel.
24210
5b60c59d
AB
242112013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24212
24213 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24214
b86835ca
YC
242152013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24216
24217 [BZ #156]
24218 * manual/socket.texi: Added statement about buffer
24219 for gethostbyname2_r.
24220
e7044ea7
OB
242212013-10-08 Ondřej Bílka <neleai@seznam.cz>
24222
24223 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24224 Use .p2align directive instead, throughout.
24225 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24226 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24227 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24228 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24229 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24230 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24231 * sysdeps/x86_64/strchr.S: Likewise.
24232 * sysdeps/x86_64/strrchr.S: Likewise.
24233
09544cbc
SP
242342013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24235
88576635
SP
24236 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24237
e7b2d1dd
SP
24238 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24239
09544cbc
SP
24240 * sysdeps/generic/math_private.h (__mpsin1): Remove
24241 declaration.
24242 (__mpcos1): Likewise.
24243 (__mpsin): New argument __range_reduce.
24244 (__mpcos): Likewise.
24245 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24246 (slow): Use __mpsin and __mpcos.
24247 (slow1): Likewise.
24248 (slow2): Likewise.
24249 (sloww): Likewise.
24250 (sloww1): Likewise.
24251 (sloww2): Likewise.
24252 (bsloww): Likewise.
24253 (bsloww1): Likewise.
24254 (bsloww2): Likewise.
24255 (cslow2): Likewise.
24256 (csloww): Likewise.
24257 (csloww1): Likewise.
24258 (csloww2): Likewise.
24259 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24260 range_reduce. Merge in __mpsin1.
24261 (__mpcos): Likewise.
24262 (__mpsin1): Remove.
24263 (__mpcos1): Likewise.
24264
7602d070
JM
242652013-10-07 Joseph Myers <joseph@codesourcery.com>
24266
24267 * locale/loadlocale.c (_nl_intern_locale_data): Use
24268 LOCFILE_ALIGNED_P.
24269 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24270 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24271 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24272 obstack data is appropriately aligned.
24273 (obstack_int32_grow_fast): Likewise.
24274 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24275 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24276 (add_locale_uint32_array): Likewise.
24277
a357259b
SP
242782013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24279
24280 * benchtests/Makefile: Remove ARGLIST and RET variables.
24281 ($(objpfx)bench-%.c): Pass only function name to the script.
24282 * benchtests/README: Update documentation.
24283 * benchtests/acos-inputs: Add new directives.
24284 * benchtests/acosh-inputs: Likewise.
24285 * benchtests/asin-inputs: Likewise.
24286 * benchtests/asinh-inputs: Likewise.
24287 * benchtests/atan-inputs: Likewise.
24288 * benchtests/atanh-inputs: Likewise.
24289 * benchtests/cos-inputs: Likewise.
24290 * benchtests/cosh-inputs: Likewise.
24291 * benchtests/exp-inputs: Likewise.
24292 * benchtests/log-inputs: Likewise.
24293 * benchtests/pow-inputs: Likewise.
24294 * benchtests/rint-inputs: Likewise.
24295 * benchtests/sin-inputs: Likewise.
24296 * benchtests/sinh-inputs: Likewise.
24297 * benchtests/tan-inputs: Likewise.
24298 * benchtests/tanh-inputs: Likewise.
24299 * scripts/bench.pl: Add support for new directives.
24300
9ec1b13d
AM
243012013-10-07 Alan Modra <amodra@gmail.com>
24302
24303 * README: Fix careless merge.
24304
8b7d57cd
AM
243052013-10-05 Alan Modra <amodra@gmail.com>
24306
24307 * NEWS: Mention powerpc64le support and bugs fixed.
24308 * README: Both big-endian and little-endian powerpc64 supported.
24309
7b7bab13
ST
243102013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24311
57f41c40
AS
24312 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24313 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
24314 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24315 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24316
d39baad1
RA
243172013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24318
24319 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24320 match prototype.
24321
cd78f7e7
JM
243222013-10-04 Joseph Myers <joseph@codesourcery.com>
24323
29d73d86
JM
24324 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24325 Move -mhard-float appending from
24326 ports/sysdeps/powerpc/powerpc32/Makefile.
24327 [$(with-fp) = yes] (ASFLAGS): Likewise.
24328 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24329 * sysdeps/powerpc/nofpu: Move directory from
24330 ports/sysdeps/powerpc/nofpu.
24331 * sysdeps/powerpc/soft-fp: Move directory from
24332 ports/sysdeps/powerpc/soft-fp.
24333 * sysdeps/powerpc/powerpc32/405: Move directory from
24334 ports/sysdeps/powerpc/powerpc32/405.
24335 * sysdeps/powerpc/powerpc32/440: Move directory from
24336 ports/sysdeps/powerpc/powerpc32/440.
24337 * sysdeps/powerpc/powerpc32/464: Move directory from
24338 ports/sysdeps/powerpc/powerpc32/464.
24339 * sysdeps/powerpc/powerpc32/476: Move directory from
24340 ports/sysdeps/powerpc/powerpc32/476.
24341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24342 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24344 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24346 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24348 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24350 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24351 * README: Update for powerpc-*-linux-gnu software floating point
24352 support in libc.
24353
e246b347
JM
24354 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24355 case to powerpc/powerpc32*.
24356 * sysdeps/unix/sysv/linux/configure: Regenerated.
24357
89c2003e
JM
24358 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24359 (_FPU_MASK_OM): Define as 0x04.
24360 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24361 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24362 0x00c10080.
24363 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24364 0x0000003c.
24365 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24366
cd78f7e7
JM
24367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24368 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24369 getcontext_e500.
24370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24371 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24372 setcontext_e500.
24373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24374 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24375 and setcontext_e500.
24376
c755294d
CL
243772013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24378
24379 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24380
e16d221c
SP
243812013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24382
24383 * manual/threads.texi (Default Thread Attributes): Fix typo.
24384
215c7d43
WN
243852013-10-04 Will Newton <will.newton@linaro.org>
24386
24387 * malloc/Makefile: Add tst-memalign.
24388 * malloc/tst-memalign.c: New file.
24389
27d0461b
WN
24390 * malloc/tst-posix_memalign.c: Add comments.
24391 (do_test): Add comments and call free on all potentially
24392 allocated pointers. Add space after cast.
24393
1bc92709
WN
24394 * malloc/tst-pvalloc.c: Add comments.
24395 (do_test): Add comments and call free on all potentially
24396 allocated pointers. Remove duplicate check for NULL pointer.
24397 Add space after cast.
24398
66a9be9d
WN
24399 * malloc/tst-valloc.c: Add comments.
24400 (do_test): Add comments and call free on all potentially
24401 allocated pointers. Remove duplicate check for NULL pointer.
24402 Add space after cast.
24403
4cb81307
AM
244042013-10-04 Alan Modra <amodra@gmail.com>
24405
24406 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24407 Use stdint types in rather than __attribute__((mode())).
24408 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24409
f8e3e9f3
AM
244102013-10-04 Alan Modra <amodra@gmail.com>
24411
24412 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24413 Correct handling of unaligned relocs for little-endian.
24414 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24415
8f9ebb08
AM
244162013-10-04 Alan Modra <amodra@gmail.com>
24417
24418 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24419 * configure: Regenerate.
24420 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24421 * shlib-versions: Likewise.
24422
0edf96c2
AM
244232013-10-04 Alan Modra <amodra@gmail.com>
24424
24425 * string/tester.c (test_memrchr): Increment reported test cycle.
24426
e0f7a380
AM
244272013-10-04 Alan Modra <amodra@gmail.com>
24428
24429 * string/test-memcpy.c (do_one_test): When reporting errors, print
24430 string address and don't overrun end of string.
24431
466b0393
AM
244322013-10-04 Alan Modra <amodra@gmail.com>
24433
24434 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24435 insrdi. Make better use of reg selection to speed exit slightly.
24436 Schedule entry path a little better. Remove useless "are we done"
24437 checks on entry to main loop. Handle wrapping around zero address.
24438 Correct main loop count. Handle single left-over word from main
24439 loop inline rather than by using loop_small. Remove extra word
24440 case in loop_small caused by wrong loop count. Add little-endian
24441 support.
24442 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24443 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24444 cache hint.
24445 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24446 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24447 support. Avoid rlwimi.
24448 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24449
3be87c77
AM
244502013-10-04 Alan Modra <amodra@gmail.com>
24451
24452 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 24453 insrdi. Formatting.
3be87c77
AM
24454 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24455 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24456 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24457 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24458 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24459 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24460
759cfef3
AM
244612013-10-04 Alan Modra <amodra@gmail.com>
24462
24463 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24464 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24465 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24466 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24467 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24468 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24469 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24470 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24471 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24472 use of regs. Use power7 mtocrf. Tidy function tails.
24473
fe6e95d7
AM
244742013-10-04 Alan Modra <amodra@gmail.com>
24475
24476 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24477 Formatting. Consistently use rXXX register defines or rN defines.
24478 Use early exit labels that avoid restoring unused non-volatile regs.
24479 Make cr field use more consistent with rWORDn compares. Rename
24480 regs used as shift registers for unaligned loop, using rN defines
24481 for short lifetime/multiple use regs.
24482 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24483 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24484 addi 1,1,64 to pop stack frame. Simplify return value code.
24485 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24486
664318c3
AM
244872013-10-04 Alan Modra <amodra@gmail.com>
24488
24489 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24490 support. Correct typos, formatting. Optimize tail. Use insrdi
24491 rather than rlwimi.
24492 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24493 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24494 little-endian support. Correct typos.
24495 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24496 rather than rlwimi.
24497 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24498 in loop and entry code to keep "and." results.
24499 (strchr): Add little-endian support. Comment. Move cntlzd
24500 earlier in tail.
24501 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24502
43b84013
AM
245032013-10-04 Alan Modra <amodra@gmail.com>
24504
24505 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24506 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24507 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24508 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24509
8a7413f9
AM
245102013-10-04 Alan Modra <amodra@gmail.com>
24511
24512 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24513 (rTMP): Define as r11.
24514 (strcmp): Add little-endian support. Optimise tail.
24515 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24516 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24517 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24518 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24519 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24520 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24521 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24522
33ee81de
AM
245232013-10-04 Alan Modra <amodra@gmail.com>
24524
24525 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24526 little-endian support. Remove unnecessary "are we done" tests.
24527 Handle "s" wrapping around zero and extremely large "size".
24528 Correct main loop count. Handle single left-over word from main
24529 loop inline rather than by using small_loop. Correct comments.
24530 Delete "zero" tail, use "end_max" instead.
24531 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24532
db9b4570
AM
245332013-10-04 Alan Modra <amodra@gmail.com>
24534
24535 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24536 support. Don't branch over align.
24537 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24538 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24539 support. Rearrange tmp reg use to suit. Comment.
24540 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24541
f7c399cf
AM
245422013-10-04 Alan Modra <amodra@gmail.com>
24543
24544 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24545
0b2c2ace
AM
245462013-10-04 Alan Modra <amodra@gmail.com>
24547
24548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24549 conditional form of branch and link when obtaining pc.
24550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24551
02f04a6c
AM
245522013-10-04 Alan Modra <amodra@gmail.com>
24553
24554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24555 HIWORD/LOWORD.
24556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24558
9b874b2f
AM
245592013-10-04 Alan Modra <amodra@gmail.com>
24560
24561 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24562 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24563 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24564 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24565 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24566 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24567 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24568 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24569 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24570 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24571
be1e5d31
AB
245722013-10-04 Anton Blanchard <anton@au1.ibm.com>
24573 Alistair Popple <alistair@ozlabs.au.ibm.com>
24574 Alan Modra <amodra@gmail.com>
24575
24576 [BZ #15723]
24577 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24578 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24579 _dl_hwcap access for little-endian.
24580 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24581 destroy vmx regs when saving unaligned.
24582 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24583 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24584 destroy vmx regs when saving unaligned.
24585
fef13a78
AM
245862013-10-04 Alan Modra <amodra@gmail.com>
24587
24588 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24589 Don't use a union to pack hi/low value.
24590
76a66d51
AB
245912013-10-04 Anton Blanchard <anton@au1.ibm.com>
24592
24593 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24594 for little-endian.
24595 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24596 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24597 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24598 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24599 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24600
6a31fe7f
AM
246012013-10-04 Alan Modra <amodra@gmail.com>
24602
24603 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24604 constants to usual value for .cst8 section, and remove redundant
24605 high address load.
24606 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24607 constant for 0x1p52. Load little-endian words of double from
24608 correct stack offsets.
24609
7b88401f
AM
246102013-10-04 Alan Modra <amodra@gmail.com>
24611
24612 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24613 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24614 words of double from correct stack offsets.
24615 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24616 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24617 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24618 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24619 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24620 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24621 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24622 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24623 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24624 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24625 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24626 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24627 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24628 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24629 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24630 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24631 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24632
9c008155
AM
246332013-10-04 Alan Modra <amodra@gmail.com>
24634
24635 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24636 64-bit int/double union.
24637 (_FPU_SETCW): Likewise.
24638 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24639 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24640
da13146d
AM
246412013-10-04 Alan Modra <amodra@gmail.com>
24642
24643 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24644 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24645
603e8410
AM
246462013-10-04 Alan Modra <amodra@gmail.com>
24647
24648 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24649 use vector int constants.
24650 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24651
4a28b3ca
AB
246522013-10-04 Anton Blanchard <anton@au1.ibm.com>
24653
24654 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24655 array with long long.
24656 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24657 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24658 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24659 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24660 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24661 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24662 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24663 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24664 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24665 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24666 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24667 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24668 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24669
2ca85d2b
AB
246702013-10-04 Anton Blanchard <anton@au1.ibm.com>
24671
24672 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24673 (__signbit): Likewise. Correct for little-endian.
24674 (__signbitl): Call __signbit.
24675 (lrint): Correct for little-endian.
24676 (lrintf): Call lrint.
24677
62a728ae
AM
246782013-10-04 Alan Modra <amodra@gmail.com>
24679
24680 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24681 union 32-bit int array member with 64-bit int array.
24682 (t515, tm256): Double rather than long double.
24683 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24684
32c301df
AM
246852013-10-04 Alan Modra <amodra@gmail.com>
24686
24687 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24688 Delete.
24689 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24690 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24691 version of math_ldbl.h.
24692
650ef4bd
AM
246932013-10-04 Alan Modra <amodra@gmail.com>
24694
24695 [BZ #15734], [BZ #15735]
24696 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24697 all uses of ieee875 long double macros and unions. Simplify test
24698 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24699 ldbl_extract_mantissa value for ix,iy exponents. Properly
24700 normalize after ldbl_extract_mantissa, and don't add hidden bit
24701 already handled. Don't treat low word of ieee854 mantissa like
24702 low word of IBM long double and mask off bit when testing for
24703 zero.
24704 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24705 all uses of ieee875 long double macros and unions. Simplify tests
24706 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24707 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24708 two1022, instead use their values. Recognise that tests for large
24709 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24710 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24711 Rewrite all uses of ieee875 long double macros and unions. Simplify
24712 test for 0.0L and nan. Correct negation.
24713 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24714 ieee875 long double macros and unions. Correct output for large
24715 magnitude x. Correct absolute value calculation.
24716 (__erfcl): Likewise.
24717 * math/libm-test.inc: Add tests for errors discovered in IBM long
24718 double versions of fmodl, remainderl, erfl and erfcl.
24719
765714ca
AM
247202013-10-04 Alan Modra <amodra@gmail.com>
24721
24722 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24723 all uses of ieee854 long double macros and unions. Simplify tests
24724 for long doubles that are fully specified by the high double.
24725 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24726 Likewise.
24727 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24728 Remove dead code too.
24729 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24730 (__ieee754_ynl): Likewise.
24731 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24732 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24733 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24734 Remove dead code too.
24735 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24736 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24737 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24738 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24739 Simplify.
24740 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24741 Simplify.
24742 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24743 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24744 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24745 Comment on variable precision.
24746 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24747 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24748 Likewise.
24749 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24750 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24751 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24752 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24753 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24754
4ebd120c
AM
247552013-10-04 Alan Modra <amodra@gmail.com>
24756
24757 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24758 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24759 all uses of ieee854 long double macros and unions.
24760 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24761 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24762 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24763 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24764 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24765 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24766 Likewise.
24767 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24768 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24769 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24770 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24771 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24772 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24773 Simplify sign and nan test too.
24774 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24775 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24776 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24777 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24778 Likewise.
24779 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24780 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24781 Likewise.
24782 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24783 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24784 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24785 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24786 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24787 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24788
1b6adf88
AM
247892013-10-04 Alan Modra <amodra@gmail.com>
24790
24791 * stdio-common/printf_size.c (__printf_size): Don't use
24792 union ieee854_long_double in fpnum union.
24793 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24794 signbit macro to retrieve sign from long double.
24795 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24796 retrieve sign from long double.
24797 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24798 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24799 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24800 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24801 * math/test-misc.c (main): Don't use union ieee854_long_double.
24802
4cf69995
AM
248032013-10-04 Alan Modra <amodra@gmail.com>
24804
24805 [BZ #15680]
24806 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24807 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24808 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24809 calculation. Remove unnecessary test for denormal exponent.
24810 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24811 Correct handling of denormals. Avoid undefined shift behaviour.
24812 Correct normalisation of low mantissa when low double is denormal.
24813 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24814 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24815 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24816 Correct normalisation of low mantissa. Test for overflow of high
24817 mantissa and normalise.
24818 (ldbl_nearbyint): Use more readable constant for two52.
24819 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24820 (__mpn_construct_long_double): Fix test for overflow of high
24821 mantissa and correct normalisation. Avoid undefined shift.
24822
9605ca6c
AM
248232013-10-04 Alan Modra <amodra@gmail.com>
24824
24825 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24826 (union ibm_extended_long_double): Define as an array of ieee754_double.
24827 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24828 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24829 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24830 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24831 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24832 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24833 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24834 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24835 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24836 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24837 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24838
975569d0
JM
248392013-10-03 Joseph Myers <joseph@codesourcery.com>
24840
d3d23756
JM
24841 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24842 page size instead of calling getpagesize.
24843
975569d0
JM
24844 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24845 (LOCFILE_ALIGN_MASK): Likewise.
24846 (LOCFILE_ALIGN_UP): Likewise.
24847 (LOCFILE_ALIGNED_P): Likewise.
24848 * locale/programs/ld-collate.c (collate_output): Use the new
24849 macros instead of __alignof__ (int32_t).
24850 * locale/weight.h (findidx): Likewise.
24851
b1fe1f2b
OB
248522013-10-03 Ondřej Bílka <neleai@seznam.cz>
24853
24854 [BZ #431]
24855 * manual/string.texi: Fix strncat and wcsncat.
24856
5f855e35
BM
248572013-10-03 Brooks Moses <bmoses@google.com>
24858
24859 [BZ #15915]
24860 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24861 * Makerules: ...here, and adjust associated comments.
24862
3cef6009
WN
248632013-10-02 Will Newton <will.newton@linaro.org>
24864
24865 * malloc/Makefile: Add tst-pvalloc.
24866 * malloc/tst-pvalloc.c: New file.
24867
7815420b
WN
248682013-10-02 Will Newton <will.newton@linaro.org>
24869
24870 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24871 improve test coverage.
24872
4868b204
WN
248732013-10-02 Will Newton <will.newton@linaro.org>
24874
24875 * malloc/Makefile: Add tst-posix_memalign.
24876 * malloc/tst-posix_memalign.c: New file.
24877
29c793b3
EB
248782013-10-01 Eric Blake <eblake@redhat.com>
24879
24880 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24881 Use __THROWNL rather than __THROW on static functions.
24882
fd967522
PM
248832013-09-30 Petr Machata <pmachata@redhat.com>
24884
24885 * elf/elf.h (R_AARCH64_ABS16): New macro.
24886 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24887 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24888 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24889 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24890 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24891 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24892 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24893 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24894 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24895 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24896 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24897 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24898 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24899 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24900 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24901 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24902 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24903 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24904 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24905 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24906 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24907 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24908 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24909 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24910 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24911 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24912 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24913 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24914 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24915 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24916 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24917 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24918 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24919 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24920 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24921 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24922 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24923 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24924 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24925 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24926 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24927 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24928 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24929 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24930 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24931 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24932 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24933 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24934 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24935 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24936 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24937 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24938 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24939 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24940 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24941 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24942 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24943 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24944 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24945 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24946 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24947 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24948 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24949 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24950 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24951 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24952 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24953 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24954 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24955 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24956 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24957 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24958 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24959 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24960 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24961 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24962 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24963 (R_AARCH64_TLSDESC_LDR): Likewise.
24964 (R_AARCH64_TLSDESC_ADD): Likewise.
24965 (R_AARCH64_TLSDESC_CALL): Likewise.
24966
b2179107
AS
249672013-09-30 Andreas Schwab <schwab@suse.de>
24968
24969 [BZ #15048]
24970 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24971 the nss database lookup.
24972 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24974
47f28d0a
MF
249752013-09-28 Mike Frysinger <vapier@gentoo.org>
24976
24977 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24978
249792013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
24980
24981 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24982 ${Bash-specific parameter/pattern/string} parameter expansion.
24983 * sysdeps/unix/make-syscalls.sh: Likewise.
24984
f4518a17
KK
249852013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24986
24987 * sysdeps/sh/stackguard-macros.h: New file.
24988
dc1a95c7
OB
249892013-09-26 Ondřej Bílka <neleai@seznam.cz>
24990
24991 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24992 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24993 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24994 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24995 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24996 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24997
5ebbff8f
AZ
249982013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24999
25000 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25001 Fix thread ID register.
25002
4fd2cf9f
JM
250032013-09-25 Joseph Myers <joseph@codesourcery.com>
25004
25005 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25006 [POSIX || UNIX98]: Require rather than permitting all symbols from
25007 <time.h>.
25008 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25009 element of struct sched_param.
25010 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25011 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25012 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25013 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25014 constant.
25015
12c22bc4
OL
250162013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
25017
25018 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25019 argument calculation.
25020
a03d8ea7
JM
250212013-09-24 Joseph Myers <joseph@codesourcery.com>
25022
25023 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25024 Expect macro.
25025 [POSIX] (pthread_attr_t): Do not require type.
25026 [POSIX] (pthread_cond_t): Likewise.
25027 [POSIX] (pthread_condattr_t): Likewise.
25028 [POSIX] (pthread_key_t): Likewise.
25029 [POSIX] (pthread_mutex_t): Likewise.
25030 [POSIX] (pthread_mutexattr_t): Likewise.
25031 [POSIX] (pthread_once_t): Likewise.
25032 [POSIX] (pthread_t): Likewise.
25033 [POSIX-based standards] (pthread_atfork): Expect function.
25034
6055173a
JM
250352013-09-24 Joseph Myers <joseph@codesourcery.com>
25036 Richard Sandiford <richard@codesourcery.com>
25037
25038 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25039 (swap_endianness_p): New extern variable.
25040 (set_big_endian): New inline function.
25041 (maybe_swap_uint32): Likewise.
25042 (maybe_swap_uint32_array): Likewise.
25043 (maybe_swap_uint32_obstack): Likewise.
25044 * locale/programs/locfile.c: Include <stdbool.h>.
25045 (swap_endianness_p): New variable.
25046 (add_locale_uint32): Call maybe_swap_uint32.
25047 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25048 (write_locale_data): Call maybe_swap_uint32_array.
25049 * locale/programs/ld-collate.c (obstack_int32_grow): Call
25050 maybe_swap_uint32.
25051 (obstack_int32_grow_fast): Likewise.
25052 (output_weightwc): Call maybe_swap_uint32_obstack.
25053 (collate_output): Likewise.
25054 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25055 (OPT_LITTLE_ENDIAN): Likewise.
25056 (options): Add --little-endian and --big-endian options.
25057 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25058 * locale/programs/locarchive.c: Include "locfile.h".
25059 (GET): New macro.
25060 (SET): Likewise.
25061 (INC): Likewise.
25062 (create_archive): Use the new macros to access fields of
25063 structures directly mapped from or written to locale archives.
25064 (oldlocrecentcmp): Likewise.
25065 (enlarge_archive): Likewise.
25066 (insert_name): Likewise.
25067 (add_alias): Likewise.
25068 (add_locale): Likewise.
25069 (delete_locales_from_archive): Likewise.
25070 (show_archive_content): Likewise.
25071 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
25072 locale data.
25073
39bf0bb4
RM
250742013-09-24 Roland McGrath <roland@hack.frob.com>
25075
25076 * manual/freemanuals.texi: Updated from (newly) canonical copy at
25077 http://www.gnu.org/doc/freemanuals.texi.
25078 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25079
f02eed10
WN
250802013-09-24 Will Newton <will.newton@linaro.org>
25081
25082 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25083 macro.
25084
a3a6c312
JM
250852013-09-23 Joseph Myers <joseph@codesourcery.com>
25086
25087 * locale/hashval.h (compute_hashval): Interpret bytes of key as
25088 unsigned char.
25089
107375ac
MR
250902013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
25091
25092 * manual/threads.texi (POSIX Threads): Fix a typo.
25093
141f3a77
SP
250942013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25095
303e567a
SP
25096 [BZ #14547]
25097 * string/tst-strcoll-overflow.c: New test case.
25098 * string/Makefile (xtests): Add tst-strcoll-overflow.
25099 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25100 cache if string sizes may cause integer overflow.
25101
141f3a77
SP
25102 [BZ #14547]
25103 * string/strcoll_l.c (coll_seq): New members rule, idx,
25104 save_idx and back_us.
25105 (get_next_seq_nocache): New function.
25106 (do_compare_nocache): New function.
25107 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25108 when malloc fails.
25109
c61b4d41
CD
251102013-09-23 Carlos O'Donell <carlos@redhat.com>
25111
0b1f8e35
CD
25112 [BZ #15754]
25113 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25114 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25115 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25116
c61b4d41
CD
25117 [BZ #15754]
25118 * elf/Makefile (tests): Add tst-ptrguard1.
25119 (tests-static): Add tst-ptrguard1-static.
25120 (tst-ptrguard1-ARGS): Define.
25121 (tst-ptrguard1-static-ARGS): Define.
25122 * elf/tst-ptrguard1.c: New file.
25123 * elf/tst-ptrguard1-static.c: New file.
25124 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25125 * sysdeps/i386/stackguard-macros.h: Likewise.
25126 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25127 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25128 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25129 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25130 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25131 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25132
251332013-09-23 Hector Marco <hecmargi@upv.es>
25134 Ismael Ripoll <iripoll@disca.upv.es>
25135 Carlos O'Donell <carlos@redhat.com>
25136
25137 [BZ #15754]
25138 * sysdeps/generic/stackguard-macros.h: Define
25139 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25140 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25141 Define __pointer_chk_guard_local.
25142 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25143 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25144
f5f4e7b4
VV
251452013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25146
25147 [BZ #15859]
25148 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25149
5bb43a43
AS
251502013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25151
25152 * include/string.h (__ffs): Declare as hidden.
25153 * string/ffs.c (__ffs): Define as hidden.
25154 * sysdeps/i386/ffs.c (__ffs): Likewise.
25155 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25156 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25157 * sysdeps/s390/ffs.c (__ffs): Likewise.
25158 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25159
3ea5be54
AO
251602013-09-20 Alexandre Oliva <aoliva@redhat.com>
25161
ffb89e53
AO
25162 * NEWS: Mention malloc probes.
25163
322dea08
AO
25164 * malloc/arena.c (new_heap): New memory_heap_new probe.
25165 (grow_heap): New memory_heap_more probe.
25166 (shrink_heap): New memory_heap_less probe.
25167 (heap_trim): New memory_heap_free probe.
25168 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25169 (systrim): New memory_sbrk_less probe.
25170 * manual/probes.texi: Document them.
25171
655673f3
AO
25172 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25173 * manual/probes.texi: Document it.
25174
35fed6f1
AO
25175 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25176 (__libc_realloc): Add memory_realloc_retry probe.
25177 (__libc_memalign): Add memory_memalign_retry probe.
25178 (__libc_valloc): Add memory_valloc_retry probe.
25179 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25180 (__libc_calloc): Add memory_calloc_retry probe.
25181 * manual/probes.texi: Document them.
25182
6999d38c
AO
25183 * malloc/arena.c (get_free_list): Add probe
25184 memory_arena_reuse_free_list.
25185 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25186 and memory_arena_reuse.
25187 (arena_get2) [!PER_THREAD]: Likewise.
25188 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25189 memory_arena_reuse_realloc.
25190 * manual/probes.texi: Document them.
25191
0653427f
AO
25192 * malloc/malloc.c (__libc_free): Add
25193 memory_mallopt_free_dyn_thresholds probe.
25194 (__libc_mallopt): Add multiple memory_mallopt probes.
25195 * manual/probes.texi: Document them.
25196
3ea5be54
AO
25197 * malloc/malloc.c: Include stap-probe.h.
25198 (__libc_mallopt): Add memory_mallopt probe.
25199 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25200 * manual/probes.texi: New.
25201 * manual/Makefile (chapters): Add probes.
25202 * manual/threads.texi: Set next node.
25203
e35696c3 252042013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 25205
e35696c3
CL
25206 [BZ #15963, #13985]
25207 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25208 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25209 Add `Chinese' to `nan' entry name.
25210
4aafb73c
SP
252112013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25212
25213 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25214 (POLYNOMIAL): Likewise.
25215 (TAYLOR_SINCOS): Likewise.
25216 (TAYLOR_SLOW): Likewise.
25217 (__sin): Use TAYLOR_SINCOS.
25218 (__cos): Likewise.
25219 (slow): Use TAYLOR_SLOW.
25220 (sloww): Likewise.
25221 (bsloww): Likewise.
25222 (csloww): Likewise.
25223
d84f25c7
LD
252242013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25225
25226 * stdlib/strtod_l.c: Fix buffer overrun.
25227
5eea0404
SP
252282013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25229
7849ff93
SP
25230 * benchtests/Makefile (bench): Add sincos.
25231 * benchtests/bench-sincos.c: New file.
25232
cfa3c886
SP
25233 * math/libm-test.inc (cos_test_data): New test inputs.
25234 (sin_test_data): Likewise.
25235
b348e1e3
SP
25236 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25237 macro.
25238 (__sin): Use it.
25239 (__cos): Likewise.
25240 (slow1): Likewise.
25241 (slow2): Likewise.
25242 (sloww1): Likewise.
25243 (sloww2): Likewise.
25244 (bsloww1): Likewise.
25245 (bsloww2): Likewise.
25246 (cslow2): Likewise.
25247 (csloww1): Likewise.
25248 (csloww2): Likewise.
25249
6cce25f8
SP
25250 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25251 function.
25252 (__sin): Use it.
25253 (__cos): Likewise.
25254
5eea0404
SP
25255 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25256 gotos.
25257 (__cos): Likewise.
25258
9c21573c
MR
252592013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25260
25261 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25262 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25263 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25264 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25265 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25266 * elf/cache.c (print_entry): Handle the new cache flags.
25267
24d22e65
JM
252682013-09-18 Joseph Myers <joseph@codesourcery.com>
25269 Aldy Hernandez <aldyh@redhat.com>
25270
25271 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25272 Change condition to [_SOFT_FLOAT].
25273 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25274 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25275 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25276 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25277 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25278 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25279 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25280 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25281 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25282 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25283 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25285 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25288 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25289 declaration.
25290
d13ef066
JM
252912013-09-18 Joseph Myers <joseph@codesourcery.com>
25292
2e071de0
JM
25293 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25294 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25295 (__longjmp): Use LOAD_GP to load saved GPRs.
25296 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25297 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25298 (__sigsetjmp): Use SAVE_GP to save GPRs.
25299
d13ef066
JM
25300 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25301 Do not append -msoft-float.
25302 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25303
97a0650b
SP
253042013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25305
25306 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25307
11ca09e9
JM
253082013-09-17 Joseph Myers <joseph@codesourcery.com>
25309
25310 [BZ #15966]
25311 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25312 (_FPU_GETCW): Use initial "__" on variable and field names but not
25313 on macro parameter name.
25314 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25315 parentheses around reference to macro parameter.
25316
08ffcf34
RS
253172013-09-13 Richard Sandiford <richard@codesourcery.com>
25318
25319 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25320 prototype.
25321 (ctype_startup): Use uint32_t in cast and sizeof for
25322 ctype->charnames.
25323
ae7080d3
JL
253242013-09-11 Jia Liu <proljc@gmail.com>
25325
25326 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25327 __daddr_t_defined.
25328 [__FreeBSD__]: Likewise.
25329
5905e7b3
OB
253302013-09-11 Ondřej Bílka <neleai@seznam.cz>
25331
25332 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25333 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25334 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25335 (strchr): Remove __strchr_sse42 ifunc selection.
25336 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25337 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25338
b987c776
WN
253392013-09-11 Will Newton <will.newton@linaro.org>
25340
25341 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25342 parameter to RES. Remove hardcoded 1000 value.
25343 * benchtests/bench-skeleton.c (main): Pass RES parameter
25344 to TIMING_INIT and multiply result by 1000.
25345
ddf985af
AZ
253462013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25347
25348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25349
ffdd3181
AS
253502013-09-11 Andreas Schwab <schwab@suse.de>
25351
25352 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25353 if not defined.
25354 (O_TMPFILE) [__USE_GNU]: Define.
25355 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25356 Define.
25357
b73ed247
WN
253582013-09-11 Will Newton <will.newton@linaro.org>
25359
25360 [BZ #15857]
25361 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25362 does not overflow.
25363
55e17aad
WN
253642013-09-11 Will Newton <will.newton@linaro.org>
25365
25366 [BZ #15856]
25367 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25368 does not overflow.
25369
1159a193
WN
253702013-09-11 Will Newton <will.newton@linaro.org>
25371
25372 [BZ #15855]
25373 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25374 does not overflow.
25375
5905e7b3 253762013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
25377
25378 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25379 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25380 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25381 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25382 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25383
cdfc721b
AM
253842013-09-10 Allan McRae <allan@archlinux.org>
25385
aa04af00
AM
25386 [BZ #15748]
25387 * manual/arith.texi (Parsing of Floats): Clarify
25388 cross-reference.
25389
cdfc721b
AM
25390 [BZ #15849]
25391 * manual/install.texi (Running make install): Mention
25392 --enable-pt-chown.
25393 * INSTALL: Regenerated.
25394
95e7cf29
MR
253952013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25396
25397 * csu/init-first.c (_init): Remove the !SHARED condition around
25398 FPU control word initialization.
25399 * elf/dl-support.c (_dl_fpu_control): New variable.
25400 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25401 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25402 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25403 * math/test-fpucw-static.c: New file.
25404 * math/test-fpucw-ieee.c: New file.
25405 * math/test-fpucw-ieee-static.c: New file.
25406 * math/Makefile (tests): Add `test-fpucw-ieee' and
25407 `$(tests-static)'.
25408 (tests-static): New variable.
25409 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25410 dependency to...
25411 [($(build-shared),yes)]
25412 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25413 ... this.
25414 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25415 New dependency.
25416
83e43bf0
AM
254172013-09-09 Allan McRae <allan@archlinux.org>
25418
a9f5ce09
AM
25419 [BZ #15939]
25420 * manual/string.texi (Collation Functions): Fix typo in
25421 strcoll example.
25422 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25423
34829bc2
AM
25424 [BZ #15893]
25425 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25426
3932737d
AM
25427 [BZ #15892]
25428 * libio/memstream.c (open_memstream): Fix memory leak.
25429 * libio/wmemstream.c (open_wmemstream): Likewise.
25430
83e43bf0
AM
25431 [BZ #15895]
25432 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25433
0c66b8e9
WN
254342013-09-09 Will Newton <will.newton@linaro.org>
25435
25436 * malloc/Makefile: Add tst-realloc to tests.
25437 * malloc/tst-realloc.c: New file.
25438
f6b00fd1
AM
254392013-09-09 Allan McRae <allan@archlinux.org>
25440
25441 [BZ #15844]
25442 * COPYING: Update from GNU website to fix FSF address.
25443 * COPYING.LIB: Likewise.
25444
eec55e16
DM
254452013-09-06 David S. Miller <davem@davemloft.net>
25446
25447 * po/zh_TW.po: Update Chinese (traditional) translation from
25448 translation project.
25449
1ecbb381
RS
254502013-09-06 Richard Sandiford <richard@codesourcery.com>
25451 Joseph Myers <joseph@codesourcery.com>
25452
25453 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25454 "localeinfo.h".
25455 (obstack_chunk_alloc): New macro.
25456 (obstack_chunk_free): Likewise.
25457 (record_offset): New function.
25458 (init_locale_data): Likewise.
25459 (align_locale_data): Likewise.
25460 (add_locale_empty): Likewise.
25461 (add_locale_raw_data): Likewise.
25462 (add_locale_raw_obstack): Likewise.
25463 (add_locale_string): Likewise.
25464 (add_locale_wstring): Likewise.
25465 (add_locale_uint32): Likewise.
25466 (add_locale_uint32_array): Likewise.
25467 (add_locale_char): Likewise.
25468 (start_locale_structure): Likewise.
25469 (end_locale_structure): Likewise.
25470 (start_locale_prelude): Likewise.
25471 (end_locale_prelude): Likewise.
25472 (write_locale_data): Take locale_file structure rather than an
25473 iovec.
25474 * locale/programs/locfile.h: Include "obstack.h".
25475 (struct locale_file): Change to store locale file contents instead
25476 of header.
25477 (init_locale_data): New prototype.
25478 (align_locale_data): Likewise.
25479 (add_locale_empty): Likewise.
25480 (add_locale_raw_data): Likewise.
25481 (add_locale_raw_obstack): Likewise.
25482 (add_locale_string): Likewise.
25483 (add_locale_wstring): Likewise.
25484 (add_locale_uint32): Likewise.
25485 (add_locale_uint32_array): Likewise.
25486 (add_locale_char): Likewise.
25487 (start_locale_structure): Likewise.
25488 (end_locale_structure): Likewise.
25489 (start_locale_prelude): Likewise.
25490 (end_locale_prelude): Likewise.
25491 (write_locale_data): Update prototype.
25492 * locale/programs/3level.h (struct TABLE): Remove result field.
25493 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25494 Use new locale_file interface.
25495 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25496 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25497 * locale/programs/ld-address.c (address_output): Use new
25498 locale_file interface.
25499 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25500 NO_ADD_LOCALE.
25501 (collate_finish): Don't call collseq_table_finalize.
25502 (collate_output): Use new locale_file interface.
25503 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25504 in file.
25505 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25506 (TABLE): Move defines earlier in file.
25507 (ELEMENT): Likewise.
25508 (DEFAULT): Likewise.
25509 (wctrans_table_add): Move macro and inline function earlier in
25510 file.
25511 (struct wctype_table): Move type earlier in file.
25512 (add_locale_wctype_table): New static prototype.
25513 (struct locale_ctype_t): Use logical types instead of struct iovec
25514 pointers for members.
25515 (ctype_output): Use new locale_file interface.
25516 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25517 new locale_file interface.
25518 (allocate_arrays): Update for use of new locale_file interface.
25519 * locale/programs/ld-identification.c (identification_output): Use
25520 new locale_file interface.
25521 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25522 * locale/programs/ld-messages.c (messages_output): Likewise.
25523 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25524 * locale/programs/ld-name.c (name_output): Likewise.
25525 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25526 * locale/programs/ld-paper.c (paper_output): Likewise.
25527 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25528 * locale/programs/ld-time.c (time_output): Likewise.
25529
e029e2e5
AZ
255302013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25531
25532 * benchtests/Makefile: Add memrchr benchmark.
25533 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25534 benchmark as memrchr.
25535 * benchtests/bench-memrchr-ifunc.c: New file.
25536 * benchtests/bench-memrchr.c: New file.
25537
bbf6e8e4
WN
255382013-09-06 Will Newton <will.newton@linaro.org>
25539
25540 * benchtests/Makefile (string-bench): Add memcpy.
25541
6c82a2f8
CD
255422013-09-05 Carlos O'Donell <carlos@redhat.com>
25543 Cong Wang <amwang@redhat.com>
25544
e732c5f0 25545 [BZ #15850]
6c82a2f8
CD
25546 * sysdeps/unix/sysv/linux/bits/in.h
25547 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25548 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25549 before __USE_KERNEL_IPV6_DEFS uses.
25550 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25551 IPPROTO_BEETPH.
25552 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25553 sockaddr_in6, or ipv6_mreq.
25554
5430fc65
AZ
255552013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25556
25557 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25558 memory access for final bytes in some large inputs.
25559 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25560
4660856c
AZ
255612013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25562
25563 * string/test-memrchr.c: New file.
25564 * string/test-memrchr-ifunc.c: New file.
25565 * string/Makefile: Add new memrchr testcase.
25566
bb8ea713
MF
255672013-09-05 Mike Frysinger <vapier@gentoo.org>
25568
25569 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25570 fanotify_init returns EPERM.
25571
b92a20b5
JM
255722013-09-04 Joseph Myers <joseph@codesourcery.com>
25573
25574 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25575 errors.
25576 (top level): Treat second token from macro or constant entries for
25577 allowed headers as allowed.
25578 * include/complex.h: Condition internal declarations on
25579 [!_ISOMAC].
25580 * include/fenv.h: Condition include of <stdbool.h> and internal
25581 declarations on [!_ISOMAC].
7447ccd9
CL
25582
255832013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25584
3e181dda 25585 [BZ #15923]
7447ccd9
CL
25586 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25587
3f2e46a4
JM
255882013-09-04 Joseph Myers <joseph@codesourcery.com>
25589
25590 * configure.in (--enable-versioning): Remove configure option.
25591 (libc_cv_asm_symver_directive): Remove configure test.
25592 (libc_cv_ld_version_script_option): Likewise.
25593 (VERSIONING): Remove variable and AC_SUBST.
25594 (DO_VERSIONING): Remove AC_DEFINE.
25595 * configure: Regenerated.
25596 * config.h.in (DO_VERSIONING): Remove macro.
25597 * Makerules [$(versioning) = yes]: Change conditionals to
25598 [$(build-shared) = yes].
25599 * config.make.in (versioning): Remove variable.
25600 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25601 [$(build-shared) = yes].
25602 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25603 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25604 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25605 [$(build-shared) = yes].
25606 * extra-lib.mk [$(versioning) = yes]: Likewise.
25607 * hurd/Makefile [$(versioning) = yes]: Likewise.
25608 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25609 [SHARED].
25610 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25611 [SHARED].
25612 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25613 [SHARED && !NO_HIDDEN].
25614 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25615 [SHARED].
25616 [SHARED && DO_VERSIONING]: Likewise..
25617 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25618 [$(build-shared) = yes].
25619 * manual/install.texi (--disable-versioning): Remove
25620 documentation.
25621 * INSTALL: Regenerated.
25622 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25623 to [SHARED].
25624 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25625 [$(build-shared) = yes].
25626 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25627 * sysdeps/i386/i686/multiarch/strstr-c.c
25628 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25629 [SHARED && !NO_HIDDEN].
25630 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25631 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25632 * sysdeps/powerpc/powerpc32/dl-machine.c
25633 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25634 * sysdeps/powerpc/powerpc32/sysdep.h
25635 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25636 to [SHARED && PIC && !NO_HIDDEN].
25637 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25638 conditional to [SHARED].
25639
44558701
WN
256402013-09-04 Will Newton <will.newton@linaro.org>
25641
25642 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25643 * benchtests/bench-string.h: Include bench-timing.h instead
25644 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25645 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25646 call to HP_TIMING_DIFF_INIT.
25647 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25648 instead of hp-timing.h macros.
25649 * benchtests/bench-memchr.c: Likewise.
25650 * benchtests/bench-memcmp.c: Likewise.
25651 * benchtests/bench-memcpy.c: Likewise.
25652 * benchtests/bench-memmem.c: Likewise.
25653 * benchtests/bench-memmove.c: Likewise.
25654 * benchtests/bench-memset.c: Likewise.
25655 * benchtests/bench-rawmemchr.c: Likewise.
25656 * benchtests/bench-strcasecmp.c: Likewise.
25657 * benchtests/bench-strcasestr.c: Likewise.
25658 * benchtests/bench-strcat.c: Likewise.
25659 * benchtests/bench-strchr.c: Likewise.
25660 * benchtests/bench-strcmp.c: Likewise.
25661 * benchtests/bench-strcpy.c: Likewise.
25662 * benchtests/bench-strcpy_chk.c: Likewise.
25663 * benchtests/bench-strlen.c: Likewise.
25664 * benchtests/bench-strncasecmp.c: Likewise.
25665 * benchtests/bench-strncat.c: Likewise.
25666 * benchtests/bench-strncmp.c: Likewise.
25667 * benchtests/bench-strncpy.c: Likewise.
25668 * benchtests/bench-strnlen.c: Likewise.
25669 * benchtests/bench-strpbrk.c: Likewise.
25670 * benchtests/bench-strrchr.c: Likewise.
25671 * benchtests/bench-strspn.c: Likewise.
25672 * benchtests/bench-strstr.c: Likewise.
25673
cae16d66
WN
256742013-09-04 Will Newton <will.newton@linaro.org>
25675
25676 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25677
ffa3cd7f
JM
256782013-09-03 Joseph Myers <joseph@codesourcery.com>
25679
25680 [BZ #15427]
25681 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25682 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25683 * math/libm-test.inc (lgamma_test_data): Add more tests.
25684 * sysdeps/i386/fpu/libm-test-ulps: Update.
25685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25686
8f02859f
OB
256872013-09-03 Ondřej Bílka <neleai@seznam.cz>
25688
25689 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25690 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25691 Add ifunc.
25692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25693 Add strcmp-sse2-unaligned
25694 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25695
18d43716
MF
256962013-09-02 Mike Frysinger <vapier@gentoo.org>
25697
25698 * Versions.def (libc): Add GLIBC_2.19.
25699
ac444012
MF
257002013-09-02 Mike Frysinger <vapier@gentoo.org>
25701
25702 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25703 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25704
b7835e32
JM
257052013-09-02 Joseph Myers <joseph@codesourcery.com>
25706
25707 [BZ #14155]
25708 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25709 intermediate calculations in recurrence.
25710 (__ieee754_ynf): Likewise.
25711 * math/libm-test.inc (jn_test_data): Do not allow spurious
25712 underflow exception. Add more tests.
25713 (yn_test_data): Add more tests.
25714 * sysdeps/i386/fpu/libm-test-ulps: Update.
25715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25716
8220f4f0
OB
257172013-09-02 Ondřej Bílka <neleai@seznam.cz>
25718
25719 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25720
f24a6d08
OB
257212013-08-30 Ondřej Bílka <neleai@seznam.cz>
25722
25723 * csu/init-first.c: Fix then/than typos.
25724 * locale/programs/ld-collate.c: Likewise.
25725 * locale/programs/linereader.h: Likewise.
25726 * manual/charset.texi: Likewise.
25727 * manual/filesys.texi: Likewise.
25728 * manual/stdio.texi: Likewise.
25729 * manual/string.texi: Likewise.
25730 * stdlib/fmtmsg.c: Likewise.
25731 * sysdeps/i386/stpncpy.S: Likewise.
25732 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25733 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25734 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25735 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25736
382466e0
OB
257372013-08-30 Ondřej Bílka <neleai@seznam.cz>
25738
25739 * elf/dl-open.c: Fix typos.
25740 * iconvdata/gbbig5.c: Likewise.
25741 * iconvdata/iso-2022-jp.c: Likewise.
25742 * iconv/gconv_int.h: Likewise.
25743 * iconv/loop.c: Likewise.
25744 * nis/rpcsvc/nis.h: Likewise.
25745 * resolv/ns_name.c: Likewise.
25746 * stdio-common/vfscanf.c: Likewise.
25747 * streams/stropts.h: Likewise.
25748 * sunrpc/rpc_thread.c: Likewise.
25749 * sysdeps/i386/strpbrk.S: Likewise.
25750 * sysdeps/ieee754/k_standard.c: Likewise.
25751 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25752 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25753 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25754 * sysdeps/mach/hurd/profil.c: Likewise.
25755 * sysdeps/s390/dl-procinfo.h: Likewise.
25756 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25757 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25758 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25759 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25760 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25761
0186c6e9
OB
257622013-08-30 Ondřej Bílka <neleai@seznam.cz>
25763
25764 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25765 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25766
d4e16af1
OB
257672013-08-29 Ondřej Bílka <neleai@seznam.cz>
25768
25769 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25770 aix specific files.
25771 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25772 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25773 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25774 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25775 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25776 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25777 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25778 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25779
88335980
TS
257802013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25781 Roland McGrath <roland@hack.frob.com>
25782
25783 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25784 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25785
ed479b02
ST
257862013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25787
25788 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25789 __executable_start symbol instead of _start.
25790
f1cc4c86
TS
257912013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25792
d821f07c
TS
25793 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25794 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25795 Move macros to...
25796 * sysdeps/gnu/ldsodefs.h: ... this new file.
25797
c54290cf
TS
25798 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25799 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25800 instead of ELFOSABI_LINUX.
25801
0007fc9b 25802 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
25803 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25804 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25805 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25806 Likewise.
25807 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25808 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25809 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25810 Likewise.
25811 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25812 (ibm_extended_long_double): Add ieee_nan member.
25813 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25814 (do_test): New function.
25815
f1cc4c86
TS
25816 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25817 TEST_TRUNC.
25818 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25819 functions, renamed from truncdfsf_test, trunctfsf_test,
25820 trunctfdf_test.
25821 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25822 functions.
25823 (do_test): Run all these.
25824
6f65e668
OB
258252013-08-29 Ondřej Bílka <neleai@seznam.cz>
25826
25827 * argp/argp-help.c: Fix typos.
25828 * argp/argp-parse.c: Likewise.
25829 * debug/backtracesyms.c: Likewise.
25830 * elf/elf.h: Likewise.
25831 * malloc/malloc.c: Likewise.
25832 * nis/nis_print.c: Likewise.
25833 * resolv/res_comp.c: Likewise.
25834 * stdlib/stdlib.h: Likewise.
25835 * sunrpc/clnt_tcp.c: Likewise.
25836 * sunrpc/clnt_udp.c: Likewise.
25837 * sunrpc/clnt_unix.c: Likewise.
25838 * sysdeps/unix/bsd/ptsname.c: Likewise.
25839 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25840 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
25841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25842 Likewise.
25843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25844 Likewise.
25845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25846 Likewise.
6f65e668
OB
25847 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25848
3a309239
SP
258492013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25850
25851 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25852 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25853
3b813b29
MF
258542013-08-27 Mike Frysinger <vapier@gentoo.org>
25855
25856 [BZ #15897]
25857 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25858 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25859 ($(objpfx)bug-dl-leaf): New rule.
25860 ($(objpfx)bug-dl-leaf.so): Likewise.
25861 ($(objpfx)bug-dl-leaf.out): Likewise.
25862 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25863 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25864 * dlfcn/bug-dl-leaf.c: New test.
25865 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25866 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25867 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25868 (dlclose): Likewise.
25869 (dlmopen): Likewise.
25870
8cc3269f
RM
258712013-08-27 Roland McGrath <roland@hack.frob.com>
25872
7f9d0034
RM
25873 * include/netdb.h [!_ISOMAC]:
25874 Don't include <tls.h>.
25875 (h_errno, __libc_h_errno): Move declaration and macros out of
25876 [_LIBC_REENTRANT].
25877
fb431262
RM
25878 * include/resolv.h [_RESOLV_H_]:
25879 Don't include <tls.h>.
25880 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25881 * resolv/res_libc.c: Don't include <tls.h>.
25882 (_res): Use __attribute__ ((nocommon)) in place of
25883 __attribute__ ((section (".bss"))).
25884
bd81123a
RM
25885 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25886 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25887
c4e42566
RM
25888 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25889
f890a59b
RM
25890 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25891 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25892
25893 * resolv/res_mkquery.c: Include <sys/time.h>.
25894
5d1f0a09
RM
25895 * inet/ifreq.c: Moved to ...
25896 * sysdeps/unix/ifreq.c: ... here.
25897 * inet/ifreq.c: New file, true stub version.
25898
6fcf28b3
RM
25899 * socket/sa_len.c: New file.
25900 * socket/Makefile (aux): Add it.
25901 * sysdeps/unix/sysv/linux/Makefile
25902 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25903 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25904 and #include <socket/sa_len.c>.
25905 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25906 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25907
e041fb8b
RM
25908 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25909 * bits/socket.h: ... here.
25910
8cc3269f
RM
25911 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25912 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25913 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25914
5d228a43
AS
259152013-08-27 Andreas Schwab <schwab@suse.de>
25916
45b8accc
AS
25917 [BZ #15736]
25918 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25919 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25920 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25921 * string/test-strcasecmp.c (test_main): Run tests in several
25922 locales.
25923 * string/test-strncasecmp.c (test_main): Likewise.
25924
5d228a43
AS
25925 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25926 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25927 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25928 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25929 (__strncasecmp_ssse3) [PIC]: Likewise.
25930
59d112a4
RM
259312013-08-26 Roland McGrath <roland@hack.frob.com>
25932
53234cc3
RM
25933 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25934
59d112a4
RM
25935 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25936 instead of explicitly declaring xdecrypt.
25937 * nis/nss_nis/nis-publickey.c: Likewise.
25938
595aba70
SP
259392013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25940
25941 [BZ #15890]
25942 * nscd/aicache.c: Include res_hconf.h.
25943 (addhstaiX): Initialize res_hconf.
25944
ffabd393
AS
259452013-08-26 Andreas Schwab <schwab@suse.de>
25946
25947 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25948 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25949
e0a69f5c
SP
259502013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25951
25952 * nscd/aicache.c (addhstaiX): Fix indentation.
25953
8c12f01d
MF
259542013-08-25 Mike Frysinger <vapier@gentoo.org>
25955
25956 * configure.ac: Quote $build_pt_chown test.
25957 * configure: Regenerated.
25958
8fe89494
JM
259592013-08-23 Joseph Myers <joseph@codesourcery.com>
25960
25961 [BZ #15532]
25962 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25963 * math/s_cexpf.c (__cexpf): Likewise.
25964 * math/s_cexpl.c (__cexpl): Likewise.
25965 * math/libm-test.inc (cexp_test_data): Correct expected return
25966 value for NaN + i0. Add another test.
25967
75b181d6
DM
259682013-08-22 David S. Miller <davem@davemloft.net>
25969
25970 * po/ca.po: Update Catalan translation from translation project.
936241e4 25971 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 25972
acd06bb1
JM
259732013-08-21 Joseph Myers <joseph@codesourcery.com>
25974
25975 [BZ #15797]
25976 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25977 is infinite, not alongside NaN test.
25978 * math/s_fdimf.c (__fdimf): Likewise.
25979 * math/s_fdiml.c (__fdiml): Likewise.
25980 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25981 errno is unchanged.
25982
c0c3f78a
OB
259832013-08-21 Ondřej Bílka <neleai@seznam.cz>
25984
25985 * argp/argp-help.c: Fix typos.
25986 * crypt/speeds.c: Likewise.
25987 * csu/check_fds.c: Likewise.
25988 * elf/dl-load.c: Likewise.
25989 * elf/dl-open.c: Likewise.
25990 * elf/reldep3.c: Likewise.
25991 * elf/reldep.c: Likewise.
25992 * elf/sprof.c: Likewise.
25993 * iconv/iconv_charmap.c: Likewise.
25994 * iconv/skeleton.c: Likewise.
25995 * iconv/strtab.c: Likewise.
25996 * io/lockf64.c: Likewise.
25997 * libio/libioP.h: Likewise.
25998 * resolv/gai_notify.c: Likewise.
25999 * resolv/ns_name.c: Likewise.
26000 * resolv/ns_samedomain.c: Likewise.
26001 * resolv/res_send.c: Likewise.
26002 * stdlib/random.c: Likewise.
26003 * sunrpc/rpc/xdr.h: Likewise.
26004 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26005 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26006 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26007 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26008 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26009 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26010 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26011 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26012 * sysdeps/mach/hurd/check_fds.c: Likewise.
26013 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26014 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26015 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26016 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26017 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26018 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26019 * sysdeps/pthread/aio_notify.c: Likewise.
26020 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26021 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26022 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26023 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26024 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26025
46ed1038
LD
260262013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26027
26028 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26029 version if bit_Slow_SSE4_2 is set.
26030 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26031 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26032
d400dcac
AZ
260332013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26034
26035 [BZ #15867]
26036 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26037 trampoline stack frame information.
26038 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26039 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26040 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26041 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26042 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26043 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26044 (_libc_vdso_platform_setup): Initialize the signal trampolines.
26045 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26046 sa_flags value.
26047 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26048 interrupting a syscall and set with option SA_SIGINFO.
26049
42c8fdd8
JM
260502013-08-20 Joseph Myers <joseph@codesourcery.com>
26051
c980f2f4
JM
26052 [BZ #15531]
26053 * math/s_cproj.c (__cproj): Only return an infinity if one part of
26054 argument is infinite.
26055 * math/s_cprojf.c (__cprojf): Likewise.
26056 * math/s_cprojl.c (__cprojl): Likewise.
26057 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26058 * math/libm-test.inc (cproj_test_data): Add more tests.
26059
0716c4fc
JM
26060 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26061
42c8fdd8
JM
26062 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26063 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26064 size. Use __ffs to determine corresponding shift.
26065
b31469d0
JM
260662013-08-20 Joseph Myers <joseph@codesourcery.com>
26067 Roland McGrath <roland@hack.frob.com>
26068
26069 * Makefile (INSTALL): Remove trailing blank lines from output of
26070 makeinfo.
26071
4e39af6e
AK
260722013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26073
26074 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26075 Align 32 bit compat elf_greg to 8 bytes.
26076
f315524e
AA
260772013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
26078
26079 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26080
1326ba1a
SP
260812013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26082
26083 * string/strcoll_l.c (coll_seq): New structure.
26084 (get_next_seq_cached): New function.
26085 (get_next_seq): New function.
26086 (do_compare): New function.
26087 (STRCOLL): Use GNU style definition. Simplify implementation
26088 by using get_next_seq, get_next_seq_cached and do_compare.
26089
91ce4085
FW
260902013-08-16 Florian Weimer <fweimer@redhat.com>
26091
26092 [BZ #14699]
26093 CVE-2013-4237
26094 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26095 member.
26096 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26097 member.
26098 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26099 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26100 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
26101 conditional.
26102 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26103 GETDENTS_64BIT_ALIGNED.
26104 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26105 * manual/filesys.texi (Reading/Closing Directory): Document
26106 ENAMETOOLONG return value of readdir_r. Recommend readdir more
26107 strongly.
26108 * manual/conf.texi (Limits for Files): Add portability note to
26109 NAME_MAX, PATH_MAX.
26110 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26111
ca0a6bc4
AS
261122013-08-13 Andreas Schwab <schwab@suse.de>
26113
26114 [BZ #15749]
26115 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26116 of fabs.
26117 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26118 LDBL_MAX_EXP >= 16384]: Add tests for it.
26119
6c1fd795
DM
261202013-08-12 David S. Miller <davem@davemloft.net>
26121
26122 * version.h (RELEASE): Set to "development".
26123 (VERSION): Set to "2.18.90".
26124 * NEWS: Add 2.19 section.
26125
31ad488d
DM
261262013-08-03 David S. Miller <davem@davemloft.net>
26127
26128 * po/ko.po: Update Korean translation from translation project.
26129
db24e684
DM
261302013-08-01 David S. Miller <davem@davemloft.net>
26131
26132 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26133 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26134 Bilka.
26135
f723285b
DM
261362013-07-30 David S. Miller <davem@davemloft.net>
26137
26138 * po/fr.po: Update French translation from translation project.
26139
3cbc52db
DM
261402013-07-28 David S. Miller <davem@davemloft.net>
26141
30bbc0cc
DM
26142 * po/cs.po: Update Czech translation from translation project.
26143
3cbc52db
DM
26144 * po/sv.po: Update Swedish translation from translation project.
26145
d492e6d0
DM
261462013-07-27 David S. Miller <davem@davemloft.net>
26147
f1a7f492
DM
26148 * po/eo.po: Update Esperanto translation from translation project.
26149
90e62a4a
DM
26150 * po/vi.po: Update Vietnamese translation from translation project.
26151
d492e6d0
DM
26152 * po/de.po: Update German translation from translation project.
26153
d4baa62d
DM
261542013-07-26 David S. Miller <davem@davemloft.net>
26155
641aa7b4
DM
26156 * po/bg.po: Update Bulgarian translation from translation project.
26157
d4baa62d
DM
26158 * po/nl.po: Update Dutch translation from translation project.
26159 * po/pl.po: Update Polish translation from translation project.
26160 * po/ru.po: Update Russian translation from translation project.
26161
61a9dcb9
DM
261622013-07-24 David S. Miller <davem@davemloft.net>
26163
26164 * po/libc.pot: Update.
26165
7b1f8b58
AZ
261662013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26167
26168 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26169 variable page size.
26170 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26171 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26172 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26173
a8fc7a03
AK
261742013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26175
26176 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26177
e4608715
CD
261782013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26179 Andreas Schwab <schwab@suse.de>
26180 Roland McGrath <roland@hack.frob.com>
26181 Joseph Myers <joseph@codesourcery.com>
26182 Carlos O'Donell <carlos@redhat.com>
26183
26184 [BZ #15755]
26185 * config.h.in: Define HAVE_PT_CHOWN.
26186 * config.make.in (build-pt-chown): New variable.
26187 * configure.in (--enable-pt_chown): New configure option.
26188 * configure: Regenerate.
26189 * login/Makefile: Include Makeconfig. Build pt_chown only if
26190 build-pt-chown is enabled.
26191 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26192 pt_chown to fix pty ownership.
26193 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26194 CLOSE_ALL_FDS.
26195 * manual/install.texi (Configuring and compiling): Mention
26196 --enable-pt_chown. Add @findex for grantpt.
26197 * INSTALL: Regenerate.
26198
da2d62df
DM
261992013-07-20 David S. Miller <davem@davemloft.net>
26200
26201 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26202 difference between 32-bit and 64-bit.
26203
d7e06450
CD
262042013-07-15 Carlos O'Donell <carlos@redhat.com>
26205
26206 [BZ #15711]
26207 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26208 Avoid system header dependency with -ffreestanding.
26209 ($(objpfx)bits/syscall%d): Likewise.
26210
f959cfd7
DM
262112013-07-13 David S. Miller <davem@davemloft.net>
26212
26213 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26214 underflows from atanl/atan2l due to bug 15319.
26215 (casinh_test_data): Likewise.
26216
c61f8513
DM
262172013-07-07 David S. Miller <davem@davemloft.net>
26218
26219 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26220
72c90ed0
JA
262212013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26222
26223 * sysdeps/i386/fpu/libm-test-ulps: Update.
26224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26225
52dfbe13
SP
262262013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26227
26228 * configure.in (--enable-lock-elision): Fix message text.
26229 * INSTALL: Regenerate.
26230 * configure: Regenerate.
26231
3f169543
AZ
262322013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26233
26234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26235
521c6785
AJ
262362013-07-03 Andreas Jaeger <aj@suse.de>
26237
26238 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26239 define.
26240 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26241 (ptrace_peeksiginfo_args): Add.
26242 (__ptrace_peeksiginfo_flags): Add.
26243 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26244 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26245 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26246
d2cc15cb
AM
262472013-07-03 Allan McRae <allan@archlinux.org>
26248
26249 * sysdeps/i386/fpu/libm-test-ulps: Update.
26250
3aaeeca7
DM
262512013-07-02 David S. Miller <davem@davemloft.net>
26252
26253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26254
5314ed1a
MT
262552013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26256
26257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26258
67338156
JM
262592013-07-02 Joseph Myers <joseph@codesourcery.com>
26260
26261 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26263
1717da59
AK
262642013-07-02 Andi Kleen <ak@linux.intel.com>
26265
26266 * config.h.in (ENABLE_LOCK_ELISION): Add.
26267 * configure.in (--enable-lock-elision): Add option.
26268 * manual/install.texi: Document --enable lock elision.
26269 * configure: Regenerate
26270 * INSTALL: Regenerate.
26271
1c81621c
L
262722013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26273
26274 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26275 SSE4.2 strcasecmp for libc.a.
26276 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26277
77f01ab5
JM
262782013-07-02 Joseph Myers <joseph@codesourcery.com>
26279
26280 [BZ #13304]
26281 * soft-fp/op-common.h (_FP_FMA): New macro.
26282 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26283 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26284 (_FP_MUL_MEAT_1_imm): ... here.
26285 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26286 (_FP_MUL_MEAT_1_wide): ... here.
26287 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26288 (_FP_MUL_MEAT_1_hard): ... here.
26289 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26290 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26291 (_FP_MUL_MEAT_2_wide): ... here.
26292 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26293 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26294 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26295 (_FP_MUL_MEAT_2_gmp): ... here.
26296 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26297 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26298 (_FP_MUL_MEAT_4_wide): ... here.
26299 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26300 (_FP_MUL_MEAT_4_gmp): ... here.
26301 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26302 (_FP_WFRACBITS_DW_S): Likewise.
26303 (_FP_WFRACXBITS_DW_S): Likewise.
26304 (_FP_HIGHBIT_DW_S): Likewise.
26305 (FP_FMA_S): Likewise.
26306 (_FP_FRAC_HIGH_DW_S): Likewise.
26307 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26308 (_FP_WFRACBITS_DW_D): Likewise.
26309 (_FP_WFRACXBITS_DW_D): Likewise.
26310 (_FP_HIGHBIT_DW_D): Likewise.
26311 (FP_FMA_D): Likewise.
26312 (_FP_FRAC_HIGH_DW_D): Likewise.
26313 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26314 (_FP_WFRACBITS_DW_E): Likewise.
26315 (_FP_WFRACXBITS_DW_E): Likewise.
26316 (_FP_HIGHBIT_DW_E): Likewise.
26317 (FP_FMA_E): Likewise.
26318 (_FP_FRAC_HIGH_DW_E): Likewise.
26319 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26320 (_FP_WFRACBITS_DW_Q): Likewise.
26321 (_FP_WFRACXBITS_DW_Q): Likewise.
26322 (_FP_HIGHBIT_DW_Q): Likewise.
26323 (FP_FMA_Q): Likewise.
26324 (_FP_FRAC_HIGH_DW_Q): Likewise.
26325 * soft-fp/fmasf4.c: New file.
26326 * soft-fp/fmadf4.c: Likewise.
26327 * soft-fp/fmatf4.c: Likewise.
26328
6308fd9a
LD
263292013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26330
26331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26332 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26333 Silvermont.
26334 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26335 macro.
26336 (index_Slow_SSE4_2): Likewise.
26337 (index_Prefer_PMINUB_for_stringop): Likewise.
26338 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26339 bit_Slow_SSE4_2 is set.
26340 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26341 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26342
89cd9569
RA
263432013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26344
26345 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26346 rtld_global._dl_hwcap2.
26347 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26348 POWER8.
26349 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26350 POWER8 feature descriptions defined in _dl_hwcap2.
26351 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26352 string handling for POWER8 feature bits.
26353 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26354 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26355 _dl_powerpc_cap_flags.
26356 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26357 * sysdeps/powerpc/rtld-global-offsets.sym
26358 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26359 _dl_hwcap2 in the rtld_global_ro structure.
26360
1ae8bfe0
RA
263612013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26362
26363 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26364 hardware capabilities in support of AT_HWCAP2.
26365 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26366 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26367 GLRO(dl_hwcap2).
26368 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26369 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26370 explicitly the unknown a_type display mechanism is used.
26371 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26372 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26373 struct member.
26374 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26375 to macro prototype for AT_HWCAP2 support.
26376 * sysdeps/i386/dl-procinfo.h: Likewise.
26377 * sysdeps/s390/dl-procinfo.h: Likewise.
26378 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26379 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26380 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26381 return -1 for unknown a_type display fallback.
26382 * sysdeps/sparc/dl-procinfo.h: Likewise.
26383 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26384 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26385
8fbec010
JM
263862013-06-28 Joseph Myers <joseph@codesourcery.com>
26387
26388 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26389 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26390
0432680e
PY
263912013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26392
26393 [BZ #12492]
26394 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26395 mprotect making __stack_prot writable.
26396
ce61a2ad
NF
263972013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26398 Joseph Myers <joseph@codesourcery.com>
26399
26400 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26401 as being properly aligned.
26402
f91f1c0f
MR
264032013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26404
3d0f5d0c
MR
26405 * dlfcn/modstatic5.c: New file.
26406 * dlfcn/tststatic5.c: New file.
26407 * dlfcn/Makefile (tests): Add tststatic5.
26408 (tests-static): Likewise.
26409 (modules-names): Add modstatic5.
26410 (tststatic5-ENV): New variable.
26411 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26412
f91f1c0f
MR
26413 [BZ #15022]
26414 * elf/dl-support.c (_dl_main_map): New variable.
26415 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26416 (_dl_nns, _dl_load_adds): Set to 1.
26417 (_dl_initial_searchlist): Refer to _dl_main_map.
26418 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26419 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26420 call to _dl_get_origin.
26421 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26422 around call_map.
26423 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26424 * dlfcn/modstatic3.c: New file.
26425 * dlfcn/tststatic3.c: New file.
26426 * dlfcn/tststatic4.c: New file.
26427 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26428 (tests-static): Likewise.
26429 (modules-names): Add modstatic3.
26430 (tststatic3-ENV, tststatic4-ENV): New variables.
26431 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26432 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26433
cbe7d24b
JM
264342013-06-26 Joseph Myers <joseph@codesourcery.com>
26435
26436 * configure.in (CC): Require GCC version 4.4 or later.
26437 * configure: Regenerated.
26438 * manual/install.texi (Tools for Compilation): Update GCC version
26439 requirement.
26440 * INSTALL: Regenerated.
26441
11b8a0e1
LD
264422013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26443
26444 [BZ #15674]
bb5bb87c
L
26445 * string/test-memcmp.c (check2): New.
26446 (main): Call check2.
26447
11b8a0e1
LD
26448 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26449
b0037103
MR
264502013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26451
26452 [BZ #15022]
26453 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26454 over to...
26455 (dl_open_worker) [!SHARED]: ... here.
26456
c18c701d
RA
264572013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26458
26459 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26460
1d17fa5f
RH
264612013-06-25 Richard Henderson <rth@redhat.com>
26462
26463 * locale/programs/locarchive.c: Include <libc-internal.h>
26464
8fcb833a
JM
264652013-06-25 Joseph Myers <joseph@codesourcery.com>
26466
26467 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26468 trailing whitespace removed.
26469
17db6e8d
MF
264702013-06-24 Mike Frysinger <vapier@gentoo.org>
26471
26472 [BZ #10283]
17db6e8d
MF
26473 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26474 * locale/programs/locarchive.c: Include libc-mmap.h.
26475 (prepare_address_space): Take two new outputs (the mmap base and len).
26476 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26477 values.
26478 (create_archive): Declare new mmap base and len values for
26479 prepare_address_space, and store the result in ah.
26480 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26481 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26482 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26483 Declare new mmap base and len values for
26484 prepare_address_space, and store the result in new_ah.
26485 (open_archive): Declare new mmap base and len values for
26486 prepare_address_space, and store the result in ah.
26487 (close_archive): If ah->mmap_base is not NULL, use that and
26488 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26489 * sysdeps/generic/libc-mmap.h: New file.
26490
d605071e
MF
264912013-06-24 Mike Frysinger <vapier@gentoo.org>
26492
26493 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26494 (ALIGN_UP): Likewise.
26495 (PTR_ALIGN_DOWN): Likewise.
26496 (PTR_ALIGN_UP): Likewise.
26497
2f063a6e
RA
264982013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26499
26500 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26501 entry mapped to PPC_PLATFORM_POWER8.
26502 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26503 POWER8.
26504 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26505 (_dl_string_platform): Add case for exporting platform position for
26506 POWER8.
26507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26508 search path to sysdeps/powerpc/powerpc32/power8 directory.
26509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26510 search path to sysdeps/powerpc/powerpc64/power8 directory.
26511 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26512 power7 directories.
26513 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26514 power7 directories.
26515
a31ee4b3
SP
265162013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26517
a74ca98f
SP
26518 * INSTALL: Regenerate.
26519
a31ee4b3
SP
26520 * nscd/connections.c (nscd_init): Fix comment.
26521
695c378f
JM
265222013-06-22 Joseph Myers <joseph@codesourcery.com>
26523
d8412221
JM
26524 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26525
695c378f
JM
26526 [BZ #15667]
26527 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26528 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26529
d1d54715
MR
265302013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26531
26532 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26533 DL_DST_REQ_STATIC.
26534 (DL_DST_REQ_STATIC): Remove macro.
26535
8fdda7af
JM
265362013-06-21 Joseph Myers <joseph@codesourcery.com>
26537
26538 [BZ #7006]
26539 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26540 with a shift of 0 bits.
26541
f3bc5e5a
MR
265422013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26543
26544 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26545 $(tststatic-ENV).
26546
be09e8c9
KK
265472013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26548
26549 [BZ #15655]
26550 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26551
85c2e611
AZ
265522013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26553
26554 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26555 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26556 accepts -fno-tree-loop-distribute-patterns.
26557 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26558 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26559 recursive call.
26560 * string/memset.c (memset): Likewise.
26561 * string/test-memmove.c (simple_memmove): Disable loop transformation
26562 to library calls.
26563 * string/test-memset.c (simple_memset): Likewise.
26564 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26565 * benchtests/bench-memset.c (simple_memset): Likewise.
26566 * configure: Regenerated.
26567
c91e0825
JM
265682013-06-20 Joseph Myers <joseph@codesourcery.com>
26569
b8c792af
JM
26570 * math/test-misc.c (main): Ignore fesetround failure when failures
26571 of subsequent rounding tests would be ignored.
26572
c91e0825
JM
26573 [BZ #15654]
26574 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26575 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26576 * math/fegetenv.c (__fegetenv): Return 0.
26577 * math/fegetexcept.c (fegetexcept): Return 0.
26578 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26579 FE_TONEAREST.
26580 * math/feholdexcpt.c (feholdexcept): Return 0.
26581 * math/fesetenv.c (__fesetenv): Return 0.
26582 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26583 argument FE_TONEAREST.
26584 * math/feupdateenv.c (__feupdateenv): Return 0.
26585 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26586
bfcacbde
RM
265872013-06-18 Roland McGrath <roland@hack.frob.com>
26588
26589 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26590 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26591 ($(objpfx)rtld-%.os rules): Use them.
26592
e55a9b25
AZ
265932013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26594
26595 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26596 fields.
26597
346d65b3
RM
265982013-06-17 Roland McGrath <roland@hack.frob.com>
26599
12086fb4
RM
26600 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26601 length of target pattern, then descending length of dependency pattern.
26602 * configure.in (AWK): Require gawk 3.1.2 or newer.
26603 * manual/install.texi (Tools for Compilation): Say that we do.
26604 * configure: Regenerated.
26605
346d65b3
RM
26606 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26607 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26608 * scripts/sysd-rules.awk: ... this new script.
26609 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26610 than a glob-style pattern.
26611
1a846317
JM
266122013-06-17 Joseph Myers <joseph@codesourcery.com>
26613
26614 * math/test-misc.c (main): Do not treat incorrectly rounded
26615 conversions as failure unless ROUNDING_TESTS passes.
26616
8fc75e6f
JM
266172013-06-15 Joseph Myers <joseph@codesourcery.com>
26618
3711a167
JM
26619 [BZ #15631]
26620 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26621 restore exception state around main square root computation, then
26622 check for inexactness explicitly.
26623
8fc75e6f
JM
26624 * math/libm-test.inc (fma_test_data): Add another test.
26625
61dd6208
SP
266262013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26627
adf23d2c
SP
26628 * manual/threads.texi (Non-POSIX Extensions): New document
26629 node. Document pthread_getattr_default_np and
26630 pthread_setattr_default_np.
26631
61dd6208
SP
26632 * Versions.def (libpthread): Add GLIBC_2.18.
26633 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26635 Likewise.
26636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26637 Likewise.
26638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26639 Likewise.
26640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26641 Likewise.
26642 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26643 Likewise.
26644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26645 Likewise.
26646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26647 Likewise.
26648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26649 Likewise.
26650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26651 Likewise.
26652
d086fc7b
LD
266532013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26654
26655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26656 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26657
747ef469
SP
266582013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26659 H.J. Lu <hjl.tools@gmail.com>
26660
26661 [BZ #15627]
26662 * sysdeps/x86_64/rtld-memset.c: Remove file.
26663 * sysdeps/x86_64/rtld-memset.S: New file.
26664
1b2feed2
JM
266652013-06-14 Joseph Myers <joseph@codesourcery.com>
26666
26667 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26668 (test_in_one_mode): Take arguments for whether the rounding mode
26669 is supported for each floating-point type.
26670 (do_test): Pass new arguments to test_in_one_mode using
26671 ROUNDING_TESTS.
26672
a58ad3f8
RM
266732013-06-13 Roland McGrath <roland@hack.frob.com>
26674
26675 * posix/tst-waitid.c (do_test): Distinguish different instances of
26676 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26677 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26678 before entering the kernel for waitpid.
26679
c204ab28
SP
266802013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26681
26682 * NEWS: Fix note on clock function precision. Text by Roland
26683 McGrath.
26684
f4a29fba
RM
266852013-06-13 Roland McGrath <roland@hack.frob.com>
26686
26687 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26688 it into place only when and if the sanity check passes.
26689
1f24b9ad
JM
266902013-06-13 Joseph Myers <joseph@codesourcery.com>
26691
26692 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26693 output for whether conversion result is exact. Take argument
26694 indicating whether type is IBM long double.
26695 (round_for_all): Change need_exact field to ibm_ld.
26696 * stdlib/tst-strtod-round.c (struct exactness): New type.
26697 (struct test): Change bool ld_ok field to struct exactness exact.
26698 (TEST): Update all definitions for change to field.
26699 (tests): Regenerate array contents.
26700 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26701 field value. Check for IBM long double here.
26702 (do_test): Update calls to test_in_one_mode.
26703
58206c68
SP
267042013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26705
26706 [BZ #12515]
26707 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26708 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26709
2d6f4c5b 267102013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
26711
26712 [BZ #15605]
26713 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26714 generated by the compiler on loop optimizations.
26715 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26716 general definitions.
26717
94f2c076
JM
267182013-06-12 Joseph Myers <joseph@codesourcery.com>
26719
26720 * math/bug-nextafter.c: Include <math-tests.h>.
26721 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26722 the relevant type.
26723 * math/bug-nexttoward.c: Include <math-tests.h>.
26724 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26725 the relevant type.
26726 * math/test-misc.c: Include <math-tests.h>.
26727 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26728 the relevant type.
26729
e0e50a0a
AJ
267302013-06-12 Andreas Jaeger <aj@suse.de>
26731
26732 * po/ia.po: Update Interlingua translation from translation
26733 project.
26734
25061094
SP
267352013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26736
26737 * include/fenv.h: Include stdbool.h.
26738 (struct rm_ctx): New structure.
26739 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26740 Define macro.
26741 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26742 (SET_RESTORE_ROUNDF): Likewise.
26743 (SET_RESTORE_ROUNDL): Likewise.
26744 (SET_RESTORE_ROUND_NOEX): Likewise.
26745 (SET_RESTORE_ROUND_NOEXF): Likewise.
26746 (SET_RESTORE_ROUND_NOEXL): Likewise.
26747 (SET_RESTORE_ROUND_53BIT): Likewise.
26748 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26749 (libc_feresetround_noexf_ctx): Likewise.
26750 (libc_feresetround_noexl_ctx): Likewise.
26751 (libc_feholdsetround_53bit_ctx): Likewise.
26752 (libc_feresetround_53bit_ctx): Likewise.
26753 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26754 (libc_feholdexcept_setround_sse_ctx): New function.
26755 (libc_fesetenv_sse_ctx): Likewise.
26756 (libc_feupdateenv_sse_ctx): Likewise.
26757 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26758 (libc_feholdexcept_setround_387_ctx): Likewise.
26759 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26760 (libc_feholdsetround_387_prec_ctx): Likewise.
26761 (libc_feholdsetround_387_ctx): Likewise.
26762 (libc_feholdsetround_387_53bit_ctx): Likewise.
26763 (libc_feholdsetround_sse_ctx): Likewise.
26764 (libc_feresetround_sse_ctx): Likewise.
26765 (libc_feresetround_387_ctx): Likewise.
26766 (libc_feupdateenv_387_ctx): Likewise.
26767 (libc_feholdexcept_setroundf_ctx): Define macro.
26768 (libc_fesetenvf_ctx): Likewise.
26769 (libc_feupdateenvf_ctx): Likewise.
26770 (libc_feholdsetroundf_ctx): Likewise.
26771 (libc_feresetroundf_ctx): Likewise.
26772 (libc_feholdexcept_setround_ctx): Likewise.
26773 (libc_fesetenv_ctx): Likewise.
26774 (libc_feupdateenv_ctx): Likewise.
26775 (libc_feholdsetround_ctx): Likewise.
26776 (libc_feresetround_ctx): Likewise.
26777 (libc_feholdexcept_setroundl_ctx): Likewise.
26778 (libc_feupdateenvl_ctx): Likewise.
26779 (libc_feholdsetroundl_ctx): Likewise.
26780 (libc_feresetroundl_ctx): Likewise.
26781 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26782 (libc_feresetround_53bit_ctx): Likewise.
26783
59b30555
SP
267842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26785
26786 * locale/iso-639.def: Convert to UTF-8.
26787
f1d73d30
JM
267882013-06-11 Joseph Myers <joseph@codesourcery.com>
26789
26790 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26791 (EXCEPTION_TESTS_double): Likewise.
26792 (EXCEPTION_TESTS_long_double): Likewise.
26793 (EXCEPTION_TESTS): Likewise.
26794 * math/libm-test.inc (test_exceptions): Only test exceptions if
26795 EXCEPTION_TESTS (FLOAT).
26796
94aca5e7
SP
267972013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26798
26799 * benchtests/Makefile (string-bench): Add strcpy_chk and
26800 stpcpy_chk.
26801 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26802 * benchtests/bench-stpcpy_chk.c: New file.
26803 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26804 * benchtests/bench-strcpy_chk.c: New file.
26805 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26806 code.
26807 (do_test): Likewise.
26808
fac0c5f2
RA
268092013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26810
26811 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26812 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26813 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26814 with tabs where appropriate.
26815 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26816 dl-procinfo.h.
26817 [PPC_PLATFORM_PPC440]: Likewise.
26818 [PPC_PLATFORM_PPC464]: Likewise.
26819 [PPC_PLATFORM_PPC476]: Likewise.
26820 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26821 ppc464, and ppc476 platform strings merging from ports/
26822 dl-procinfo.h.
26823
f22bc486
AS
268242013-06-11 Andreas Schwab <schwab@suse.de>
26825
26826 [BZ #14991]
26827 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26828 (from_ucs4_idx): Regenerate.
26829 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26830 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26831 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26832 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26833 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26834 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26835 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26836 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26837 from FROM_LOOP and TO_LOOP specific macros.
26838 (BODY): Handle combining characters.
26839 * iconvdata/BIG5HKSCS.irreversible: Update.
26840 * iconvdata/BIG5HKSCS.precomposed: New file.
26841 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26842 characters.
26843 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26844
c1f75dc3
SP
268452013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26846
4eacded2
SP
26847 * include/sys/time.h: Fix indentation and add copyright header.
26848
fec799f8
SP
26849 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26850 (do_test): Likewise.
26851 * string/test-memchr.c (do_one_test): Likewise.
26852 (do_test): Likewise.
26853 * string/test-memcmp.c (do_one_test): Likewise.
26854 (do_test): Likewise.
26855 * string/test-memcpy.c (do_one_test): Likewise.
26856 (do_test): Likewise.
26857 * string/test-memmem.c (do_one_test): Likewise.
26858 (do_test): Likewise.
26859 (do_random_tests): Likewise.
26860 * string/test-memmove.c (do_one_test): Likewise.
26861 (do_test): Likewise.
26862 * string/test-memset.c (do_one_test): Likewise.
26863 (do_test): Likewise.
26864 * string/test-rawmemchr.c (do_one_test): Likewise.
26865 (do_test): Likewise.
26866 * string/test-strcasecmp.c (do_one_test): Likewise.
26867 (do_test): Likewise.
26868 * string/test-strcasestr.c (do_one_test): Likewise.
26869 (do_test): Likewise.
26870 * string/test-strcat.c (do_one_test): Likewise.
26871 (do_test): Likewise.
26872 * string/test-strchr.c (do_one_test): Likewise.
26873 (do_test): Likewise.
26874 * string/test-strcmp.c (do_one_test): Likewise.
26875 (do_test): Likewise.
26876 * string/test-strcpy.c (do_one_test): Likewise.
26877 (do_test): Likewise.
26878 * string/test-string.h: Likewise.
26879 (test_init): Likewise.
26880 * string/test-strlen.c (do_one_test): Likewise.
26881 (do_test): Likewise.
26882 * string/test-strncasecmp.c (do_one_test): Likewise.
26883 (do_test): Likewise.
26884 * string/test-strncat.c (do_one_test): Likewise.
26885 (do_test): Likewise.
26886 * string/test-strncmp.c (do_one_test): Likewise.
26887 (do_test_limit): Likewise.
26888 (do_test): Likewise.
26889 * string/test-strncpy.c (do_one_test): Likewise.
26890 (do_test): Likewise.
26891 * string/test-strnlen.c (do_one_test): Likewise.
26892 (do_test): Likewise.
26893 * string/test-strpbrk.c (do_one_test): Likewise.
26894 (do_test): Likewise.
26895 * string/test-strrchr.c (do_one_test): Likewise.
26896 (do_test): Likewise.
26897 * string/test-strspn.c (do_one_test): Likewise.
26898 (do_test): Likewise.
26899 * string/test-strstr.c (do_one_test): Likewise.
26900 (do_test): Likewise.
26901
97020474
SP
26902 * benchtests/Makefile (string-bench): Add string benchmarks.
26903 * benchtests/bench-bcopy-ifunc.c: New file.
26904 * benchtests/bench-bcopy.c: New file.
26905 * benchtests/bench-bzero-ifunc.c: New file.
26906 * benchtests/bench-bzero.c: New file.
26907 * benchtests/bench-memccpy-ifunc.c: New file.
26908 * benchtests/bench-memccpy.c: New file.
26909 * benchtests/bench-memchr-ifunc.c: New file.
26910 * benchtests/bench-memchr.c: New file.
26911 * benchtests/bench-memcmp-ifunc.c: New file.
26912 * benchtests/bench-memcmp.c: New file.
26913 * benchtests/bench-memmem-ifunc.c: New file.
26914 * benchtests/bench-memmem.c: New file.
26915 * benchtests/bench-memmove-ifunc.c: New file.
26916 * benchtests/bench-memmove.c: New file.
26917 * benchtests/bench-mempcpy-ifunc.c: New file.
26918 * benchtests/bench-mempcpy.c: New file.
26919 * benchtests/bench-memset-ifunc.c: New file.
26920 * benchtests/bench-memset.c: New file.
26921 * benchtests/bench-rawmemchr-ifunc.c: New file.
26922 * benchtests/bench-rawmemchr.c: New file.
26923 * benchtests/bench-stpcpy-ifunc.c: New file.
26924 * benchtests/bench-stpcpy.c: New file.
26925 * benchtests/bench-stpncpy-ifunc.c: New file.
26926 * benchtests/bench-stpncpy.c: New file.
26927 * benchtests/bench-strcasecmp-ifunc.c: New file.
26928 * benchtests/bench-strcasecmp.c: New file.
26929 * benchtests/bench-strcasestr-ifunc.c: New file.
26930 * benchtests/bench-strcasestr.c: New file.
26931 * benchtests/bench-strcat-ifunc.c: New file.
26932 * benchtests/bench-strcat.c: New file.
26933 * benchtests/bench-strchr-ifunc.c: New file.
26934 * benchtests/bench-strchr.c: New file.
26935 * benchtests/bench-strchrnul-ifunc.c: New file.
26936 * benchtests/bench-strchrnul.c: New file.
26937 * benchtests/bench-strcmp-ifunc.c: New file.
26938 * benchtests/bench-strcmp.c: New file.
26939 * benchtests/bench-strcpy-ifunc.c: New file.
26940 * benchtests/bench-strcpy.c: New file.
26941 * benchtests/bench-strcspn-ifunc.c: New file.
26942 * benchtests/bench-strcspn.c: New file.
26943 * benchtests/bench-strlen-ifunc.c: New file.
26944 * benchtests/bench-strlen.c: New file.
26945 * benchtests/bench-strncasecmp-ifunc.c: New file.
26946 * benchtests/bench-strncasecmp.c: New file.
26947 * benchtests/bench-strncat-ifunc.c: New file.
26948 * benchtests/bench-strncat.c: New file.
26949 * benchtests/bench-strncmp-ifunc.c: New file.
26950 * benchtests/bench-strncmp.c: New file.
26951 * benchtests/bench-strncpy-ifunc.c: New file.
26952 * benchtests/bench-strncpy.c: New file.
26953 * benchtests/bench-strnlen-ifunc.c: New file.
26954 * benchtests/bench-strnlen.c: New file.
26955 * benchtests/bench-strpbrk-ifunc.c: New file.
26956 * benchtests/bench-strpbrk.c: New file.
26957 * benchtests/bench-strrchr-ifunc.c: New file.
26958 * benchtests/bench-strrchr.c: New file.
26959 * benchtests/bench-strspn-ifunc.c: New file.
26960 * benchtests/bench-strspn.c: New file.
26961 * benchtests/bench-strstr-ifunc.c: New file.
26962 * benchtests/bench-strstr.c: New file.
26963
c1f75dc3
SP
26964 * benchtests/Makefile: Disable parallel execution of targets.
26965 (string-bench): Add memcpy.
26966 (benchset): New variable to store a list of benchmark sets.
26967 (bench-func): Renamed from bench.
26968 (bench-set): New target.
26969 (bench): Depend on bench-func and bench-set.
26970 * benchtests/README: Add section on benchmark sets.
26971 * benchtests/bench-memcpy-ifunc.c: New file.
26972 * benchtests/bench-memcpy.c: New file.
26973 * benchtests/bench-string.h: New file.
26974
50fd745b
AS
269752013-06-11 Andreas Schwab <schwab@suse.de>
26976
26977 [BZ #15577]
26978 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26979 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26980 values in the triple.
26981 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26982 terminator in the group key.
26983
3ee7e9fe
AJ
269842013-06-11 Andreas Jaeger <aj@suse.de>
26985
26986 * po/zh_TW.po: Update Chinese (traditional) translation from
26987 translation project.
26988
89fb6835
SP
269892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26990
26991 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26992 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26993 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26994 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26995 (clock_getcpuclockid): Likewise.
26996 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26997 Add weak_alias and libc_hidden_def.
26998 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26999 * rt/clock_gettime.c (clock_gettime): Rename to
27000 __clock_gettime. Add weak_alias and libc_hidden_def.
27001 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27002 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27003 __clock_nanosleep. Add weak_alias and libc_hidden_def.
27004 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27005 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27006 Likewise.
27007 * rt/clock_settime.c (clock_settime): Rename to
27008 __clock_settime. Add weak_alias and libc_hidden_def.
27009 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27010
0efa6f8b
JM
270112013-06-10 Joseph Myers <joseph@codesourcery.com>
27012
b8c61b4b
JM
27013 * mach/err_boot.sub: Remove trailing whitespace.
27014 * mach/err_ipc.sub: Likewise.
27015 * mach/err_mach.sub: Likewise.
27016
0efa6f8b
JM
27017 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27018 (ROUNDING_TESTS_double): Likewise.
27019 (ROUNDING_TESTS_long_double): Likewise.
27020 (ROUNDING_TESTS): Likewise.
27021 * math/libm-test.inc: Include <math-tests.h>.
27022 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27023 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27024 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27025 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27026
50b818bf
SP
270272013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27028
27029 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27030 of assigning.
27031
60d2f8f3
JM
270322013-06-08 Joseph Myers <joseph@codesourcery.com>
27033
4902d2c3
JM
27034 * sysdeps/gnu/errlist.awk: Do not generate space at end of
27035 otherwise empty TRANS lines.
27036 * sysdeps/gnu/errlist.c: Regenerated.
27037
60d2f8f3
JM
27038 * catgets/gencat.c (error_print): Use (void) in function
27039 definition.
27040 * crypt/crypt_util.c (__init_des): Likewise.
27041 * crypt/speeds.c (Stop): Likewise.
27042 (main): Likewise.
27043 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27044 * inet/ruserpass.c (token): Likewise.
27045 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27046 * intl/localealias.c (extend_alias_table): Likewise.
27047 * intl/plural-exp.c (init_germanic_plural): Likewise.
27048 * libio/fcloseall.c (__fcloseall): Likewise.
27049 * libio/genops.c (_IO_flush_all): Likewise.
27050 (_IO_flush_all_linebuffered): Likewise.
27051 (_IO_cleanup): Likewise.
27052 (_IO_iter_begin): Likewise.
27053 (_IO_iter_end): Likewise.
27054 (_IO_list_lock): Likewise.
27055 (_IO_list_unlock): Likewise.
27056 (_IO_list_resetlock): Likewise.
27057 * libio/getchar.c (getchar): Likewise.
27058 * libio/getchar_u.c (getchar_unlocked): Likewise.
27059 * libio/getwchar.c (getwchar): Likewise.
27060 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27061 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27062 * login/getpt.c (__getpt): Likewise.
27063 * login/tst-utmp.c (main): Likewise.
27064 * malloc/hooks.c (__malloc_check_init): Likewise.
27065 * malloc/malloc.c (__malloc_stats): Likewise.
27066 * malloc/mtrace.c (tr_break): Likewise.
27067 (mtrace): Likewise.
27068 (muntrace): Likewise.
27069 * misc/fstab.c (endfsent): Likewise.
27070 * misc/getclktck.c (__getclktck): Likewise.
27071 * misc/getdtsz.c (__getdtablesize): Likewise.
27072 * misc/gethostid.c (gethostid): Likewise.
27073 * misc/getpagesize.c (__getpagesize): Likewise.
27074 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27075 (__get_nprocs): Likewise.
27076 (__get_phys_pages): Likewise.
27077 (__get_avphys_pages): Likewise.
27078 * misc/getttyent.c (getttyent): Likewise.
27079 (setttyent): Likewise.
27080 (endttyent): Likewise.
27081 * misc/getusershell.c (getusershell): Likewise.
27082 (endusershell): Likewise.
27083 (setusershell): Likewise.
27084 (initshells): Likewise.
27085 * misc/hsearch.c (__hdestroy): Likewise.
27086 * misc/sync.c (sync): Likewise.
27087 * misc/syslog.c (closelog_internal): Likewise.
27088 (closelog): Likewise.
27089 * misc/ttyslot.c (ttyslot): Likewise.
27090 * misc/vhangup.c (vhangup): Likewise.
27091 * posix/fork.c (__fork): Likewise.
27092 * posix/getegid.c (__getegid): Likewise.
27093 * posix/geteuid.c (__geteuid): Likewise.
27094 * posix/getgid.c (__getgid): Likewise.
27095 * posix/getpid.c (__getpid): Likewise.
27096 * posix/getppid.c (__getppid): Likewise.
27097 * posix/getuid.c (__getuid): Likewise.
27098 * posix/pause.c (pause): Likewise.
27099 * posix/setpgrp.c (setpgrp): Likewise.
27100 * posix/setsid.c (__setsid): Likewise.
27101 * posix/test-vfork.c (noop): Likewise.
27102 * resolv/gethnamaddr.c (_endhtent): Likewise.
27103 (_gethtent): Likewise.
27104 (ht_endhostent): Likewise.
27105 (gethostent): Likewise.
27106 (dns_service): Likewise.
27107 * stdlib/drand48.c (drand48): Likewise.
27108 * stdlib/lrand48.c (lrand48): Likewise.
27109 * stdlib/mrand48.c (mrand48): Likewise.
27110 * stdlib/rand.c (rand): Likewise.
27111 * stdlib/random.c (__random): Likewise.
27112 * stdlib/setenv.c (clearenv): Likewise.
27113 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27114 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27115 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27116 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27117 (__get_nprocs): Likewise.
27118 (__get_phys_pages): Likewise.
27119 (__get_avphys_pages): Likewise.
27120 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27121 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27122 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27123 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27124 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27125 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27126 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27127 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27128 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27129 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27130 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27131 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27132 * sysdeps/posix/clock.c (clock): Likewise.
27133 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27134 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27135 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27136 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27137 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27138 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27139 (__get_nprocs_conf): Likewise.
27140 (__get_phys_pages): Likewise.
27141 (__get_avphys_pages): Likewise.
27142 * time/clock.c (clock): Likewise.
27143 * time/tzset.c (__tzname_max): Likewise.
27144
2e09a79a
JM
271452013-06-07 Joseph Myers <joseph@codesourcery.com>
27146
27147 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27148 (__bswap_32): Do not use "register".
27149 * crypt/crypt.c (_ufc_doit_r): Likewise.
27150 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27151 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27152 * gmon/gmon.c (__monstartup): Likewise.
27153 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27154 * hurd/hurdmalloc.c (more_memory): Likewise.
27155 (malloc): Likewise.
27156 (free): Likewise.
27157 (realloc): Likewise.
27158 (malloc_fork_prepare): Likewise.
27159 (malloc_fork_parent): Likewise.
27160 (malloc_fork_child): Likewise.
27161 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27162 (_svcauth_des): Likewise.
27163 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27164 * inet/inet_net.c (inet_network): Likewise.
27165 * inet/inet_netof.c (inet_netof): Likewise.
27166 * inet/rcmd.c (__validuser2_sa): Likewise.
27167 * io/fts.c (fts_open): Likewise.
27168 (fts_load): Likewise.
27169 (fts_close): Likewise.
27170 (fts_read): Likewise.
27171 (fts_children): Likewise.
27172 (fts_build): Likewise.
27173 (fts_stat): Likewise.
27174 (fts_sort): Likewise.
27175 (fts_alloc): Likewise.
27176 (fts_lfree): Likewise.
27177 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27178 (_IO_file_xsgetn): Likewise.
27179 (_IO_file_xsgetn_mmap): Likewise.
27180 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27181 (_IO_cookie_write): Likewise.
27182 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27183 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27184 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27185 * malloc/obstack.c (_obstack_begin): Likewise.
27186 (_obstack_begin_1): Likewise.
27187 (_obstack_newchunk): Likewise.
27188 (_obstack_allocated_p): Likewise.
27189 (obstack_free): Likewise.
27190 (_obstack_memory_used): Likewise.
27191 * misc/getttyent.c (getttynam): Likewise.
27192 (getttyent): Likewise.
27193 (skip): Likewise.
27194 (value): Likewise.
27195 * misc/getusershell.c (initshells): Likewise.
27196 * misc/syslog.c (__vsyslog_chk): Likewise.
27197 * misc/ttyslot.c (ttyslot): Likewise.
27198 * nis/nis_hash.c (__nis_hash): Likewise.
27199 * posix/fnmatch_loop.c (FCT): Likewise.
27200 * posix/getconf.c (print_all): Likewise.
27201 (main): Likewise.
27202 * posix/getopt.c (exchange): Likewise.
27203 * posix/glob.c (globfree): Likewise.
27204 (prefix_array): Likewise.
27205 (__glob_pattern_type): Likewise.
27206 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27207 (NS_GET32): Likewise.
27208 (NS_PUT16): Likewise.
27209 (NS_PUT32): Likewise.
27210 * resolv/gethnamaddr.c (getanswer): Likewise.
27211 (gethostbyname2): Likewise.
27212 (gethostbyaddr): Likewise.
27213 (_gethtent): Likewise.
27214 (_gethtbyname2): Likewise.
27215 (_gethtbyaddr): Likewise.
27216 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27217 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27218 * resolv/res_init.c (__res_vinit): Likewise.
27219 (net_mask): Likewise.
27220 * resolv/res_mkquery.c (outchar): Likewise.
27221 (PRINT): Likewise.
27222 * stdio-common/printf_fp.c (outchar): Likewise.
27223 (PRINT): Likewise.
27224 * stdio-common/printf_fphex.c (outchar): Likewise.
27225 (PRINT): Likewise.
27226 * stdio-common/printf_size.c (outchar): Likewise.
27227 (PRINT): Likewise.
27228 * stdio-common/test_rdwr.c (main): Likewise.
27229 * stdio-common/tfformat.c (matches): Likewise.
27230 * stdio-common/vfprintf.c (outchar): Likewise.
27231 (printf_unknown): Likewise.
27232 (buffered_vfprintf): Likewise.
27233 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27234 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27235 (ReadFile): Likewise.
27236 * stdlib/qsort.c (SWAP): Likewise.
27237 (_quicksort): Likewise.
27238 * stdlib/setenv.c (__add_to_environ): Likewise.
27239 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27240 * stdlib/strtol_l.c (__strtol_l): Likewise.
27241 * stdlib/tst-strtod.c (main): Likewise.
27242 * stdlib/tst-strtol.c (main): Likewise.
27243 * stdlib/tst-strtoll.c (main): Likewise.
27244 * string/bits/string2.h (__strcmp_cc): Likewise.
27245 (__strcmp_cg): Likewise.
27246 (__strcspn_c1): Likewise.
27247 (__strcspn_c2): Likewise.
27248 (__strcspn_c3): Likewise.
27249 (__strspn_c1): Likewise.
27250 (__strspn_c2): Likewise.
27251 (__strspn_c3): Likewise.
27252 (__strsep_1c): Likewise.
27253 (__strsep_2c): Likewise.
27254 (__strsep_3c): Likewise.
27255 * string/memccpy.c (__memccpy): Likewise.
27256 * string/stpcpy.c (__stpcpy): Likewise.
27257 * string/strcmp.c (strcmp): Likewise.
27258 * string/strrchr.c (strrchr): Likewise.
27259 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27260 Likewise.
27261 * sysdeps/mach/hurd/getcwd.c
27262 (_hurd_canonicalize_directory_name_internal): Likewise.
27263 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27264 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27265 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27266 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27267 Likewise, in both definitions.
27268 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27269 definitions.
27270 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27271 64] (__bswap_64): Likewise.
27272 * time/test_time.c (main): Likewise.
27273 * time/tzfile.c (__tzfile_read): Likewise.
27274 (__tzfile_compute): Likewise.
27275 * time/tzset.c (__tzset_parse_tz): Likewise.
27276 (tzset_internal): Likewise.
27277 (compute_change): Likewise.
27278 * wcsmbs/wcscat.c (__wcscat): Likewise.
27279 * wcsmbs/wcschr.c (wcschr): Likewise.
27280 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27281 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27282 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27283 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27284 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27285 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27286 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27287 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27288 * wcsmbs/wmemset.c (wmemset): Likewise.
27289
9e54314b
JM
272902013-06-06 Joseph Myers <joseph@codesourcery.com>
27291
27292 * scripts/config.guess: Update to version 2013-05-16.
27293 * scripts/config.sub: Update to version 2013-04-24.
27294 * scripts/install-sh: Update to version 2011-11-20.07.
27295 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27296 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27297
350635a5
OB
272982013-06-06 Ondřej Bílka <neleai@seznam.cz>
27299
27300 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27301 * elf/sln.c: Likewise.
27302 * hurd/hurd/ioctl.h: Likewise.
27303 * hurd/hurdmalloc.c: Likewise.
27304 * hurd/xattr.c: Likewise.
27305 * include/shlib-compat.h: Likewise.
27306 * inet/ruserpass.c: Likewise.
27307 * libio/iofgets_u.c: Likewise.
27308 * libio/iofgetws_u.c: Likewise.
27309 * locale/programs/ld-identification.c: Likewise.
27310 * locale/programs/ld-time.c: Likewise.
27311 * mach/msg-destroy.c: Likewise.
27312 * nss/nss_files/files-netgrp.c: Likewise.
27313 * resolv/res_data.c: Likewise.
27314 * soft-fp/op-1.h: Likewise.
27315 * soft-fp/op-2.h: Likewise.
27316 * soft-fp/op-4.h: Likewise.
27317 * soft-fp/op-common.h: Likewise.
27318 * stdio-common/printf_fphex.c: Likewise.
27319 * stdlib/strtod_l.c: Likewise.
27320 * sunrpc/rpc/clnt.h: Likewise.
27321 * sysdeps/generic/framestate.c: Likewise.
27322 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27323 * sysdeps/i386/bsd-setjmp.S: Likewise.
27324 * sysdeps/i386/__longjmp.S: Likewise.
27325 * sysdeps/i386/setjmp.S: Likewise.
27326 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27327 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27328 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27329 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27330 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27331 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27332 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27333 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27334 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27335 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27336 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27337 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27338 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27339 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27340 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27341 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27342 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27343 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27344 * sysdeps/ieee754/support.c: Likewise.
27345 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27346 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27347 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27348 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27349 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27350 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27351 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27352 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27353 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27354 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27355 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27356 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27357 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27358 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27359 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27360 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27361 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27363
44a988af
OB
273642013-06-05 Ondřej Bílka <neleai@seznam.cz>
27365
25506f09 27366 * posix/transbug.c: Remove executable mode.
44a988af 27367
9c84384c
JM
273682013-06-05 Joseph Myers <joseph@codesourcery.com>
27369
27370 * crypt/speeds.c: Remove trailing whitespace.
27371 * dlfcn/default.c: Likewise.
27372 * elf/ifuncdep2.c: Likewise.
27373 * elf/ifuncmain1.c: Likewise.
27374 * elf/ifuncmain1vis.c: Likewise.
27375 * elf/testobj.h: Likewise.
27376 * elf/tst-stackguard1.c: Likewise.
27377 * gmon/sys/gmon.h: Likewise.
27378 * hurd/hurdmsg.c: Likewise.
27379 * hurd/new-fd.c: Likewise.
27380 * hurd/ports-get.c: Likewise.
27381 * iconvdata/ibm1008_420.c: Likewise.
27382 * inet/tst-getni1.c: Likewise.
27383 * inet/tst-getni2.c: Likewise.
27384 * libio/ioungetc.c: Likewise.
27385 * libio/wfiledoalloc.c: Likewise.
27386 * manual/libm-err-tab.pl: Likewise.
27387 * math/w_dremf.c: Likewise.
27388 * misc/ftruncate.c: Likewise.
27389 * posix/bug-glob2.c: Likewise.
27390 * posix/tst-pcre.c: Likewise.
27391 * posix/wait4.c: Likewise.
27392 * resolv/README: Likewise.
27393 * resolv/res_debug.h: Likewise.
27394 * resolv/tst-inet_ntop.c: Likewise.
27395 * setjmp/bug269-setjmp.c: Likewise.
27396 * soft-fp/extended.h: Likewise.
27397 * soft-fp/op-1.h: Likewise.
27398 * soft-fp/op-2.h: Likewise.
27399 * soft-fp/op-4.h: Likewise.
27400 * soft-fp/op-8.h: Likewise.
27401 * soft-fp/testit.c: Likewise.
27402 * stdio-common/bug16.c: Likewise.
27403 * stdlib/random.c: Likewise.
27404 * sunrpc/rpcsvc/rquota.x: Likewise.
27405 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27406 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27407 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27408 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27409 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27410 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27411 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27412 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27413 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27414 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27415 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27416 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27417 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27418 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27419 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27420 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27421 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27422 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27423 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27424 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27425 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27426 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27427 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27428 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27429 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27430 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27431 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27432 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27433 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27434 * sysdeps/ieee754/s_lib_version.c: Likewise.
27435 * sysdeps/mach/hurd/check_fds.c: Likewise.
27436 * sysdeps/mach/hurd/getsockname.c: Likewise.
27437 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27438 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27439 * sysdeps/powerpc/bits/link.h: Likewise.
27440 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27441 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27442 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27443 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27444 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27445 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27446 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27447 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27448 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27449 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27450 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27451 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27452 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27453 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27454 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27455 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27456 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27457 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27458 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27459 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27460 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27461 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27462 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27463 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27464 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27465 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27466 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27467 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27468 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27469 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27470 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27471 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27472 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27473 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27474 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27475 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27476 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27477 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27478 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27479 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27480 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27481 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27482 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27483 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27484 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27485 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27486 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27487 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27488 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27489 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27490 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27491 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27492 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27493 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27494 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27495 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27496 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27497 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27498 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27499 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27500 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27501 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27502 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27503 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27504 * sysdeps/powerpc/sysdep.h: Likewise.
27505 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27506 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27507 * sysdeps/sh/dl-trampoline.S: Likewise.
27508 * sysdeps/sh/memset.S: Likewise.
27509 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27510 * sysdeps/sh/strlen.S: Likewise.
27511 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27512 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27513 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27514 * sysdeps/sparc/sparc32/rem.S: Likewise.
27515 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27516 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27517 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27518 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27519 * sysdeps/sparc/sparc32/urem.S: Likewise.
27520 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27521 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27522 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27523 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27524 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27525 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27526 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27527 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27528 * sysdeps/unix/bsd/times.c: Likewise.
27529 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27530 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27534 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27535 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27536 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27537 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27538 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27539 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27540 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27541 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27542 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27543 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27544 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27545 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27546 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27547 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27548 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27549 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27550 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27551 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27552 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27553 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27554 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27555 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27556 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27557 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27558 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27559 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27560 * sysdeps/x86_64/strcspn.S: Likewise.
27561
869378a5
RA
275622013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27563
27564 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27565 generated file. Regenerate properly from gen-translit.pl.
27566 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27567 locale/C-translit.h.
27568
840e2943
AS
275692013-06-05 Andreas Schwab <schwab@suse.de>
27570
27571 [BZ #15100]
27572 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27573 week as 6 instead of -1.
27574 * time/tst-strptime.c (day_tests): Add test case.
27575
4c60cb0c
SP
275762013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27577
27578 * sysdeps/generic/math_private.h
27579 (libc_feholdexcept_setround_53bit): Replace with
27580 libc_feholdsetround_53bit.
27581 (libc_feupdateenv_53bit): Replace with
27582 libc_feresetround_53bit.
27583 (SET_RESTORE_ROUND_53BIT): Adjust.
27584
d180203e
SP
275852013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27586
96df079a
SP
27587 * string/test-strchrnul.c: Add copyright header.
27588
d180203e
SP
27589 * posix/tst-getaddrinfo4.c: Increase test timeout.
27590
8b0ccb2d
CD
275912013-06-03 Carlos O'Donell <carlos@redhat.com>
27592
27593 [BZ #15536]
27594 * math/libm-test.inc (MAX_EXP): Remove
27595 (MIN_EXP): Define.
27596 (ulp): Use MIN_EXP - MANT_DIG.
27597 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27598
3b3c4d40
CD
275992013-05-31 Carlos O'Donell <carlos@redhat.com>
27600
27601 * po/be.po: Revert last change.
27602 * po/zh_CN.po: Likewise.
27603 * po/header.pot: Likewise.
27604
fab7ce3f
JM
276052013-05-31 Joseph Myers <joseph@codesourcery.com>
27606
27607 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27608 link-libc-deps to empty as target-specific variable.
27609 * Makerules (link-libc-args): New variable.
27610 (libc-for-link): Likewise.
27611 (link-libc-deps): Likewise.
27612 (lib%.so): Depend on $(link-libc-deps). Link with
27613 $(link-libc-args).
27614 (build-module): Link with $(link-libc-args).
27615 (build-module-asneeded): Likewise.
27616 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27617 list of objects.
27618 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27619 target-specific variable.
27620 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27621 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27622 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27623 libc.
27624 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27625 libc and ld.so.
27626 ($(objpfx)libpcprofile.so): Likewise.
27627 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27628 libc_nonshared.a.
27629 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27630 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27631 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27632 $(link-libc-deps).
27633 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27634 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27635 * login/Makefile ($(objpfx)libutil.so): Likewise.
27636 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27637 * math/Makefile ($(objpfx)libm.so): Likewise.
27638 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27639 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27640 variable instead of depending directly on libc.
27641 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27642 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27643 $(link-libc-deps).
27644 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27645 libc.
27646 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27647 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27648 ($(objpfx)libanl.so): Likewise.
27649 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27650 ld.so.
27651 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27652 $(link-libc-deps).
27653 * sysdeps/i386/fpu/Makefile: Remove file.
27654 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27655 ($(objpfx)libm.so): Remove dependency on ld.so.
27656
eca5920c
PF
276572013-05-30 Patsy Franklin <pfrankli@redhat.com>
27658
27659 [BZ # 15553]
27660 * nis/yp_xdr.c (XDRMAXNAME): Define.
27661 (XDRMAXRECORD): Define.
27662 (xdr_domainname): Use XDRMAXNAME.
27663 (xdr_mapname): Likewise.
27664 (xdr_peername): Likewise.
27665 (xdr_keydat): Use XDRMAXRECORD.
27666 (xdr_valdat): Likewise.
27667
276682013-05-30 Jeff Law <law@redhat.com>
96945714
JL
27669
27670 [BZ #14256]
27671 * manual/errno.texi (ESTALE): Update to account for more than
27672 just NFS file systems.
27673 * sysdeps/gnu/errlist.c: Regenerated.
27674
b9375348
SP
276752013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27676
27677 [BZ #15465]
27678 * elf/Makefile (tests): Add tst-null-argv.
27679 (modules-names): Add tst-null-argv-lib.
27680 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27681 (tst-null-argv-ENV): Set environment for tst-null-argv.
27682 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27683 (RTLD_PROGNAME): New macro.
27684 * elf/tst-null-argv.c: New test case.
27685 * elf/tst-null-argv-lib.c: Library for test case.
27686 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27687 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27688 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27689 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27690 * elf/dl-init.c (call_init): Likewise.
27691 (_dl_init): Likewise.
27692 * elf/dl-load.c (print_search_path): Likewise.
27693 (_dl_map_object): Likewise.
27694 * elf/dl-lookup.c (do_lookup_x): Likewise.
27695 (add_dependency): Likewise.
27696 (_dl_lookup_symbol_x): Likewise.
27697 (_dl_debug_bindings): Likewise.
27698 * elf/dl-open.c (_dl_show_scope): Likewise.
27699 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27700 * elf/dl-version.c (match_symbol): Likewise.
27701 (_dl_check_map_versions): Likewise.
27702 * elf/rtld.c (dl_main): Likewise.
27703 (print_unresolved): Use RTLD_PROGNAME.
27704 (print_missing_version): Likewise.
27705 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27706 (elf_machine_rela): Likewise.
27707 * sysdeps/powerpc/powerpc32/dl-machine.c
27708 (__process_machine_rela): Likewise.
27709 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27710 Likewise.
27711 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27712 Likewise.
27713 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27714 Likewise.
27715 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27716 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27717 Likewise.
27718 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27719 Likewise.
27720 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27721
8a9f20c8
CD
277222013-05-28 Carlos O'Donell <carlos@redhat.com>
27723
27724 * po/be.po: Add descriptive title.
27725 * po/zh_CN.po: Likewise.
27726 * po/header.pot: Likewise.
27727
0e60d68e
MF
277282013-05-28 Mike Frysinger <vapier@gentoo.org>
27729
27730 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27731 error message.
27732 (enlarge_archive): Likewise.
27733
56b672e9
BN
277342013-05-28 Ben North <ben@redfrontdoor.org>
27735
27736 * manual/arith.texi (frexp): It is the magnitude of the return
27737 value which lies in [0.5, 1), not the return value itself.
27738
5e056687
AZ
277392013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27740
27741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27742
2b66ef5d
TS
277432013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27744
528c2405
TS
27745 * stdio-common/bug26.c (main): Correct fscanf template.
27746
07b4c13d
TS
27747 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27748 declare _dl_skip_args.
27749
ec9dd97c
TS
27750 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27751 Don't declare.
27752
2b66ef5d
TS
27753 * manual/platform.texi: Add missing @end deftypefun.
27754
4f8dfe27
JM
277552013-05-24 Joseph Myers <joseph@codesourcery.com>
27756
0323d086
JM
27757 [BZ #15529]
27758 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27759 bit of mantissa of 2^16382.
27760 * math/libm-test.inc (hypot_test_data): Add more tests.
27761
dd4259b9
JM
27762 * math/libm-test.inc: Add drem and pow10 to list of tested
27763 functions.
27764 (pow10_test): New function.
27765 (drem_test): Likewise.
27766 (drem_test_tonearest): Likewise.
27767 (drem_test_towardzero): Likewise.
27768 (drem_test_downward): Likewise.
27769 (drem_test_upward): Likewise.
27770 (main): Call the new functions.
27771
4f8dfe27
JM
27772 * math/libm-test.inc (finite_test_data): Remove.
27773 (finite_test): Run tests from isfinite_test_data.
27774 (gamma_test_data): Remove.
27775 (gamma_test): Run tests from lgamma_test_data.
27776 * sysdeps/i386/fpu/libm-test-ulps: Update.
27777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27778
d116b7c4
AZ
277792013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27780
27781 * manual/platform.texi: Add PowerPC PPR function set documentation.
27782 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27783 implementation.
27784
e96e3767
CD
277852013-05-24 Carlos O'Donell <carlos@redhat.com>
27786
27787 * math/libm-test.inc (MAX_EXP): Define.
27788 (ULPDIFF): Define.
27789 (ulp): New function.
27790 (check_float_internal): Use ULPDIFF.
27791 (cpow_test): Disable failing test.
27792 (check_ulp): Test ulp() implemetnation.
27793 (main): Call check_ulp before starting tests.
27794
b679a606
JM
277952013-05-24 Joseph Myers <joseph@codesourcery.com>
27796
e8bdba36
JM
27797 * math/gen-libm-test.pl (generate_testfile): Do not handle
27798 START_DATA and END_DATA.
27799 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27800 END_DATA.
27801 (acos_tonearest_test_data): Likewise.
27802 (acos_towardzero_test_data): Likewise.
27803 (acos_downward_test_data): Likewise.
27804 (acos_upward_test_data): Likewise.
27805 (acosh_test_data): Likewise.
27806 (asin_test_data): Likewise.
27807 (asin_tonearest_test_data): Likewise.
27808 (asin_towardzero_test_data): Likewise.
27809 (asin_downward_test_data): Likewise.
27810 (asin_upward_test_data): Likewise.
27811 (asinh_test_data): Likewise.
27812 (atan_test_data): Likewise.
27813 (atanh_test_data): Likewise.
27814 (atan2_test_data): Likewise.
27815 (cabs_test_data): Likewise.
27816 (cacos_test_data): Likewise.
27817 (cacosh_test_data): Likewise.
27818 (carg_test_data): Likewise.
27819 (casin_test_data): Likewise.
27820 (casinh_test_data): Likewise.
27821 (catan_test_data): Likewise.
27822 (catanh_test_data): Likewise.
27823 (cbrt_test_data): Likewise.
27824 (ccos_test_data): Likewise.
27825 (ccosh_test_data): Likewise.
27826 (ceil_test_data): Likewise.
27827 (cexp_test_data): Likewise.
27828 (cimag_test_data): Likewise.
27829 (clog_test_data): Likewise.
27830 (clog10_test_data): Likewise.
27831 (conj_test_data): Likewise.
27832 (copysign_test_data): Likewise.
27833 (cos_test_data): Likewise.
27834 (cos_tonearest_test_data): Likewise.
27835 (cos_towardzero_test_data): Likewise.
27836 (cos_downward_test_data): Likewise.
27837 (cos_upward_test_data): Likewise.
27838 (cosh_test_data): Likewise.
27839 (cosh_tonearest_test_data): Likewise.
27840 (cosh_towardzero_test_data): Likewise.
27841 (cosh_downward_test_data): Likewise.
27842 (cosh_upward_test_data): Likewise.
27843 (cpow_test_data): Likewise.
27844 (cproj_test_data): Likewise.
27845 (creal_test_data): Likewise.
27846 (csin_test_data): Likewise.
27847 (csinh_test_data): Likewise.
27848 (csqrt_test_data): Likewise.
27849 (ctan_test_data): Likewise.
27850 (ctan_tonearest_test_data): Likewise.
27851 (ctan_towardzero_test_data): Likewise.
27852 (ctan_downward_test_data): Likewise.
27853 (ctan_upward_test_data): Likewise.
27854 (ctanh_test_data): Likewise.
27855 (ctanh_tonearest_test_data): Likewise.
27856 (ctanh_towardzero_test_data): Likewise.
27857 (ctanh_downward_test_data): Likewise.
27858 (ctanh_upward_test_data): Likewise.
27859 (erf_test_data): Likewise.
27860 (erfc_test_data): Likewise.
27861 (exp_test_data): Likewise.
27862 (exp_tonearest_test_data): Likewise.
27863 (exp_towardzero_test_data): Likewise.
27864 (exp_downward_test_data): Likewise.
27865 (exp_upward_test_data): Likewise.
27866 (exp10_test_data): Likewise.
27867 (exp2_test_data): Likewise.
27868 (expm1_test_data): Likewise.
27869 (fabs_test_data): Likewise.
27870 (fdim_test_data): Likewise.
27871 (finite_test_data): Likewise.
27872 (floor_test_data): Likewise.
27873 (fma_test_data): Likewise.
27874 (fma_towardzero_test_data): Likewise.
27875 (fma_downward_test_data): Likewise.
27876 (fma_upward_test_data): Likewise.
27877 (fmax_test_data): Likewise.
27878 (fmin_test_data): Likewise.
27879 (fmod_test_data): Likewise.
27880 (fpclassify_test_data): Likewise.
27881 (frexp_test_data): Likewise.
27882 (gamma_test_data): Likewise.
27883 (hypot_test_data): Likewise.
27884 (ilogb_test_data): Likewise.
27885 (isfinite_test_data): Likewise.
27886 (isgreater_test_data): Likewise.
27887 (isgreaterequal_test_data): Likewise.
27888 (isinf_test_data): Likewise.
27889 (isless_test_data): Likewise.
27890 (islessequal_test_data): Likewise.
27891 (islessgreater_test_data): Likewise.
27892 (isnan_test_data): Likewise.
27893 (isnormal_test_data): Likewise.
27894 (issignaling_test_data): Likewise.
27895 (isunordered_test_data): Likewise.
27896 (j0_test_data): Likewise.
27897 (j1_test_data): Likewise.
27898 (jn_test_data): Likewise.
27899 (ldexp_test_data): Likewise.
27900 (lgamma_test_data): Likewise.
27901 (lrint_test_data): Likewise.
27902 (lrint_tonearest_test_data): Likewise.
27903 (lrint_towardzero_test_data): Likewise.
27904 (lrint_downward_test_data): Likewise.
27905 (lrint_upward_test_data): Likewise.
27906 (llrint_test_data): Likewise.
27907 (llrint_tonearest_test_data): Likewise.
27908 (llrint_towardzero_test_data): Likewise.
27909 (llrint_downward_test_data): Likewise.
27910 (llrint_upward_test_data): Likewise.
27911 (log_test_data): Likewise.
27912 (log10_test_data): Likewise.
27913 (log1p_test_data): Likewise.
27914 (log2_test_data): Likewise.
27915 (logb_test_data): Likewise.
27916 (logb_downward_test_data): Likewise.
27917 (lround_test_data): Likewise.
27918 (llround_test_data): Likewise.
27919 (modf_test_data): Likewise.
27920 (nearbyint_test_data): Likewise.
27921 (nextafter_test_data): Likewise.
27922 (nexttoward_test_data): Likewise.
27923 (pow_test_data): Likewise.
27924 (pow_tonearest_test_data): Likewise.
27925 (pow_towardzero_test_data): Likewise.
27926 (pow_downward_test_data): Likewise.
27927 (pow_upward_test_data): Likewise.
27928 (remainder_test_data): Likewise.
27929 (remainder_tonearest_test_data): Likewise.
27930 (remainder_towardzero_test_data): Likewise.
27931 (remainder_downward_test_data): Likewise.
27932 (remainder_upward_test_data): Likewise.
27933 (remquo_test_data): Likewise.
27934 (rint_test_data): Likewise.
27935 (rint_tonearest_test_data): Likewise.
27936 (rint_towardzero_test_data): Likewise.
27937 (rint_downward_test_data): Likewise.
27938 (rint_upward_test_data): Likewise.
27939 (round_test_data): Likewise.
27940 (scalb_test_data): Likewise.
27941 (scalbn_test_data): Likewise.
27942 (scalbln_test_data): Likewise.
27943 (signbit_test_data): Likewise.
27944 (sin_test_data): Likewise.
27945 (sin_tonearest_test_data): Likewise.
27946 (sin_towardzero_test_data): Likewise.
27947 (sin_downward_test_data): Likewise.
27948 (sin_upward_test_data): Likewise.
27949 (sincos_test_data): Likewise.
27950 (sinh_test_data): Likewise.
27951 (sinh_tonearest_test_data): Likewise.
27952 (sinh_towardzero_test_data): Likewise.
27953 (sinh_downward_test_data): Likewise.
27954 (sinh_upward_test_data): Likewise.
27955 (sqrt_test_data): Likewise.
27956 (tan_test_data): Likewise.
27957 (tan_tonearest_test_data): Likewise.
27958 (tan_towardzero_test_data): Likewise.
27959 (tan_downward_test_data): Likewise.
27960 (tan_upward_test_data): Likewise.
27961 (tanh_test_data): Likewise.
27962 (tgamma_test_data): Likewise.
27963 (trunc_test_data): Likewise.
27964 (y0_test_data): Likewise.
27965 (y1_test_data): Likewise.
27966 (yn_test_data): Likewise.
27967 (significand_test_data): Likewise.
27968
b679a606
JM
27969 * math/gen-libm-test.pl (@functions): Remove variable.
27970 (generate_testfile): Don't handle START and END lines.
27971 * math/libm-test.inc (START): New macro.
27972 (END): Likewise.
27973 (END_COMPLEX): Likewise.
27974 (acos_test): Use END macro without arguments.
27975 (acos_test_tonearest): Likewise.
27976 (acos_test_towardzero): Likewise.
27977 (acos_test_downward): Likewise.
27978 (acos_test_upward): Likewise.
27979 (acosh_test): Likewise.
27980 (asin_test): Likewise.
27981 (asin_test_tonearest): Likewise.
27982 (asin_test_towardzero): Likewise.
27983 (asin_test_downward): Likewise.
27984 (asin_test_upward): Likewise.
27985 (asinh_test): Likewise.
27986 (atan_test): Likewise.
27987 (atanh_test): Likewise.
27988 (atan2_test): Likewise.
27989 (cabs_test): Likewise.
27990 (cacos_test): Use END_COMPLEX macro without arguments.
27991 (cacosh_test): Likewise.
27992 (carg_test): Use END macro without arguments.
27993 (casin_test): Use END_COMPLEX macro without arguments.
27994 (casinh_test): Likewise.
27995 (catan_test): Likewise.
27996 (catanh_test): Likewise.
27997 (cbrt_test): Use END macro without arguments.
27998 (ccos_test): Use END_COMPLEX macro without arguments.
27999 (ccosh_test): Likewise.
28000 (ceil_test): Use END macro without arguments.
28001 (cexp_test): Use END_COMPLEX macro without arguments.
28002 (cimag_test): Use END macro without arguments.
28003 (clog_test): Use END_COMPLEX macro without arguments.
28004 (clog10_test): Likewise.
28005 (conj_test): Likewise.
28006 (copysign_test): Use END macro without arguments.
28007 (cos_test): Likewise.
28008 (cos_test_tonearest): Likewise.
28009 (cos_test_towardzero): Likewise.
28010 (cos_test_downward): Likewise.
28011 (cos_test_upward): Likewise.
28012 (cosh_test): Likewise.
28013 (cosh_test_tonearest): Likewise.
28014 (cosh_test_towardzero): Likewise.
28015 (cosh_test_downward): Likewise.
28016 (cosh_test_upward): Likewise.
28017 (cpow_test): Use END_COMPLEX macro without arguments.
28018 (cproj_test): Likewise.
28019 (creal_test): Use END macro without arguments.
28020 (csin_test): Use END_COMPLEX macro without arguments.
28021 (csinh_test): Likewise.
28022 (csqrt_test): Likewise.
28023 (ctan_test): Likewise.
28024 (ctan_test_tonearest): Likewise.
28025 (ctan_test_towardzero): Likewise.
28026 (ctan_test_downward): Likewise.
28027 (ctan_test_upward): Likewise.
28028 (ctanh_test): Likewise.
28029 (ctanh_test_tonearest): Likewise.
28030 (ctanh_test_towardzero): Likewise.
28031 (ctanh_test_downward): Likewise.
28032 (ctanh_test_upward): Likewise.
28033 (erf_test): Use END macro without arguments.
28034 (erfc_test): Likewise.
28035 (exp_test): Likewise.
28036 (exp_test_tonearest): Likewise.
28037 (exp_test_towardzero): Likewise.
28038 (exp_test_downward): Likewise.
28039 (exp_test_upward): Likewise.
28040 (exp10_test): Likewise.
28041 (exp2_test): Likewise.
28042 (expm1_test): Likewise.
28043 (fabs_test): Likewise.
28044 (fdim_test): Likewise.
28045 (finite_test): Likewise.
28046 (floor_test): Likewise.
28047 (fma_test): Likewise.
28048 (fma_test_towardzero): Likewise.
28049 (fma_test_downward): Likewise.
28050 (fma_test_upward): Likewise.
28051 (fmax_test): Likewise.
28052 (fmin_test): Likewise.
28053 (fmod_test): Likewise.
28054 (fpclassify_test): Likewise.
28055 (frexp_test): Likewise.
28056 (gamma_test): Likewise.
28057 (hypot_test): Likewise.
28058 (ilogb_test): Likewise.
28059 (isfinite_test): Likewise.
28060 (isgreater_test): Likewise.
28061 (isgreaterequal_test): Likewise.
28062 (isinf_test): Likewise.
28063 (isless_test): Likewise.
28064 (islessequal_test): Likewise.
28065 (islessgreater_test): Likewise.
28066 (isnan_test): Likewise.
28067 (isnormal_test): Likewise.
28068 (issignaling_test): Likewise.
28069 (isunordered_test): Likewise.
28070 (j0_test): Likewise.
28071 (j1_test): Likewise.
28072 (jn_test): Likewise.
28073 (ldexp_test): Likewise.
28074 (lgamma_test): Likewise.
28075 (lrint_test): Likewise.
28076 (lrint_test_tonearest): Likewise.
28077 (lrint_test_towardzero): Likewise.
28078 (lrint_test_downward): Likewise.
28079 (lrint_test_upward): Likewise.
28080 (llrint_test): Likewise.
28081 (llrint_test_tonearest): Likewise.
28082 (llrint_test_towardzero): Likewise.
28083 (llrint_test_downward): Likewise.
28084 (llrint_test_upward): Likewise.
28085 (log_test): Likewise.
28086 (log10_test): Likewise.
28087 (log1p_test): Likewise.
28088 (log2_test): Likewise.
28089 (logb_test): Likewise.
28090 (logb_test_downward): Likewise.
28091 (lround_test): Likewise.
28092 (llround_test): Likewise.
28093 (modf_test): Likewise.
28094 (nearbyint_test): Likewise.
28095 (nextafter_test): Likewise.
28096 (nexttoward_test): Likewise.
28097 (pow_test): Likewise.
28098 (pow_test_tonearest): Likewise.
28099 (pow_test_towardzero): Likewise.
28100 (pow_test_downward): Likewise.
28101 (pow_test_upward): Likewise.
28102 (remainder_test): Likewise.
28103 (remainder_test_tonearest): Likewise.
28104 (remainder_test_towardzero): Likewise.
28105 (remainder_test_downward): Likewise.
28106 (remainder_test_upward): Likewise.
28107 (remquo_test): Likewise.
28108 (rint_test): Likewise.
28109 (rint_test_tonearest): Likewise.
28110 (rint_test_towardzero): Likewise.
28111 (rint_test_downward): Likewise.
28112 (rint_test_upward): Likewise.
28113 (round_test): Likewise.
28114 (scalb_test): Likewise.
28115 (scalbn_test): Likewise.
28116 (scalbln_test): Likewise.
28117 (signbit_test): Likewise.
28118 (sin_test): Likewise.
28119 (sin_test_tonearest): Likewise.
28120 (sin_test_towardzero): Likewise.
28121 (sin_test_downward): Likewise.
28122 (sin_test_upward): Likewise.
28123 (sincos_test): Likewise.
28124 (sinh_test): Likewise.
28125 (sinh_test_tonearest): Likewise.
28126 (sinh_test_towardzero): Likewise.
28127 (sinh_test_downward): Likewise.
28128 (sinh_test_upward): Likewise.
28129 (sqrt_test): Likewise.
28130 (tan_test): Likewise.
28131 (tan_test_tonearest): Likewise.
28132 (tan_test_towardzero): Likewise.
28133 (tan_test_downward): Likewise.
28134 (tan_test_upward): Likewise.
28135 (tanh_test): Likewise.
28136 (tgamma_test): Likewise.
28137 (trunc_test): Likewise.
28138 (y0_test): Likewise.
28139 (y1_test): Likewise.
28140 (yn_test): Likewise.
28141 (significand_test): Likewise.
28142
bae143d2
OB
281432013-05-24 Ondřej Bílka <neleai@seznam.cz>
28144
28145 [BZ #15381]
28146 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28147
9323d39b
EM
281482013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28149
d4ea44a0 28150 [BZ #14894]
9323d39b
EM
28151 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28152 __ppc_mdoio and __ppc_mdoom.
28153 * manual/platform.texi: Document new functions __ppc_yield,
28154 __ppc_mdoio and __ppc_mdoom.
28155
13e23af7
CD
281562013-05-22 Carlos O'Donell <carlos@redhat.com>
28157
28158 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28159 (main): Mention "tls" pseudo-hwcap is legacy.
28160 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28161
351fe550
JM
281622013-05-22 Joseph Myers <joseph@codesourcery.com>
28163
28164 * math/gen-libm-test.pl (parse_args): Output only string of
28165 arguments as text for test name, not full call or descriptions of
28166 tests for extra outputs.
28167 (generate_testfile): Do not pass function name to parse_args.
28168 Generate this_func variable from START.
28169 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28170 field to arg_str.
28171 (struct test_ff_f_data): Likewise.
28172 (test_ff_f_data_nexttoward): Likewise.
28173 (struct test_fi_f_data): Likewise.
28174 (struct test_fl_f_data): Likewise.
28175 (struct test_if_f_data): Likewise.
28176 (struct test_fff_f_data): Likewise.
28177 (struct test_c_f_data): Likewise.
28178 (struct test_f_f1_data): Likewise. Remove field extra_name.
28179 (struct test_fF_f1_data): Likewise.
28180 (struct test_ffI_f1_data): Likewise.
28181 (struct test_c_c_data): Rename test_name field to arg_str.
28182 (struct test_cc_c_data): Likewise.
28183 (struct test_f_i_data): Likewise.
28184 (struct test_ff_i_data): Likewise.
28185 (struct test_f_l_data): Likewise.
28186 (struct test_f_L_data): Likewise.
28187 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28188 and extra2_name.
28189 (COMMON_TEST_SETUP): New macro.
28190 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28191 (COMMON_TEST_CLEANUP): Likewise.
28192 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28193 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28194 macros.
28195 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28196 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28197 macros.
28198 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28199 (RUN_TEST_fff_f): Take argument string. Call new setup and
28200 cleanup macros.
28201 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28202 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28203 macros.
28204 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28205 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28206 macros.
28207 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28208 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28209 cleanup macros.
28210 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28211 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28212 cleanup macros.
28213 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28214 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28215 cleanup macros.
28216 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28217 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28218 macros.
28219 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28220 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28221 macros.
28222 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28223 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28224 macros.
28225 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28226 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28227 cleanup macros.
28228 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28229 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28230 cleanup macros.
28231 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28232 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28233 macros.
28234 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28235 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28236 cleanup macros.
28237 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28238 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28239 macros.
28240 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28241 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28242 macros.
28243 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28244 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28245 cleanup macros.
28246 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28247
85118d4d
EBM
282482013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28249
28250 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28251 to _sifields.sigfault.
28252 (si_addr_lsb): Define new macro.
28253 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28254 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28255 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28256
7a44c18f
CD
282572013-05-03 Carlos O'Donell <carlos at redhat.com>
28258
28259 [BZ #15441]
28260 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28261 returns -1.
28262 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28263 null return -1.
28264 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28265 loading the domain.
28266
b50a7181
JM
282672013-05-22 Joseph Myers <joseph@codesourcery.com>
28268
28269 * math/gen-libm-test.pl (parse_args): Do not include expected
28270 result in test name.
28271 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28272 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28273 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28274 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28275 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28277
051063c8
SP
282782013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28279
3ce9e010
SP
28280 * benchtests/Makefile: Sort function entries.
28281
051063c8
SP
28282 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28283 tanh, asinh, acosh, atanh.
28284 * benchtests/acos-inputs: New file.
28285 * benchtests/acosh-inputs: New file.
28286 * benchtests/asin-inputs: New file.
28287 * benchtests/asinh-inputs: New file.
28288 * benchtests/atanh-inputs: New file.
28289 * benchtests/cosh-inputs: New file.
28290 * benchtests/log-inputs: New file.
28291 * benchtests/sinh-inputs: New file.
28292 * benchtests/tanh-inputs: New file.
28293
47c22455
DL
282942013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28295
28296 [BZ #15339]
28297 * posix/tst-getaddrinfo4.c: New test.
28298 * posix/Makefile (tests): Add it.
28299
3d04f5db
SP
283002013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28301
28302 [BZ #15339]
28303 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28304 when no services were used.
28305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28306 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28307
d5dd6189
AS
283082013-05-21 Andreas Schwab <schwab@suse.de>
28309
28310 [BZ #15014]
28311 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28312 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28313 successful.
28314 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28315 redundant variable declarations and reallocation of buffer when
28316 parsing as IPv6 address. Always set NSS status when called from
28317 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28318 buffer too small. Correct computation of needed size.
28319 * nss/Makefile (tests): Add test-digits-dots.
28320 * nss/test-digits-dots.c: New test.
28321
fef94eab
SP
283222013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28323
28324 * benchtests/Makefile: Remove instructions for adding
28325 benchmark tests.
28326 * benchtests/README: New file to explain how to execute and
28327 enhance the benchmark tests.
28328
e39adf43
AS
283292013-05-21 Andreas Schwab <schwab@suse.de>
28330
28331 [BZ #15493]
28332 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28333 * setjmp/tst-sigsetjmp.c: New test.
28334
b2b671b6
OB
283352013-05-20 Ondřej Bílka <neleai@seznam.cz>
28336
28337 * sysdeps/x86_64/memset.S (memset): New implementation.
28338 (__bzero): Likewise.
28339 (__memset_tail): New function.
28340
2d48b41c
OB
283412013-05-20 Ondřej Bílka <neleai@seznam.cz>
28342
28343 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28344 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28345 __memcpy_sse2_unaligned ifunc selection.
28346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28347 Add memcpy-sse2-unaligned.S.
28348 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28349 Add: __memcpy_sse2_unaligned.
28350
f16cc3eb
JM
283512013-05-19 Joseph Myers <joseph@codesourcery.com>
28352
3e694268
JM
28353 [BZ #15490]
28354 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28355 math_force_eval before restoring floating-point envrionment.
28356 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28357 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28358 Likewise.
28359 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28360 <math_private.h>.
28361 (__nearbyintl): Use math_force_eval before restoring
28362 floating-point environment.
28363 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28364
db62a907
JM
28365 * math/gen-libm-test.pl (special_functions): Remove.
28366 (parse_args): Don't handle TEST_extra. Handle functions with no
28367 return value.
28368 * math/libm-test.inc (struct test_sincos_data): Replace with
28369 struct test_fFF_11_data.
28370 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28371 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28372 (sincos_test_data): Change element type to struct
28373 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28374 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28375 RUN_TEST_LOOP_sincos.
28376 * math/README.libm-test: Don't mention special handling of
28377 individual functions.
28378 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28379 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28380 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28381 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28382 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28384
f16cc3eb
JM
28385 * math/gen-libm-test.pl (get_variable): Remove function.
28386 (parse_args): Don't show pointer parameters to call in test
28387 names. Use "extra output N" in test names for extra outputs
28388 rather than naming variables.
28389
3779b5b6
JM
283902013-05-18 Joseph Myers <joseph@codesourcery.com>
28391
2ee094ff
JM
28392 [BZ #15488]
28393 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28394 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28395 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28396 double tests.
28397 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28398 disable.
28399 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28400 check_long_double.
28401
3779b5b6
JM
28402 * math/gen-libm-test.pl (@tests): Remove variable.
28403 ($count): Likewise.
28404 (new_test): Remove function.
28405 (show_exceptions): New function.
28406 (special_functions): Use show_exceptions instead of new_test.
28407 (parse_args): Likewise.
28408 (generate_testfile): Pass only function name in generated call to
28409 print_max_error or print_complex_max_error.
28410 (get_ulps): Do not handle complex tests specially.
28411 (output_test): Rename to ...
28412 (get_all_ulps_for_test): ... this. Return a string rather than
28413 printing to a file. Require ulps to be present.
28414 (output_ulps): Generate arrays rather than #defines.
28415 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28416 (struct ulp_data): New type.
28417 (BUILD_COMPLEX_ULP): Remove macro.
28418 (compare_ulp_data): New function.
28419 (find_ulps): Likewise.
28420 (find_test_ulps): Likewise.
28421 (find_function_ulps): Likewise.
28422 (find_complex_function_ulps): Likewise.
28423 (print_max_error): Determine allowed ulps using
28424 find_function_ulps.
28425 (print_complex_max_error): Determine allowed ulps using
28426 find_complex_function_ulps.
28427 (check_float_internal): Determine max ulps using find_test_ulps.
28428 (check_float): Do not take max_ulp parameter. Update call to
28429 check_float_internal.
28430 (check_complex): Likewise.
28431 (check_int): Do not take max_ulp parameter.
28432 (check_long): Likewise.
28433 (check_bool): Likewise.
28434 (check_longlong): Likewise.
28435 (struct test_f_f_data): Remove max_ulp field.
28436 (struct test_ff_f_data): Likewise.
28437 (struct test_ff_f_data_nexttoward): Likewise.
28438 (struct test_fi_f_data): Likewise.
28439 (struct test_fl_f_data): Likewise.
28440 (struct test_if_f_data): Likewise.
28441 (struct test_fff_f_data): Likewise.
28442 (struct test_c_f_data): Likewise.
28443 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28444 (struct test_fF_f1_data): Likewise.
28445 (struct test_ffI_f1_data): Likewise.
28446 (struct test_c_c_data): Remove max_ulp field.
28447 (struct test_cc_c_data): Likewise.
28448 (struct test_f_i_data): Likewise.
28449 (struct test_ff_i_data): Likewise.
28450 (struct test_f_l_data): Likewise.
28451 (struct test_f_L_data): Likewise.
28452 (struct test_sincos_data): Likewise.
28453 (RUN_TEST_f_f): Do not handle ulps.
28454 (RUN_TEST_LOOP_f_f): Likewise.
28455 (RUN_TEST_2_f): Likewise.
28456 (RUN_TEST_LOOP_2_f): Likewise.
28457 (RUN_TEST_fff_f): Likewise.
28458 (RUN_TEST_LOOP_fff_f): Likewise.
28459 (RUN_TEST_c_f): Likewise.
28460 (RUN_TEST_LOOP_c_f): Likewise.
28461 (RUN_TEST_f_f1): Likewise.
28462 (RUN_TEST_LOOP_f_f1): Likewise.
28463 (RUN_TEST_fF_f1): Likewise.
28464 (RUN_TEST_LOOP_fF_f1): Likewise.
28465 (RUN_TEST_fI_f1): Likewise.
28466 (RUN_TEST_LOOP_fI_f1): Likewise.
28467 (RUN_TEST_ffI_f1): Likewise.
28468 (RUN_TEST_LOOP_ffI_f1): Likewise.
28469 (RUN_TEST_c_c): Likewise.
28470 (RUN_TEST_LOOP_c_c): Likewise.
28471 (RUN_TEST_cc_c): Likewise.
28472 (RUN_TEST_LOOP_cc_c): Likewise.
28473 (RUN_TEST_f_i): Likewise.
28474 (RUN_TEST_LOOP_f_i): Likewise.
28475 (RUN_TEST_f_i_tg): Likewise.
28476 (RUN_TEST_LOOP_f_i_tg): Likewise.
28477 (RUN_TEST_ff_i_tg): Likewise.
28478 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28479 (RUN_TEST_f_b): Likewise.
28480 (RUN_TEST_LOOP_f_b): Likewise.
28481 (RUN_TEST_f_b_tg): Likewise.
28482 (RUN_TEST_LOOP_f_b_tg): Likewise.
28483 (RUN_TEST_f_l): Likewise.
28484 (RUN_TEST_LOOP_f_l): Likewise.
28485 (RUN_TEST_f_L): Likewise.
28486 (RUN_TEST_LOOP_f_L): Likewise.
28487 (RUN_TEST_sincos): Likewise.
28488 (RUN_TEST_LOOP_sincos): Likewise.
28489
8269107f
JM
284902013-05-17 Joseph Myers <joseph@codesourcery.com>
28491
bb38759d
JM
28492 [BZ #15480]
28493 [BZ #15485]
28494 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28495 main case of finite arguments, set rounding mode to FE_TONEAREST
28496 and discard exceptions.
28497 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28498 exceptions.
28499 (remainder_tonearest_test_data): New variable.
28500 (remainder_test_tonearest): New function.
28501 (remainder_towardzero_test_data): New variable.
28502 (remainder_test_towardzero): New function.
28503 (remainder_downward_test_data): New variable.
28504 (remainder_test_downward): New function.
28505 (remainder_upward_test_data): New variable.
28506 (remainder_test_upward): New function.
28507 (main): Call the new test functions.
28508
a00bdcf0
JM
28509 * math/libm-test.inc (struct test_f_f1_data): Remove field
28510 extra_init.
28511 (struct test_fF_f1_data): Likewise.
28512 (struct test_ffI_f1_data): Likewise.
28513 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28514 based on value of EXTRA_EXPECTED.
28515 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28516 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28517 EXTRA_VAR based on value of EXTRA_EXPECTED.
28518 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28519 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28520 EXTRA_VAR based on value of EXTRA_EXPECTED.
28521 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28522 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28523 EXTRA_VAR based on value of EXTRA_EXPECTED.
28524 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28525 * math/gen-libm-test.pl (parse_args): Don't output initializers
28526 for extra output values.
28527
de407f79
JM
28528 * math/libm-test.inc (check_int): Expect result to be exactly
28529 equal to expected value and do not handle ulps.
28530 (check_long): Likewise.
28531 (check_longlong): Likewise.
28532
8269107f
JM
28533 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28534 exceptions.
28535 (cimag_test_data): Likewise.
28536 (conj_test_data): Likewise.
28537 (copysign_test_data): Likewise.
28538 (cproj_test_data): Likewise.
28539 (creal_test_data): Likewise.
28540 (fabs_test_data): Likewise.
28541 (fdim_test_data): Likewise.
28542 (finite_test_data): Likewise.
28543 (floor_test_data): Likewise.
28544 (fmax_test_data): Likewise.
28545 (fmin_test_data): Likewise.
28546 (fmod_test_data): Likewise.
28547 (fpclassify_test_data): Likewise.
28548 (frexp_test_data): Likewise.
28549 (ilogb_test_data): Likewise.
28550 (isfinite_test_data): Likewise.
28551 (isgreater_test_data): Likewise.
28552 (isgreaterequal_test_data): Likewise.
28553 (isinf_test_data): Likewise.
28554 (isless_test_data): Likewise.
28555 (islessequal_test_data): Likewise.
28556 (islessgreater_test_data): Likewise.
28557 (isnan_test_data): Likewise.
28558 (isnormal_test_data): Likewise.
28559 (issignaling_test_data): Likewise.
28560 (isunordered_test_data): Likewise.
28561 (ldexp_test_data): Likewise.
28562 (lrint_test_data): Likewise.
28563 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28564 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28565 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28566 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28567 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28568 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28569 test input.
28570 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28571 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28572 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28573 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28574 that test input.
28575 (lrint_downward_test_data): Test for "inexact" exceptions.
28576 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28577 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28578 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28579 test input.
28580 (lrint_upward_test_data): Test for "inexact" exceptions.
28581 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28582 test input.
28583 (llrint_test_data): Test for "inexact" exceptions.
28584 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28585 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28586 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28587 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28588 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28589 (llrint_downward_test_data): Test for "inexact" exceptions.
28590 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28591 (llrint_upward_test_data): Test for "inexact" exceptions.
28592 (logb_test_data): Likewise.
28593 (logb_downward_test_data): Likewise.
28594 (nextafter_test_data): Likewise.
28595 (nexttoward_test_data): Likewise.
28596 (remainder_test_data): Likewise.
28597 (remquo_test_data): Likewise.
28598 (scalbn_test_data): Likewise.
28599 (scalbln_test_data): Likewise.
28600 (signbit_test_data): Likewise.
28601 (sqrt_test_data): Likewise.
28602 (significand_test_data): Likewise.
28603
48a18de1
SP
286042013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28605
28606 [BZ #15424]
28607 * benchtests/bench-modf.c (struct args): Mark arg0 as
28608 volatile.
28609 * scripts/bench.pl: Mark members of struct args as volatile.
28610
13d3b41a
AZ
286112013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28612
68191c1d 28613 [BZ # 15497]
13d3b41a
AZ
28614 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28615 negative infinity on POWER6 or lower.
28616 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28617
2848b105
MR
286182013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28619
28620 [BZ #15442]
28621 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28622 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28623 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28624 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28625 (_FP_SETQNAN): New macro.
28626 (_FP_SETQNAN_SEMIRAW): Likewise.
28627 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28628 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28629 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28630 (FP_EXTEND): Use _FP_FRAC_SNANP.
28631 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28632 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28633 into account.
28634 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28635 New macro.
28636 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28637 Likewise.
28638
323e5cb7
JM
286392013-05-16 Joseph Myers <joseph@codesourcery.com>
28640
c58b274f
JM
28641 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28642 with DIVIDE_BY_ZERO_EXCEPTION.
28643 (gamma_test_data): Likewise.
28644 (lgamma_test_data): Likewise.
28645 (log_test_data): Likewise.
28646 (log10_test_data): Likewise.
28647 (log2_test_data): Likewise.
28648 (tgamma_test_data): Likewise.
28649
0ab34904
JM
28650 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28651 (acos_test_tonearest): Likewise.
28652 (acos_test_towardzero): Likewise.
28653 (acos_test_downward): Likewise.
28654 (acos_test_upward): Likewise.
28655 (acosh_test): Likewise.
28656 (asin_test): Likewise.
28657 (asin_test_tonearest): Likewise.
28658 (asin_test_towardzero): Likewise.
28659 (asin_test_downward): Likewise.
28660 (asin_test_upward): Likewise.
28661 (asinh_test): Likewise.
28662 (atan_test): Likewise.
28663 (atanh_test): Likewise.
28664 (atan2_test): Likewise.
28665 (cabs_test): Likewise.
28666 (cacos_test): Likewise.
28667 (cacosh_test): Likewise.
28668 (casin_test): Likewise.
28669 (casinh_test): Likewise.
28670 (catan_test): Likewise.
28671 (catanh_test): Likewise.
28672 (cbrt_test): Likewise.
28673 (ccos_test): Likewise.
28674 (ccosh_test): Likewise.
28675 (cexp_test): Likewise.
28676 (clog_test): Likewise.
28677 (clog10_test): Likewise.
28678 (cos_test): Likewise.
28679 (cos_test_tonearest): Likewise.
28680 (cos_test_towardzero): Likewise.
28681 (cos_test_downward): Likewise.
28682 (cos_test_upward): Likewise.
28683 (cosh_test): Likewise.
28684 (cosh_test_tonearest): Likewise.
28685 (cosh_test_towardzero): Likewise.
28686 (cosh_test_downward): Likewise.
28687 (cosh_test_upward): Likewise.
28688 (cpow_test): Likewise.
28689 (csin_test): Likewise.
28690 (csinh_test): Likewise.
28691 (csqrt_test): Likewise.
28692 (ctan_test): Likewise.
28693 (ctan_test_tonearest): Likewise.
28694 (ctan_test_towardzero): Likewise.
28695 (ctan_test_downward): Likewise.
28696 (ctan_test_upward): Likewise.
28697 (ctanh_test): Likewise.
28698 (ctanh_test_tonearest): Likewise.
28699 (ctanh_test_towardzero): Likewise.
28700 (ctanh_test_downward): Likewise.
28701 (ctanh_test_upward): Likewise.
28702 (erf_test): Likewise.
28703 (erfc_test): Likewise.
28704 (exp_test): Likewise.
28705 (exp_test_tonearest): Likewise.
28706 (exp_test_towardzero): Likewise.
28707 (exp_test_downward): Likewise.
28708 (exp_test_upward): Likewise.
28709 (exp10_test): Likewise.
28710 (exp2_test): Likewise.
28711 (expm1_test): Likewise.
28712 (fmod_test): Likewise.
28713 (gamma_test): Likewise.
28714 (hypot_test): Likewise.
28715 (j0_test): Likewise.
28716 (j1_test): Likewise.
28717 (jn_test): Likewise.
28718 (lgamma_test): Likewise.
28719 (log_test): Likewise.
28720 (log10_test): Likewise.
28721 (log1p_test): Likewise.
28722 (log2_test): Likewise.
28723 (logb_test_downward): Likewise.
28724 (pow_test): Likewise.
28725 (pow_test_tonearest): Likewise.
28726 (pow_test_towardzero): Likewise.
28727 (pow_test_downward): Likewise.
28728 (pow_test_upward): Likewise.
28729 (remainder_test): Likewise.
28730 (remquo_test): Likewise.
28731 (sin_test): Likewise.
28732 (sin_test_tonearest): Likewise.
28733 (sin_test_towardzero): Likewise.
28734 (sin_test_downward): Likewise.
28735 (sin_test_upward): Likewise.
28736 (sincos_test): Likewise.
28737 (sinh_test): Likewise.
28738 (sinh_test_tonearest): Likewise.
28739 (sinh_test_towardzero): Likewise.
28740 (sinh_test_downward): Likewise.
28741 (sinh_test_upward): Likewise.
28742 (sqrt_test): Likewise.
28743 (tan_test): Likewise.
28744 (tan_test_tonearest): Likewise.
28745 (tan_test_towardzero): Likewise.
28746 (tan_test_downward): Likewise.
28747 (tan_test_upward): Likewise.
28748 (tanh_test): Likewise.
28749 (tgamma_test): Likewise.
28750 (y0_test): Likewise.
28751 (y1_test): Likewise.
28752 (yn_test): Likewise.
28753
323e5cb7
JM
28754 * math/gen-libm-test.pl (adjust_arg): Remove function.
28755 (special_function): Remove argument $in_func. Only handle
28756 generating output for tables of tests, not inside functions.
28757 (parse_args): Likewise.
28758 (generate_testfile): Remove variable $in_func. Update call to
28759 parse_args.
28760 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28761 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28762 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28763 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28764 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28765 (MAX_VALUE_INIT): Rename macro to max_value.
28766 (MIN_VALUE_INIT): Rename macro to min_value.
28767 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28768 (plus_zero): Remove variable.
28769 (minus_zero): Likewise.
28770 (plus_infty): Likewise.
28771 (minus_infty): Likewise.
28772 (qnan_value): Likewise.
28773 (max_value): Likewise.
28774 (min_value): Likewise.
28775 (min_subnorm_value): Likewise.
28776
e054f494
RA
287772013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28778
28779 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28780 uint64_t or uint32_t usage.
28781 * crypt/sha256-block.c: Likewise.
28782 * crypt/sha256-crypt.c: Likewise.
28783 * crypt/sha256.c: Likewise.
28784 * crypt/sha512-block.c: Likewise.
28785 * crypt/sha512-crypt.c: Likewise.
28786 * crypt/sha512.c: Likewise.
28787 * debug/backtrace-tst.c: Likewise.
28788 * debug/pcprofiledump.c: Likewise.
28789 * elf/cache.c: Likewise.
28790 * elf/dl-cache.c: Likewise.
28791 * elf/dl-misc.c: Likewise.
28792 * elf/dl-profile.c: Likewise.
28793 * elf/dl-support.c: Likewise.
28794 * elf/ldconfig.c: Likewise.
28795 * elf/sprof.c: Likewise.
28796 * iconv/dummy-repertoire.c: Likewise.
28797 * iconv/iconv_charmap.c: Likewise.
28798 * iconv/skeleton.c: Likewise.
28799 * iconvdata/8bit-generic.c: Likewise.
28800 * iconvdata/cp737.h: Likewise.
28801 * iconvdata/cp775.h: Likewise.
28802 * iconvdata/ibm1008.h: Likewise.
28803 * iconvdata/ibm1025.h: Likewise.
28804 * iconvdata/ibm1046.h: Likewise.
28805 * iconvdata/ibm1097.h: Likewise.
28806 * iconvdata/ibm1112.h: Likewise.
28807 * iconvdata/ibm1122.h: Likewise.
28808 * iconvdata/ibm1123.h: Likewise.
28809 * iconvdata/ibm1124.h: Likewise.
28810 * iconvdata/ibm1129.h: Likewise.
28811 * iconvdata/ibm1130.h: Likewise.
28812 * iconvdata/ibm1132.h: Likewise.
28813 * iconvdata/ibm1133.h: Likewise.
28814 * iconvdata/ibm1137.h: Likewise.
28815 * iconvdata/ibm1140.h: Likewise.
28816 * iconvdata/ibm1141.h: Likewise.
28817 * iconvdata/ibm1142.h: Likewise.
28818 * iconvdata/ibm1143.h: Likewise.
28819 * iconvdata/ibm1144.h: Likewise.
28820 * iconvdata/ibm1145.h: Likewise.
28821 * iconvdata/ibm1146.h: Likewise.
28822 * iconvdata/ibm1147.h: Likewise.
28823 * iconvdata/ibm1148.h: Likewise.
28824 * iconvdata/ibm1149.h: Likewise.
28825 * iconvdata/ibm1153.h: Likewise.
28826 * iconvdata/ibm1154.h: Likewise.
28827 * iconvdata/ibm1155.h: Likewise.
28828 * iconvdata/ibm1156.h: Likewise.
28829 * iconvdata/ibm1157.h: Likewise.
28830 * iconvdata/ibm1158.h: Likewise.
28831 * iconvdata/ibm1160.h: Likewise.
28832 * iconvdata/ibm1161.h: Likewise.
28833 * iconvdata/ibm1162.h: Likewise.
28834 * iconvdata/ibm1163.h: Likewise.
28835 * iconvdata/ibm1164.h: Likewise.
28836 * iconvdata/ibm1166.h: Likewise.
28837 * iconvdata/ibm1167.h: Likewise.
28838 * iconvdata/ibm12712.h: Likewise.
28839 * iconvdata/ibm1390.h: Likewise.
28840 * iconvdata/ibm1399.h: Likewise.
28841 * iconvdata/ibm16804.h: Likewise.
28842 * iconvdata/ibm4517.h: Likewise.
28843 * iconvdata/ibm4899.h: Likewise.
28844 * iconvdata/ibm4909.h: Likewise.
28845 * iconvdata/ibm4971.h: Likewise.
28846 * iconvdata/ibm5347.h: Likewise.
28847 * iconvdata/ibm803.h: Likewise.
28848 * iconvdata/ibm856.h: Likewise.
28849 * iconvdata/ibm901.h: Likewise.
28850 * iconvdata/ibm902.h: Likewise.
28851 * iconvdata/ibm9030.h: Likewise.
28852 * iconvdata/ibm9066.h: Likewise.
28853 * iconvdata/ibm921.h: Likewise.
28854 * iconvdata/ibm922.h: Likewise.
28855 * iconvdata/ibm9448.h: Likewise.
28856 * iconvdata/isiri-3342.h: Likewise.
28857 * iconvdata/jis0201.h: Likewise.
28858 * include/link.h: Likewise.
28859 * include/netdb.h: Likewise.
28860 * inet/check_native.c: Likewise.
28861 * inet/check_pf.c: Likewise.
28862 * inet/getipv4sourcefilter.c: Likewise.
28863 * inet/getnameinfo.c: Likewise.
28864 * inet/getsourcefilter.c: Likewise.
28865 * inet/htonl.c: Likewise.
28866 * inet/setipv4sourcefilter.c: Likewise.
28867 * inet/setsourcefilter.c: Likewise.
28868 * inet/test-inet6_opt.c: Likewise.
28869 * inet/tst-network.c: Likewise.
28870 * locale/C-collate.c: Likewise.
28871 * locale/C-ctype.c: Likewise.
28872 * locale/C-time.c: Likewise.
28873 * locale/C-translit.h: Likewise.
28874 * locale/loadarchive.c: Likewise.
28875 * locale/programs/3level.h: Likewise.
28876 * locale/programs/charmap.c: Likewise.
28877 * locale/programs/charmap.h: Likewise.
28878 * locale/programs/ld-address.c: Likewise.
28879 * locale/programs/ld-collate.c: Likewise.
28880 * locale/programs/ld-ctype.c: Likewise.
28881 * locale/programs/ld-identification.c: Likewise.
28882 * locale/programs/ld-measurement.c: Likewise.
28883 * locale/programs/ld-messages.c: Likewise.
28884 * locale/programs/ld-monetary.c: Likewise.
28885 * locale/programs/ld-name.c: Likewise.
28886 * locale/programs/ld-numeric.c: Likewise.
28887 * locale/programs/ld-paper.c: Likewise.
28888 * locale/programs/ld-telephone.c: Likewise.
28889 * locale/programs/ld-time.c: Likewise.
28890 * locale/programs/linereader.c: Likewise.
28891 * locale/programs/locale.c: Likewise.
28892 * locale/programs/locarchive.c: Likewise.
28893 * locale/programs/locfile.h: Likewise.
28894 * locale/programs/repertoire.c: Likewise.
28895 * locale/programs/simple-hash.c: Likewise.
28896 * locale/programs/simple-hash.h: Likewise.
28897 * malloc/memusage.c: Likewise.
28898 * malloc/memusagestat.c: Likewise.
28899 * nis/nis_defaults.c: Likewise.
28900 * nis/nis_hash.c: Likewise.
28901 * nis/nis_print.c: Likewise.
28902 * nis/nis_xdr.c: Likewise.
28903 * nscd/connections.c: Likewise.
28904 * nscd/hstcache.c: Likewise.
28905 * nscd/nscd_gethst_r.c: Likewise.
28906 * nscd/nscd_getserv_r.c: Likewise.
28907 * nscd/nscd_helper.c: Likewise.
28908 * nscd/servicescache.c: Likewise.
28909 * nss/makedb.c: Likewise.
28910 * nss/nss_db/db-XXX.c: Likewise.
28911 * nss/nss_db/db-initgroups.c: Likewise.
28912 * nss/nss_db/db-netgrp.c: Likewise.
28913 * nss/nss_files/files-network.c: Likewise.
28914 * nss/nss_files/files-parse.c: Likewise.
28915 * posix/bug-regex5.c: Likewise.
28916 * posix/fnmatch_loop.c: Likewise.
28917 * posix/regcomp.c: Likewise.
28918 * posix/regexec.c: Likewise.
28919 * posix/tst-rfc3484-2.c: Likewise.
28920 * posix/tst-rfc3484-3.c: Likewise.
28921 * posix/tst-rfc3484.c: Likewise.
28922 * resolv/nss_dns/dns-canon.c: Likewise.
28923 * resolv/nss_dns/dns-network.c: Likewise.
28924 * resolv/res_init.c: Likewise.
28925 * resolv/res_mkquery.c: Likewise.
28926 * resolv/tst-aton.c: Likewise.
28927 * stdlib/cxa_atexit.c: Likewise.
28928 * stdlib/cxa_finalize.c: Likewise.
28929 * stdlib/gen-fpioconst.c: Likewise.
28930 * stdlib/strtol_l.c: Likewise.
28931 * string/tst-endian.c: Likewise.
28932 * sunrpc/auth_des.c: Likewise.
28933 * sunrpc/clnt_udp.c: Likewise.
28934 * sunrpc/rtime.c: Likewise.
28935 * sunrpc/svcauth_des.c: Likewise.
28936 * sunrpc/xdr.c: Likewise.
28937 * sunrpc/xdr_intXX_t.c: Likewise.
28938 * sunrpc/xdr_rec.c: Likewise.
28939 * sysdeps/generic/ldconfig.h: Likewise.
28940 * sysdeps/generic/ldsodefs.h: Likewise.
28941 * sysdeps/generic/memusage.h: Likewise.
28942 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28943 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28944 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28945 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28946 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28947 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28948 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28949 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28950 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28951 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28952 * sysdeps/posix/getaddrinfo.c: Likewise.
28953 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28954 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28955 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28956 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28957 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28958 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28959 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28960 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28961 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28962 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28963 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28964 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28965 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28966 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28967 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28968 * sysdeps/x86_64/dl-tls.h: Likewise.
28969 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28970 * time/alt_digit.c: Likewise.
28971 * time/era.c: Likewise.
28972 * wcsmbs/tst-c16c32-1.c: Likewise.
28973
8c75f674
JM
289742013-05-16 Joseph Myers <joseph@codesourcery.com>
28975
28976 * math/libm-test.inc (struct test_sincos_data): New type.
28977 (RUN_TEST_LOOP_sincos): New macro.
28978 (sincos_test_data): New variable.
28979 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28980
e6e49e59
RH
289812013-05-16 Richard Henderson <rth@redhat.com>
28982
28983 * math/atest-exp2.c (LIMB64): New macro.
28984 (CONSTSZ): New macro.
28985 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28986 (hexdig): Move ...
28987 (print_mpn_fp): ... to function scope.
28988 (read_mpn_hex): Remove.
28989 (get_log2): Remove.
28990 (exp2_mpn): Use mp_log2.
28991 (main): Use mp_exp1.
28992
15c7c18d
JM
289932013-05-16 Joseph Myers <joseph@codesourcery.com>
28994
105a07df
JM
28995 * math/libm-test.inc: Remove comment about not testing "inexact"
28996 exceptions.
28997 (INEXACT_EXCEPTION): New macro.
28998 (NO_INEXACT_EXCEPTION): Likewise.
28999 (INVALID_EXCEPTION_OK): Update value.
29000 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29001 (OVERFLOW_EXCEPTION_OK): Likewise.
29002 (UNDERFLOW_EXCEPTION_OK): Likewise.
29003 (IGNORE_ZERO_INF_SIGN): Likewise.
29004 (ERRNO_UNCHANGED): Likewise.
29005 (ERRNO_EDOM): Likewise.
29006 (ERRNO_ERANGE): Likewise.
29007 (test_exceptions): Handle testing "inexact" exceptions.
29008 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29009 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29010 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29011 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29012 INEXACT_EXCEPTION.
29013 (rint_towardzero_test_data): Likewise.
29014 (rint_downward_test_data): Likewise.
29015 (rint_upward_test_data): Likewise.
29016
e9eee333
JM
29017 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29018 with OVERFLOW_EXCEPTION.
29019 (exp10_test_data): Likewise.
29020 (exp2_test_data): Likewise.
29021 (expm1_test_data): Likewise.
29022 (lgamma_test_data): Likewise.
29023 (pow_test_data): Likewise.
29024 (tgamma_test_data): Likewise.
29025 (yn_test_data): Remove duplicate test of overflow.
29026
1c38ff73
JM
29027 * math/libm-test.inc (struct test_cc_c_data): New type.
29028 (RUN_TEST_LOOP_cc_c): New macro.
29029 (cpow_test_data): New variable.
29030 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29031
15c7c18d
JM
29032 * math/libm-test.inc (struct test_f_L_data): New type.
29033 (RUN_TEST_LOOP_f_L): New macro.
29034 (llrint_test_data): New variable.
29035 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29036 (llrint_tonearest_test_data): New variable.
29037 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29038 (llrint_towardzero_test_data): New variable.
29039 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29040 (llrint_downward_test_data): New variable.
29041 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29042 (llrint_upward_test_data): New variable.
29043 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29044 (llround_test_data): New variable.
29045 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29046
f137ff13
PC
290472013-05-13 Peter Collingbourne <pcc@google.com>
29048
29049 * math/atest-exp2.c (get_log2): Remove const attribute.
29050
3608cb24
JM
290512013-05-15 Joseph Myers <joseph@codesourcery.com>
29052
29053 * math/libm-test.inc (struct test_f_l_data): New type.
29054 (RUN_TEST_LOOP_f_l): New macro.
29055 (lrint_test_data): New variable.
29056 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29057 (lrint_tonearest_test_data): New variable.
29058 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29059 (lrint_towardzero_test_data): New variable.
29060 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29061 (lrint_downward_test_data): New variable.
29062 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29063 (lrint_upward_test_data): New variable.
29064 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29065 (lround_test_data): New variable.
29066 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29067
39b1f617
PC
290682013-05-15 Peter Collingbourne <pcc@google.com>
29069
1deff3dc
PC
29070 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29071 (EXTRACT_WORDS64) Use where appropriate.
29072 (INSERT_WORDS64) Likewise.
29073
791f3ba0
PC
29074 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29075 constraints with x constraints.
29076 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29077
39b1f617
PC
29078 * malloc/obstack.c (_obstack_compat): Add initializer.
29079
12fba011
EM
290802013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
29081
29082 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29083 si_trapno and add si_addr_lsb to _sifields.sigfault.
29084 (si_trapno): Remove macro.
29085 (si_addr_lsb): Define new macro.
29086 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29087
d369f531
JM
290882013-05-15 Joseph Myers <joseph@codesourcery.com>
29089
b861c6c4
JM
29090 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29091 instead of TEST_f_l.
29092 (llrint_test_tonearest): Likewise.
29093 (llrint_test_towardzero): Likewise.
29094 (llrint_test_downward): Likewise.
29095 (llrint_test_upward): Likewise.
29096 (llround_test): Likewise.
29097
7abeee12
JM
29098 * math/libm-test.inc (struct test_f_i_data): Add comment.
29099 (RUN_TEST_LOOP_f_b): New macro.
29100 (RUN_TEST_LOOP_f_b_tg): Likewise.
29101 (finite_test_data): New variable.
29102 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29103 (isfinite_test_data): New variable.
29104 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29105 (isinf_test_data): New variable.
29106 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29107 (isnan_test_data): New variable.
29108 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29109 (isnormal_test_data): New variable.
29110 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29111 (issignaling_test_data): New variable.
29112 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29113 (signbit_test_data): New variable.
29114 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29115
cbe8c4d3
JM
29116 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29117 with INVALID_EXCEPTION.
29118 (acosh_test_data): Likewise.
29119 (asin_test_data): Likewise.
29120 (atanh_test_data): Likewise.
29121 (fmod_test_data): Likewise.
29122 (log_test_data): Likewise.
29123 (log10_test_data): Likewise.
29124 (log2_test_data): Likewise.
29125 (pow_test_data): Likewise.
29126 (sqrt_test_data): Likewise.
29127 (y0_test_data): Likewise.
29128 (y1_test_data): Likewise.
29129 (yn_test_data): Likewise.
29130
5575c0e5
JM
29131 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29132 function contents.
29133
d369f531
JM
29134 * math/libm-test.inc (struct test_ff_i_data): New type.
29135 (RUN_TEST_LOOP_ff_i_tg): New macro.
29136 (isgreater_test_data): New variable.
29137 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29138 (isgreaterequal_test_data): New variable.
29139 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29140 (isless_test_data): New variable.
29141 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29142 (islessequal_test_data): New variable.
29143 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29144 (islessgreater_test_data): New variable.
29145 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29146 (isunordered_test_data): New variable.
29147 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29148
781fd748
DM
291492013-05-14 David S. Miller <davem@davemloft.net>
29150
29151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29152
87aa21df
JM
291532013-05-14 Joseph Myers <joseph@codesourcery.com>
29154
5e908270
JM
29155 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29156
f71172e5
JM
29157 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29158 extra_test to int.
29159 (struct test_f_i_data): Change type of max_ulp to int.
29160
8cfa635a
JM
29161 * math/libm-test.inc (test_ffI_f1_data): New type.
29162 (RUN_TEST_LOOP_ffI_f1): New macro.
29163 (remquo_test_data): New variable.
29164 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29165
2bcb36b2
JM
29166 * setjmp/tst-setjmp-fp.c: New file.
29167 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29168 (link-libm): New variable.
29169 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29170
acbd839a
JM
29171 * math/libm-test.inc (struct test_f_i_data): New type.
29172 (RUN_TEST_LOOP_f_i): New macro.
29173 (RUN_TEST_LOOP_f_i_tg): Likewise.
29174 (fpclassify_test_data): New variable.
29175 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29176 (ilogb_test_data): New variable.
29177 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29178
e414d745
JM
29179 * math/libm-test.inc (scalbln_test): Correct function name in END
29180 call.
29181
d9c2a0fd
JM
29182 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29183 (RUN_TEST_LOOP_fI_f1): New macro.
29184 (frexp_test_data): New variable.
29185 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29186
9dc9095d
JM
29187 * math/libm-test.inc (struct test_fF_f1_data): New type.
29188 (RUN_TEST_LOOP_fF_f1): New macro.
29189 (modf_test_data): New variable.
29190 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29191
87aa21df
JM
29192 * math/libm-test.inc (struct test_f_f1_data): New type.
29193 (RUN_TEST_LOOP_f_f1): New macro.
29194 (gamma_test_data): New variable.
29195 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29196 (lgamma_test_data): New variable.
29197 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29198
141af660
CD
291992013-05-13 Carlos O'Donell <carlos@redhat.com>
29200
29201 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29202 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29203 (main): Comment "tls" pseudo-hwcap.
29204
6d33265c
JM
292052013-05-13 Joseph Myers <joseph@codesourcery.com>
29206
68fc074c
JM
29207 * math/libm-test.inc (struct test_fl_f_data): New type.
29208 (RUN_TEST_LOOP_fl_f): New variable.
29209 (scalbln_test_data): New variable.
29210 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29211
243216e1
JM
29212 * math/libm-test.inc (struct test_fi_f_data): New type.
29213 (RUN_TEST_LOOP_fi_f): New macro.
29214 (ldexp_test_data): New variable.
29215 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29216 (scalbn_test_data): New variable.
29217 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29218
6a1992e2
JM
29219 * math/libm-test.inc (struct test_c_f_data): New type.
29220 (RUN_TEST_LOOP_c_f): New macro.
29221 (cabs_test_data): New variable.
29222 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29223 (carg_test_data): New variable.
29224 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29225 (cimag_test_data): New variable.
29226 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29227 (creal_test_data): New variable.
29228 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29229
0e400df5
JM
29230 * math/libm-test.inc (struct test_if_f_data): New type.
29231 (RUN_TEST_LOOP_if_f): New macro.
29232 (jn_test_data): New variable.
29233 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29234 (yn_test_data): New variable.
29235 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29236
6d33265c
JM
29237 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29238
f98ece5f
AZ
292392013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29240
29241 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29242 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29243
0f7d347b
SP
292442013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29245
43fe811b
SP
29246 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29247 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29248 (bench-deps): Add bench-timing.h.
29249 * benchtests-bench-skeleton.c: Include bench-timing.h.
29250 (main): Use TIMING_* macros instead of clock_gettime.
29251 * benchtests/bench-timing.h: New file.
29252
0f7d347b
SP
29253 [BZ #14582]
29254 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29255 Renamed from _LIB_VERSION.
29256 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29257
601a3a5f
JM
292582013-05-12 Joseph Myers <joseph@codesourcery.com>
29259
4f184d30
JM
29260 * math/libm-test.inc (struct test_fff_f_data): New type.
29261 (RUN_TEST_LOOP_fff_f): New macro.
29262 (fma_test_data): New variable.
29263 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29264 (fma_towardzero_test_data): New variable.
29265 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29266 (fma_downward_test_data): New variable.
29267 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29268 (fma_upward_test_data): New variable.
29269 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29270
08198877
JM
29271 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29272 (struct test_c_c_data): New type.
29273 (RUN_TEST_LOOP_c_c): New macro.
29274 (cacos_test_data): New variable.
29275 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29276 (cacosh_test_data): New variable.
29277 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29278 (casin_test_data): New variable.
29279 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29280 (casinh_test_data): New variable.
29281 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29282 (catan_test_data): New variable.
29283 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29284 (catanh_test_data): New variable.
29285 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29286 (ccos_test_data): New variable.
29287 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29288 (ccosh_test_data): New variable.
29289 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29290 (cexp_test_data): New variable.
29291 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29292 (clog_test_data): New variable.
29293 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29294 (clog10_test_data): New variable.
29295 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29296 (conj_test_data): New variable.
29297 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29298 (cproj_test_data): New variable.
29299 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29300 (csin_test_data): New variable.
29301 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29302 (csinh_test_data): New variable.
29303 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29304 (csqrt_test_data): New variable.
29305 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29306 (ctan_test_data): New variable.
29307 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29308 (ctan_tonearest_test_data): New variable.
29309 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29310 (ctan_towardzero_test_data): New variable.
29311 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29312 (ctan_downward_test_data): New variable.
29313 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29314 (ctan_upward_test_data): New variable.
29315 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29316 (ctanh_test_data): New variable.
29317 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29318 (ctanh_tonearest_test_data): New variable.
29319 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29320 (ctanh_towardzero_test_data): New variable.
29321 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29322 (ctanh_downward_test_data): New variable.
29323 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29324 (ctanh_upward_test_data): New variable.
29325 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29326 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29327 of BUILD_COMPLEX.
29328
601a3a5f
JM
29329 * math/libm-test.inc (struct test_ff_f_data): New type.
29330 (struct test_ff_f_data_nexttoward): Likewise.
29331 (RUN_TEST_LOOP_2_f): New macro.
29332 (RUN_TEST_LOOP_ff_f): Likewise.
29333 (atan2_test_data): New variable.
29334 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29335 (copysign_test_data): New variable.
29336 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29337 (fdim_test_data): New variable.
29338 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29339 (fmax_test_data): New variable.
29340 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29341 (fmin_test_data): New variable.
29342 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29343 (fmod_test_data): New variable.
29344 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29345 (hypot_test_data): New variable.
29346 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29347 (nextafter_test_data): New variable.
29348 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29349 (nexttoward_test_data): New variable.
29350 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29351 (pow_test_data): New variable.
29352 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29353 (pow_tonearest_test_data): New variable.
29354 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29355 (pow_towardzero_test_data): New variable.
29356 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29357 (pow_downward_test_data): New variable.
29358 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29359 (pow_upward_test_data): New variable.
29360 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29361 (remainder_test_data): New variable.
29362 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29363 (scalb_test_data): New variable.
29364 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29365 * sysdeps/i386/fpu/libm-test-ulps: Update.
29366
74c57478
JM
293672013-05-11 Joseph Myers <joseph@codesourcery.com>
29368
8329e4da
JM
29369 * math/libm-test.inc (fma_test): Use max_value instead of local
29370 variable fltmax.
29371 (nextafter_test): Likewise.
29372
74c57478
JM
29373 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29374 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29375 (acos_downward_test_data): New variable.
29376 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29377 (acos_upward_test_data): New variable.
29378 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29379 (acosh_test_data): New variable.
29380 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29381 (asin_test_data): New variable.
29382 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29383 (asin_tonearest_test_data): New variable.
29384 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29385 (asin_towardzero_test_data): New variable.
29386 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29387 (asin_downward_test_data): New variable.
29388 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29389 (asin_upward_test_data): New variable.
29390 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29391 (asinh_test_data): New variable.
29392 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29393 (atan_test_data): New variable.
29394 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29395 (atanh_test_data): New variable.
29396 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29397 (cbrt_test_data): New variable.
29398 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29399 (ceil_test_data): New variable.
29400 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29401 (cos_test_data): New variable.
29402 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29403 (cos_tonearest_test_data): New variable.
29404 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29405 (cos_towardzero_test_data): New variable.
29406 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29407 (cos_downward_test_data): New variable.
29408 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29409 (cos_upward_test_data): New variable.
29410 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29411 (cosh_test_data): New variable.
29412 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29413 (cosh_tonearest_test_data): New variable.
29414 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29415 (cosh_towardzero_test_data): New variable.
29416 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29417 (cosh_downward_test_data): New variable.
29418 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29419 (cosh_upward_test_data): New variable.
29420 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29421 (erf_test_data): New variable.
29422 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29423 (erfc_test_data): New variable.
29424 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29425 (exp_test_data): New variable.
29426 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29427 (exp_tonearest_test_data): New variable.
29428 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29429 (exp_towardzero_test_data): New variable.
29430 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29431 (exp_downward_test_data): New variable.
29432 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29433 (exp_upward_test_data): New variable.
29434 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29435 (exp10_test_data): New variable.
29436 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29437 (exp2_test_data): New variable.
29438 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29439 (expm1_test_data): New variable.
29440 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29441 (fabs_test_data): New variable.
29442 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29443 (floor_test_data): New variable.
29444 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29445 (j0_test_data): New variable.
29446 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29447 (j1_test_data): New variable.
29448 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29449 (log_test_data): New variable.
29450 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29451 (log10_test_data): New variable.
29452 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29453 (log1p_test_data): New variable.
29454 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29455 (log2_test_data): New variable.
29456 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29457 (logb_test_data): New variable.
29458 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29459 (logb_downward_test_data): New variable.
29460 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29461 (nearbyint_test_data): New variable.
29462 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29463 (rint_test_data): New variable.
29464 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29465 (rint_tonearest_test_data): New variable.
29466 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29467 (rint_towardzero_test_data): New variable.
29468 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29469 (rint_downward_test_data): New variable.
29470 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29471 (rint_upward_test_data): New variable.
29472 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29473 (round_test_data): New variable.
29474 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29475 (sin_test_data): New variable.
29476 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29477 (sin_tonearest_test_data): New variable.
29478 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29479 (sin_towardzero_test_data): New variable.
29480 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29481 (sin_downward_test_data): New variable.
29482 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29483 (sin_upward_test_data): New variable.
29484 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29485 (sinh_test_data): New variable.
29486 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29487 (sinh_tonearest_test_data): New variable.
29488 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29489 (sinh_towardzero_test_data): New variable.
29490 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29491 (sinh_downward_test_data): New variable.
29492 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29493 (sinh_upward_test_data): New variable.
29494 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29495 (sqrt_test_data): New variable.
29496 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29497 (tan_test_data): New variable.
29498 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29499 (tan_tonearest_test_data): New variable.
29500 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29501 (tan_towardzero_test_data): New variable.
29502 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29503 (tan_downward_test_data): New variable.
29504 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29505 (tan_upward_test_data): New variable.
29506 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29507 (tanh_test_data): New variable.
29508 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29509 (tgamma_test_data): New variable.
29510 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29511 (trunc_test_data): New variable.
29512 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29513 (y0_test_data): New variable.
29514 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29515 (y1_test_data): New variable.
29516 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29517 (significand_test_data): New variable.
29518 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29519
7187d844
CG
295202013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29521
29522 [BZ #12387]
29523 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29524
f63fae73
PT
295252013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29526
29527 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29528
8a67a4b3
AJ
295292013-05-10 Andreas Jaeger <aj@suse.de>
29530
29531 [BZ #15448]
29532 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29533 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29534
51df539d
JM
295352013-05-10 Joseph Myers <joseph@codesourcery.com>
29536
29537 * math/gen-libm-test.pl (adjust_arg): New function.
29538 (special_functions): Handle generating output in both functions
29539 and arrays.
29540 (parse_args): Likewise.
29541 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29542 $in_func argument to parse_args.
29543 * math/libm-test.inc (struct test_f_f_data): New type.
29544 (IF_ROUND_INIT_): New macro.
29545 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29546 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29547 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29548 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29549 (ROUND_RESTORE_): Likewise.
29550 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29551 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29552 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29553 (ROUND_RESTORE_FE_UPWARD): Likewise.
29554 (RUN_TEST_LOOP_f_f): New macro.
29555 (acos_test_data): New variable.
29556 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29557 (acos_tonearest_test_data): New variable.
29558 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29559
5c637fe5
SP
295602013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29561
29562 * benchtests/bench-skeleton.c (startup): Fix coding style.
29563
ab2b9461
JM
295642013-05-10 Joseph Myers <joseph@codesourcery.com>
29565
29566 [BZ #6809]
29567 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29568 negative infinity argument.
29569 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29570 negative infinity argument.
29571 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29572 negative infinity argument.
29573 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29574 domain errors.
29575
4c0fe6fe
FW
295762013-05-10 Florian Weimer <fweimer@redhat.com>
29577
29578 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29579 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29580 * iconv/iconv_prog.c (main): Likewise.
29581 * locale/programs/charmap-dir.c (charmap_readdir)
29582 (fopen_uncompressed): Likewise.
29583 * locale/programs/locfile.c (siblings_uncached)
29584 (write_locale_data): Use lstat64 instead of lstat.
29585 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29586 stat.
29587
a3375d29
AJ
295882013-05-10 Andreas Jaeger <aj@suse.de>
29589
29590 [BZ #15395]
29591 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29592 localization.
29593 Include <locale.h>.
29594
36129722
CD
295952013-05-09 Carlos O'Donell <carlos@redhat.com>
29596
29597 * elf/dl-close.c (_dl_close_worker): Add comments.
29598
faa7f811
JM
295992013-05-09 Joseph Myers <joseph@codesourcery.com>
29600
ed41ffef
JM
29601 [BZ #15359]
29602 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29603 high part of pi/2.
29604 (__ieee754_rem_pio2l): Update comments.
29605
d0213cd0
JM
29606 [BZ #15429]
29607 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29608 high part of pi/2.
29609 (__ieee754_rem_pio2l): Update comments.
29610
0d3e777a
JM
29611 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29612 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29613
24f56066
JM
29614 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29615 M_PI_4l.
29616
faa7f811
JM
29617 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29618 (M_PI_34_LOG10El): Likewise.
29619 (M_PI2_LOG10El): Likewise.
29620 (M_PI4_LOG10El): Likewise.
29621 (M_PI_LOG10El): Likewise.
29622
e9a5e0fd
AZ
296232013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29624
29625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29626
d8cd06db
JM
296272013-05-08 Joseph Myers <joseph@codesourcery.com>
29628
a0d9f9d7
JM
29629 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29630 (MINUS_ZERO_INIT): Likewise.
29631 (PLUS_INFTY_INIT): Likewise.
29632 (MINUS_INFTY_INIT): Likewise.
29633 (QNAN_VALUE_INIT): Likewise.
29634 (MAX_VALUE_INIT): Likewise.
29635 (MIN_VALUE_INIT): Likewise.
29636 (MIN_SUBNORM_VALUE_INIT): Likewise.
29637 (plus_zero): Initialize with PLUS_ZERO_INIT.
29638 (minus_zero): Initialize with MINUS_ZERO_INIT.
29639 (plus_infty): Initialize with PLUS_INFTY_INIT.
29640 (minus_infty): Initialize with MINUS_INFTY_INIT.
29641 (qnan_value): Initialize with QNAN_VALUE_INIT.
29642 (max_value): Initialize with MAX_VALUE_INIT.
29643 (min_value): Initialize with MIN_VALUE_INIT.
29644 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29645
ae08db3b
JM
29646 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29647 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29648 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29649 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29650
f44bf14a
JM
29651 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29652 (RUN_TEST_2_f): Likewise.
29653 (RUN_TEST_ff_f): Likewise.
29654 (RUN_TEST_fi_f): Likewise.
29655 (RUN_TEST_fl_f): Likewise.
29656 (RUN_TEST_fff_f): Likewise.
29657 (RUN_TEST_c_f): Likewise.
29658 (RUN_TEST_f_f1): Likewise.
29659 (RUN_TEST_fF_f1): Likewise.
29660 (RUN_TEST_fI_f1): Likewise.
29661 (RUN_TEST_ffI_f1): Likewise.
29662 (RUN_TEST_c_c): Likewise.
29663 (RUN_TEST_cc_c): Likewise.
29664 (RUN_TEST_f_i): Likewise.
29665 (RUN_TEST_f_i_tg): Likewise.
29666 (RUN_TEST_ff_i_tg): Likewise.
29667 (RUN_TEST_f_b): Likewise.
29668 (RUN_TEST_f_b_tg): Likewise.
29669 (RUN_TEST_f_l): Likewise.
29670 (RUN_TEST_f_L): Likewise.
29671 (RUN_TEST_sincos): Likewise.
29672 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29673 whether to show exceptions. Do not include ");\n" in return
29674 value.
29675 (special_functions): Output call to RUN_TEST_sincos instead of
29676 check_float calls. Update calls to new_test.
29677 (parse_args): Output call to single RUN_TEST_* macro instead of
29678 check_* calls and other assignments. Update calls to new_test.
29679
d8cd06db
JM
29680 [BZ #2546]
29681 [BZ #2560]
29682 [BZ #5159]
29683 [BZ #15426]
29684 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29685 input to result for tgamma overflow.
29686 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29687 (gamma_coeff): New variable.
29688 (NCOEFF): New macro.
29689 (gamma_positive): New function.
29690 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29691 underflow here. Use gamma_positive instead of exp (lgamma) for
29692 other arguments.
29693 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29694 (gamma_coeff): New variable.
29695 (NCOEFF): New macro.
29696 (gammaf_positive): New function.
29697 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29698 underflow here. Use gamma_positive instead of exp (lgamma) for
29699 other arguments.
29700 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29701 (gamma_coeff): New variable.
29702 (NCOEFF): New macro.
29703 (gammal_positive): New function.
29704 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29705 underflow here. Use gamma_positive instead of exp (lgamma) for
29706 other arguments.
29707 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29708 (gamma_coeff): New variable.
29709 (NCOEFF): New macro.
29710 (gammal_positive): New function.
29711 (__ieee754_gammal_r): Handle positive infinity, overflow and
29712 underflow here. Handle NaN the same as positive infinity. Remove
29713 check x < 0xffffffff for negative integers. Use gamma_positive
29714 instead of exp (lgamma) for other arguments.
29715 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29716 (gamma_coeff): New variable.
29717 (NCOEFF): New macro.
29718 (gammal_positive): New function.
29719 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29720 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29721 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29722 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29723 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29724 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29725 * sysdeps/generic/math_private.h (__gamma_productf): New
29726 prototype.
29727 (__gamma_product): Likewise.
29728 (__gamma_productl): Likewise.
29729 * math/Makefile (libm-calls): Add gamma_product.
29730 * math/libm-test.inc (tgamma_test): Add more tests.
29731 * sysdeps/i386/fpu/libm-test-ulps: Update.
29732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29733
bb7cf681
OB
297342013-05-08 Ondřej Bílka <neleai@seznam.cz>
29735
29736 * benchtests/bench-skeleton.c (main): Preheat CPU.
29737
ba853947
AJ
297382013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29739
29740 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29741
8347c74c
RM
297422013-05-07 Roland McGrath <roland@hack.frob.com>
29743
29744 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29745 and _dl_skip_args_internal.
29746
e8dd4791
CD
297472013-05-07 Carlos O'Donell <carlos@redhat.com>
29748
29749 * manual/message.texi (Message Translation): Talk about users.
29750 Message to key mapping impacts design.
29751
c7405830
RM
297522013-05-06 Roland McGrath <roland@hack.frob.com>
29753
a9173057
RM
29754 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29755
976e2f03
RM
29756 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29757
9723ffc5
RM
29758 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29759 * sysdeps/wordsize-64/glob64.c: ... here.
29760
962e6658
RM
29761 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29762 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29763 New macros.
29764
ee586a6d
RM
29765 * debug/getlogin_r_chk.c: Moved to ...
29766 * login/getlogin_r_chk.c: ... here.
29767 * debug/Makefile (routines): Move getlogin_r_chk to ...
29768 * login/Makefile (routines): ... here.
29769 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29770 * login/Versions (libc: GLIBC_2.4): ... here.
29771
355f9165
RM
29772 * io/poll.c (__poll): Renamed from poll.
29773 Add libc_hidden_def.
29774 (poll): Define as weak alias.
29775
bd9ffde6
RM
29776 * debug/ptsname_r_chk.c: Moved to ...
29777 * login/ptsname_r_chk.c: ... here.
29778 * debug/Makefile (routines): Move ptsname_r_chk to ...
29779 * login/Makefile (routines): ... here.
29780 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29781 * login/Versions (libc: GLIBC_2.4): ... here.
29782
8fb16a04
RM
29783 * posix/getlogin.c: Moved to ...
29784 * login/getlogin.c: ... here.
29785 * posix/getlogin_r.c: Moved to ...
29786 * login/getlogin_r.c: ... here.
29787 * posix/getlogin_r.c: Moved to ...
29788 * login/getlogin_r.c: ... here.
29789 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29790 * login/Makefile (routines): ... here.
29791 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29792 * login/Versions (libc: GLIBC_2.0): ... here.
29793
b99b892f
RM
29794 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29795 (setrlimit): Define as weak alias.
29796
c7405830
RM
29797 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29798 Call __ names for open, ftruncate, and close.
29799 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29800 (truncate): Define as weak alias.
29801
5bf96de5
JM
298022013-05-06 Joseph Myers <joseph@codesourcery.com>
29803
9ea3513c
JM
29804 * math/gen-libm-test.pl (parse_args): Initialize x before each
29805 test of frexp, modf and remquo.
29806
5bf96de5
JM
29807 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29808 test signgam value.
29809
16e616a7
AZ
298102013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29811
29812 [BZ #15418]
29813 [BZ #15419]
29814 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29815 internal tests.
29816 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29817
d5e82754
RM
298182013-05-06 Roland McGrath <roland@hack.frob.com>
29819
29820 * elf/dl-writev.h: New file.
29821 * elf/dl-misc.c: Include it.
29822 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29823 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29824
a7548d41
JM
298252013-05-04 Joseph Myers <joseph@codesourcery.com>
29826
b7dab1e4
JM
29827 * math/libm-test.inc (noXFails): Remove variable.
29828 (noXPasses): Likewise.
29829 (BUILD_COMPLEX_INT): Remove macro.
29830 (print_screen): Remove xfail argument.
29831 (print_screen_max_error): Likewise.
29832 (update_stats): Likewise.
29833 (print_max_error): Likewise. Update calls to other affected
29834 functions.
29835 (print_complex_max_error): Likewise.
29836 (test_single_exception): Update calls to print_screen.
29837 (test_single_errno): Likewise.
29838 (check_float_internal): Remove xfail argument. Update calls to
29839 other affected functions.
29840 (check_float): Likewise.
29841 (check_complex): Likewise.
29842 (check_int): Likewise.
29843 (check_long): Likewise.
29844 (check_bool): Likewise.
29845 (check_longlong): Likewise.
29846 (main): Don't print noXFails and noXPasses.
29847 * math/gen-libm-test.pl (top level): Don't mention expected
29848 failure handling in comment.
29849 (new_test): Don't handle expected failures.
29850 (parse_args): Don't mention expected failure handling in comment.
29851 (generate_testfile): Don't handle expected failures.
29852 (parse_ulps): Likewise.
29853 (print_ulps_file): Likewise.
29854 (get_failure): Remove function.
29855 (output_test): Don't handle expected failures.
29856 * make/README.libm-test: Don't mention expected failure handling.
29857
a7548d41
JM
29858 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29859 (minus_zero): Likewise.
29860 (plus_infty): Likewise.
29861 (minus_infty): Likewise.
29862 (qnan_value): Likewise.
29863 (max_value): Likewise.
29864 (min_value): Likewise.
29865 (min_subnorm_value): Likewise.
29866 (initialize): Do not initialize those variables dynamically.
29867
60bfd54c
RM
298682013-05-03 Roland McGrath <roland@hack.frob.com>
29869
cc0e6ed8
RM
29870 * io/open.c (__open_2): Moved to ...
29871 * io/open_2.c: ... this new file.
29872 * io/open64.c (__open64_2): Moved to ...
29873 * io/open64_2.c: ... this new file.
29874 * io/openat.c (__openat_2): Moved to ...
29875 * io/openat_2.c: ... this new file.
29876 * io/openat64.c (__openat64_2): Moved to ...
29877 * io/openat64_2.c: ... this new file.
29878 * io/Makefile (routines): Add them.
29879 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29880 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29881 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29882 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29883 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29884 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29885 (__openat64): Add hidden_ver.
29886 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29887 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29888
60bfd54c
RM
29889 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29890 Separately conditionalize setting of GLRO(dl_sysinfo) so
29891 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29892 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29893
83e7640f
AZ
298942013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29895
29896 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29897 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29898 definition.
29899 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29900 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29901 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29902 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29903 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29904
d5dc2af3
JM
299052013-05-03 Joseph Myers <joseph@codesourcery.com>
29906
c31a5b1e
JM
29907 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29908 test signgam value.
29909
d5dc2af3
JM
29910 * math/libm-test.inc (hypot_test): Do not use
29911 IGNORE_ZERO_INF_SIGN.
29912
164fd39d
AJ
299132013-05-03 Andreas Jaeger <aj@suse.de>
29914
29915 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29916 Linux 3.9.
29917 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29918 (PF_MAX): Adjust for VSOCK change.
29919
8237f48c
AZ
299202013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29921
29922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29923
9df02941
CD
299242013-05-02 Carlos O'Donell <carlos@redhat.com>
29925
29926 [BZ #15264]
29927 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29928 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29929 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29930
d422395e
DM
299312013-05-02 David S. Miller <davem@davemloft.net>
29932
29933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29934
a07c5731
OB
299352013-05-01 Ondřej Bílka <neleai@seznam.cz>
29936
29937 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29938
1324e37f
RM
299392013-05-01 Roland McGrath <roland@hack.frob.com>
29940
29941 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29942
0695940b
RS
299432013-05-01 Richard Smith <richard@metafoo.co.uk>
29944
bb5f27ad 29945 [BZ #14952]
0695940b
RS
29946 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29947 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29948 Use __attribute__ ((__gnu_inline__)).
29949 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29950 Don't use __attribute__ ((__gnu_inline__)).
29951
10de07f5
JM
299522013-05-01 Joseph Myers <joseph@codesourcery.com>
29953
29954 [BZ #15423]
29955 * math/s_catan.c (__catan): Handle small real or imaginary part of
29956 input specially to avoid spurious underflow.
29957 * math/s_catanf.c (__catanf): Likewise.
29958 * math/s_catanh.c (__catanh): Likewise.
29959 * math/s_catanhf.c (__catanhf): Likewise.
29960 * math/s_catanhl.c (__catanhl): Likewise.
29961 * math/s_catanl.c (__catanl): Likewise.
29962 * math/libm-test.inc (catan_test): Add more tests.
29963 (catanh_test): Likewise.
29964 * sysdeps/i386/fpu/libm-test-ulps: Update.
29965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29966
cb4d5414
AZ
299672013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29968
29969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29970
caf84319
JM
299712013-04-30 Joseph Myers <joseph@codesourcery.com>
29972
29973 [BZ #15416]
29974 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29975 accurately for denominator in atan2.
29976 * math/s_catanf.c (__catanf): Likewise.
29977 * math/s_catanh.c (__catanh): Likewise.
29978 * math/s_catanhf.c (__catanhf): Likewise.
29979 * math/s_catanhl.c (__catanhl): Likewise.
29980 * math/s_catanl.c (__catanl): Likewise.
29981 * math/libm-test.inc (catan_test): Add more tests.
29982 (catanh_test): Likewise.
29983 * sysdeps/i386/fpu/libm-test-ulps: Update.
29984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29985
d569c6ee
SP
299862013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29987
6dbe713d
SP
29988 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29989
f0ee064b
SP
29990 * benchtests/Makefile (bench): Remove slow benchmarks.
29991 * benchtests/atan-inputs: Add slow benchmark inputs.
29992 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29993 (BENCH_FUNC): Accept variant offset.
29994 (VARIANT): Define.
29995 * benchtests/bench-skeleton.c (main): Run benchmark for each
29996 variant.
29997 * benchtests/cos-inputs: Add slow benchmark inputs.
29998 * benchtests/exp-inputs: Likewise.
29999 * benchtests/pow-inputs: Likewise.
30000 * benchtests/sin-inputs: Likewise.
30001 * benchtests/slowatan-inputs: Remove.
30002 * benchtests/slowatan.c: Remove.
30003 * benchtests/slowcos-inputs: Remove.
30004 * benchtests/slowcos.c: Remove.
30005 * benchtests/slowexp-inputs: Remove.
30006 * benchtests/slowexp.c: Remove.
30007 * benchtests/slowpow-inputs: Remove.
30008 * benchtests/slowpow.c: Remove.
30009 * benchtests/slowsin-inputs: Remove.
30010 * benchtests/slowsin.c: Remove.
30011 * benchtests/slowtan-inputs: Remove.
30012 * benchtests/slowtan.c: Remove.
30013 * benchtests/tan-inputs: Add slow benchmark inputs.
30014 * scripts/bench.pl: Parse comments and directives.
30015
d569c6ee
SP
30016 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
30017 in CPPFLAGS.
30018 ($(objpfx)bench-%.c): Remove *-ITER.
30019 * benchtests/bench-modf.c: Remove definition of ITER.
30020 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30021 (main): Loop for DURATION seconds instead of fixed number of
30022 iterations.
30023 * scripts/bench.pl: Don't expect iterations in parameters.
30024
a6a242fe
RM
300252013-04-29 Roland McGrath <roland@hack.frob.com>
30026
30027 * io/fchdir.c (__fchdir): Renamed from fchdir.
30028 (fchdir): Define as weak alias.
30029
f2da7793
JM
300302013-04-29 Joseph Myers <joseph@codesourcery.com>
30031
30032 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30033 (ERRNO_EDOM): Likewise.
30034 (ERRNO_ERANGE): Likewise.
30035 (noErrnoTests): New variable.
30036 (init_max_error): Set errno to 0.
30037 (test_single_errno): New function.
30038 (test_errno): Likewise.
30039 (check_float_internal): Call test_errno. Set errno to 0.
30040 (check_complex): Refer to errno tests in comment.
30041 (check_int): Call test_errno. Set errno to 0.
30042 (check_long): Likewise.
30043 (check_bool): Likewise.
30044 (check_longlong): Likewise.
30045 (cos_test): Use ERRNO_* flags for errno tests instead of
30046 check_int.
30047 (expm1_test): Likewise.
30048 (fmod_test): Likewise.
30049 (ilogb_test): Likewise.
30050 (lgamma_test): Likewise.
30051 (pow_test): Likewise.
30052 (remainder_test): Likewise.
30053 (sin_test): Likewise.
30054 (tan_test): Likewise.
30055 (yn_test): Likewise.
30056 (initialize): Set errno to 0.
30057 (main): Print number of errno tests.
30058 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30059
b1a36ceb
AJ
300602013-04-29 Andreas Jaeger <aj@suse.de>
30061
c3ed8088
AJ
30062 [BZ #15084]
30063 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30064 and RES_USEVC.
30065
f1a24198
AJ
30066 [BZ #15085]
30067 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30068 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30069 unimplemented.
30070
9ce3b2cb
AJ
30071 [BZ #15380]
30072 * stdlib/random.c (__initstate): Return NULL if
30073 __initstate fails.
30074
f1a24198 30075 [BZ #15086]
b1a36ceb
AJ
30076 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30077 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30078 RES_SNGLKUPREOP.
30079
7e7b6f36
AZ
300802013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30081
30082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30083
4d14f449
JM
300842013-04-29 Joseph Myers <joseph@codesourcery.com>
30085
30086 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30087 of individual tests.
30088 (casin_test): Likewise.
30089 (casinh_test): Likewise.
30090
5b4217d7
JM
300912013-04-27 Joseph Myers <joseph@codesourcery.com>
30092
30093 [BZ #15409]
30094 * math/s_catan.c (__catan): Handle arguments with large real or
30095 imaginary part separately without squaring.
30096 * math/s_catanf.c (__catanf): Likewise.
30097 * math/s_catanh.c (__catanh): Likewise.
30098 * math/s_catanhf.c (__catanhf): Likewise.
30099 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30100 and redefine.
30101 (__catanhl): Handle arguments with large real or imaginary part
30102 separately without squaring.
30103 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30104 and redefine.
30105 (__catanl): Handle arguments with large real or imaginary part
30106 separately without squaring.
30107 * math/libm-test.inc (catan_test): Add more tests.
30108 (catanh_test): Likewise.
30109 * sysdeps/i386/fpu/libm-test-ulps: Update.
30110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30111
4220c3ef
AJ
301122013-04-27 Andreas Jaeger <aj@suse.de>
30113
30114 [BZ #15007]
30115 * stdlib/stdlib.h: Update guards for qecvt.
30116 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30117 <stdlib.h>.
30118
4721b2d1
AM
301192013-04-27 Allan McRae <allan@archlinux.org>
30120
30121 * sysdeps/i386/fpu/libm-test-ulps: Update.
30122
f0302940
JM
301232013-04-26 Joseph Myers <joseph@codesourcery.com>
30124
9457fd95
JM
30125 [BZ #15406]
30126 * math/s_catan.c: Include <float.h>.
30127 (__catan): Ensure underflow exception occurs for underflowed
30128 result.
30129 * math/s_catanf.c: Include <float.h>.
30130 (__catanf): Ensure underflow exception occurs for underflowed
30131 result.
30132 * math/s_catanh.c: Include <float.h>.
30133 (__catanh): Ensure underflow exception occurs for underflowed
30134 result.
30135 * math/s_catanhf.c: Include <float.h>.
30136 (__catanhf): Ensure underflow exception occurs for underflowed
30137 result.
30138 * math/s_catanhl.c: Include <float.h>.
30139 (__catanhl): Ensure underflow exception occurs for underflowed
30140 result.
30141 * math/s_catanl.c: Include <float.h>.
30142 (__catanl): Ensure underflow exception occurs for underflowed
30143 result.
30144 * math/libm-test.inc (catan_test): Add more tests.
30145 (catanh_test): Likewise.
30146
f0302940
JM
30147 [BZ #15405]
30148 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30149 underflowed result.
30150 * math/s_ccoshf.c (__ccoshf): Likewise.
30151 * math/s_ccoshl.c (__ccoshl): Likewise.
30152 * math/s_csin.c (__csin): Likewise.
30153 * math/s_csinf.c (__csinf): Likewise.
30154 * math/s_csinh.c (__csinh): Likewise.
30155 * math/s_csinhf.c (__csinhf): Likewise.
30156 * math/s_csinhl.c (__csinhl): Likewise.
30157 * math/s_csinl.c (__csinl): Likewise.
30158 * math/libm-test.inc (ccos_test): Add more tests.
30159 (ccosh_test): Likewise.
30160 (csin_test): Likewise.
30161 (csinh_test): Likewise.
30162
aa630f59
AZ
301632013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30164
30165 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30166 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30167 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30168 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30169 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30170 powerpc/power5+/fpu folders.
30171 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30172
30173
1b835983
MT
301742013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30175
30176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30177
73709b26
JM
301782013-04-25 Joseph Myers <joseph@codesourcery.com>
30179
30180 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30181 additions to variable.
30182 [$(config-machine) = x86_64] (modules-names): Likewise.
30183 ($(objpfx)tst-audit3): Remove dependency.
30184 ($(objpfx)tst-audit3.out): Likewise.
30185 ($(objpfx)tst-audit4): Likewise.
30186 ($(objpfx)tst-audit4.out): Likewise.
30187 ($(objpfx)tst-audit5): Likewise.
30188 ($(objpfx)tst-audit5.out): Likewise.
30189 ($(objpfx)tst-audit6): Likewise.
30190 ($(objpfx)tst-audit6.out): Likewise.
30191 ($(objpfx)tst-audit7): Likewise.
30192 ($(objpfx)tst-audit7.out): Likewise.
30193 (tst-audit3-ENV): Remove variable.
30194 (tst-audit4-ENV): Likewise.
30195 (tst-audit5-ENV): Likewise.
30196 (tst-audit6-ENV): Likewise.
30197 (tst-audit7-ENV): Likewise.
30198 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30199 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30200 addition to variable.
30201 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30202 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30203 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30204 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30205 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30206 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30207 tst-audit3, tst-audit4 and tst-audit5.
30208 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30209 tst-audit6 and tst-audit7.
30210 [$(subdir) = elf] (modules-names): Add audit modules for those
30211 tests.
30212 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30213 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30214 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30215 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30216 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30217 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30218 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30219 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30220 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30221 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30222 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30223 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30224 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30225 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30226 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30227 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30228 Likewise.
30229 [$(subdir) = elf && $(config-cflags-avx) = yes]
30230 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30231 [$(subdir) = elf && $(config-cflags-avx) = yes]
30232 (CFLAGS-tst-auditmod4a.c): Likewise.
30233 [$(subdir) = elf && $(config-cflags-avx) = yes]
30234 (CFLAGS-tst-auditmod4b.c): Likewise.
30235 [$(subdir) = elf && $(config-cflags-avx) = yes]
30236 (CFLAGS-tst-auditmod6b.c): Likewise.
30237 [$(subdir) = elf && $(config-cflags-avx) = yes]
30238 (CFLAGS-tst-auditmod6c.c): Likewise.
30239 [$(subdir) = elf && $(config-cflags-avx) = yes]
30240 (CFLAGS-tst-auditmod7b.c): Likewise.
30241 * elf/tst-audit3.c: Move to ...
30242 * sysdeps/x86_64/tst-audit3.c: ... here.
30243 * elf/tst-audit4.c: Move to ...
30244 * sysdeps/x86_64/tst-audit4.c: ... here.
30245 * elf/tst-audit5.c: Move to ...
30246 * sysdeps/x86_64/tst-audit5.c: ... here.
30247 * elf/tst-audit6.c: Move to ...
30248 * sysdeps/x86_64/tst-audit6.c: ... here.
30249 * elf/tst-audit7.c: Move to ...
30250 * sysdeps/x86_64/tst-audit7.c: ... here.
30251 * elf/tst-auditmod3a.c: Move to ...
30252 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30253 * elf/tst-auditmod3b.c: Move to ...
30254 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30255 * elf/tst-auditmod4a.c: Move to ...
30256 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30257 * elf/tst-auditmod4b.c: Move to ...
30258 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30259 * elf/tst-auditmod5a.c: Move to ...
30260 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30261 * elf/tst-auditmod5b.c: Move to ...
30262 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30263 * elf/tst-auditmod6a.c: Move to ...
30264 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30265 * elf/tst-auditmod6b.c: Move to ...
30266 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30267 * elf/tst-auditmod6c.c: Move to ...
30268 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30269 * elf/tst-auditmod7a.c: Move to ...
30270 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30271 * elf/tst-auditmod7b.c: Move to ...
30272 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30273
1ef74943
PP
302742013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30275
30276 [BZ #15366]
30277 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30278 define unconditionally.
30279 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30280 define unconditionally.
30281 (INT8_C, INT16_C, etc.): Likewise.
30282
93fd48c5
MR
302832013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30284
ae9552cf
MR
30285 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30286 __ehdr_start with hidden visibility.
30287
93fd48c5
MR
30288 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30289
418601aa
CD
302902013-04-24 Carlos O'Donell <carlos@redhat.com>
30291
30292 * math/libm-test.inc (cos_test): Use accurate hex constants.
30293 (sincost_test): Likewise.
30294
2f38fbfe
JM
302952013-04-24 Joseph Myers <joseph@codesourcery.com>
30296
5e221800
JM
30297 * math/libm-test.inc (catan_test): Add more tests.
30298 (catanh_test): Likewise.
30299
77f143fd
JM
30300 * math/s_catanf.c (__catanf): Use suffixed floating-point
30301 constants.
30302 * math/s_catanhf.c (__catanhf): Likewise.
30303 * math/s_catanhl.c (__catanhl): Likewise.
30304 * math/s_catanl.c (__catanl): Likewise.
30305
2f38fbfe
JM
30306 [BZ #15394]
30307 * math/s_catan.c (__catan): Calculate imaginary part of result
30308 with log1p not log unless computing log of number close to 0.
30309 * math/s_catanf.c (__catanf): Likewise.
30310 * math/s_catanl.c (__catanl): Likewise.
30311 * math/s_catanh.c (__catanh): Calculate real part of result with
30312 log1p not log unless computing log of number close to 0.
30313 * math/s_catanhf.c (__catanhf): Likewise.
30314 * math/s_catanhl.c (__catanhl): Likewise.
30315 * math/libm-test.inc (catan_test): Add more tests.
30316 (catanh_test): Likewise.
30317 * sysdeps/i386/fpu/libm-test-ulps: Update.
30318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30319
45d69176
SP
303202013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30321
30322 * benchtests/Makefile: Mention files in which fast and slow
30323 paths of math functions are implemented.
30324
87f51853
RM
303252013-04-23 Roland McGrath <roland@hack.frob.com>
30326
30327 * sysdeps/posix/timespec_get.c: New file.
30328
3c026539
AZ
303292013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30330
30331 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30332 POWER.
30333 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30334 for POWER.
30335 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30336 powerpc/power5/fpu folders.
30337 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30338 * benchtests/Makefile: Add modf testcase.
30339 * benchtests/bench-modf.c: New file: Benchmark test for mo
30340
ff491d14
SP
303412013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30342
30343 [BZ #14888]
30344 * time/Makefile (tests): Add tst-strptime-whitespace.
30345 * time/strptime_l.c (get_number): Use ISSPACE.
30346 (__strptime_internal): Likewise.
30347 * time/tst-strptime-whitespace.c: New test case.
30348
7ed3f4e8
AS
303492013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30350
30351 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30352 member.
30353 (_nss_files_init): Set it here.
30354
5c95f7b6
HC
303552013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30356
30357 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30358 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30359 unsigned.
30360
d34c9158
JBG
303612013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30362
30363 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30364
2169712d
SP
303652013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30366
30367 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30368 size just once.
30369
29c5de99
DM
303702013-04-21 David S. Miller <davem@davemloft.net>
30371
30372 * po/ru.po: Update Russion translation from translation project.
30373
ccdad15d
AC
303742013-04-17 Adam Conrad <adconrad@0c3.net>
30375
30376 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30377 and setfsgid.
30378
0f122b8d
CD
303792013-04-17 Carlos O'Donell <carlos@redhat.com>
30380
5c5b07da 30381 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 30382 * configure: Regenerate.
5c5b07da 30383 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
30384 Add example to error message.
30385 * sysdeps/i386/configure: Regenerate.
30386
037714dd
SP
303872013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30388
30389 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30390 slowtan.
30391 * benchtests/cos-inputs: New file.
30392 * benchtests/slowcos-inputs: New file.
30393 * benchtests/slowcos.c: New file.
30394 * benchtests/slowtan-inputs: New file.
30395 * benchtests/slowtan.c: New file.
30396 * benchtests/tan-inputs: New file.
30397
e913141d
RM
303982013-04-16 Roland McGrath <roland@hack.frob.com>
30399
30400 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30401 considered kosher.
30402
a2964074
SP
304032013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30404
4856bcd2
SP
30405 * benchtests/Makefile: Include cppflags-iterator.mk to add
30406 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30407
a2964074
SP
30408 * Makefile.in (bench-clean): New target.
30409 * benchtests/Makefile (bench-clean): Likewise.
30410
9fbf9aca
DH
304112013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30412
30413 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30414
207d1e2a
TS
304152013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30416
30417 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30418
306dfba9
AS
304192013-04-15 Andreas Schwab <schwab@suse.de>
30420
30421 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30422 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30423 * nscd/pwdcache.c (cache_addpw): Likewise.
30424 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30425 more than recsize.
30426
206a6699
SP
304272013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30428
30429 * benchtests/Makefile (bench): Write all output to
30430 bench-out.tmp together.
30431
0582f6b3
AS
304322013-04-15 Andreas Schwab <schwab@suse.de>
30433
30434 * nscd/nscd.c (main): Don't fork again after closing files.
30435
acb4325f
SP
304362013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30437
5cb26d0a
SP
30438 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30439
acb4325f
SP
30440 * benchtests/Rules (bench-deps): Collect dependencies into a
30441 single variable. Add Makefile to dependencies.
30442 ($(objpfx)bench-%.c): Depend on bench-deps.
30443
47792506
RM
304442013-04-12 Roland McGrath <roland@hack.frob.com>
30445 Xavier Roche <roche+kml2@exalead.com>
30446
30447 [BZ #15361]
30448 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30449 just that it's a file descriptor.
30450 * manual/llio.texi (Synchronizing AIO Operations): Update description
30451 for EBADF error from aio_fsync.
30452
8fc1bee5
SP
304532013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30454
30455 * Rules (bench): Move target definition...
30456 * benchtests/Makefile: ... here.
30457
aba5e333
CD
304582013-04-11 Carlos O'Donell <carlos@redhat.com>
30459
30460 * math/libm-test.inc (cos_test): Fix PI/2 test.
30461 (sincos_test): Likewise.
30462 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30463 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30464
273cdee8
AS
304652013-04-11 Andreas Schwab <schwab@suse.de>
30466
6ecec3b6
AS
30467 [BZ #13988]
30468 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30469 accept exponent character only when digits were seen.
30470 * stdio-common/Makefile (tests): Add bug26.
30471 * stdio-common/bug26.c: New file.
30472
273cdee8
AS
30473 [BZ #14293]
30474 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30475 non-freeable.
30476
8da491f5
SP
304772013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30478
01dc6df9
SP
30479 * Makeconfig (rtld-prefix): Define built linker prefix.
30480 * Rules (run-bench): Use it.
30481 * math/Makefile (run-regen-ulps): Likewise.
30482
8da491f5
SP
30483 * Rules (bench): Remove eval.
30484
abe7f530
SP
304852013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30486 Roland McGrath <roland@hack.frob.com>
30487 Ondrej Bilka <neleai@seznam.cz>
30488
30489 [BZ #15346]
30490 * time/getdate.c: Include ctype.h and alloca.h.
30491 (__getdate_r): Trim leading and trailing spaces of input.
30492 * time/tst-getdate.c (tests): Add tests with leading and
30493 trailing spaces.
30494
61c23e62
RM
304952013-04-08 Roland McGrath <roland@hack.frob.com>
30496
30497 [BZ #14280]
30498 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30499 when computing value.
30500
7208a313
CD
305012013-04-06 Carlos O'Donell <carlos@redhat.com>
30502
085b2d41
CD
30503 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30504 Use testrun.sh to run libm tests.
30505
7208a313
CD
30506 [BZ #15309]
30507 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30508
872c0acd
MM
305092013-04-06 Marko Myllynen <myllynen@redhat.com>
30510
30511 [BZ #15264]
30512 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30513
26510bdd
CD
305142013-04-06 Carlos O'Donell <carlos@redhat.com>
30515
30516 * Makefile.in (regen-ulps): New target.
30517 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30518 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30519 [ifneq (no,$(PERL)] (regen-ulps): New target.
30520 [ifeq (no,$(PERL)] (regen-ulps): New target.
30521 * math/libm-test.inc (ulps_file_name): Define.
30522 (output_dir): New variable.
30523 (options): Add "output-dir" option.
30524 (parse_opt): Handle 'o' case.
30525 (main): If output_dir is non-NULL use it as a prefix
30526 otherwise use "".
30527 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30528
a01f19c8
CD
305292013-04-06 Carlos O'Donell <carlos@redhat.com>
30530
30531 [BZ #10060, #10062]
30532 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30533 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30534 fail configure if __sync_val_compare_and_swap is not inlined.
30535 * sysdeps/i386/configure: Regenerate.
30536 * configure.in: Build for i686 when configured for i386.
30537 * configure: Regenerate.
30538 * README: Remove i386 reference.
30539
b7a329a5
CD
305402013-04-06 Carlos O'Donell <carlos@redhat.com>
30541
30542 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30543 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30544
bf0f50df
TS
305452013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30546
ee091edf
TS
30547 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30548 (lmsnanval): New variables.
30549 (F): Add conversion tests.
30550 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30551 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30552
a8b792d6
TS
30553 * stdio-common/tstdiomisc.c (F): Properly collect individual
30554 tests' results.
30555
a1cbf437
TS
30556 [BZ #14686, #15336]
30557 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30558 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30559 Instead, use input NaN values or generate a qNaN by arithmetic
30560 operation. Also fix bugs to comply with the standard.
30561 * math/libm-test.inc (remainder_test): Add more tests.
30562
8b43a0c9
TS
30563 [BZ #15335, #15342]
30564 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30565 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30566 input NaN values or generate a qNaN by arithmetic operation.
30567
d91da4ce
TS
30568 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30569 unreachable code.
30570
bf0f50df
TS
30571 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30572 definitions.
30573
05e166c8
JM
305742013-04-03 Joseph Myers <joseph@codesourcery.com>
30575
30576 [BZ #14478]
30577 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30578 underflowed result.
30579 * math/s_cexpf.c (__cexpf): Likewise.
30580 * math/s_cexpl.c (__cexpl): Likewise.
30581 * math/libm-test.inc (cexp_test): Add more tests.
30582
1cef1b19
AS
305832013-04-03 Andreas Schwab <schwab@suse.de>
30584
30585 [BZ #15330]
30586 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30587 order arrays from heap if bigger than alloca cutoff.
30588
74d87055
TS
305892013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30590
30591 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30592 (SNAN_TESTS_double): Refer to GCC PR56831.
30593 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30594 GCC PR56828.
30595
d755bba4
SP
305962013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30597
90d5d5bb
SP
30598 * Rules (bench): Move bench.out after the run is complete.
30599
73e0cd5d
SP
30600 * Rules (bench): Echo currently running benchmark.
30601
64aabd4b
SP
30602 * benchtests/Makefile (bench): Add atan and slowatan.
30603 * benchtests/atan-inputs: New file.
30604 * benchtests/slowatan-inputs: New file.
30605 * benchtests/slowatan.c: New file.
30606
c871eccd
SP
30607 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30608 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30609 its value.
30610
d755bba4
SP
30611 [BZ #15305]
30612 * sysdeps/unix/sysv/linux/kernel-features.h
30613 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30614 __ASSUME_XFS_RESTRICTED_CHOWN.
30615 * sysdeps/unix/sysv/linux/pathconf.c
30616 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30617 Save and restore errno.
30618
52ce4860
JM
306192013-04-02 Joseph Myers <joseph@codesourcery.com>
30620
30621 [BZ #15327]
30622 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30623 arguments using __kernel_casinh.
30624 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30625 arguments using __kernel_casinhf.
30626 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30627 arguments using __kernel_casinhl.
30628 * math/libm-test.inc (cacosh_test): Add more tests.
30629 * sysdeps/i386/fpu/libm-test-ulps: Update.
30630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30631
81f311c2
SP
306322013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30633
e7906a47
SP
30634 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30635 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30636
92e3664b
SP
30637 * bench/Makefile (bench): Add sin and slowsin.
30638 * benchtests/sin-inputs: New file.
30639 * benchtests/slowsin-inputs: New file.
30640 * benchtests/slowsin.c: New file.
30641
81f311c2
SP
30642 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30643 (bench): Add slowexp and slowpow.
30644 (exp-ITER): Increase iterations.
30645 (pow-ITER): Likewise.
30646 * benchtests/exp-inputs: Change input.
30647 * benchtests/pow-inputs: Likewise.
30648 * benchtests/slowexp-inputs: New file.
30649 * benchtests/slowexp.c: New file.
30650 * benchtests/slowpow-inputs: New file.
30651 * benchtests/slowpow.c: New file.
30652
ab0f1aa9
AZ
306532013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30654
30655 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30656 instructions.
30657 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30658 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30659 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30660 * benchtests/Makefile: Add rint benchtest.
30661 * benchtests/rint-inputs: Input for rint benchtest.
30662
57267616
TS
306632013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30664
30665 * Versions.def (libm): Add GLIBC_2.18.
30666 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30667 hidden libm prototypes.
30668 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30669 * math/Makefile (libm-calls): Add s_issignaling.
30670 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30671 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30672 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30673 declaration.
30674 * math/math.h [__USE_GNU] (issignaling): New macro.
30675 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30676 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30677 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30678 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30679 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30680 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30681 * manual/arith.texi (issignaling): New section.
30682 * manual/libm-err-tab.pl (@all_functions): Update comment.
30683 * math/gen-libm-test.pl (parse_args): Apply special handling for
30684 issignaling.
30685 * math/libm-test.inc (print_float, issignaling_test): New
30686 functions.
30687 (check_float_internal): Add issignaling checks.
30688 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30689 default definition.
30690 * sysdeps/powerpc/math-tests.h: New file.
30691 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30692 tests.
30693 * math/test-snan.c (TEST_FUNC): Likewise.
30694
6142896d
DM
306952013-03-30 David S. Miller <davem@davemloft.net>
30696
30697 * po/de.po: Update from translation team.
30698
ccc8cadf
JM
306992013-03-30 Joseph Myers <joseph@codesourcery.com>
30700
30701 [BZ #10357]
30702 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30703 imaginary part less than 1.0 and real part less than 0.5
30704 specially.
30705 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30706 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30707 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30708 (cacos_test): Add more tests.
30709 (casin_test): Likewise.
30710 (casinh_test): Likewise.
30711 * sysdeps/i386/fpu/libm-test-ulps: Update.
30712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30713
0f6a8d4b
SP
307142013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30715
0d1029de
SP
30716 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30717 ONE with its value.
30718
c2d94018
SP
30719 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30720 (__pow_mp): Replace ONE and MONE with their values.
30721 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30722 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30723 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30724 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30725 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30726 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30727
27ec37f1
SP
30728 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30729
a64d7e0e
SP
30730 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30731 (__pow_mp): Replace ZERO and MZERO with their values.
30732 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30733 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30734 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30735 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30736 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30737 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30738 (__sqr): Likewise.
30739
d26dd3eb
SP
30740 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30741
0f6a8d4b
SP
30742 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30743
e57b0c61
RM
307442013-03-28 Roland McGrath <roland@hack.frob.com>
30745
30746 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30747 Declare with __attribute__ ((weak)).
30748 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30749 Call __call_tls_dtors only if it's not NULL.
30750
356b3480
RM
307512013-03-28 Roland McGrath <roland@hack.frob.com>
30752
288f7d79
RM
30753 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30754 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30755 magic __ehdr_start linker symbol if it's defined.
30756 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30757 them up here if it was already done.
30758
dc0a0263
RM
30759 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30760 (_dl_aux_init): Use const in cast when setting it.
30761 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30762 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30763 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30764
3d3436ae
RM
30765 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30766 Declare them here.
30767 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30768 * csu/libc-tls.c: Nor here.
30769 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30770
356b3480
RM
30771 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30772 (__libc_message): Never call vsyslog.
30773
b0f1246a
AM
307742013-03-28 Alan Modra <amodra@gmail.com>
30775
30776 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30777 Define as empty.
30778 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30779 Likewise.
30780
fbbe2b9a
AZ
307812013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30782
30783 [BZ #15214]
30784 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30785 underflow.
30786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30787
1728ab37
SP
307882013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30789
7a86be6e
SP
30790 [BZ #15304]
30791 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30792 Don't add gid passed as argument.
30793
1728ab37
SP
30794 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30795
3a7182a1
JM
307962013-03-27 Joseph Myers <joseph@codesourcery.com>
30797
30798 [BZ #15307]
30799 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30800 imaginary part between 1.0 and 1.5 and real part less than 0.5
30801 specially.
30802 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30803 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30804 * math/libm-test.inc (cacos_test): Add more tests.
30805 (casin_test): Likewise.
30806 (casinh_test): Likewise.
30807 * sysdeps/i386/fpu/libm-test-ulps: Update.
30808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30809
6f2e90e7
SP
308102013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30811
5739f705
SP
30812 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30813 constants.
30814 (norm): Likewise.
30815 (denorm): Likewise.
30816 (__dbl_mp): Likewise.
30817 (add_magnitudes): Likewise.
30818 (sub_magnitudes): Likewise.
30819 (__add): Likewise.
30820 (__sub): Likewise.
30821 (__mul): Likewise.
30822 (__sqr): Likewise.
30823 (__inv): Likewise.
30824 (__dvd): Likewise.
30825
e375e83d
SP
30826 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30827 commented code.
30828 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30829 (__dubcos): Likewise.
30830 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30831 (__ieee754_acos): Likewise.
30832 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30833 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30834 (__exp1): Likewise.
30835 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30836 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30837 (log1): Likewise.
30838 (my_log2): Likewise.
30839 (checkint): Likewise.
30840 * sysdeps/ieee754/dbl-64/e_remainder.c
30841 (__ieee754_remainder): Likewise.
30842 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30843 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30844 (bsloww): Likewise.
30845 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30846
6f2e90e7
SP
30847 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30848 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30849 MANTISSA_STORE_T to store computations on mantissa. Use
30850 macros for rounding and division.
30851 (denorm): Likewise.
30852 (__dbl_mp): Likewise.
30853 (add_magnitudes): Likewise.
30854 (sub_magnitudes): Likewise.
30855 (__mul): Likewise.
30856 (__sqr): Likewise.
30857 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30858 powers of two in terms of TWOPOW macro.
30859 (mp_no): Make type of mantissa as MANTISSA_T.
30860 [!RADIXI]: Define RADIXI.
30861 [!TWO52]: Define TWO52.
30862 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30863
fce14d4e
AZ
308642013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30865
30866 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30867 llroundl symbol when building for PPC32.
30868
9ad027fb
MW
308692013-03-24 Mark H Weaver <mhw@netris.org>
30870
30871 * manual/arith.texi (Normalization Functions): Fix prototypes for
30872 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30873
e42a38dd
AZ
308742013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30875
30876 [BZ #13889]
30877 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30878 high value to check if expl overflow.
30879 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30880 to check for underflow and overflow.
30881 * math/libm-test.inc: Add exp test.
30882
2e0fb521
DL
308832013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30884
30885 [BZ #11120]
30886 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30887 with NOT_IN_libc.
30888
b5784d95
AZ
308892013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30890
30891 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30892 symbol.
30893
5aa4a1a1
TS
308942013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30895
bdef0be7
TS
30896 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30897 wrap blocks consisting of several statements.
30898
5aa4a1a1
TS
30899 * sysdeps/generic/math-tests.h: New file.
30900 * sysdeps/i386/fpu/math-tests.h: Likewise.
30901 * math/test-snan.c: Include it.
30902 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30903
98c48fe5
JM
309042013-03-21 Joseph Myers <joseph@codesourcery.com>
30905
30906 [BZ #15285]
30907 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30908 (__ieee754_j0l): Do not improve calculations using cos of twice
30909 input for inputs above LDBL_MAX / 2.0L.
30910 (__ieee754_y0l): Likewise.
30911 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30912 (__ieee754_j1l): Do not improve calculations using cos of twice
30913 input for inputs above LDBL_MAX / 2.0L.
30914 (__ieee754_y1l): Likewise.
30915 * math/libm-test.inc (j0_test): Add another test.
30916 (j1_test): Likewise.
30917 (y0_test): Likewise.
30918 (y1_test): Likewise.
30919 * sysdeps/i386/fpu/libm-test-ulps: Update.
30920
3775a8bc
SP
309212013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30922
30923 * Rules ($(objpfx)bench-%.c): Include code from a C source
30924 file.
30925
0a1b2ae6
JM
309262013-03-21 Joseph Myers <joseph@codesourcery.com>
30927
30928 [BZ #15287]
30929 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30930 imaginary part 1.0 and real part less than 0.5 specially.
30931 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30932 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30933 * math/libm-test.inc (cacos_test): Add more tests.
30934 (casin_test): Likewise.
30935 (casinh_test): Likewise.
30936 * sysdeps/i386/fpu/libm-test-ulps: Update.
30937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30938
b33d4ce4
SP
309392013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30940
30941 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30942 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30943
bef0b507
JM
309442013-03-20 Joseph Myers <joseph@codesourcery.com>
30945
30946 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30947 * config.make.in (config-cflags-sse4): Remove variable.
30948 (config-cflags-avx): Likewise.
30949 (config-cflags-sse2avx): Likewise.
30950 (config-cflags-novzeroupper): Likewise.
30951 (config-asflags-i686): Likewise.
30952 (have-mfma4): Likewise.
30953 (have-as-vis3): Likewise.
30954 (MIG): Likewise.
30955 * configure.in (MIG): Do not AC_SUBST.
30956 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30957 (libc_cv_cc_sse4): Do not AC_SUBST.
30958 (libc_cv_cc_avx): Likewise.
30959 (libc_cv_cc_sse2avx): Likewise.
30960 (libc_cv_cc_novzeroupper): Likewise.
30961 (libc_cv_cc_fma4): Likewise.
30962 (libc_cv_as_i686): Likewise.
30963 (libc_cv_sparc_as_vis3): Likewise.
30964 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30965 LIBC_CONFIG_VAR.
30966 (config-asflags-i686): Likewise.
30967 (config-cflags-avx): Likewise.
30968 (config-cflags-sse2avx): Likewise.
30969 (have-mfma4): Likewise.
30970 (config-cflags-novzeroupper): Likewise.
30971 * sysdeps/mach/configure.in (MIG): Likewise.
30972 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30973 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30974 LIBC_CONFIG_VAR.
30975 (config-cflags-avx): Likewise.
30976 (config-cflags-sse2avx): Likewise.
30977 (have-mfma4): Likewise.
30978 (config-cflags-novzeroupper): Likewise.
30979 * configure: Regenerated.
30980 * sysdeps/i386/configure: Likewise.
30981 * sysdeps/mach/configure: Likewise.
30982 * sysdeps/sparc/configure: Likewise.
30983 * sysdeps/x86_64/configure: Likewise.
30984
912cc4b3
RM
309852013-03-20 Roland McGrath <roland@hack.frob.com>
30986
30987 [BZ #14812]
30988 * locale/programs/localedef.c (options): Put N_ translation marker
30989 on argument names, not just descriptions.
30990
04eed2b0
MS
309912013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30992
30993 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30994
a065ceff
OB
309952013-03-20 Ondřej Bílka <neleai@seznam.cz>
30996
9bb2a810 30997 [BZ #14176]
a065ceff
OB
30998 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30999
a600e5ce
RM
310002013-03-19 Roland McGrath <roland@hack.frob.com>
31001
31002 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31003 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31004 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31005 [!BEFORE_ABORT] (before_abort): New function.
31006 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31007 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31008 (writev_for_fatal): New function.
31009 (WRITEV_FOR_FATAL): New macro; call that.
31010 (backtrace_and_maps): New function.
31011 (BEFORE_ABORT): New macro; call that.
31012 (struct str_list): Type removed.
31013 (__libc_message, __libc_fatal): Functions removed.
31014 Include <sysdeps/posix/libc_fatal.c> instead.
31015
6b18bea6
JM
310162013-03-19 Joseph Myers <joseph@codesourcery.com>
31017
31018 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31019 constants.
31020 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31021 double constants.
31022
aaa8cb4b
AS
310232013-03-19 Andreas Schwab <schwab@suse.de>
31024
44673770
AS
31025 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31026 * sysdeps/gnu/configure: Regenerate.
31027
aaa8cb4b
AS
31028 * configure.in: Substitute libc_cv_rtlddir.
31029 * configure: Regenerate.
31030 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31031 * Makeconfig (rtlddir, inst_rtlddir): New variables.
31032 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31033 * elf/Makefile (install-others, CFLAGS-interp.c)
31034 (ldso_install, common-ldd-rewrite): Likewise.
31035 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31036 $(inst_slibdir)/$(rtld-installed-name).
31037 * scripts/rellns-sh: Add -p option.
31038 * Makerules (make-shlib-link): Use rellns-sh to get relative name
31039 for source.
31040
d3cfc668
SP
310412013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31042
31043 * manual/nptl.texi: Renamed to ...
31044 * manual/threads.texi: ... this.
31045 * manual/Makefile (chapters): Update.
31046
0e2b9cdd
RM
310472013-03-18 Roland McGrath <roland@hack.frob.com>
31048
31049 [BZ #14812]
31050 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31051 on argument names, not just descriptions.
0e2b9cdd
RM
31052 * malloc/memusagestat.c (options): Likewise.
31053 * nss/getent.c (options): Likewise.
63270c24
RM
31054
310552013-03-18 Benno Schulenberg <bensberg@justemail.net>
31056
31057 [BZ #14812]
31058 * iconv/iconv_prog.c (options): Put N_ translation marker
31059 on argument names, not just descriptions.
31060 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 31061
b2e1393c
OB
310622013-03-18 Ondrej Bilka <neleai@seznam.cz>
31063
31064 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31065 implementation which is faster on all x86_64 architectures.
31066 Tested on AMD, Intel Nehalem, SNB, IVB.
31067 * sysdeps/x86_64/strnlen.S: Likewise.
31068
31069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31070 Remove all multiarch strlen and strnlen versions.
31071 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31072 Remove strlen and strnlen related parts.
31073
31074 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31075 Inline strlen part.
31076 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31077
31078 * sysdeps/x86_64/multiarch/strlen.S: Remove.
31079 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31080 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31081 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31082 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31083 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31084
ec4ff04d
CD
310852013-03-17 Carlos O'Donell <carlos@redhat.com>
31086
31087 * manual/memory.texi (Malloc Tunable Parameters):
31088 Sort parameters alphabetically. Add comments for missing entries.
31089
cd18e90a
DM
310902013-03-17 David S. Miller <davem@davemloft.net>
31091
31092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31093
2a185d32
JM
310942013-03-16 Joseph Myers <joseph@codesourcery.com>
31095
d2f9799e
JM
31096 [BZ #15283]
31097 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31098 for arguments at most half maximum finite value.
31099 * math/libm-test.inc (j0_test): Add more tests.
31100 (j1_test): Likewise.
31101 (y0_test): Likewise.
31102 (y1_test): Likewise.
31103 * sysdeps/i386/fpu/libm-test-ulps: Update.
31104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31105
2a185d32
JM
31106 [BZ #14155]
31107 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31108 1 / x and functions P and Q for arguments above 0x1p256L.
31109 (__ieee754_y0l): Likewise.
31110 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31111 (__ieee754_y1l): Likewise.
31112 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31113 (j1_test): Likewise.
31114 (y0_test): Likewise.
31115 (y1_test): Likewise.
31116
6cbec759
TS
311172013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31118
31119 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31120 variable.
31121
bc16e260
RM
311222013-03-15 Roland McGrath <roland@hack.frob.com>
31123
aefc9b8c
RM
31124 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31125 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31126 zero since it's initialized to EXEC_PAGESIZE.
31127
bc16e260
RM
31128 * sysdeps/unix/sysv/linux/ldsodefs.h
31129 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31130 * sysdeps/generic/ldsodefs.h: ... here.
31131
a57da955
TS
311322013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31133
af00a34d
TS
31134 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31135
495ded2c
TS
31136 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31137 math/test-snan.c.
31138 * math/test-snan.c: Renamed from
31139 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31140 * math/Makefile (tests): Add test-snan.
31141 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31142 test-powerpc-snan.
31143
777b0332
TS
31144 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31145 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31146 functions.
31147 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31148 __builtin_nan family of functions.
31149 * math/libm-test.inc (initialize): Initialize qnan_value with
31150 __builtin_nan family of functions.
31151 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31152 Remove variables.
31153 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31154 Remove functions.
31155 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31156 storage class. Initialize qNaN_var and sNaN_var with
31157 __builtin_nan and __builtin_nans families of functions,
31158 respectively.
31159
64d063b8
TS
31160 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31161 (sqrt_test): Remove duplicate test with qNaN input.
31162 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31163 (round_test, signbit_test, significand_test): Note missing +/-Inf
31164 as well as qNaN tests.
31165
67e971f1
TS
31166 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31167 qNaN_var. Fix a few strings, too.
31168 * math/libm-test.inc (nan_value): Rename to qnan_value.
31169 * math/gen-libm-test.pl (%beautify): Adjust to that.
31170 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31171 * math/test-misc.c (main): Likewise.
31172 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31173 to __qnan_bytes, and __qnan_union, respectively.
31174 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31175 Likewise.
31176 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31177 and lqnanval, respectively.
31178 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31179 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31180 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31181 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31182
64487e12
TS
31183 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31184 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31185 doubles.
31186
e015e27b
TS
31187 * math/test-misc.c (main): Fix copy'n'pastos.
31188 * misc/tst-efgcvt.c (special): Likewise.
31189
a57da955
TS
31190 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31191 Remove declarations.
31192
1e380345
SP
311932013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31194
31195 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31196 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31197 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31198 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31199
ef26eece
AZ
312002013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31201
31202 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31203 macro to return vdso values correctly in IFUNC implementations.
31204 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31205 Optimization by using IFUNC.
31206
8cfdb7e0
SP
312072013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31208 Richard Henderson <rth@redhat.com>
31209 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31210
31211 * Makefile.in (bench): New target.
31212 * NEWS: Mention the benchmark framework.
31213 * Rules (bench): Likewise.
31214 (binaries-bench): Generate binaries for functions to
31215 benchmark.
31216 * benchtests/Makefile: New makefile for benchmark tests.
31217 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31218 programs.
31219 * benchtests/exp-inputs: New input file for EXP function.
31220 * benchtests/pow-inputs: New input file for POW function.
31221 * scripts/bench.pl: New script to generate source files for
31222 benchmark programs.
31223
bcda9880
SP
312242013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31225
d22ca8cd
SP
31226 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31227 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31228 computations on mantissa. Use macros for rounding and
31229 division.
31230 (denorm): Likewise.
31231 (__dbl_mp): Likewise.
31232 (add_magnitudes): Likewise.
31233 (sub_magnitudes): Likewise.
31234 (__mul): Likewise.
31235 (__sqr): Likewise.
31236 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31237 powers of two in terms of TWOPOW macro.
31238 (mp_no): Make type of mantissa as MANTISSA_T.
31239 [!RADIXI]: Define RADIXI.
31240 [!TWO52]: Define TWO52.
31241 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31242
bcda9880
SP
31243 * manual/nptl.texi (cindex): Modify threads to pthreads.
31244
06d5adfb
JM
312452013-03-15 Joseph Myers <joseph@codesourcery.com>
31246
31247 * sysdeps/x86_64/preconfigure: Regenerated.
31248
41c7328e
JM
312492013-03-14 Joseph Myers <joseph@codesourcery.com>
31250
31251 [BZ #14155]
31252 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31253 0x1p28 and above.
31254 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31255 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31256 0x1p28 and above.
31257 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31258 * math/libm-test.inc (j0_test): Do not allow one spurious
31259 underflow exception.
31260 (y1_test): Likewise.
31261
e25cfa60
SP
312622013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31263
0409959c
SP
31264 * manual/Makefile (chapters): Add nptl.
31265 * manual/debug.texi (Debugging Support): Add link to Threads
31266 chapter.
31267 * manual/nptl.texi: New file.
31268
e25cfa60
SP
31269 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31270
58a1335e
PB
312712013-03-14 Petr Baudis <pasky@ucw.cz>
31272
31273 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31274 for non-NULL pointer before the memory validity test. Pointed
31275 out by Holger Brunck <holger.brunck@keymile.com>.
31276
9dc7c64f
AS
312772013-03-13 Andreas Schwab <schwab@suse.de>
31278
31279 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31280 instead of .os.
31281
54206aa6
JM
312822013-03-13 Joseph Myers <joseph@codesourcery.com>
31283
31284 * timezone/zic.c: Update from tzcode 2013b.
31285
e98cdb38
CD
312862013-03-12 Carlos O'Donell <carlos@redhat.com>
31287
31288 * manual/install.texi (Configuring and compiling):
31289 Mention i686 and i586.
31290 * INSTALL: Regenerate.
31291
9967e003
RM
312922013-03-12 Roland McGrath <roland@hack.frob.com>
31293
31294 * sysdeps/init_array/elf-init.c: New file.
31295 * csu/elf-init.c
31296 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31297 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31298
31299 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31300 __gmon_start__ as global, but as static with a .preinit_array pointer.
31301 * sysdeps/init_array/gmon-start.c: New file. Use that.
31302 * sysdeps/init_array/crti.S: New file, empty except for comments.
31303 * sysdeps/init_array/crtn.S: Likewise.
31304
e6b5a293 313052013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
31306
31307 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31308 definining bcopy.
80f844c9
OB
31309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31310 Remove Prefer_SSE_for_memop.
31311 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31312 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31313 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
31314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31315 memset-x86-64.
80f844c9 31316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 31317 Remove bzero, memset ifunc support.
80f844c9
OB
31318 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31319 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31320 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31321 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31322
fb6b0fcb
AS
313232013-03-11 Andreas Schwab <schwab@suse.de>
31324
31325 [BZ #15234]
31326 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31327 by SHLIB_COMPAT.
31328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31329 (GLIBC_2.16): Remove pthread_atfork.
31330
3e6bd4b1
PP
313312013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31332
31333 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31334 (ptestcases.h): Likewise.
31335
222d7f00
RM
313362013-03-08 Roland McGrath <roland@hack.frob.com>
31337
31338 * Makeconfig ($(common-objpfx)config.status): Depend on
31339 sysdeps/*/preconfigure{,.in} too.
31340
1ba4f030
JM
313412013-03-08 Joseph Myers <joseph@codesourcery.com>
31342
a222d91a
JM
31343 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31344 (__free_hook): Use void * instead of __malloc_ptr_t.
31345 (__malloc_hook): Likewise.
31346 (__realloc_hook): Likewise.
31347 (__memalign_hook): Likewise.
31348 (__after_morecore_hook): Likewise.
31349 * malloc/arena.c (save_malloc_hook): Likewise.
31350 (save_free_hook): Likewise.
31351 * malloc/hooks.c (malloc_hook_ini): Likewise.
31352 (realloc_hook_ini): Likewise.
31353 (memalign_hook_ini): Likewise.
31354 * malloc/malloc.c (malloc_hook_ini): Likewise.
31355 (realloc_hook_ini): Likewise.
31356 (memalign_hook_ini): Likewise.
31357 (__free_hook): Likewise.
31358 (__malloc_hook): Likewise.
31359 (__realloc_hook): Likewise.
31360 (__memalign_hook): Likewise.
31361 (__libc_malloc): Likewise.
31362 (__libc_free): Likewise.
31363 (__libc_realloc): Likewise.
31364 (__libc_memalign): Likewise.
31365 (__libc_valloc): Likewise.
31366 (__libc_pvalloc): Likewise.
31367 (__libc_calloc): Likewise.
31368 (__posix_memalign): Likewise.
31369 * malloc/morecore.c (__sbrk): Likewise.
31370 (__default_morecore): Likewise.
31371
5cc45e10
JM
31372 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31373
dd54b864
JM
31374 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31375 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31376 __malloc_ptrdiff_t.
31377
1ba4f030
JM
31378 * malloc/malloc.h (__malloc_size_t): Remove macro.
31379 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31380 __malloc_size_t.
31381 (old_memalign_hook): Likewise.
31382 (old_realloc_hook): Likewise.
31383 (struct hdr): Likewise.
31384 (flood): Likewise.
31385 (mallochook): Likewise.
31386 (memalignhook): Likewise.
31387 (reallochook): Likewise.
31388 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31389 (tr_old_realloc_hook): Likewise.
31390 (tr_old_memalign_hook): Likewise.
31391 (tr_mallochook): Likewise.
31392 (tr_reallochook): Likewise.
31393 (tr_memalignhook): Likewise.
31394
edf66e57
AZ
313952013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31396
31397 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31398 default_ldbl_pack and using as default implementation.
31399 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31400 implementation.
31401 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31402 redundant definition.
31403 (ldbl_insert_mantissa): Likewise.
31404 (ldbl_canonicalize): Likewise.
31405 (ldbl_nearbyint): Likewise.
31406 (ldbl_pack): Rename to ldbl_pack_ppc.
31407 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31408 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31409 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31410
6d9145d8
SP
314112013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31412
31413 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31414 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31415 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31416 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31418 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31419 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31420 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31421
4dd4e157
AJ
314222013-03-07 Andreas Jaeger <aj@suse.de>
31423
31424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31425 bits/mman-linux.h.
31426
adbb8027
SP
314272013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31428
ce544b5b
SP
31429 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31430 Include mpa.h and declare __MPEXP.
31431 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31432 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31433 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31434 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31435 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31436 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31437 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31438
4cc149fd
SP
31439 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31440 (__slowpow): Use long double EXPL and LOGL functions to
31441 compute POW.
31442 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31443 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31444 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31445 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31446 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31447 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31448
e6ebd4a7
SP
31449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31450 intermediate variable to calculate exponent.
31451 (__sqr): Likewise.
31452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31453 Likewise.
31454 (__sqr): Likewise.
31455
82a9811d
SP
31456 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31457 [!NO__SQR]: Define __sqr.
31458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31459 and NO__SQR. Remove all code except __mul and __sqr. Include
31460 sysdeps/ieee754/dbl-64/mpa.c.
31461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31462
adbb8027
SP
31463 [BZ #12723]
31464 * posix/Makefile (tests): Add tst-pathconf.
31465 * posix/tst-pathconf.c: New test case.
31466 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31467 _PC_PIPE_BUF.
31468 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31469
39120df9
PF
314702013-03-06 Patsy Franklin <pfrankli@redhat.com>
31471
31472 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31473
67525cb8
AJ
314742013-03-06 Andreas Jaeger <aj@suse.de>
31475
664a9ce4
AJ
31476 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31477 definition via __MAP_ANONYMOUS.
31478
8e39047d
AJ
31479 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31480 it's not part of Linux headers.
31481
67525cb8
AJ
31482 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31483 (MAP_HUGE_MASK): Define.
31484
31485 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31486 Define.
31487 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31488 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31489 Define.
31490 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31491 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31492 Define.
31493 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31494 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31495 Define.
31496 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31497
31498 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31499 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31500 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31501 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31502 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31503 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31504
31505 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31506 Handle f2fs.
31507
31508 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31509 Handle f2fs and efivarfs.
31510
31511 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31512 f2fs.
31513
31514 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31515 (EFIVARFS_MAGIC): Add.
31516 (F2FS_LINK_MAX): Add.
31517
e1b42695
PP
315182013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31519
31520 * stdio-common/vfprintf.c: Replace __builtin_expect with
31521 __glibc_unlikely.
31522
2d67d91a
JM
315232013-03-06 Joseph Myers <joseph@codesourcery.com>
31524
31525 [BZ #13550]
31526 * sysdeps/generic/bp-sym.h: Remove file.
31527 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31528 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31529 <bp-sym.h> and <bp-asm.h>.
31530 (__longjmp): Don't use BP_SYM.
31531 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31532 and <bp-asm.h>.
31533 (memcpy): Don't use BP_SYM.
31534 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31535 <bp-sym.h> and <bp-asm.h>.
31536 (memcpy): Don't use BP_SYM.
31537 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31538 <bp-asm.h>.
31539 (memcpy): Don't use BP_SYM.
31540 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31541 <bp-asm.h>.
31542 (memset): Don't use BP_SYM.
31543 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31544 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31545 (__bzero): Don't use BP_SYM.
31546 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31547 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31548 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31549 <bp-sym.h> and <bp-asm.h>.
31550 (memcmp): Don't use BP_SYM. Remove comment about bounded
31551 pointers.
31552 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31553 <bp-sym.h> and <bp-asm.h>.
31554 (memcpy): Don't use BP_SYM.
31555 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31556 <bp-sym.h> and <bp-asm.h>.
31557 (memset): Don't use BP_SYM.
31558 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31559 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31560 (__bzero): Don't use BP_SYM.
31561 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31562 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31563 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31564 <bp-sym.h> and <bp-asm.h>.
31565 (strncmp): Don't use BP_SYM. Remove comment about bounded
31566 pointers.
31567 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31568 <bp-sym.h> and <bp-asm.h>.
31569 (memcpy): Don't use BP_SYM.
31570 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31571 <bp-sym.h> and <bp-asm.h>.
31572 (memset): Don't use BP_SYM.
31573 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31574 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31575 (__bzero): Don't use BP_SYM.
31576 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31577 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31578 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31579 <bp-sym.h> and <bp-asm.h>.
31580 (__memchr): Don't use BP_SYM.
31581 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31582 <bp-sym.h> and <bp-asm.h>.
31583 (memcmp): Don't use BP_SYM. Remove comment about bounded
31584 pointers.
31585 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31586 <bp-sym.h> and <bp-asm.h>.
31587 (memcpy): Don't use BP_SYM.
31588 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31589 <bp-sym.h> and <bp-asm.h>.
31590 (__mempcpy): Don't use BP_SYM.
31591 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31592 <bp-sym.h> and <bp-asm.h>.
31593 (__memrchr): Don't use BP_SYM.
31594 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31595 <bp-sym.h> and <bp-asm.h>.
31596 (memset): Don't use BP_SYM.
31597 (__bzero): Likewise.
31598 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31599 <bp-sym.h> and <bp-asm.h>.
31600 (__rawmemchr): Don't use BP_SYM.
31601 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31602 <bp-sym.h> and <bp-asm.h>.
31603 (__STRCMP): Don't use BP_SYM.
31604 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31605 <bp-sym.h> and <bp-asm.h>.
31606 (strchr): Don't use BP_SYM.
31607 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31608 <bp-sym.h> and <bp-asm.h>.
31609 (__strchrnul): Don't use BP_SYM.
31610 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31611 <bp-sym.h> and <bp-asm.h>.
31612 (strlen): Don't use BP_SYM.
31613 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31614 <bp-sym.h> and <bp-asm.h>.
31615 (strncmp): Don't use BP_SYM. Remove comment about bounded
31616 pointers.
31617 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31618 <bp-sym.h> and <bp-asm.h>.
31619 (__strnlen): Don't use BP_SYM.
31620 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31621 <bp-sym.h> and <bp-asm.h>.
31622 (__GI__setjmp): Don't use BP_SYM.
31623 (_setjmp): Likewise.
31624 (__sigsetjmp): Likewise.
31625 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31626 (L(start_addresses)): Don't use BP_SYM.
31627 (_start): Likewise.
31628 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31629 <bp-asm.h>.
31630 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31631 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31632 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31633 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31634 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31635 <bp-asm.h>.
31636 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31637 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31638 about bounded pointers.
31639 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31640 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31641 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31642 <bp-asm.h>.
31643 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31644 about bounded pointers. Remove GKM FIXME comments.
31645 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31646 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31647 <bp-asm.h>.
31648 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31649 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31650 Remove GKM FIXME comments.
31651 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31652 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31653 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31654 <bp-asm.h>.
31655 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31656 about bounded pointers. Remove GKM FIXME comment.
31657 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31658 and <bp-asm.h>.
31659 (strncmp): Don't use BP_SYM. Remove comment about bounded
31660 pointers.
31661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31662 <bp-sym.h> and <bp-asm.h>.
31663 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31665 <bp-sym.h> and <bp-asm.h>.
31666 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31667 comment.
31668
cdcf361f
PP
316692013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31670
31671 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31672 call free(NULL).
31673
3c4a2b15
DM
316742013-03-05 David S. Miller <davem@davemloft.net>
31675
31676 * po/es.po: Update from translation team.
31677
cdcf361f 316782013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
31679
31680 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31681 <bits/mman-linux.h>.
31682 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31683 is fine.
31684 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31685 <bits/mman-linux.h> to end of file.
31686 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31687 is fine.
31688 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31689 <bits/mman-linux.h> to end of file.
31690 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31691 is fine.
31692 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31693 <bits/mman-linux.h> to end of file.
31694
31695 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31696 (MCL_CURRENT, MCL_FUTURE): Define here.
31697
5f67c04f
AK
316982013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31699
8a4473cc 31700 [BZ #15232]
5f67c04f
AK
31701 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31702 attribute_hidden.
31703 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31704
c3e94a95
AK
317052013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31706
31707 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31708 fourth parameter needed for rt_sigprocmask syscall.
31709 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31710 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31711 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31712 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31713 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31714 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31715
cfb6382a
JM
317162013-03-04 Joseph Myers <joseph@codesourcery.com>
31717
31718 [BZ #13550]
31719 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31720 comment about bounded pointers.
31721 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31722 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31723
539d8e01
AJ
317242013-03-04 Andreas Jaeger <aj@suse.de>
31725
31726 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31727 common definitions.
31728
31729 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31730 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31731 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31732 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31733 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
31734 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31735
2e167a70 317362013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
31737
31738 [BZ #15055]
31739 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31740 __ieee754_sqrl instead of __sqrl.
31741
68508633
JM
317422013-03-01 Joseph Myers <joseph@codesourcery.com>
31743
31744 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31745 * sysdeps/powerpc/fpu_control.h: ... here.
31746 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31747 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31748 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31749 * sysdeps/powerpc/bits/mathinline.h: ... here.
31750
7775448e
RM
317512013-03-01 Roland McGrath <roland@hack.frob.com>
31752
31753 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31754 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31755 to just [NEED_DL_SYSINFO_DSO].
31756 * elf/dl-support.c: Likewise.
31757 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31758 * elf/rtld.c (dl_main): Likewise.
31759 * elf/setup-vdso.h (setup_vdso): Likewise.
31760 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31761 * sysdeps/unix/sysv/linux/dl-sysdep.c
31762 (_dl_discover_osversion): Likewise.
31763
4e9b5995
CD
317642013-03-01 Carlos O'Donell <carlos@redhat.com>
31765
31766 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31767 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31768
e23872c8
SP
317692013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31770
e5c74c63
SP
31771 * NEWS: Mention libm performance improvements and non-x86 PI
31772 futex support.
31773
e23872c8
SP
31774 * csu/libc-start.c (__pthread_initialize_minimal): Change
31775 function arguments.
31776 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31777
b5510883
JM
317782013-02-28 Joseph Myers <joseph@codesourcery.com>
31779
31780 [BZ #13550]
31781 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31782 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31783 <bp-sym.h> and <bp-asm.h>.
31784 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31785 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31786 and <bp-asm.h>.
31787 (memcpy): Don't use BP_SYM.
31788 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31789 <bp-asm.h>.
31790 (__mpn_add_n): Don't use BP_SYM.
31791 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31792 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31793 and <bp-asm.h>.
31794 (__mpn_addmul_1): Don't use BP_SYM.
31795 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31796 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31797 <bp-sym.h>.
31798 (_setjmp): Don't use BP_SYM.
31799 (__novmx_setjmp): Likewise.
31800 (__GI__setjmp): Likewise.
31801 (__vmx_setjmp): Likewise.
31802 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31803 <bp-sym.h>.
31804 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31805 (__bzero): Don't use BP_SYM.
31806 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31807 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31808 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31809 <bp-sym.h> and <bp-asm.h>.
31810 (memcpy): Don't use BP_SYM.
31811 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31812 <bp-sym.h> and <bp-asm.h>.
31813 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31814 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31815 <bp-sym.h> and <bp-asm.h>.
31816 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31817 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31818 <bp-asm.h>.
31819 (__mpn_lshift): Don't use BP_SYM.
31820 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31821 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31822 <bp-asm.h>.
31823 (memset): Don't use BP_SYM.
31824 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31825 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31826 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31827 <bp-asm.h>.
31828 (__mpn_mul_1): Don't use BP_SYM.
31829 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31830 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31831 <bp-sym.h> and <bp-asm.h>.
31832 (memcmp): Don't use BP_SYM.
31833 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31834 <bp-sym.h> and <bp-asm.h>.
31835 (memcpy): Don't use BP_SYM.
31836 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31837 <bp-sym.h> and <bp-asm.h>.
31838 (memset): Don't use BP_SYM.
31839 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31840 <bp-sym.h> and <bp-asm.h>.
31841 (strncmp): Don't use BP_SYM.
31842 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31843 <bp-sym.h> and <bp-asm.h>.
31844 (memcpy): Don't use BP_SYM.
31845 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31846 <bp-sym.h> and <bp-asm.h>.
31847 (memset): Don't use BP_SYM.
31848 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31849 <bp-sym.h> and <bp-asm.h>.
31850 (__memchr): Don't use BP_SYM.
31851 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31852 <bp-sym.h> and <bp-asm.h>.
31853 (memcmp): Don't use BP_SYM.
31854 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31855 <bp-sym.h> and <bp-asm.h>.
31856 (memcpy): Don't use BP_SYM.
31857 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31858 <bp-sym.h> and <bp-asm.h>.
31859 (__mempcpy): Don't use BP_SYM.
31860 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31861 <bp-sym.h> and <bp-asm.h>.
31862 (__memrchr): Don't use BP_SYM.
31863 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31864 <bp-sym.h> and <bp-asm.h>.
31865 (memset): Don't use BP_SYM.
31866 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31867 <bp-sym.h> and <bp-asm.h>.
31868 (__rawmemchr): Don't use BP_SYM.
31869 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31870 <bp-sym.h> and <bp-asm.h>.
31871 (__STRCMP): Don't use BP_SYM.
31872 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31873 <bp-sym.h> and <bp-asm.h>.
31874 (strchr): Don't use BP_SYM.
31875 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31876 <bp-sym.h> and <bp-asm.h>.
31877 (__strchrnul): Don't use BP_SYM.
31878 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31879 <bp-sym.h> and <bp-asm.h>.
31880 (strlen): Don't use BP_SYM.
31881 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31882 <bp-sym.h> and <bp-asm.h>.
31883 (strncmp): Don't use BP_SYM.
31884 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31885 <bp-sym.h> and <bp-asm.h>.
31886 (__strnlen): Don't use BP_SYM.
31887 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31888 <bp-asm.h>.
31889 (__mpn_rshift): Don't use BP_SYM.
31890 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31891 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31892 <bp-sym.h> and <bp-asm.h>.
31893 (__sigsetjmp): Don't use BP_SYM.
31894 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31895 (L(start_addresses)): Don't use BP_SYM.
31896 (_start): Likewise.
31897 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31898 <bp-asm.h>.
31899 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31900 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31901 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31902 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31903 <bp-asm.h>.
31904 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31905 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31906 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31907 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31908 <bp-asm.h>.
31909 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31910 comments.
31911 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31912 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31913 <bp-asm.h>.
31914 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31915 FIXME comments.
31916 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31917 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31918 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31919 <bp-asm.h>.
31920 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31921 comment.
31922 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31923 and <bp-asm.h>.
31924 (strncmp): Don't use BP_SYM,
31925 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31926 <bp-asm.h>.
31927 (__mpn_sub_n): Don't use BP_SYM.
31928 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31929 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31930 and <bp-asm.h>.
31931 (__mpn_submul_1): Don't use BP_SYM.
31932 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31934 <bp-sym.h> and <bp-asm.h>.
31935 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31937 <bp-sym.h> and <bp-asm.h>.
31938 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31939 comment.
31940
8d19fe64
SP
319412013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31942
31943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31944 Use ZK to minimize writes to Z.
31945 (sub_magnitudes): Simplify code a bit.
31946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31947 Use ZK to minimize writes to Z.
31948 (sub_magnitudes): Simplify code a bit.
31949
85bd816a
RM
319502013-02-27 Roland McGrath <roland@hack.frob.com>
31951
31952 * csu/gmon-start.c: Add special exception to license text.
31953
b5977bf2
RH
319542013-02-27 Richard Henderson <rth@redhat.com>
31955
31956 * scripts/config.guess: Update from config.git.
31957 * scripts/config.sub: Likewise.
31958
11d6e2f2
SP
319592013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31960
09c14ed2
SP
31961 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31962
a688864e
SP
31963 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31964
6295157a
SP
31965 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31966
b8de2202
SP
31967 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31968
11d6e2f2
SP
31969 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31970
7e80ddb8
RM
319712013-02-26 Roland McGrath <roland@hack.frob.com>
31972
31973 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31974 [$(build-shared = yes].
7e80ddb8 31975
7da6d9ed
SP
319762013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31977
45f05884
SP
31978 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31979 (__mul): Reduce iterations for calculating mantissa.
31980
2236d359
SP
31981 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31982 MPTWO.
31983 (__mpranred): Likewise.
31984
7da6d9ed
SP
31985 [BZ #15160]
31986 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31987 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31988
b7688c42
PE
319892013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31990
31991 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31992 Define __attribute__.
31993
53a5c423
SP
319942013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31995
31996 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31997 unused.
31998 * posix/regex_internal.h (__attribute): Remove.
31999 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32000 (re_string_context_at): Likewise.
32001 (bitset_not): Use __attribute__ and mark function as possibly
32002 unused.
32003 (bitset_merge): Likewise.
32004 (bitset_mask): Likewise.
32005 (re_string_char_size_at): Likewise.
32006 (re_string_wchar_at): Likewise.
32007 (re_string_elem_size_at): Likewise.
32008
60f5a8b5
SP
320092013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32010
2a983a2e
SP
32011 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32012 code.
32013 (cc32): Likewise.
32014
e69804d1
SP
32015 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32016 (__acr): Likewise.
32017 (__cpy): Likewise.
32018 (norm): Likewise.
32019 (denorm): Likewise.
32020 (__dbl_mp): Likewise.
32021 (add_magnitudes): Likewise.
32022 (sub_magnitudes): Likewise.
32023 (__mul): Likewise.
32024 (__inv): Likewise.
32025
2f22a1e8
SP
32026 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32027 style.
32028
8930ddc7
SP
32029 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32030 style.
32031
dc60cb11
SP
32032 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32033 code.
32034
60f5a8b5
SP
32035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32036 up changes with default code.
32037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32038 Likewise.
32039
b4d1fd33
AM
320402013-02-24 Allan McRae <allan@archlinux.org>
32041
faf6f8bc
AM
32042 * manual/socket.texi (The Internet Namespace): Order menu items
32043 to match that in the file.
32044
b4d1fd33
AM
32045 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32046 node listing of the info page menu.
32047
2366713d
JM
320482013-02-21 Joseph Myers <joseph@codesourcery.com>
32049
32050 [BZ #13550]
32051 * sysdeps/i386/bp-asm.h: Remove file.
32052 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32053 (PARMS): Do not use macros from bp-asm.h.
32054 (S1): Likewise.
32055 (S2): Likewise.
32056 (SIZE): Likewise.
32057 (__mpn_add_n): Do not use BP_SYM
32058 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32059 "bp-asm.h".
32060 (PARMS): Do not use macros from bp-asm.h.
32061 (S1): Likewise.
32062 (SIZE): Likewise.
32063 (__mpn_addmul_1): Do not use BP_SYM
32064 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32065 "bp-asm.h".
32066 (PARMS): Do not use macros from bp-asm.h.
32067 (SIGMSK): Likewise.
32068 (_setjmp): Likewise. Do not use BP_SYM.
32069 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32070 "bp-asm.h".
32071 (PARMS): Do not use macros from bp-asm.h.
32072 (SIGMSK): Likewise.
32073 (setjmp): Likewise. Do not use BP_SYM.
32074 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32075 "bp-asm.h".
32076 (PARMS): Do not use macros from bp-asm.h.
32077 (__frexp): Do not use BP_SYM.
32078 (frexp): Likewise.
32079 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32080 "bp-asm.h".
32081 (PARMS): Do not use macros from bp-asm.h.
32082 (__frexpf): Do not use BP_SYM.
32083 (frexpf): Likewise.
32084 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32085 "bp-asm.h".
32086 (PARMS): Do not use macros from bp-asm.h.
32087 (__frexpl): Do not use BP_SYM.
32088 (frexpl): Likewise.
32089 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32090 "bp-asm.h".
32091 (PARMS): Do not use macros from bp-asm.h.
32092 (__remquo): Do not use BP_SYM.
32093 (remquo): Likewise.
32094 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32095 "bp-asm.h".
32096 (PARMS): Do not use macros from bp-asm.h.
32097 (__remquof): Do not use BP_SYM.
32098 (remquof): Likewise.
32099 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32100 "bp-asm.h".
32101 (PARMS): Do not use macros from bp-asm.h.
32102 (__remquol): Do not use BP_SYM.
32103 (remquol): Likewise.
32104 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32105 "bp-asm.h".
32106 (PARMS): Do not use macros from bp-asm.h.
32107 (DEST): Likewise.
32108 (SRC): Likewise.
32109 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
32110 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32111 "bp-asm.h".
32112 (PARMS): Do not use macros from bp-asm.h.
32113 (strlen): Do not use BP_SYM.
32114 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32115 "bp-asm.h".
32116 (PARMS): Do not use macros from bp-asm.h.
32117 (S1): Likewise.
32118 (S2): Likewise.
32119 (SIZE): Likewise.
32120 (__mpn_add_n): Do not use BP_SYM.
32121 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32122 "bp-asm.h".
32123 (PARMS): Do not use macros from bp-asm.h.
32124 (S1): Likewise.
32125 (SIZE): Likewise.
32126 (__mpn_addmul_1): Do not use BP_SYM.
32127 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32128 weak_alias.
32129 (bzero): Likewise.
32130 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32131 "bp-asm.h".
32132 (PARMS): Do not use macros from bp-asm.h.
32133 (S): Likewise.
32134 (SIZE): Likewise.
32135 (__mpn_lshift): Do not use BP_SYM.
32136 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32137 "bp-asm.h".
32138 (PARMS): Do not use macros from bp-asm.h.
32139 (DEST): Likewise.
32140 (SRC): Likewise.
32141 (LEN): Likewise.
32142 (memcpy): Likewise. Do not use BP_SYM.
32143 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32144 libc_hidden_def and weak_alias.
32145 (mempcpy): Do not use BP_SYM in weak_alias.
32146 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32147 "bp-asm.h".
32148 (PARMS): Do not use macros from bp-asm.h.
32149 (DEST): Likewise.
32150 (LEN): Likewise.
32151 [!BZERO_P] (CHR): Likewise.
32152 (memset): Likewise. Do not use BP_SYM.
32153 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32154 "bp-asm.h".
32155 (PARMS): Do not use macros from bp-asm.h.
32156 (S1): Likewise.
32157 (SIZE): Likewise.
32158 (__mpn_mul_1): Do not use BP_SYM.
32159 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32160 "bp-asm.h".
32161 (PARMS): Do not use macros from bp-asm.h.
32162 (S): Likewise.
32163 (SIZE): Likewise.
32164 (__mpn_rshift): Do not use BP_SYM.
32165 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32166 "bp-asm.h".
32167 (PARMS): Do not use macros from bp-asm.h.
32168 (STR): Likewise.
32169 (CHR): Likewise.
32170 (strchr): Likewise. Do not use BP_SYM.
32171 (index): Do not use BP_SYM in weak_alias.
32172 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32173 "bp-asm.h".
32174 (PARMS): Do not use macros from bp-asm.h.
32175 (DEST): Likewise.
32176 (SRC): Likewise.
32177 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32178 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32179 "bp-asm.h".
32180 (PARMS): Do not use macros from bp-asm.h.
32181 (strlen): Do not use BP_SYM.
32182 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32183 "bp-asm.h".
32184 (PARMS): Do not use macros from bp-asm.h.
32185 (S1): Likewise.
32186 (S2): Likewise.
32187 (SIZE): Likewise.
32188 (__mpn_sub_n): Do not use BP_SYM.
32189 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32190 "bp-asm.h".
32191 (PARMS): Do not use macros from bp-asm.h.
32192 (S1): Likewise.
32193 (SIZE): Likewise.
32194 (__mpn_submul_1): Do not use BP_SYM.
32195 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32196 "bp-asm.h".
32197 (PARMS): Do not use macros from bp-asm.h.
32198 (S1): Likewise.
32199 (S2): Likewise.
32200 (SIZE): Likewise.
32201 (__mpn_add_n): Do not use BP_SYM.
32202 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32203 weak_alias.
32204 (bzero): Likewise.
32205 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32206 "bp-asm.h".
32207 (PARMS): Do not use macros from bp-asm.h.
32208 (BLK2): Likewise.
32209 (LEN): Likewise.
32210 (memcmp): Do not use BP_SYM.
32211 (bcmp): Do not use BP_SYM in weak_alias.
32212 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32213 "bp-asm.h".
32214 (PARMS): Do not use macros from bp-asm.h.
32215 (DEST): Likewise.
32216 (SRC): Likewise.
32217 (LEN): Likewise.
32218 (memcpy): Likewise. Do not use BP_SYM.
32219 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32220 "bp-asm.h".
32221 (PARMS): Do not use macros from bp-asm.h.
32222 (DEST): Likewise.
32223 (SRC): Likewise.
32224 (LEN): Likewise.
32225 (memmove): Likewise. Do not use BP_SYM.
32226 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32227 "bp-asm.h".
32228 (PARMS): Do not use macros from bp-asm.h.
32229 (DEST): Likewise.
32230 (SRC): Likewise.
32231 (LEN): Likewise.
32232 (__mempcpy): Likewise. Do not use BP_SYM.
32233 (mempcpy): Do not use BP_SYM in weak_alias.
32234 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32235 "bp-asm.h".
32236 (PARMS): Do not use macros from bp-asm.h.
32237 (DEST): Likewise.
32238 (LEN): Likewise.
32239 [!BZERO_P] (CHR): Likewise.
32240 (memset): Likewise. Do not use BP_SYM.
32241 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32242 "bp-asm.h".
32243 (PARMS): Do not use macros from bp-asm.h.
32244 (STR2): Likewise.
32245 (strcmp): Do not use BP_SYM.
32246 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32247 "bp-asm.h".
32248 (PARMS): Do not use macros from bp-asm.h.
32249 (STR): Likewise.
32250 (DELIM): Likewise.
32251 [USE_AS_STRTOK_R] (SAVE): Likewise.
32252 (FUNCTION): Likewise. Do not use BP_SYM.
32253 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32254 aliases.
32255 (strtok_r): Likewise.
32256 (__GI___strtok_r): Likewise.
32257 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32258 (PARMS): Do not use macros from bp-asm.h.
32259 (S): Likewise.
32260 (SIZE): Likewise.
32261 (__mpn_lshift): Do not use BP_SYM.
32262 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32263 (PARMS): Do not use macros from bp-asm.h.
32264 (STR): Likewise.
32265 (CHR): Likewise.
32266 (__memchr): Do not use BP_SYM.
32267 (memchr): Do not use BP_SYM in weak_alias.
32268 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32269 (PARMS): Do not use macros from bp-asm.h.
32270 (BLK2): Likewise.
32271 (LEN): Likewise.
32272 (memcmp): Do not use BP_SYM.
32273 (bcmp): Do not use BP_SYM in weak_alias.
32274 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32275 (PARMS): Do not use macros from bp-asm.h.
32276 (S1): Likewise.
32277 (SIZE): Likewise.
32278 (__mpn_mul_1): Do not use BP_SYM.
32279 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32280 "bp-asm.h".
32281 (PARMS): Do not use macros from bp-asm.h.
32282 (STR): Likewise.
32283 (CHR): Likewise.
32284 (__rawmemchr): Do not use BP_SYM.
32285 (rawmemchr): Do not use BP_SYM in weak_alias.
32286 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32287 (PARMS): Do not use macros from bp-asm.h.
32288 (S): Likewise.
32289 (SIZE): Likewise.
32290 (__mpn_rshift): Do not use BP_SYM.
32291 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32292 (PARMS): Do not use macros from bp-asm.h.
32293 (SIGMSK): Likewise.
32294 (__sigsetjmp): Likewise. Do not use BP_SYM.
32295 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32296 (_start): Do not use BP_SYM.
32297 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32298 (PARMS): Do not use macros from bp-asm.h.
32299 (DEST): Likewise.
32300 (SRC): Likewise.
32301 (__stpcpy): Likewise. Do not use BP_SYM.
32302 (stpcpy): Do not use BP_SYM in weak_alias.
32303 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32304 "bp-asm.h".
32305 (PARMS): Do not use macros from bp-asm.h.
32306 (DEST): Likewise.
32307 (SRC): Likewise.
32308 (LEN): Likewise.
32309 (__stpncpy): Likewise. Do not use BP_SYM.
32310 (stpncpy): Do not use BP_SYM in weak_alias.
32311 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32312 (PARMS): Do not use macros from bp-asm.h.
32313 (STR): Likewise.
32314 (CHR): Likewise.
32315 (strchr): Likewise. Do not use BP_SYM.
32316 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32317 "bp-asm.h".
32318 (PARMS): Do not use macros from bp-asm.h.
32319 (STR): Likewise.
32320 (CHR): Likewise.
32321 (__strchrnul): Likewise. Do not use BP_SYM.
32322 (strchrnul): Do not use BP_SYM in weak_alias.
32323 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32324 "bp-asm.h".
32325 (PARMS): Do not use macros from bp-asm.h.
32326 (STOP): Likewise.
32327 (strcspn): Do not use BP_SYM.
32328 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32329 "bp-asm.h".
32330 (PARMS): Do not use macros from bp-asm.h.
32331 (STR): Likewise.
32332 (STOP): Likewise.
32333 (strpbrk): Likewise. Do not use BP_SYM.
32334 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32335 "bp-asm.h".
32336 (PARMS): Do not use macros from bp-asm.h.
32337 (STR): Likewise.
32338 (CHR): Likewise.
32339 (strrchr): Likewise. Do not use BP_SYM.
32340 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32341 (PARMS): Do not use macros from bp-asm.h.
32342 (SKIP): Likewise.
32343 (strspn): Do not use BP_SYM.
32344 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32345 (PARMS): Do not use macros from bp-asm.h.
32346 (STR): Likewise.
32347 (DELIM): Likewise.
32348 (SAVE): Likewise.
32349 (FUNCTION): Likewise. Do not use BP_SYM.
32350 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32351 aliases.
32352 (strtok_r): Likewise.
32353 (__GI___strtok_r): Likewise.
32354 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32355 (PARMS): Do not use macros from bp-asm.h.
32356 (S1): Likewise.
32357 (S2): Likewise.
32358 (SIZE): Likewise.
32359 (__mpn_sub_n): Do not use BP_SYM.
32360 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32361 "bp-asm.h".
32362 (PARMS): Do not use macros from bp-asm.h.
32363 (S1): Likewise.
32364 (SIZE): Likewise.
32365 (__mpn_submul_1): Do not use BP_SYM.
32366 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32367 <bp-sym.h>.
32368 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32369 and <bp-asm.h>.
32370 (PARMS): Do not use macros from bp-asm.h.
32371 (FLAGS): Likewise.
32372 (PTID): Likewise.
32373 (TLS): Likewise.
32374 (CTID): Likewise.
32375 (__clone): Do not use BP_SYM.
32376 (clone): Do not use BP_SYM in weak_alias.
32377 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32378 and <bp-asm.h>.
32379 (PARMS): Do not use macros from bp-asm.h.
32380 (LEN): Likewise.
32381 (__mmap64): Do not use BP_SYM.
32382 (mmap64): Do not use BP_SYM in weak_alias.
32383 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32384 <bp-sym.h> and <bp-asm.h>.
32385 (PARMS): Do not use macros from bp-asm.h.
32386 (__posix_fadvise64_l64): Do not use BP_SYM.
32387 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32388 (PARMS): Do not use macros from bp-asm.h.
32389 (NSOPS): Likewise.
32390 (semtimedop): Do not use BP_SYM.
32391 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32392 and <bp-asm.h>.
32393
582a3cff
AM
323942013-02-21 Allan McRae <allan@archlinux.org>
32395
32396 * manual/message.texi (Charset conversion in gettext):
32397 Move @end statement to beginning of line.
32398
bab8a695
SP
323992013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32400
80945231
SP
32401 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32402 static.
32403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32404 Likewise.
32405
bab8a695
SP
32406 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32407 (denorm): Likewise.
32408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32410
e21d7aa7
AK
324112013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32412
32413 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32414 tail-call to the resolved function if pltexit isn't needed.
32415
4c7a4263
SP
324162013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32417
32418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32419 or Y being zero as being unlikely.
32420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32421 Likewise.
32422
41f49342
CD
324232013-02-20 Carlos O'Donell <carlos@redhat.com>
32424
32425 * manual/nss.texi (System Databases and Name Service Switch):
32426 Remove frobnicate @pxref.
32427
50022a93
TS
324282013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32429
32430 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32431 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32432
08cbd996
PM
324332013-02-20 Petr Machata <pmachata@redhat.com>
32434
32435 * elf/elf.h (R_ARM_TARGET1): New macro.
32436 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32437 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32438 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32439 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32440 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32441 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32442 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32443 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32444 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32445 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32446 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32447 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32448 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32449 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32450 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32451 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32452 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32453 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32454 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32455 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32456 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32457 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32458 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32459 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32460 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32461 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32462 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32463 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32464 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32465 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32466 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32467 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32468 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32469 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32470 (R_ARM_THM_GOT_BREL12): Likewise.
32471 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32472 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32473 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32474 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32475 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32476 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32477 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32478 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32479 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32480
c7b275d6
TS
324812013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32482
32483 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32484 __attribute_used__ to __attribute__ ((unused)).
32485
20cd7fb3
SP
324862013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32487
32488 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32489 powerpc mpa.c.
32490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32491 comment formatting.
32492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32493
92945b52
JM
324942013-02-19 Joseph Myers <joseph@codesourcery.com>
32495
32496 [BZ #13550]
32497 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32498 Remove macro.
32499 (ENTER): Remove both macro definitions.
32500 (LEAVE): Likewise.
32501 (CHECK_BOUNDS_LOW): Likewise.
32502 (CHECK_BOUNDS_HIGH): Likewise.
32503 (CHECK_BOUNDS_BOTH): Likewise.
32504 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32505 (RETURN_BOUNDED_POINTER): Likewise.
32506 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32507 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32508 (POP_ERRNO_LOCATION_RETURN): Likewise.
32509 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32510 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32511 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32512 macros.
32513 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32514 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32515 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32516 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32517 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32518 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32519 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32520 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32521 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32522 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32523 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32524 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32525 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32526 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32527 removed macros.
32528 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32529 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32530 macros.
32531 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32532 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32533 * sysdeps/i386/i586/memset.S (memset): Likewise.
32534 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32535 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32536 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32537 macros.
32538 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32539 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32540 Change uses of L(2) to L(out).
32541 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32542 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32543 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32544 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32545 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32546 removed macros.
32547 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32548 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32549 macros.
32550 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32551 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32552 (RETURN): Do not use macro LEAVE.
32553 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32554 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32555 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32556 * sysdeps/i386/i686/memset.S (memset): Likewise.
32557 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32558 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32559 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32560 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32561 Likewise.
32562 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32563 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32564 L(1_2) and L(1_3) into L(1).
32565 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32566 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32567 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32568 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32569 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32570 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32571 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32572 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32573 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32574 macros.
32575 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32576 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32577 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32578 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32579 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32580 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32581 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32582 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32583 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32584 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32585 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32586 * sysdeps/i386/strspn.S (strspn): Likewise.
32587 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32588 conditional code.
32589 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32590 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32591 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32592 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32593 L(1_3) into L(1_1).
32594 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32595 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32596 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32597 macros.
32598 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32599
2389741a
JJ
326002013-02-19 Jakub Jelinek <jakub@redhat.com>
32601
32602 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32603 macro.
32604
2016b3cd
SP
326052013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32606
e4f22324
SP
32607 * math/atest-exp.c (exp_mpn): Remove ROUND.
32608 * math/atest-exp2.c (exp_mpn): Likewise.
32609 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32610
2016b3cd
SP
32611 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32612 * stdlib/tst-tls-atexit-lib.c: Likewise.
32613 * stdlib/tst-tls-atexit.c: Likewise.
32614
4be9b544
MF
326152013-02-18 Mike Frysinger <vapier@gentoo.org>
32616
32617 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32618 and __attribute_alloc_size__.
32619
2f62b9ee
MF
326202013-02-18 Mike Frysinger <vapier@gentoo.org>
32621
32622 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32623 __attribute_alloc_size__.
32624 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32625 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32626
6ff444c4
MF
326272013-02-18 Mike Frysinger <vapier@gentoo.org>
32628
32629 * include/programs/xmalloc.h: New file.
32630 * catgets/gencat.c: Include it.
32631 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32632 * elf/pldd.c: Likewise.
32633 * iconv/iconv_charmap.c: Likewise.
32634 * iconv/iconvconfig.c: Likewise.
32635 * iconv/strtab.c: Likewise.
32636 * locale/programs/locale.c: Likewise.
32637 * locale/programs/localedef.h: Likewise.
32638 * locale/programs/simple-hash.c: Likewise.
32639 * nscd/nscd.h: Likewise.
32640 * nss/makedb.c: Likewise.
32641 * sysdeps/generic/ldconfig.h: Likewise.
32642
be179c8a
SP
326432013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32644
ba384f6e
SP
32645 * Versions.def: Add GLIBC_2.18.
32646 * include/link.h (struct link_map): New member l_tls_dtor_count.
32647 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32648 (__call_tls_dtors): Likewise.
32649 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32650 __cxa_thread_atexit_impl.
32651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32652 Likewise.
32653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32654 Likewise.
32655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32656 Likewise.
32657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32658 Likewise.
32659 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32661 Likewise.
32662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32663 Likewise.
32664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32666 Likewise.
32667 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32668 (tests): Add test case tst-tls-atexit.
32669 (modules-names): Add shared library for tst-tls-atexit.
85891aca 32670 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
32671 (GLIBC_PRIVATE): Add __call_tls_dtors.
32672 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32673 for libstdc++.
32674 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32675 * stdlib/tst-tls-atexit.c: New test case.
32676 * stdlib/tst-tls-atexit-lib.c: New test case.
32677
ffaa74cf 32678 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 32679
be179c8a
SP
32680 * elf/Versions (ld): Add _dl_find_dso_for_object.
32681 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32682 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32683 (dl_open_worker): Use _dl_find_dso_for_object.
32684 * elf/dl-sym.c (do_sym): Likewise.
32685 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32686
f78b5caa
AK
326872013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32688
32689 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32690 Syntactic changes only.
32691 (_dl_runtime_profile): Do a tail-call to the resolved function.
32692
29691210
JM
326932013-02-17 Joseph Myers <joseph@codesourcery.com>
32694
32695 [BZ #13550]
32696 * sysdeps/x86_64/bp-asm.h: Remove file.
32697 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32698 <bp-sym.h> and <bp-asm.h>.
32699 (__clone): Do not use BP_SYM.
32700 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32701 <bp-sym.h> and <bp-asm.h>.
32702 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32703 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32704 "bp-asm.h".
32705 (_setjmp): Do not use BP_SYM.
32706 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32707 "bp-asm.h".
32708 (setjmp): Do not use BP_SYM.
32709 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32710 libc_hidden_def.
32711 (mempcpy): Do not use BP_SYM in weak_alias.
32712 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32713 "bp-asm.h".
32714 (strchr): Do not use BP_SYM.
32715 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32716 "bp-asm.h".
32717 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32718 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32719 (_start): Do not use BP_SYM.
32720 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32721 "bp-asm.h".
32722 (strcat): Do not use BP_SYM.
32723 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32724 "bp-asm.h".
32725 (STRCMP): Do not use BP_SYM.
32726 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32727 "bp-asm.h".
32728 (STRCPY): Do not use BP_SYM.
32729 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32730 "bp-asm.h".
32731 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32732 "bp-asm.h".
32733 (FUNCTION): Do not use BP_SYM.
32734 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32735 weak_alias.
32736 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32737
f238fd19
AJ
327382013-02-17 Andreas Jaeger <aj@suse.de>
32739
32740 * time/Versions: Sort entries.
32741 * string/Versions: Likewise.
32742 * resolv/Versions: Likewise.
32743 * posix/Versions: Likewise.
32744 * iconv/Versions: Likewise.
32745 * elf/Versions: Likewise.
32746 * wcsmbs/Versions: Likewise.
32747
bd07f23c 327482013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 32749
22af19f9
SP
32750 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32751 loop termination condition.
32752
4709fe76
SP
32753 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32754 variable to calculate EZ.
32755 (__sqr): Likewise.
2d0e0f29
SP
32756
32757 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32758 the lower precision input.
32759
daaa7713
JM
327602013-02-15 Joseph Myers <joseph@codesourcery.com>
32761
32762 [BZ #13550]
32763 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32764 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32765 (run-via-rtld-prefix): Do not handle %-bp tests.
32766 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32767 (all-object-suffixes): Remove .ob.
32768 (bppfx): Remove variable.
32769 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32770 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32771 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32772 [$(build-bounded) = yes] (libtype.ob): Likewise.
32773 * Makerules (elide-routines.ob): Remove variable.
32774 (do-tests-clean): Do not handle *-bp.out.
32775 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32776 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32777 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32778 (tests): Do not include $(tests-bp.out).
32779 (xtests): Do not include $(xtests-bp.out).
32780 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32781 [$(build-bounded) = yes] ($(addprefix
32782 $(objpfx),$(binaries-bounded))): Remove rule.
32783 ($(objpfx)%-bp.out): Remove rule.
32784 * config.make.in (build-bounded): Remove variable.
32785 * crypt/Makefile [$(build-bounded) = yes]
32786 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32787 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32788 append to variable.
32789 [$(build-bounded) = yes] (install-lib): Likewise.
32790 [$(build-bounded) = yes] (generated): Likewise.
32791 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32792 Remove rule.
32793 * intl/Makefile [$(build-bounded) = yes]
32794 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32795 * math/Makefile [$(build-bounded) = yes]
32796 ($(tests:%=$(objpfx)%-bp): Likewise.
32797 * misc/Makefile [$(build-bounded) = yes]
32798 ($(objpfx)tst-tsearch-bp): Likewise.
32799 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32800 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32801 Remove dependency.
32802 * string/Makefile (o-objects.ob): Remove variable.
32803 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32804 (CFLAGS-.ob): Remove variable.
32805 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32806 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32807 both definitions of variable.
32808 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32809 (ASFLAGS-.ob): Remove variable.
32810
e97ed6dd
JM
328112013-02-14 Joseph Myers <joseph@codesourcery.com>
32812
2bdd4ca6
JM
32813 [BZ #13550]
32814 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32815 Remove __BOUNDED_POINTERS__ from condition.
32816 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32817 * string/bits/string2.h [!__NO_STRING_INLINES &&
32818 !__BOUNDED_POINTERS__]: Likewise.
32819 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32820 Likewise.
32821 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32822 Remove conditional code.
32823 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32824 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32825 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32826 condition.
32827
e97ed6dd
JM
32828 [BZ #13550]
32829 * csu/libc-start.c: Do not include <bp-sym.h>.
32830 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32831 * elf/dl-open.c: Do not include <bp-sym.h>.
32832 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32833 * math/fegetenv.c: Do not include <bp-sym.h>.
32834 (fegetenv): Do not use BP_SYM in versioned symbols.
32835 * nptl/sysdeps/pthread/bits/libc-lockP.h
32836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32837 <bp-sym.h>.
32838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32839 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32841 (__pthread_mutex_destroy): Likewise.
32842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32843 (__pthread_mutex_lock): Likewise.
32844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32845 (__pthread_mutex_trylock): Likewise.
32846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32847 (__pthread_mutex_unlock): Likewise.
32848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32849 (__pthread_mutexattr_init): Likewise.
32850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32851 (__pthread_mutexattr_destroy): Likewise.
32852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32853 (__pthread_mutexattr_settype): Likewise.
32854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32855 (__pthread_rwlock_init): Likewise.
32856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32857 (__pthread_rwlock_destroy): Likewise.
32858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32859 (__pthread_rwlock_rdlock): Likewise.
32860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32861 (__pthread_rwlock_tryrdlock): Likewise.
32862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32863 (__pthread_rwlock_wrlock): Likewise.
32864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32865 (__pthread_rwlock_trywrlock): Likewise.
32866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32867 (__pthread_rwlock_unlock): Likewise.
32868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32869 (__pthread_key_create): Likewise.
32870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32871 (__pthread_setspecific): Likewise.
32872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32873 (__pthread_getspecific): Likewise.
32874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32875 Likewise.
32876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32877 (_pthread_cleanup_push_defer): Likewise.
32878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32879 (_pthread_cleanup_pop_restore): Likewise.
32880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32881 (pthread_setcancelstate): Likewise.
32882 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32883 <bp-sym.h>.
32884 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32885 (memchr): Do not use BP_SYM in weak_alias.
32886 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32887 (fegetenv): Do not use BP_SYM in versioned symbols.
32888 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32889 (fesetenv): Do not use BP_SYM in versioned symbols.
32890 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32891 (feupdateenv): Do not use BP_SYM in versioned symbols.
32892 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32893 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32894 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32895 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32896 (open64): Do not use BP_SYM in weak_alias.
32897 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32898 (fegetenv): Do not use BP_SYM in versioned symbols.
32899 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32900 (fesetenv): Do not use BP_SYM in versioned symbols.
32901 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32902 (feupdateenv): Do not use BP_SYM in versioned symbols.
32903 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32904 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32905 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32906 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32907 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32908 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32909 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32910 <bp-sym.h>.
32911 (__libc_start_main): Do not use BP_SYM.
32912
d6752ccd
SP
329132013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32914
cb57ce60
SP
32915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32916 redundant return line.
32917 (norm): Likewise.
32918 (denorm): Likewise.
32919 (dbl_mp): Likewise.
32920 (sub_magnitudes): Likewise.
32921 (__add): Likewise.
32922 (__sub): Likewise.
32923 (__mul): Likewise.
32924 (__inv): Likewise.
32925 (__dvd): Likewise.
32926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32927 (norm): Likewise.
32928 (denorm): Likewise.
32929 (dbl_mp): Likewise.
32930 (sub_magnitudes): Likewise.
32931 (__add): Likewise.
32932 (__sub): Likewise.
32933 (__mul): Likewise.
32934 (__inv): Likewise.
32935 (__dvd): Likewise.
32936
f414520d
SP
32937 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32938 instead of __mul.
32939 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32940 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32941 (cc32): Likewise.
32942
d6752ccd
SP
32943 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32944 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32945 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32946 of __mul for squares.
32947 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32948 function
32949 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32950 Likewise.
32951 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32952 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32953
70d9946a
JM
329542013-02-13 Joseph Myers <joseph@codesourcery.com>
32955
32956 [BZ #13550]
32957 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32958 code.
32959 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32960 prototype or function definition. Rename ubp_* variables and
32961 parameters. Remove argv definitions conditional on
32962 [__BOUNDED_POINTERS__].
32963 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32964 * elf/dl-runtime.c (_dl_fixup): Likewise.
32965 * include/set-hooks.h (RUN_HOOK): Likewise.
32966 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32967 definition.
32968 * string/strcpy.c (strcpy): Do not use __unbounded.
32969 * sysdeps/generic/frame.h (struct layout): Likewise.
32970 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32971 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32972 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32973 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32974 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32975 (__backtrace): Likewise.
32976 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32977 use __ptrvalue.
32978 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32979 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32980 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32981 Likewise.
32982 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32983 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32984 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32985 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32986 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32987 Do not use __unbounded.
32988 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32989 Rename __unboundedrlimits parameter to rlimits in prototype.
32990 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32991 Do not use __unbounded.
32992 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32993 not use __ptrvalue.
32994 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32995 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32996 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32997 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32998 __ptrvalue or __unbounded.
32999 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33000 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33001 use __unbounded.
33002 (__new_msgctl): Do not use __ptrvalue.
33003 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33004 __unbounded.
33005 (__libc_msgrcv): Do not use __ptrvalue.
33006 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33007 startup_info): Do not use __unbounded.
33008 (__libc_start_main): Likewise. Rename ubp_* variables and
33009 parameters. Remove argv definitions conditional on
33010 [__BOUNDED_POINTERS__].
33011 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33012 __ptrvalue.
33013 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33014 use __unbounded.
33015 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33016 or __ptrvalue.
33017 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33018 use __unbounded.
33019 (__new_shmctl): Do not use __ptrvalue.
33020 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33021 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33022 Likewise.
33023 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33024 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33025 (__libc_sigaction): Likewise.
33026 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33027 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33028 Likewise.
33029 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33030
cc7834d6
OB
330312013-02-13 Ondřej Bílka <neleai@seznam.cz>
33032
ffb1ec7b 33033 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
33034
33035 * string/mempcpy.c: Implement by calling memcpy.
33036
bdf02814
SP
330372013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33038
c2af38aa
SP
33039 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33040
4e92d59e
SP
33041 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33042 evaluation.
33043
909279a5
SP
33044 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33045 values in the mantissa.
33046
bdf02814
SP
33047 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33048 minimize writes to Z.
33049 (sub_magnitudes): Simplify code a bit.
33050
cd525923
RM
330512013-02-12 Roland McGrath <roland@hack.frob.com>
33052
33053 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33054 from the message. The linker prefixes all warnings with that already.
33055
7e2f0d2d
AS
330562013-02-12 Andreas Schwab <schwab@suse.de>
33057
a445af0b
AS
33058 [BZ #15078]
33059 * posix/regexec.c (extend_buffers): Add parameter min_len.
33060 (check_matching): Pass minimum needed length.
33061 (clean_state_log_if_needed): Likewise.
33062 (get_subexp): Likewise.
33063 * posix/Makefile (tests): Add bug-regex34.
33064 (bug-regex34-ENV): Define.
33065 * posix/bug-regex34.c: New file.
33066
7e2f0d2d
AS
33067 [BZ #11561]
33068 * posix/regcomp.c (parse_bracket_exp): When looking up collating
33069 elements compare against the byte sequence of it, not its name.
33070 * posix/Makefile (tests): Add bug-regex35.
33071 (bug-regex35-ENV): Define.
33072 * posix/bug-regex35.c: New file.
33073
a175b684
TV
330742013-02-11 Tom de Vries <tom@codesourcery.com>
33075
33076 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
33077 comment.
33078 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33079 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33080 (CHECK_EOL): Add undef.
33081
310998fe 330822013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
33083
33084 * bits/stdlib-bsearch.h: New file.
33085 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 33086 * stdlib/stdlib.h: Likewise.
41eda41d 33087
8ded91fb
RM
330882013-02-11 Roland McGrath <roland@hack.frob.com>
33089
33090 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33091 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33092 declaration.
33093 * manual/search.texi (Array Search Function): Add missing const in
33094 lfind prototype.
33095 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33096 declaration to use rlim_t.
33097 (Basic Scheduling Functions): Remove erroneous const from
33098 sched_getparam prototype. Remove erroneous * from
33099 sched_get_priority_max and sched_get_priority_min prototypes.
33100 (Resource Usage): Fix summary @comment on vtimes to refer to
33101 sys/vtimes.h rather than vtimes.h.
33102 Add missing *s in vtimes prototype.
33103 (Limits on Resources): Fix ulimit prototype to return long int.
33104 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33105 prototypes to use long int rather than double.
33106 (BSD Random): Fix initstate and setstate to use char *, not void *.
33107 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33108 prototype to make second argument 'struct aiocb64 *const[]'.
33109 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33110 (Status of AIO Operations): Remove erroneous const in aio_return and
33111 aio_return64 prototypes.
33112 (Synchronizing I/O): Fix sync prototype to return void.
33113 * manual/startup.texi (Suboptions): Remove an erroneous const in
33114 getsubopt prototype.
33115 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33116 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33117 use size_t rather than int.
33118 (Scanning All Users): Likewise for getpwent_r.
33119 (Setting Groups): Add missing const to setgroups prototype.
33120 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33121 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33122 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33123 'const void *' rather than 'const char *'.
33124 (Host Address Functions): Likewise for inet_ntop.
33125 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33126 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33127 ssize_t for return value.
33128 (Sending Data): Likewise for send, sendto, sendmsg.
33129 (Socket Option Functions): Add a missing const in setsockopt prototype.
33130 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33131 use wchar_t for the argument.
33132 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33133 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33134 take no arguments.
33135 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33136 double/float/long double for second argument.
33137 Fix return types of significand, significandf, significandl.
33138 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33139 argument in fchmod prototype.
33140 (File Owner): Use uid_t and gid_t in fchown prototype.
33141 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33142 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33143 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33144 use 'const struct dirent **' as argument types to CMP function pointer
33145 argument.
33146 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33147 (File Times): Fix summary magic @comment for struct utimbuf and utime
33148 to refer to utime.h, not time.h.
33149 * manual/string.texi (Argz Functions): Add missing const in
33150 argz_extract and argz_next prototypes.
33151 (Finding Tokens in a String): Likewise for basename.
33152 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33153 (Copying and Concatenation): Fix typo in wmemmove prototype.
33154 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33155 (Signal Stack): Remove erroneous const in sigstack prototype.
33156 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33157 prototype.
33158 (Simple Calendar Time): Likewise for stime.
33159 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33160 prototype.
33161 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33162 say sys/sysctl.h instead.
33163 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33164 and vsyslog prototypes.
33165
fe77fe6d
TV
331662013-02-11 Tom de Vries <tom@codesourcery.com>
33167
33168 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33169 Remove.
33170
3a09b620
RM
331712013-02-11 Roland McGrath <roland@hack.frob.com>
33172
33173 * misc/sys/mman.h: Fix typo in mremap comment.
33174
550a0b89
RM
331752013-02-08 Roland McGrath <roland@hack.frob.com>
33176
33177 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33178 the '\0' terminator.
33179
a2da1673
JM
331802013-02-08 Joseph Myers <joseph@codesourcery.com>
33181
33182 [BZ #13550]
33183 * debug/segfault.c: Don't include <bp-checks.h>.
33184 * sysdeps/generic/bp-checks.h: Remove file.
33185 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33186 (__GETDENTS): Don't use CHECK_N.
33187 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33188 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33189 (__getgroups): Don't use CHECK_N.
33190 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33191 (setgroups): Don't use CHECK_N.
33192 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33193 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33194 (__libc_msgrcv): Don't use CHECK_N.
33195 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33196 (__libc_msgsnd): Don't use CHECK_N.
33197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33198 <bp-checks.h>.
33199 (__libc_pread): Don't use CHECK_N.
33200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33201 include <bp-checks.h>.
33202 (__libc_pread64): Don't use CHECK_N.
33203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33204 include <bp-checks.h>.
33205 (__libc_pwrite): Don't use CHECK_N.
33206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33207 include <bp-checks.h>.
33208 (__libc_pwrite64): Don't use CHECK_N.
33209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33210 <bp-checks.h>.
33211 (__libc_pread): Don't use CHECK_N.
33212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33213 include <bp-checks.h>.
33214 (__libc_pread64): Don't use CHECK_N.
33215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33216 include <bp-checks.h>.
33217 (__libc_pwrite): Don't use CHECK_N.
33218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33219 include <bp-checks.h>.
33220 (__libc_pwrite64): Don't use CHECK_N.
33221 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33222 (do_pread): Don't use CHECK_N.
33223 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33224 (do_pread64): Don't use CHECK_N.
33225 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33226 (do_pwrite): Don't use CHECK_N.
33227 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33228 (do_pwrite64): Don't use CHECK_N.
33229 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33230 (__libc_readv): Don't use CHECK_N.
33231 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33232 (semop): Don't use CHECK_N.
33233 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33234 <bp-checks.h>.
33235 (semtimedop): Don't use CHECK_N.
33236 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33237 (__libc_pread): Don't use CHECK_N.
33238 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33239 <bp-checks.h>.
33240 (__libc_pread64): Don't use CHECK_N.
33241 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33242 <bp-checks.h>.
33243 (__libc_pwrite): Don't use CHECK_N.
33244 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33245 <bp-checks.h>.
33246 (__libc_pwrite64): Don't use CHECK_N.
33247 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33248 <bp-checks.h>.
33249 (__libc_msgrcv): Don't use CHECK_N.
33250 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33251 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33252 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33253 (__libc_writev): Don't use CHECK_N.
33254
b84660a8
RM
332552013-02-08 Roland McGrath <roland@hack.frob.com>
33256
7f3e75f8
RM
33257 * string/strcpy.c: Removed unused variable.
33258
b84660a8
RM
33259 * Makeconfig (+sysdep-includes): Define with := rather than =.
33260 Use an existing include/ subdir of each sysdeps dir before it.
33261
471514d3
CD
332622013-02-08 Carlos O'Donell <carlos@redhat.com>
33263
33264 * nscd/connection.c (register_traced_file): Comment function.
33265 [HAVE_INOTIFY] (union __inev): Define.
33266 [HAVE_INOTIFY] (inotify_check_files): New function.
33267 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33268 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33269 clear_db_cache.
33270 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33271
b2d3c3be
CD
332722013-02-08 Carlos O'Donell <carlos@redhat.com>
33273
33274 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33275 loaded if not already and that a failure is permanent.
33276
b39949d2
CD
332772013-02-08 Carlos O'Donell <carlos@redhat.com>
33278
ddacd1db 33279 [BZ #15006]
b39949d2
CD
33280 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33281 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33282
b2c9eff4
JM
332832013-02-08 Joseph Myers <joseph@codesourcery.com>
33284
f3aae3f3
JM
33285 [BZ #13550]
33286 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33287 (CHECK_1_NULL_OK): Likewise.
33288 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33289 (__fxstat): Do not use CHECK_1.
33290 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33291 <bp-checks.h>.
33292 (___fxstat64): Do not use CHECK_1.
33293 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33294 <bp-checks.h>.
33295 (__fxstatat): Do not use CHECK_1.
33296 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33297 <bp-checks.h>.
33298 (__fxstatat64): Do not use CHECK_1.
33299 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33300 <bp-checks.h>.
33301 (__fxstat): Do not use CHECK_1.
33302 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33303 <bp-checks.h>.
33304 (__fxstatat): Do not use CHECK_1.
33305 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33306 <bp-checks.h>.
33307 (__getresgid): Do not use CHECK_1.
33308 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33309 <bp-checks.h>.
33310 (__getresuid): Do not use CHECK_1.
33311 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33312 <bp-checks.h>.
33313 (__lxstat): Do not use CHECK_1.
33314 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33315 <bp-checks.h>.
33316 (__old_msgctl): Do not use CHECK_1.
33317 (__new_msgctl): Likewise.
33318 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33319 <bp-checks.h>.
33320 (__new_setrlimit): Do not use CHECK_1.
33321 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33322 <bp-checks.h>.
33323 (__old_shmctl): Do not use CHECK_1.
33324 (__new_shmctl): Likewise.
33325 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33326 <bp-checks.h>.
33327 (__xstat): Do not use CHECK_1.
33328 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33329 (__lxstat): Do not use CHECK_1.
33330 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33331 <bp-checks.h>.
33332 (___lxstat64): Do not use CHECK_1.
33333 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33334 (__old_msgctl): Do not use CHECK_1.
33335 (__new_msgctl): Likewise.
33336 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33337 <bp-checks.h>.
33338 (__gettimeofday): Do not use CHECK_1.
33339 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33340 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33341 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33342 <bp-checks.h>.
33343 (__gettimeofday): Do not use CHECK_1.
33344 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33345 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33346 (__new_shmctl): Do not use CHECK_1.
33347 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33348 <bp-checks.h>.
33349 (do_sigtimedwait): Do not use CHECK_1.
33350 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33351 <bp-checks.h>.
33352 (do_sigwaitinfo): Do not use CHECK_1.
33353 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33354 <bp-checks.h>.
33355 (msgctl): Do not use CHECK_1.
33356 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33357 <bp-checks.h>.
33358 (shmctl): Do not use CHECK_1.
33359 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33360 (ustat): Do not use CHECK_1.
33361 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33362 <bp-checks.h>.
33363 (__fxstat): Do not use CHECK_1.
33364 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33365 <bp-checks.h>.
33366 (__fxstatat): Do not use CHECK_1.
33367 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33368 <bp-checks.h>.
33369 (__lxstat): Do not use CHECK_1.
33370 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33371 <bp-checks.h>.
33372 (__xstat): Do not use CHECK_1.
33373 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33374 (__xstat): Do not use CHECK_1.
33375 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33376 (___xstat64): Do not use CHECK_1.
33377
b2c9eff4
JM
33378 [BZ #13550]
33379 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33380 definitions.
33381 (CHECK_BOUNDS_HIGH): Likewise.
33382 * string/strcpy.c: Do not include <bp-checks.h>.
33383 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33384
f1d70dad
RM
333852013-02-07 Roland McGrath <roland@hack.frob.com>
33386
33387 * nscd/nscd-client.h (__nscd_drop_map_ref):
33388 Add __attribute__ ((unused)).
33389 * nis/nss-nisplus.h (niserr2nss): Likewise.
33390
33391 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33392 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33393
33394 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33395 Remove inline keyword.
33396 * include/rounding-mode.h (round_away): Likewise.
33397 * libio/wfileops.c (adjust_wide_data): Likewise.
33398 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33399 (__m128i_strloadu_tolower): Likewise.
33400 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33401 (__m128i_strloadu_tolower): Likewise.
33402 * time/mktime.c (ydhms_diff): Likewise.
33403 * locale/elem-hash.h (elem_hash): Likewise.
33404 * locale/setlocale.c (setdata): Likewise.
33405 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33406 (re_string_wchar_at): Likewise.
33407 (bitset_not, bitset_merge, bitset_mask): Likewise.
33408 [!(__GNUC__ > 3)] (inline): Remove macro.
33409 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33410 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33411 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33412 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33413 * string/memcmp.c (memcmp_bytes): Likewise.
33414 * locale/programs/locarchive.c (compute_hashval): Likewise.
33415 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33416 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33417 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33418 * nss/getent.c (print_rpc, print_protocols): Likewise.
33419 (print_passwd, print_group, print_aliases): Likewise.
33420 * nis/nss-nisplus.h (niserr2nss): Likewise.
33421 * nscd/connections.c (restart_p): Likewise.
33422 Change return type to bool.
33423
eab55bfb
RM
334242013-02-05 Roland McGrath <roland@hack.frob.com>
33425
7bd642f5
RM
33426 * Makeconfig (all-Depend-files): Add existing
33427 $(sorted-subdirs:=/Depend) files.
33428 (all-subdirs): Remove nss.
33429 * sysdeps/unix/inet/Subdirs: Add it here instead.
33430 * hesiod/Depend: New file.
33431
573c29b2
RM
33432 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33433 instead of calling alloca.
33434
b2e25af0
RM
33435 * io/lseek.c (__lseek): Rename to __libc_lseek.
33436 Define __lseek as an alias.
33437
eab55bfb
RM
33438 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33439
9a0d1941
CD
334402013-02-04 Carlos O'Donell <carlos@redhat.com>
33441
33442 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33443 else clause and remove check for non-standard endianness.
33444
b83bbec4
DM
334452013-02-04 David S. Miller <davem@davemloft.net>
33446
33447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33448
6277fdab
JM
334492013-02-04 Joseph Myers <joseph@codesourcery.com>
33450
33451 [BZ #13550]
33452 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33453 (__ubp_memchr): Remove prototype.
33454 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33455 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33456 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33457 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33458 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33459 Remove alias.
33460 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33461 (__ubp_memchr): Likewise.
33462 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33463 (__ubp_memchr): Likewise.
33464 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33465 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33466 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33467 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33468 CHECK_STRING.
33469 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33470 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33471 (__getcwd): Do not use CHECK_STRING.
33472 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33473 <bp-checks.h>.
33474 (__real_chown): Do not use CHECK_STRING.
33475 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33476 <bp-checks.h>.
33477 (fchownat): Do not use CHECK_STRING.
33478 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33479 CHECK_STRING.
33480 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33481 <bp-checks.h>.
33482 (__lchown): Do not use CHECK_STRING.
33483 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33484 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33485 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33486 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33488 include <bp-checks.h>.
33489 (truncate64): Do not use CHECK_STRING.
33490 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33491 <bp-checks.h>.
33492 (__real_chown): Do not use CHECK_STRING.
33493 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33494 <bp-checks.h>.
33495 (__lchown): Do not use CHECK_STRING.
33496 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33497 <bp-checks.h>.
33498 (__chown): Do not use CHECK_STRING.
33499 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33500 <bp-checks.h>.
33501 (truncate64): Do not use CHECK_STRING.
33502 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33503 Likewise.
33504 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33505 (__xmknod): Do not use CHECK_STRING.
33506 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33507 <bp-checks.h>.
33508 (__xmknodat): Do not use CHECK_STRING.
33509 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33510 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33511
903ae060
AS
335122013-02-04 Andreas Schwab <schwab@suse.de>
33513
33514 [BZ #14142]
33515 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33516 * include/netdb.h: Likewise for h_errno.
33517 * elf/tst-stackguard1.c: Include <tls.h>.
33518
542f9466
JK
335192013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33520
33521 * elf/link.h (struct link_map): Extend the l_addr comment.
33522 * include/link.h (struct link_map): Likewise.
33523
e782a927
JM
335242013-02-01 Joseph Myers <joseph@codesourcery.com>
33525
33526 [BZ #13550]
33527 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33528 (BOUNDED_1): Remove macro.
33529 * debug/backtrace.c: Don't include <bp-checks.h>.
33530 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33531 (__backtrace): Likewise.
33532 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33533 <bp-checks.h>.
33534 (__backtrace): Don't use BOUNDED_1.
33535 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33536 <bp-checks.h>.
33537 (__backtrace): Don't use BOUNDED_1.
33538 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33539 (__backtrace): Don't use BOUNDED_1.
33540 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33541 (shmat): Don't use BOUNDED_N.
33542
8cf28c5e
JM
335432013-01-31 Joseph Myers <joseph@codesourcery.com>
33544
3a7ac8a0
JM
33545 [BZ #13550]
33546 * sysdeps/generic/bp-start.h: Remove file.
33547 * csu/libc-start.c: Don't include <bp-start.h>.
33548 (LIBC_START_MAIN): Set up __environ directly instead of using
33549 INIT_ARGV_and_ENVIRON.
33550 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33551 <bp-start.h>.
33552
f3499f95
JM
33553 [BZ #13550]
33554 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33555 definitions.
33556 (CHECK_FCNTL): Likewise.
33557 (CHECK_N_PAGES): Likewise.
33558
32a45bea
JM
33559 [BZ #13550]
33560 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33561 definitions.
33562 (CHECK_SIGSET_NULL_OK): Likewise.
33563 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33564 <bp-checks.h>.
33565 (sigpending): Don't use CHECK_SIGSET.
33566 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33567 <bp-checks.h>.
33568 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33569 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33570 <bp-checks.h>.
33571 (do_sigsuspend): Don't use CHECK_SIGSET.
33572 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33573 use CHECK_SIGSET.
33574 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33575 (do_sigwait): Don't use CHECK_SIGSET.
33576 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33577 use CHECK_SIGSET.
33578 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33579 include <bp-checks.h>.
33580 (sigpending): Don't use CHECK_SIGSET.
33581 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33582 include <bp-checks.h>.
33583 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33584 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33585 <bp-checks.h>.
33586 (sigpending): Don't use CHECK_SIGSET.
33587 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33588 <bp-checks.h>.
33589 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33590
2e8a5c8c
JM
33591 [BZ #13550]
33592 * sysdeps/generic/bp-semctl.h: Remove file.
33593 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33594 <bp-checks.h> and <bp-semctl.h>.
33595 (__old_semctl): Don't use CHECK_SEMCTL.
33596 (__new_semctl): Likewise.
33597 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33598 and <bp-semctl.h>.
33599 (__old_semctl): Don't use CHECK_SEMCTL.
33600 (__new_semctl): Likewise.
33601 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33602 <bp-checks.h> and <bp-semctl.h>.
33603 (__old_semctl): Don't use CHECK_SEMCTL.
33604 (__new_semctl): Likewise.
33605 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33606 <bp-checks.h> and <bp-semctl.h>.
33607 (semctl): Don't use CHECK_SEMCTL.
33608
c2d54929
JM
33609 [BZ #13550]
33610 * Makerules (elide-bp-thunks): Remove variable.
33611 (elide-routines.oS): Don't use $(elide-bp-thunks).
33612 (elide-routines.os): Likewise.
33613 (elide-routines.o): Likewise.
33614 (elide-routines.op): Likewise.
33615 (elide-routines.og): Likewise.
33616 (objects): Don't use $(bp-thunks).
33617 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33618 include.
33619 (common-generated): Do not add s-proto-bp.d.
33620 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33621 (int): Likewise.
33622 (typ): Likewise.
33623 Do not generate makefile rules for bounded-pointer thunks.
33624 * sysdeps/generic/bp-thunks.h: Remove file.
33625 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33626 * sysdeps/unix/s-proto-bp.S: Likewise.
33627
8cf28c5e
JM
33628 [BZ #15062]
33629 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33630 parts of result separately when argument is not close to line from
33631 -i to i and one part of argument is small.
33632 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33633 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33634 * math/libm-test.inc (cacos_test): Add more tests.
33635 (casin_test): Likewise.
33636 (casinh_test): Likewise.
33637 * sysdeps/i386/fpu/libm-test-ulps: Update.
33638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33639
c4e33b8d
DM
336402013-01-31 David S. Miller <davem@davemloft.net>
33641
33642 * po/de.po: Update from translation team.
33643
3b60b421
MK
336442013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33645
33646 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33647
bb931195
TS
336482013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33649
b5a5da23
TS
33650 * configure.in (_AC_PROG_CC_C89): New definition.
33651 * configure: Regenerate.
33652
bb931195
TS
33653 * configure.in (AC_PROG_CPP): New definition.
33654 * configure: Regenerate.
33655
8c53a12c
JM
336562013-01-23 Joseph Myers <joseph@codesourcery.com>
33657
33658 * debug/tst-backtrace.h: New file.
33659 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33660 (ret): Remove variable.
33661 (x): Likewise.
33662 (FAIL): Remove macro.
33663 (NO_INLINE): Likewise.
33664 (fn1): Use match function instead of strstr.
33665 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33666 (ret): Remove variable.
33667 (x): Likewise.
33668 (FAIL): Remove macro.
33669 (NO_INLINE): Likewise.
33670 (fn): Use match function instead of strstr.
33671 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33672 (ret): Remove variable.
33673 (x): Likewise.
33674 (FAIL): Remove macro.
33675 (NO_INLINE): Likewise.
33676 (handle_signal): Use match function instead of strstr.
33677 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33678 (ret): Remove variable.
33679 (x): Likewise.
33680 (FAIL): Remove macro.
33681 (NO_INLINE): Likewise.
33682 (handle_signal): Use match function instead of strstr.
33683
4858fa2a
RM
336842013-01-23 Roland McGrath <roland@hack.frob.com>
33685
33686 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33687
bae8e7f5
DM
336882013-01-23 David S. Miller <davem@davemloft.net>
33689
33690 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33691 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33692 argument of CAS if possible.
33693 * sysdeps/sparc/sparc64/bits/atomic.h
33694 (__arch_compare_and_exchange_val_32_acq): Likewise.
33695 (__arch_compare_and_exchange_val_64_acq): Likewise.
33696
9cbbc4ae
PT
336972013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33698
33699 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33700 * sysdeps/posix/ulimit.c: ... this.
92a601b8 33701 Include <limits.h>.
67b3f58c 33702 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 33703
5655a0b5
AC
337042013-01-23 Adam Conrad <adconrad@0c3.net>
33705
33706 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33707 (LDFLAGS-tst-array5): Likewise.
33708
052aff95
JM
337092013-01-23 Joseph Myers <joseph@codesourcery.com>
33710
33711 [BZ #15036]
33712 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33713 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33714 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33715 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33716
7c1e01aa
DM
337172013-01-21 David S. Miller <davem@davemloft.net>
33718
33719 * sysdeps/sparc/backtrace.c: New file.
33720 * sysdeps/sparc/sparc32/backtrace.h: New file.
33721 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33722 * sysdeps/sparc/sparc64/backtrace.h: New file.
33723 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33724 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33725 -funwind-tables.
33726
ab087e0a
AS
337272013-01-21 Andreas Schwab <schwab@suse.de>
33728
33729 [BZ #15020]
33730 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33731 closed its stdout.
33732
ed689c2f
AS
337332013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33734
33735 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33736 "mpa2.h".
33737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33738
31d470ac
JM
337392013-01-18 Joseph Myers <joseph@codesourcery.com>
33740 Mark Mitchell <mark@codesourcery.com>
33741 Tom de Vries <tom@codesourcery.com>
33742 Paul Pluzhnikov <ppluzhnikov@google.com>
33743
33744 * debug/tst-backtrace2.c: New file.
33745 * debug/tst-backtrace3.c: Likewise.
33746 * debug/tst-backtrace4.c: Likewise.
33747 * debug/tst-backtrace5.c: Likewise.
33748 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33749 (CFLAGS-tst-backtrace3.c): Likewise.
33750 (CFLAGS-tst-backtrace4.c): Likewise.
33751 (CFLAGS-tst-backtrace5.c): Likewise.
33752 (LDFLAGS-tst-backtrace2): Likewise.
33753 (LDFLAGS-tst-backtrace3): Likewise.
33754 (LDFLAGS-tst-backtrace4): Likewise.
33755 (LDFLAGS-tst-backtrace5): Likewise.
33756 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33757 tst-backtrace4 and tst-backtrace5.
33758
90567f30 337592013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
33760 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33761
33762 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33763 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33764 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33765 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33767 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33768 "+r" and remove output regs list as redundant. Add explicit inline
33769 asm to specify register of return val to work around compiler codegen
33770 bug. Remove (int) cast on return value. Add return type parameter to
33771 use in macro so that this macro does not truncate return value for
33772 64-bit values.
33773 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33774 pass to INTERNAL_VSYSCALL_NCS.
33775 (INLINE_VSYSCALL): Add 'long int' as return type to
33776 INTERNAL_VSYSCALL_NCS macro invocation.
33777 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33778 INTERNAL_VSYSCALL_NCS macro invocation.
33779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33780
d3b9ea61
SP
337812013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33782
0b57daeb
SP
33783 [BZ #14496]
33784 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33785 Fix application of SIMD FP exception mask.
33786
caa99d06
SP
33787 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33788 mp_no from a power of two.
33789 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33790 __mpexp_twomm1. Use __pow_mp.
33791
d3b9ea61
SP
33792 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33793 multiplication.
33794
1dbaee3c
DM
337952013-01-17 David S. Miller <davem@davemloft.net>
33796
33797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33798
728d7b43
JM
337992013-01-17 Joseph Myers <joseph@codesourcery.com>
33800
33801 [BZ #15023]
33802 * include/complex.h: Condition contents on [!_COMPLEX_H].
33803 (__kernel_casinhf): New prototype.
33804 (__kernel_casinh): Likewise.
33805 (__kernel_casinhl): Likewise.
33806 * math/Makefile (libm_calls): Add k_casinh.
33807 * math/k_casinh.c: New file.
33808 * math/k_casinhf.c: Likewise.
33809 * math/k_casinhl.c: Likewise.
33810 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33811 finite nonzero arguments.
33812 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33813 finite nonzero arguments.
33814 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33815 finite nonzero arguments.
33816 * math/s_casinh.c: Do not include <float.h>.
33817 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33818 * math/s_casinhf.c: Do not include <float.h>.
33819 (__casinhf): Move code for finite nonzero arguments to
33820 k_casinhf.c.
33821 * math/s_casinhl.c: Do not include <float.h>.
33822 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33823 redefine.
33824 (__casinhl): Move code for finite nonzero arguments to
33825 k_casinhl.c.
33826 * math/libm-test.inc (cacos_test): Add more tests.
33827 * sysdeps/i386/fpu/libm-test-ulps: Update.
33828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33829
2a26ef3a
PT
338302013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33831
33832 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33833 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33834 [!HAVE_MREMAP]: Remove [defined linux] case.
33835 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33836
a897655d
SP
338372013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33838
33839 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33840
881ebe89 338412013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
33842
33843 * elf/elf.h (R_386_SIZE32): New relocation.
33844 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33845 R_386_SIZE32.
33846 (elf_machine_rela): Likewise.
33847 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33848 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33849
59981e9b
JM
338502013-01-17 Joseph Myers <joseph@codesourcery.com>
33851
33852 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33853 (FP_FAST_FMA): Do not define.
33854 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33855 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33856 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33857 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33858 !_SOFT_FLOAT]: Likewise.
33859 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33860 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33861 value.
33862 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33863 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33864 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33865 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33866 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33867 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33868 file.
33869
cfa8054f
AS
338702013-01-16 Andreas Schwab <schwab@suse.de>
33871
33872 [BZ #14327]
33873 * include/stdlib.h (__mktemp): Add declaration.
33874 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33875 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33876
dd930cc5
SP
338772013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33878
881ebe89
SP
33879 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33880 definitions.
33881 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33882 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33883 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33884 definitions here.
33885 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33886 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33887 definitions.
33888 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33889 and ONE.
33890 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33891 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33892 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33893 definitions.
33894 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33895 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33896 definitions.
33897 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 33898
dd930cc5
SP
33899 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33900
c19a9f89
DM
339012013-01-15 David S. Miller <davem@davemloft.net>
33902
1aa61767
DM
33903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33904 trunc{,f} to libm-sysdep_routes.
33905 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33907 file.
33908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33910 file.
33911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33912 file.
33913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33915 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33916 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33917 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33918 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33919 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33920 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33921
c42d5e98
DM
33922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33923 nearbyint{,f} to libm-sysdep_routes.
33924 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33926 New file.
33927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33928 file.
33929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33930 New file.
33931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33932 file.
33933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33935 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33936 file.
33937 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33938 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33939 file.
33940 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33941 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33942 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33943
c19a9f89
DM
33944 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33945 libc_feholdexcept and libc_fesetenv.
33946
357679d2
MF
339472013-01-15 Mike Frysinger <vapier@gentoo.org>
33948
33949 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33950
65a82e3d
DM
339512013-01-14 David S. Miller <davem@davemloft.net>
33952
8b954ab9
DM
33953 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33954 (SPARC_ASM_VIS2_IFUNC): Likewise.
33955 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33957 use of 'siam' instruction.
33958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33959 Likewise.
33960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33961 Likewise.
33962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33963 Likewise.
33964 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33965 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33969 file.
33970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33971 file.
33972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33973 file.
33974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33975 file.
33976 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33979 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33981 new VIS2 routines.
33982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33985 Likewise.
33986 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33988 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33991 routines to libm-sysdep_routines.
33992 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33993
65a82e3d
DM
33994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33995 fdim/fdimf to libm-sysdep_routines.
33996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33997 file.
33998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34000 file.
34001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34004 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34005 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34006 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34007 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34008
e34ab705
SP
340092013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34010
2a91b573
SP
34011 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34012 to optimize copies.
34013
1066a534
SP
34014 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34016 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34017
e34ab705
SP
34018 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34019 local variable MPTWO.
34020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34021 Likewise.
34022
aba5e596
MF
340232013-01-13 Mike Frysinger <vapier@gentoo.org>
34024
34025 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34026 GLOB_NOESCAPE.
34027
e557e9e5
MF
340282013-01-13 Mike Frysinger <vapier@gentoo.org>
34029
34030 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34031
0428cec9
MF
340322013-01-13 Mike Frysinger <vapier@gentoo.org>
34033
34034 * manual/pattern.texi (glob_t): Document gl_flags.
34035 (glob64_t): Likewise.
34036
8794a964
DM
340372013-01-11 David S. Miller <davem@davemloft.net>
34038
66438c3f
RM
34039 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34040 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34041 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
34042 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34043 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34044 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34045 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34046 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34047 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34048 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34049 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34050 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34051 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34052
4ae4244d
DM
34053 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34054 sparc V9 rather than using V8 code.
34055 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34056 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34057
8794a964
DM
34058 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34059 Move to...
34060 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34061 Here.
34062
6270516e
RM
340632013-01-11 Roland McGrath <roland@hack.frob.com>
34064
34065 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34066 not in the main loop.
34067 * configure: Regenerated.
34068
6a57d931
JM
340692013-01-11 Joseph Myers <joseph@codesourcery.com>
34070
34071 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34072 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34073 to just #else.
34074 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
34075 [!__GLIBC_HAVE_LONG_LONG] case.
34076 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34077 condition to just #else.
34078 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34079 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34080 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34081 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34082 unconditional.
34083 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34084 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34085 #elif condition to just #else.
34086 * sysdeps/unix/sysv/linux/sys/sysmacros.h
34087 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34088 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34089 #elif condition to just #else.
34090
0e8529e9
SE
340912013-01-11 Steve Ellcey <sellcey@mips.com>
34092
34093 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34094 (EF_MIPS_ARCH_64): Fix value.
34095 (EF_MIPS_ARCH_32R2): New.
34096 (EF_MIPS_ARCH_64R2): New.
34097
740b3dbe
L
340982013-01-11 H.J. Lu <hongjiu.lu@intel.com>
34099
34100 * Makeconfig (+link-pie-before-libc): New.
34101 (+link-pie-after-libc): Likewise.
34102 (+link-pie-tests): Likewise.
34103 (+link-pie): Rewritten.
34104 (link-before-libc): Remove $(config-LDFLAGS).
34105 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34106 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34107 (config-LDFLAGS): Renamed to ...
34108 (rtld-LDFLAGS): This.
34109 (rtld-tests-LDFLAGS): New macro.
34110 (link-libc-rpath-link): Likewise.
34111 (link-libc-tests-rpath-link): Likewise.
34112 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34113 (link-libc): Prepand $(link-libc-rpath-link).
34114 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34115 (test-program-prefix): New macro.
34116 (test-via-rtld-prefix): Likewise.
34117 (test-program-cmd): Likewise.
34118 (host-test-program-cmd): Likewise.
34119 * Makefile ($(common-objpfx)testrun.sh): Replace
34120 $(run-program-prefix) with $(test-program-prefix).
34121 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34122 $(rtld-LDFLAGS).
34123 ($(common-objpfx)shlib.lds): Likewise.
34124 (build-module-helper): Likewise.
34125 ($(common-objpfx)format.lds): Likewise.
34126 * Rules (binaries-pie-tests): New.
34127 (binaries-pie-notests): Likewise.
34128 (binaries-pie): Rewritten.
34129 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34130 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34131 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34132 (make-test-out): Replace $(host-built-program-cmd) with
34133 $(host-test-program-cmd).
34134 * config.make.in (build-hardcoded-path-in-tests): New variable.
34135 * configure.in (--enable-hardcoded-path-in-tests): New configure
34136 option.
34137 (hardcoded_path_in_tests): New AC_SUBST.
34138 * configure: Regenerated.
34139 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34140 $(built-program-cmd) with $(test-program-cmd).
34141 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34142 (test_program_cmd): This.
34143 * elf/Makefile ($(objpfx)order.out): Run test with
34144 $(test-program-prefix).
34145 ($(objpfx)order2.out): Likewise.
34146 ($(objpfx)tst-initorder.out): Likewise.
34147 ($(objpfx)tst-initorder2.out): Likewise.
34148 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34149 $(test-program-cmd).
34150 ($(objpfx)tst-array1-static.out): Likewise.
34151 ($(objpfx)tst-array2.out): Likewise.
34152 ($(objpfx)tst-array3.out): Likewise.
34153 ($(objpfx)tst-array4.out): Likewise.
34154 ($(objpfx)tst-array5.out): Likewise.
34155 ($(objpfx)tst-array5-static.out): Likewise.
34156 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34157 $(test-program-cmd).
34158 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34159 $(run-program-prefix) with $(test-program-prefix).
34160 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34161 (test_program_prefix): This.
34162 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34163 $(run-program-prefix) with $(test-program-prefix).
34164 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34165 (test_program_prefix): This.
34166 * iconvdata/tst-tables.sh: Likewise.
34167 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34168 $(run-program-prefix) with $(test-program-prefix).
34169 ($(objpfx)tst-translit.out): Likewise.
34170 ($(objpfx)tst-gettext2.out): Likewise.
34171 ($(objpfx)tst-gettext4.out): Likewise.
34172 ($(objpfx)tst-gettext6.out): Likewise.
34173 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34174 (test_program_prefix): This.
34175 * intl/tst-gettext2.sh: Likewise.
34176 * intl/tst-gettext4.sh Likewise.
34177 * intl/tst-gettext6.sh: Likewise.
34178 * intl/tst-translit.sh: Likewise.
34179 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34180 with $(test-program-cmd).
34181 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34182 $(run-program-prefix) with $(test-program-prefix).
34183 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34184 (test_program_prefix): This.
34185 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34186 $(run-program-prefix) with $(test-program-prefix).
34187 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34188 (test_program_prefix): This.
34189 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34190 * posix/Makefile ($(objpfx)globtest.out): Replace
34191 $(run-via-rtld-prefix) and $(test-wrapper) with
34192 $(test-program-prefix) and $(test-via-rtld-prefix).
34193 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34194 $(test-program-prefix).
34195 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34196 $(host-test-program-cmd).
34197 (tst-spawn-ARGS): Likewise.
34198 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34199 $(test-program-prefix).
34200 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34201 (test_via_rtld_prefix): This.
34202 (test_wrapper): Renamed to ...
34203 (test_program_prefix): This.
34204 (run_program_prefix): Replaced by test_program_prefix.
34205 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34206 (test_program_prefix): This.
34207 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34208 with $(host-test-program-cmd).
34209 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34210 $(run-program-prefix) with $(test-program-prefix).
34211 ($(objpfx)tst-printf.out): Likewise.
34212 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34213 $(test-program-cmd).
34214 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34215 (test_program_prefix): This.
34216 * stdio-common/tst-unbputc.sh: Likewise.
34217 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34218 $(run-program-prefix) with $(test-program-prefix).
34219 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34220 (test_program_prefix): This.
34221 * string/Makefile ($(objpfx)tst-svc.out): Replace
34222 $(built-program-cmd) with $(test-program-cmd).
34223
c6fe55cf
AJ
342242013-01-11 Andreas Jaeger <aj@suse.de>
34225
34226 [BZ #15003]
34227 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34228 value. Sync with Linux 3.7.
34229
9e6919c8
DM
342302013-01-10 David S. Miller <davem@davemloft.net>
34231
34232 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34233 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34234 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34235
1c9f1a02
RM
342362013-01-10 Roland McGrath <roland@hack.frob.com>
34237
34238 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34239 never set.
34240 * configure: Regenerated.
34241
b9de2dde
DM
342422013-01-10 David S. Miller <davem@davemloft.net>
34243
34244 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34245 sparc V9 rather than using V8 code.
34246 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34247 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34248
e7f68ef4
RM
342492013-01-10 Roland McGrath <roland@hack.frob.com>
34250
34251 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34252 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34253 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34254 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34255 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34256 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34257 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34258 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34259 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34260 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34261 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34262 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34263 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34264 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34265 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34266 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34267 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34268 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34269 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34270 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34271 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34272 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34273 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34274 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34275 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34276 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34277 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34278
5a47cc9c
DM
342792013-01-10 David S. Miller <davem@davemloft.net>
34280
34281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34282
4cf8f209
L
342832013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34284
34285 * posix/Makefile (tests-static): New variable.
34286 (tests): Add $(tests-static).
34287 (tst-exec-static-ARGS): New variable.
34288 (tst-spawn-static-ARGS): Likewise.
34289 * posix/tst-exec-static.c: New file.
34290 * posix/tst-spawn-static.c: Likewise.
34291 * posix/tst-exec.c: Support run directly.
34292 * posix/tst-spawn.c: Likewise.
34293
fed0faa1
JM
342942013-01-10 Joseph Myers <joseph@codesourcery.com>
34295
828beb13
JM
34296 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34297 long.
34298 * math/bits/mathcalls.h (llrint): Likewise.
34299 (llround): Likewise.
34300 * stdlib/stdlib.h (struct drand48_data): Likewise.
34301 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34302 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34303 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34304 Likewise.
34305 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34306 Likewise.
34307 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34308 (elf_greg_t): Likewise.
34309 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34310 (__jmp_buf): Likewise.
34311 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34312 definitions.
34313 (llrint): Likewise, for all definitions.
34314 (llrintl): Likewise.
34315
fed0faa1
JM
34316 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34317 Remove [__GNUC__] condition.
34318 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34319 condition to just [__USE_ISOC99].
34320 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34321
1a20cb20
L
343222013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34323
34324 [BZ #14200]
34325 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34326 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34327 defined.
34328 (_POSIX_V6_ILP32_OFF32): Likewise.
34329 (_XBS5_ILP32_OFF32): Likewise.
34330 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34331 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34332
751b85f7
SP
343332013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34334
7490eb81
SP
34335 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34336
751b85f7
SP
34337 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34338 doubles __mpexp_twomm1. Adjust usage.
34339 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34340 Remove.
34341
988197f0
AS
343422013-01-10 Andreas Schwab <schwab@suse.de>
34343
34344 [BZ #14964]
34345 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34346 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34347
e83d7298
DM
343482013-01-09 David S. Miller <davem@davemloft.net>
34349
034ed64b 34350 [BZ #15003]
57f41c40
AS
34351 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34352 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34353 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34354 (TCP_FASTOPEN): Define.
e83d7298
DM
34355 (tcp_repair_opt): New structure.
34356 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34357 enum values.
57f41c40
AS
34358 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34359 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34360 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
34361 (tcp_cookie_transactions): New structure.
34362
d5e0b9bd
AB
343632013-01-09 Anton Blanchard <anton@samba.org>
34364
34365 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34366 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34367 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34368 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34369
0c07e3ea
JM
343702013-01-09 Joseph Myers <joseph@codesourcery.com>
34371
34372 * include/features.h (__USE_ANSI): Remove.
34373
232f7002
RM
343742013-01-09 Roland McGrath <roland@hack.frob.com>
34375
ad98e30c
RM
34376 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34377
232f7002
RM
34378 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34379
950c99ca
SP
343802013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34381
b5792741
SP
34382 * sysdeps/s390/fpu/libm-test-ulps: Update.
34383
47cf2278
SP
34384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34385
950c99ca
SP
34386 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34387 (__acr): Likewise.
34388 (__cpy): Likewise.
34389 (norm): Likewise.
34390 (denorm): Likewise.
34391 (__mp_dbl): Likewise.
34392 (__dbl_mp): Likewise.
34393 (add_magnitudes): Likewise.
34394 (sub_magnitudes): Likewise.
34395 (__add): Likewise.
34396 (__sub): Likewise.
34397 (__mul): Likewise.
34398 (__inv): Likewise.
34399 (__dvd): Likewise.
34400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34401 (__acr): Likewise.
34402 (__cpy): Likewise.
34403 (norm): Likewise.
34404 (denorm): Likewise.
34405 (__mp_dbl): Likewise.
34406 (__dbl_mp): Likewise.
34407 (add_magnitudes): Likewise.
34408 (sub_magnitudes): Likewise.
34409 (__add): Likewise.
34410 (__sub): Likewise.
34411 (__mul): Likewise.
34412 (__inv): Likewise.
34413 (__dvd): Likewise.
34414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34415 (__acr): Likewise.
34416 (__cpy): Likewise.
34417 (norm): Likewise.
34418 (denorm): Likewise.
34419 (__mp_dbl): Likewise.
34420 (__dbl_mp): Likewise.
34421 (add_magnitudes): Likewise.
34422 (sub_magnitudes): Likewise.
34423 (__add): Likewise.
34424 (__sub): Likewise.
34425 (__mul): Likewise.
34426 (__inv): Likewise.
34427 (__dvd): Likewise.
34428
eede9df9
JM
344292013-01-08 Joseph Myers <joseph@codesourcery.com>
34430
34431 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34432 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34433 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34434 2 && __USE_EXTERN_INLINES]: Likewise.
34435
c40ea3d9
AJ
344362013-01-08 Andreas Jaeger <aj@suse.de>
34437
34438 [BZ# 14985]
34439 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34440 Remove.
34441 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34442 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34443
2ccdea26
AB
344442013-01-07 Anton Blanchard <anton@samba.org>
34445
34446 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34447 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34448 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34449 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34450 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34451 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34452 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34453 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34455 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34456 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34457 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34458 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34459 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34460 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34461 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34462 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34463 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34464 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34465 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34466 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34467 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34468 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34469 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34470 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34471 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34472 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34473 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34474 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34475 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34476 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34478 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34479 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34480 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34481 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34482 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34483 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34484 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34485 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34486 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34487 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34488 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34489
a9708fed
JM
344902013-01-07 Joseph Myers <joseph@codesourcery.com>
34491
375607b9
JM
34492 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34493 (__MALLOC_PMT): Likewise.
34494 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34495 [__GNUC__], only on [_LIBC].
34496 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34497 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34498 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34499 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34500 forward declaration.
34501 (realloc_hook_ini): Likewise.
34502 (memalign_hook_ini): Likewise.
34503 (__libc_memalign): Do not use __MALLOC_PMT in variable
34504 declaration.
34505 (__libc_valloc): Likewise.
34506 (__libc_pvalloc): Likewise.
34507 (__libc_calloc): Likewise.
34508 (__posix_memalign): Likewise.
34509
a9708fed
JM
34510 [BZ #14996]
34511 * math/s_casinh.c: Include <float.h>.
34512 (__casinh): Do not do computation with squaring and square root
34513 for large arguments.
34514 * math/s_casinhf.c: Include <float.h>.
34515 (__casinhf): Do not do computation with squaring and square root
34516 for large arguments.
34517 * math/s_casinhl.c: Include <float.h>.
34518 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34519 (__casinhl): Do not do computation with squaring and square root
34520 for large arguments.
34521 * math/libm-test.inc (casin_test): Add more tests.
34522 (casinh_test): Likewise.
34523 * sysdeps/i386/fpu/libm-test-ulps: Update.
34524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34525
afec409a
L
345262013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34527
34528 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34529 (__x86_64_raw_data_cache_size): Likewise.
34530 (__x86_64_data_cache_size_half): Likewise.
34531 (__x86_64_raw_data_cache_size_half): Likewise.
34532 (__x86_64_shared_cache_size): Likewise.
34533 (__x86_64_raw_shared_cache_size): Likewise.
34534 (__x86_64_shared_cache_size_half): Likewise.
34535 (__x86_64_raw_shared_cache_size_half): Likewise.
34536 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34537 to ...
34538 (__x86_data_cache_size): This.
34539 (__x86_64_raw_data_cache_size): Renamed to ...
34540 (__x86_raw_data_cache_size): This.
34541 (__x86_64_data_cache_size_half): Renamed to ...
34542 (__x86_data_cache_size_half): This.
34543 (__x86_64_raw_data_cache_size_half): Renamed to ...
34544 (__x86_raw_data_cache_size_half): This.
34545 (__x86_64_shared_cache_size): Renamed to ...
34546 (__x86_shared_cache_size): This.
34547 (__x86_64_raw_shared_cache_size): Renamed to ...
34548 (__x86_raw_shared_cache_size): This.
34549 (__x86_64_shared_cache_size_half): Renamed to ...
34550 (__x86_shared_cache_size_half): This.
34551 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34552 (__x86_raw_shared_cache_size_half): This.
34553 * sysdeps/x86_64/memcpy.S: Updated.
34554 * sysdeps/x86_64/memset.S: Likewise.
34555 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34556 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34557 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34558
0b3986d0
DM
345592013-01-04 David S. Miller <davem@davemloft.net>
34560
34561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34562
e47686e9
AS
345632013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34564
d643bac1
AS
34565 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34566 1 to avoid redefinition warning.
34567 (__USE_GNU): Don't define.
34568 (init_signaling_nan): Protoize.
34569
e47686e9
AS
34570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34571
b18decba
SP
345722013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34573
fffb407f
SP
34574 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34575 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34576 (__cpymn): Likewise.
34577 (norm): Remove commented code.
34578 (denorm): Likewise.
34579 (__mp_dbl): Likewise.
34580 (__inv): Likewise.
34581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34582 (__cpymn): Likewise.
34583 (norm): Remove commented code.
34584 (denorm): Likewise.
34585 (__mp_dbl): Likewise.
34586 (__inv): Likewise.
34587
b18decba
SP
34588 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34589 mp_no value for 1.0 and 2.0.
34590 (norm): Use RADIXI instead of radixi.d.
34591 (denorm): Likewise.
34592 (__mul): Use 0.0 instead of zero.d.
34593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34594 mp_no value for 1.0 and 2.0.
34595 (norm): Use RADIXI instead of radixi.d.
34596 (denorm): Likewise.
34597 (__mul): Use 0.0 instead of zero.d.
34598
cdc1c96f
JM
345992013-01-04 Joseph Myers <joseph@codesourcery.com>
34600
34601 [BZ #14994]
34602 * math/s_casinh.c (__casinh): Reduce finite argument to first
34603 quadrant then set signs of results at the end.
34604 * math/s_casinhf.c (__casinhf): Likewise.
34605 * math/s_casinhl.c (__casinhl): Likewise.
34606 * math/libm-test.inc (casin_test): Add more tests.
34607 (casinh_test): Likewise.
34608 * sysdeps/i386/fpu/libm-test-ulps: Update.
34609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34610
302913e1
SP
346112013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34612
6420d207
SP
34613 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34614
a9e48ab4
SP
34615 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34616
b7837264
SP
34617 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34618 declarations.
34619 (denorm): Likewise.
34620 (__mp_dbl): Likewise.
34621 (__inv): Likewise.
34622
f8af25d2
SP
34623 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34624 and adjust the header comment.
34625
302913e1
SP
34626 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34627 variable name from declaration.
34628
5d7dd1ca
L
346292013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34630
34631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34632 Initialize COMMON_CPUID_INDEX_7 element.
34633 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34634 (CPUID_RTM): Likewise.
34635 (HAS_RTM): Likewise.
34636 (COMMON_CPUID_INDEX_7): New enum.
34637
2f5f40f4
AS
346382013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34639
34640 [BZ #14981]
34641 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34642 size is zero, record memory as freed.
34643
4056f4a0
AJ
346442013-01-03 Andreas Jaeger <aj@suse.de>
34645
34646 * po/ia.po: Add new Interlingua translation.
34647
ab15736f 346482012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
34649
34650 * locale/programs/localedef.c: Fix description of '--posix' flag.
34651
568035b7
JM
346522013-01-02 Joseph Myers <joseph@codesourcery.com>
34653
e6898b8d
JM
34654 * NEWS: Update dates in second copyright notice.
34655 * README: Update copyright dates in example.
34656 * manual/libc.texinfo: Update copyright dates.
34657 * scripts/test-installation.pl: Update copyright date in --version
34658 output.
34659
0e2f9562
JM
34660 * hurd/ctty-input.c: Fix copyright notice formatting.
34661 * hurd/ctty-output.c: Likewise.
34662 * hurd/dtable.c: Likewise.
34663 * hurd/hurd-raise.c: Likewise.
34664 * hurd/hurdprio.c: Likewise.
34665 * hurd/msgportdemux.c: Likewise.
34666 * misc/sys/file.h: Likewise.
34667 * misc/sys/ioctl.h: Likewise.
34668 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34669 * sysdeps/mach/hurd/chdir.c: Likewise.
34670 * sysdeps/mach/hurd/fchdir.c: Likewise.
34671 * sysdeps/mach/hurd/rename.c: Likewise.
34672 * sysdeps/mach/hurd/rmdir.c: Likewise.
34673 * sysdeps/mach/hurd/seekdir.c: Likewise.
34674 * sysdeps/mach/hurd/setsid.c: Likewise.
34675 * sysdeps/posix/wait3.c: Likewise.
34676
568035b7
JM
34677 * All files with FSF copyright notices: Update copyright dates
34678 using scripts/update-copyrights.
34679 * intl/plural.c: Regenerated.
34680 * locale/programs/charmap-kw.h: Likewise.
34681 * locale/programs/locfile-kw.h: Likewise.
34682
da08f647
SP
346832013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34684
0f5477af
SP
34685 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34686 four values.
34687
44e0d4c2
SP
34688 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34689 calculation loop and add branch prediction.
34690
4d55b4e5
SP
34691 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34692 check access beyond bounds of m1np.
34693
da08f647
SP
34694 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34695 MPTWO.
34696 (__inv): Remove local variable MPTWO to use the global
34697 constant.
34698 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34699 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34700 variable MPTWO.
34701 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34702 MP3HALFS static const.
34703
8e051029
DM
347042013-01-01 David S. Miller <davem@davemloft.net>
34705
34706 * po/ca.po: Update from translation team.
34707
f4cf5f2d
JM
347082013-01-01 Joseph Myers <joseph@codesourcery.com>
34709
34710 * scripts/update-copyrights: New file.
34711 * Makeconfig: Reformat copyright notice.
34712 * ctype/ctype.h: Likewise.
34713 * debug/swprintf_chk.c: Likewise.
34714 * elf/dl-cache.c: Likewise.
34715 * elf/dl-debug.c: Likewise.
34716 * elf/dl-object.c: Likewise.
34717 * grp/initgroups.c: Likewise.
34718 * hurd/Makefile: Likewise.
34719 * hurd/hurd/signal.h: Likewise.
34720 * hurd/hurdfault.c: Likewise.
34721 * hurd/hurdioctl.c: Likewise.
34722 * hurd/hurdlookup.c: Likewise.
34723 * hurd/intr-msg.c: Likewise.
34724 * iconv/gconv_open.c: Likewise.
34725 * libio/swprintf.c: Likewise.
34726 * locale/lc-ctype.c: Likewise.
34727 * locale/nl_langinfo.c: Likewise.
34728 * mach/Machrules: Likewise.
34729 * mach/Makefile: Likewise.
34730 * malloc/obstack.h: Likewise.
34731 * manual/Makefile: Likewise.
34732 * manual/tsort.awk: Likewise.
34733 * misc/bits/stab.def: Likewise.
34734 * nis/nis_print_group_entry.c: Likewise.
34735 * nis/nis_table.c: Likewise.
34736 * nis/nss_compat/compat-pwd.c: Likewise.
34737 * nis/nss_compat/compat-spwd.c: Likewise.
34738 * po/Makefile: Likewise.
34739 * posix/fnmatch.c: Likewise.
34740 * posix/regex.h: Likewise.
34741 * resolv/Makefile: Likewise.
34742 * resolv/nss_dns/dns-network.c: Likewise.
34743 * resolv/res_hconf.c: Likewise.
34744 * scripts/gen-sorted.awk: Likewise.
34745 * soft-fp/soft-fp.h: Likewise.
34746 * stdio-common/printf.h: Likewise.
34747 * stdlib/monetary.h: Likewise.
34748 * stdlib/random.c: Likewise.
34749 * stdlib/random_r.c: Likewise.
34750 * sysdeps/generic/Makefile: Likewise.
34751 * sysdeps/gnu/Makefile: Likewise.
34752 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34753 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34754 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34755 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34756 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34757 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34758 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34759 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34760 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34761 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34762 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34763 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34764 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34765 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34766 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34767 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34768 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34769 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34770 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34771 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34772 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34773 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34774 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34775 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34776 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34777 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34778 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34779 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34780 * sysdeps/mach/hurd/errnos.awk: Likewise.
34781 * sysdeps/mach/hurd/fork.c: Likewise.
34782 * sysdeps/mach/hurd/getcwd.c: Likewise.
34783 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34784 * sysdeps/mach/hurd/mmap.c: Likewise.
34785 * sysdeps/mach/hurd/utimes.c: Likewise.
34786 * sysdeps/mach/hurd/xmknod.c: Likewise.
34787 * sysdeps/posix/profil.c: Likewise.
34788 * sysdeps/posix/readdir_r.c: Likewise.
34789 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34790 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34791 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34792 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34794 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34795 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34796 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34798 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34799 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34800 * sysdeps/pthread/lio_listio.c: Likewise.
34801 * sysdeps/sparc/dl-procinfo.h: Likewise.
34802 * sysdeps/unix/i386/sysdep.S: Likewise.
34803 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34804 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34805 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34806 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34808 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34809 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34810 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34811 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34812 * sysdeps/wordsize-32/divdi3.c: Likewise.
34813 * time/sys/time.h: Likewise.
34814 * wcsmbs/Makefile: Likewise.
34815
0549fbba
DM
348162013-01-01 David S. Miller <davem@davemloft.net>
34817
a141f1a7
DM
34818 * po/fr.po: Update from translation team.
34819
0549fbba
DM
34820 * catgets/gencat.c: Update copyright year.
34821 * csu/version.c: Likewise.
34822 * debug/catchsegv.sh: Likewise.
34823 * debug/pcprofiledump.c: Likewise.
34824 * debug/xtrace.sh: Likewise.
34825 * elf/ldconfig.c: Likewise.
34826 * elf/ldd.bash.in: Likewise.
34827 * elf/pldd.c: Likewise.
34828 * elf/sotruss.ksh: Likewise.
34829 * elf/sprof.c: Likewise.
34830 * iconv/iconv_prog.c: Likewise.
34831 * iconv/iconvconfig.c: Likewise.
34832 * locale/programs/locale.c: Likewise.
34833 * locale/programs/localedef.c: Likewise.
34834 * login/programs/pt_chown.c: Likewise.
34835 * malloc/memusage.sh: Likewise.
34836 * malloc/memusagestat.c: Likewise.
34837 * malloc/mtrace.pl: Likewise.
34838 * nscd/nscd.c: Likewise.
34839 * nss/getent.c: Likewise.
34840 * nss/makedb.c: Likewise.
34841 * posix/getconf.c: Likewise.
34842
18ea052c
SP
348432012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34844
34845 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34846 numbers.
34847
9c89fca6
MF
348482012-12-30 Mike Frysinger <vapier@gentoo.org>
34849
34850 * math/bits/mathcalls.h (modf): Use __nonnull.
34851
085ec079
SP
348522012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34853
34854 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34855 (split): Use macro CN instead of the bare value.
34856 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34857 could be used.
34858 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34859 instead of the bare value.
34860 (power1): Likewise.
34861
6d9f97e1
SP
348622012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34863
d63f73be
SP
34864 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34865 __ATAN_TWOM.
34866 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34867
6d9f97e1
SP
34868 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34869 their values.
34870 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34871 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34872 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34873 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34874
4c4febf5
AJ
348752012-12-28 Andreas Jaeger <aj@suse.de>
34876
af5843ef
AJ
34877 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34878 values are from Linux 3.7.
34879
4c4febf5
AJ
34880 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34881 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34882
99136f82
SP
348832012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34884
2f216c3c 34885 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
34886 TRUE case.
34887
99136f82
SP
34888 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34889 (norm): Likewise.
34890 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34891 variables with preprocessor constants.
34892 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34893 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34894 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34895
7fffbdff
BH
348962012-12-27 Bruno Haible <bruno@clisp.org>
34897
34898 [BZ #14317]
34899 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34900 only if needed.
34901
b76eb5f0
SP
349022012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34903
31a7fe5c
SP
34904 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34905 and use variable directly.
34906 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34907
b76eb5f0
SP
34908 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34909 MPONE.
34910 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34911 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34912 variable MPONE.
34913 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34915 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34916 include directive. Remove local variable MPONE.
34917 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34918 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34919 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34920
2c8bfe7d
DM
349212012-12-25 David S. Miller <davem@davemloft.net>
34922
34923 * version.h (RELEASE): Set to "development".
34924 (VERSION): Set to "2.17.90".
34925 * NEWS: Add 2.18 section.
34926
147d03b0
DM
349272012-12-21 David S. Miller <davem@davemloft.net>
34928
34929 * po/hr.po: Update from translation team.
34930
a8ebb2b9
AK
349312012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34932
34933 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34934
95b4f1b6
SE
349352012-12-19 Steve Ellcey <sellcey@mips.com>
34936
b2d94007 34937 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 34938
cedb2a90
MS
349392012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34940
34941 * manual/contrib.texi (Contributors): Spelling correction.
34942
bbf527d6
DM
349432012-12-15 David S. Miller <davem@davemloft.net>
34944
34945 * po/ru.po: Update from translation team.
34946
bc38c906
DM
349472012-12-13 David S. Miller <davem@davemloft.net>
34948
85429b1a
DM
34949 * NEWS: Mention IFUNC testsuite enhancements.
34950
d283e353
DM
34951 * po/pl.po: Update from translation team.
34952 * po/bg.po: Likewise.
34953
bc38c906
DM
34954 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34955 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34956
a181b0d7
DM
349572012-12-11 David S. Miller <davem@davemloft.net>
34958
4641d57e
DM
34959 * po/sv.po: Update from translation team.
34960
f7bc6495
DM
34961 * po/vi.po: Update from translation team.
34962
6fc9048f
DM
34963 * po/cs.po: Update from translation team.
34964
a181b0d7
DM
34965 * po/de.po: Update from translation team.
34966 * po/eo.po: Likewise.
34967 * po/nl.po: Likewise.
34968
f70bfe80
SP
349692012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34970
3c8b4190
SP
34971 [BZ #14246]
34972 * manual/argp.texi (Argp Helper Functions): Move node to follow
34973 Argp Parsing State.
34974
f70bfe80
SP
34975 [BZ #14872]
34976 * manual/conf.texi (Limits on File System Capacity): Mention if
34977 terminating null is included in the max size.
34978
188f0adf
AJ
349792012-12-10 Andreas Jaeger <aj@suse.de>
34980
34981 * po/cs.po: Update from translation team.
34982
56e7d3ad
SP
349832012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34984
34985 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34986 void pointer and cast to uintptr_t.
34987 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34988 path.
34989 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34990 * sysdeps/s390/s390-64/memset.S: Likewise.
34991
76f2d2ea 349922012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
34993
34994 [BZ #14833]
34995 * menual/message.texi (Message Translation): Fix typos.
34996 (Helper programs for gettext): Likewise.
34997
67cbf9a2
AS
349982012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34999
35000 [BZ #14898]
35001 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35002 Change to -1.
35003
682d0e9a
DM
350042012-12-07 David S. Miller <davem@davemloft.net>
35005
35006 * po/libc.pot: Update.
35007
573cd484
RH
350082012-12-07 Richard Henderson <rth@redhat.com>
35009
7e9da188 35010 [BZ #10114]
573cd484
RH
35011 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35012 normal/normal case to before the switch.
35013 (_FP_DIV): Likewise.
35014
e933a943
MF
350152012-12-06 Carlos O'Donell <carlos@systemhalted.org>
35016 Mike Frysinger <vapier@gentoo.org>
35017
35018 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35019 check for __NR_fadvise64_64.
35020
82123268
CM
350212012-12-06 Chris Metcalf <cmetcalf@tilera.com>
35022
35023 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35024 0, not just to plain "0" as a statement.
35025 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35026 with cw.
35027
d9814526
JM
350282012-12-06 Joseph Myers <joseph@codesourcery.com>
35029
35030 * NEWS: Use sourceware.org in Bugzilla URL.
35031
7728c574
SP
350322012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35033
f16946dd
SP
35034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35035 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35036
5704bbcb
SP
35037 * stdio-common/tst-put-error.c (do_test): Add newline to the
35038 padded test to ensure flush.
35039
17aa0516
JL
350402012-12-05 Jeff Law <law@redhat.com>
35041
35042 * sunrpc/etc.rpc (fedfs_admin): Add entry.
35043
363313b5
JM
350442012-12-05 Joseph Myers <joseph@codesourcery.com>
35045
effbd42a
JM
35046 * README: Don't refer to ports add-on as distributed separately.
35047 Mention AArch64 in list of systems supported in the ports add-on.
35048
87600365
JM
35049 * LICENSES: Add more non-FSF copyright and license notices.
35050
a0d7066a
JM
35051 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35052 ((unused)).
35053
66ca5a5b
JM
35054 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35055
363313b5
JM
35056 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35057 10000 as width of padded output.
35058
b37984ad
JM
350592012-12-04 Joseph Myers <joseph@codesourcery.com>
35060
9003570a
JM
35061 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35062
b37984ad
JM
35063 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35064 variable LX with __attribute__ ((unused)).
35065 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35066 Likewise.
35067 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35068 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35069 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35070 with __attribute__ ((unused)).
35071
c8df52ec
DM
350722012-12-04 David S. Miller <davem@abraco.davemloft.net>
35073
35074 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35075
b3b099af
JM
350762012-12-04 Joseph Myers <joseph@codesourcery.com>
35077
c33aa6e3
JM
35078 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35079 (CFLAGS-nldbl-acos.c): New variable.
35080 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35081 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35082 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35083 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35084 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35085 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35086 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35087 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35088 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35089 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35090 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35091 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35092 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35093 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35094 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35095 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35096 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35097 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35098 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35099 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35100 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35101 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35102 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35103 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35104 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35105 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35106 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35107 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35108 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35109 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35110 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35111 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35112 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35113 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35114 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35115 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35116 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35117 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35118 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35119 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35120 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35121 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35122 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35123 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35124 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35125 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35126 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35127 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35128 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35129 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35130 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35131 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35132 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35133 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35134 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35135 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35136 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35137 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35138 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35139 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35140 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35141 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35142 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35143 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35144 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35145 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35146 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35147 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35148 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35149 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35150 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35151 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35152 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35153 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35154 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35155 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35156 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35157 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35158 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35159 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35160 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35161 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35162 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35163 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35164 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35165 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35166 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35167 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35168 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35169 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35170 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35171 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35172 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35173 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35174 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35175 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35176 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35177
20f0018d
JM
35178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35179 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35180
b3b099af
JM
35181 [BZ #14914]
35182 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35183 whole low double instead of just low 47 bits when splitting values
35184 into two parts.
35185
029264d1
AM
351862012-12-03 Allan McRae <allan@archlinux.org>
35187
35188 * manual/stdio.texi (Predefined Printf Handlers): Remove
35189 @hsep and @vsep usage.
35190
c9d6789e
MF
351912012-12-03 Mike Frysinger <vapier@gentoo.org>
35192
35193 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35194 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35195
4b7634a5
JL
351962012-12-03 Jeff Law <law@redhat.com>
35197
35198 * time/sys/time.h (settimeofday): Do not mark TV argument
35199 as __nonnull.
35200
eb6cbd24
MF
352012012-12-01 Mike Frysinger <vapier@gentoo.org>
35202
35203 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35204 when currently writing and seek to current position when not.
35205 * libio/Makefile (tests): Remove bug-fclose1.
35206 * libio/bug-fclose1.c: Delete.
35207
f638872a
JM
352082012-12-01 Joseph Myers <joseph@codesourcery.com>
35209
35210 * manual/arith.texi (feenableexcept): Fix typo.
35211 (fedisableexcept): Likewise.
35212
48085d14
RM
352132012-11-30 Roland McGrath <roland@hack.frob.com>
35214
35215 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35216 second, differently-typed declaration, rather than a cast.
35217
1a538b9f
SP
352182012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35219
35220 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35221 * include/rpc/svc.h: ... here.
35222
d07f2ff1 352232012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
35224
35225 [BZ #13013]
35226 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35227 depending n and resplen2 to catch cases where answer
35228 equals answerp2.
35229
c93ec1f0
CD
352302012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35231
35232 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35233 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35234
37db69de
MF
352352012-11-29 Mike Frysinger <vapier@gentoo.org>
35236
35237 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35238
e10c4e4f
RM
352392012-11-29 Roland McGrath <roland@hack.frob.com>
35240
35241 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35242
2af1b328
JL
352432012-11-28 Jeff Law <law@redhat.com>
35244
35245 [BZ #13761]
35246 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35247 dataset_temporary. Track alloca usage into alloca_used.
35248 If dataset is large allocate and release it via malloc/free.
35249
111db5b1
FW
352502012-06-04 Florian Weimer <fweimer@redhat.com>
35251
f06cc227 35252 [BZ #14197]
111db5b1
FW
35253 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35254
dd694abd
DM
352552012-11-28 David S. Miller <davem@davemloft.net>
35256
35257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35258
9984dd01
JM
352592012-11-28 Joseph Myers <joseph@codesourcery.com>
35260
35261 [BZ #14803]
35262 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35263 of pi/2 rounded to nearest to 64 bits.
35264 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35265 nearest to 64 bits.
35266 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35267 bits.
35268
14bc93a9
JL
352692012-11-28 Jeff Law <law@redhat.com>
35270 Martin Osvald <mosvald@redhat.com>
35271
35272 [BZ #14889]
35273 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35274 * sunrpc/svc.c: Include time.h.
35275 (__svc_accept_failed): New function.
35276 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35277 any reason other than EINTR, call __svc_accept_failed.
35278 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35279 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35280
e3c6aa3a
AS
352812012-11-28 Andreas Schwab <schwab@suse.de>
35282
35283 * scripts/abilist.awk: Also handle indirect functions in .opd
35284 section.
35285
1bead169
JM
352862012-11-28 Joseph Myers <joseph@codesourcery.com>
35287
35288 [BZ #13881]
35289 * sysdeps/x86/fpu/powl_helper.c: New file.
35290 * sysdeps/x86/fpu/Makefile: Likewise.
35291 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35292 (p3): New object.
35293 (__ieee754_powl): Use __powl_helper for finite arguments except
35294 integer exponents below 8.
35295 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35296 (p3): New object.
35297 (__ieee754_powl): Use __powl_helper for finite arguments except
35298 integer exponents below 8.
35299 * math/libm-test.inc (pow_test): Add more tests and enable some
35300 previously disabled tests.
35301 * sysdeps/i386/fpu/libm-test-ulps: Update.
35302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35303
0817d63d
SP
353042012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35305 Carlos O'Donell <carlos_odonell@mentor.com>
35306
35307 * nss/makedb.c (is_prime): Assert that input is odd and greater
35308 than 4. Note that fact in a comment too.
35309 (next_prime): Add 4 to input.
35310
de2fd463
SP
353112012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35312
35313 [BZ #11741]
35314 * libio/Makefile (tests): Add test case tst-fwrite-error.
35315 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35316 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35317 * libio/tst-fwrite-error.c: New test case.
35318
c515fb51
L
353192012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35320
35321 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35322 before casting to void *.
35323 * include/libc-internal.h (__pointer_type): New macro.
35324 (__integer_if_pointer_type_sub): Likewise.
35325 (__integer_if_pointer_type): Likewise.
35326 (cast_to_integer): Likewise.
35327 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35328 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35329 before casting to atomic64_t.
35330 (atomic_exchange_acq): Likewise.
35331 (__arch_exchange_and_add_body): Likewise.
35332 (__arch_add_body): Likewise.
35333 (atomic_add_negative): Likewise.
35334 (atomic_add_zero): Likewise.
35335
4cf77aa9
JM
353362012-11-26 Joseph Myers <joseph@codesourcery.com>
35337
35338 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35339 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35340 (add_fdes): Likewise.
35341 (linear_search_fdes): Likewise.
35342 (binary_search_unencoded_fdes): Likewise.
35343
d260b3b4
AS
353442012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35345
35346 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35347
67060746
AC
353482012-11-24 Adam Conrad <adconrad@0c3.net>
35349
35350 * configure.in: Autodetect C++ header directories.
35351 * configure: Regenerated.
35352
800938a1
MF
353532012-11-23 Mike Frysinger <vapier@gentoo.org>
35354
35355 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35356
4e6e34e6
AS
353572012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35358
35359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35360
7c7feb47
JM
353612012-11-22 Joseph Myers <joseph@codesourcery.com>
35362
7184dcdf
JM
35363 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35364 LDBL_MANT_DIG == 106]: Disable some tests.
35365 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35366 Likewise.
35367 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35368 Likewise.
35369
0a42601f
JM
35370 [BZ #14871]
35371 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35372 input for small inputs. Return +/- pi/2 for large inputs.
35373 * math/libm-test.inc (atan_test): Add more tests.
35374
79c9b9fe
JM
35375 * sysdeps/generic/unwind-dw2-fde-glibc.c
35376 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35377 __attribute__ ((unused)).
35378
c60d3bf2
JM
35379 [BZ #14645]
35380 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35381 x * y if x and y are nonzero and z is zero.
35382
ef1e0867
JM
35383 [BZ #14811]
35384 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35385 nonzero exponents with absolute value below 0x1p-117 to +/-
35386 0x1p-117.
35387
1468ded3
JM
35388 [BZ #14869]
35389 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35390 up arguments below 2**-450, not just those below 2**-500.
35391 * math/libm-test.inc (hypot_test): Add another test.
35392
8e27e3cc
JM
35393 [BZ #14868]
35394 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35395 Return a+b for ratio over 2**120, not 2**60.
35396 * math/libm-test.inc (hypot_test): Add another test.
35397
c9c0279b
JM
35398 * math/libm-test.inc (clog_test): Use
35399 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35400 (clog10_test): Likewise.
35401
7c7feb47
JM
35402 [BZ #6778]
35403 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35404
fff1530e
AS
354052012-11-22 Andreas Schwab <schwab@suse.de>
35406
35407 * sysdeps/i386/fpu/libm-test-ulps: Update.
35408
94558d30
PT
354092012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35410
35411 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35412 printf output with newline.
35413
7e1be741
L
354142012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35415
6bfea974
L
35416 [BZ #14865]
35417 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35418 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35419 -z nodlopen, -z initfirst and -z execstack support.
35420 * configure: Regenerated.
35421
7e1be741
L
35422 * elf/elf.h (DF_1_NODIRECT): New macro.
35423 (DF_1_IGNMULDEF): Likewise.
35424 (DF_1_NOKSYMS): Likewise.
35425 (DF_1_NOHDR): Likewise.
35426 (DF_1_EDITED): Likewise.
35427 (DF_1_NORELOC): Likewise.
35428 (DF_1_SYMINTPOSE): Likewise.
35429 (DF_1_GLOBAUDIT): Likewise.
35430 (DF_1_SINGLETON): Likewise.
35431 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35432 DT_1_SUPPORTED_MASK bits.
35433 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35434
105ce2ce
CD
354352012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35436
35437 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35438
123be9de
TS
354392012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35440
d072f3f7
TS
35441 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35442 macro.
35443
123be9de
TS
35444 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35445 (sendmmsg): Move declarations...
35446 * socket/sys/socket.h: ... here.
35447 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35448 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35449 include it from...
35450 * socket/recvmmsg.c: ... this new file.
35451 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35452 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35453 definition of __sendmmsg hidden.
35454 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35455 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35456 Move ENOSYS stub into and include it from...
35457 * socket/sendmmsg.c: ... this new file.
35458 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35459 (sysdep_routines): Move recvmmsg and sendmmsg...
35460 * socket/Makefile (routines): ... here.
35461 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35462 (GLIBC_PRIVATE): Add __sendmmsg.
35463 * include/sys/socket.h (__sendmmsg): Add declarations.
35464 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35465 sendmmsg.
35466
cf9a5d18
JM
354672012-11-20 Joseph Myers <joseph@codesourcery.com>
35468
35469 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35470 variable I1 with __attribute__ ((unused)).
35471 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35472
ecd4caf9
JM
354732012-11-19 Joseph Myers <joseph@codesourcery.com>
35474
be14d48f
JM
35475 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35476 DUMMY variables with __attribute__ ((unused)).
35477
ecd4caf9
JM
35478 * bits/byteswap.h: Include <bits/types.h>.
35479 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35480
986cab95
PT
354812012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35482
35483 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35484 string_t. Do not manually set errno.
35485 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35486 length with __strnlen. Make sure to both set errno and return it on
35487 failure.
35488
6d33cc9d
DM
354892012-11-19 David S. Miller <davem@davemloft.net>
35490
35491 With help from Joseph Myers.
35492 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35493 very large arguments properly.
35494 * math/libm-test.inc (atan_test): New tests.
35495 (atan2_test): New tests.
35496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35498
ee663277
JM
354992012-11-19 Joseph Myers <joseph@codesourcery.com>
35500
877f2d8e
JM
35501 [BZ #14856]
35502 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35503 Define to 3.
35504
116fc08a
JM
35505 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35506 [POSIX] (EADDRNOTAVAIL): Likewise.
35507 [POSIX] (EAFNOSUPPORT): Likewise.
35508 [POSIX] (EALREADY): Likewise.
35509 [POSIX] (ECONNABORTED): Likewise.
35510 [POSIX] (ECONNREFUSED): Likewise.
35511 [POSIX] (ECONNRESET): Likewise.
35512 [POSIX] (EDESTADDRREQ): Likewise.
35513 [POSIX] (EDQUOT): Likewise.
35514 [POSIX] (EHOSTUNREACH): Likewise.
35515 [POSIX] (EIDRM): Likewise.
35516 [POSIX] (EISCONN): Likewise.
35517 [POSIX] (ELOOP): Likewise.
35518 [POSIX] (EMULTIHOP): Likewise.
35519 [POSIX] (ENETDOWN): Likewise.
35520 [POSIX] (ENETUNREACH): Likewise.
35521 [POSIX] (ENOBUFS): Likewise.
35522 [POSIX] (ENODATA): Likewise.
35523 [POSIX] (ENOLINK): Likewise.
35524 [POSIX] (ENOMSG): Likewise.
35525 [POSIX] (ENOPROTOOPT): Likewise.
35526 [POSIX] (ENOSR): Likewise.
35527 [POSIX] (ENOSTR): Likewise.
35528 [POSIX] (ENOTCONN): Likewise.
35529 [POSIX] (ENOTSOCK): Likewise.
35530 [POSIX] (EOPNOTSUPP): Likewise.
35531 [POSIX] (EOVERFLOW): Likewise.
35532 [POSIX] (EPROTO): Likewise.
35533 [POSIX] (EPROTONOSUPPORT): Likewise.
35534 [POSIX] (EPROTOTYPE): Likewise.
35535 [POSIX] (ESTALE): Likewise.
35536 [POSIX] (ETIME): Likewise.
35537 [POSIX] (ETXTBSY): Likewise.
35538 [POSIX] (EWOULDBLOCK): Likewise.
35539 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35540 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35541 [POSIX] (SEEK_CUR): Likewise.
35542 [POSIX] (SEEK_END): Likewise.
35543 [POSIX || UNIX98] (mode_t): Do not require.
35544 [POSIX] (off_t): Likewise.
35545 [POSIX] (pid_t): Likewise.
35546 [POSIX] (sys/stat.h): Do not allow header.
35547 [POSIX] (unistd.h): Likewise.
35548 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35549 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35550 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35551 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35552 require.
35553 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35554 sigevent): Specify elements.
35555 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35556 entry.
35557 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35558 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35559
a483863f
JM
35560 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35561 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35562 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35563 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35564 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35565 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35566 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35567 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35568 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35569 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35570 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35571 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35572 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35573 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35574 Likewise.
35575 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35576 Likewise.
35577 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35578 Likewise.
35579 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35580 Likewise.
35581 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35582 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35583 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35584 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35585 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35586 Specify lower bound on value.
35587 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35588 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35589 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35590 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35591 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35592 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35593 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35594 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35595 value.
35596 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35597 as optional.
35598 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35599 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35600 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35601 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35602 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35603 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35604 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35605 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35606 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35607 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35608 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35609 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35610 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35611 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35612 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35613 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35614 entry.
35615 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35616 optional.
35617 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35618 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35619 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35620 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35621 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35622 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35623 Likewise.
35624 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35625 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35626 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35627 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35628 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35629 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35630 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35631 as optional.
35632 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35633 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35634 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35635 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35636 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35637 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35638 specify as optional.
35639 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35640 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35641 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35642 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35643 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35644 [XPG3] (NL_LANGMAX): Likewise.
35645 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35646 [POSIX || XPG3] (NL_NMAX): Likewise.
35647 [POSIX || XPG3] (NL_SETMAX): Likewise.
35648 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35649 [XPG3] (NZERO): Likewise.
35650 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35651 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35652 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35653 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35654 (REG_ERANGE): Expect.
35655 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35656 optional-constant.
35657 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35658 Use (void) in prototype.
35659 [POSIX] (*_t): Allow.
35660 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35661 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35662 (WRDE_BADVAL): Expect.
35663
5ba924e3
JM
35664 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35665 expect.
35666 [XPG3 || XPG4] (O_RSYNC): Likewise.
35667 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35668 Likewise.
35669 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35670 [XPG3 || XPG4] (sigqueue): Likewise.
35671 [XPG3 || XPG4] (sigtimedwait): Likewise.
35672 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35673 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35674 [XPG3 || XPG4] (vsnprintf): Likewise.
35675 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35676 Likewise.
35677 [XPG3 || XPG4] (blksize_t): Likewise.
35678 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35679 Likewise.
35680 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35681 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35682 [XPG3 || XPG4] (struct itimerspec): Likewise.
35683 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35684 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35685 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35686 [XPG3 || XPG4] (clockid_t): Likewise.
35687 [XPG3 || XPG4] (timer_t): Likewise.
35688 [XPG3 || XPG4] (clock_getres): Likewise.
35689 [XPG3 || XPG4] (clock_gettime): Likewise.
35690 [XPG3 || XPG4] (clock_settime): Likewise.
35691 [XPG3 || XPG4] (nanosleep): Likewise.
35692 [XPG3 || XPG4] (timer_create): Likewise.
35693 [XPG3 || XPG4] (timer_delete): Likewise.
35694 [XPG3 || XPG4] (timer_gettime): Likewise.
35695 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35696 [XPG3 || XPG4] (timer_settime): Likewise.
35697 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35698 [XPG3 || XPG4] (getlogin_r): Likewise.
35699 [XPG3 || XPG4] (pread): Likewise.
35700 [XPG3 || XPG4] (pthread_atfork): Likewise.
35701 [XPG3 || XPG4] (pwrite): Likewise.
35702
ee663277
JM
35703 [BZ #14835]
35704 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35705 <bits/siginfo.h>.
35706
942caa16
PT
357072012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35708
e19af380
PT
35709 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35710 finalizing MALLSTREAM.
35711
942caa16
PT
35712 * sysdeps/mach/hurd/syncfs.c: New file.
35713
cfde9b46
SP
357142012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35715
35716 [BZ #14719]
35717 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35718 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35719 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35720 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35721 (_nss_dns_gethostbyname4_r): Likewise.
35722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35723 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35724
f6da27e5
PH
357252012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35726
35727 [BZ #13763]
35728 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35729
6665d4a2
SM
357302012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35731
1f51ee92
SM
35732 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35733 * elf/cache.c (print_entry): Print ",AArch64" for
35734 FLAG_AARCH64_LIB64
35735
6665d4a2
SM
35736 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35737 * elf/cache.c (print_entry): Print ",hard-float" for
35738 FLAG_ARM_LIBHF.
35739
05b227bd
DM
357402012-11-18 David S. Miller <davem@davemloft.net>
35741
35742 With help from Joseph Myers.
35743 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35744 cutoff to 2**-13.
35745 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35746 cutoff to 2**-25.
35747 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35748 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35749 small.
35750 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35751 * math/libm-test.inc (y0_test): New tests.
35752 (y1_test): New tests.
35753 * sysdeps/i386/fpu/libm-test-ulps: Update.
35754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35756
786b0b67
AS
357572012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35758
35759 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35760 64-bit targets.
35761 * configure: Regenerated.
35762
8e18b86d
DM
357632012-11-17 David S. Miller <davem@davemloft.net>
35764
35765 [BZ #14811]
35766 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35767 nonzero exponents with absolute value below 0x1p-128 to +/-
35768 0x1p-128.
35769
531f1ae0
JM
357702012-11-17 Joseph Myers <joseph@codesourcery.com>
35771
12df29e2
JM
35772 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35773
150dc1a0
JM
35774 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35775
531f1ae0
JM
35776 * posix/getconf-speclist.c: New file.
35777 * posix/posix-envs.def: Likewise.
35778 * posix/confstr.c (START_ENV_GROUP): New macro.
35779 (END_ENV_GROUP): Likewise.
35780 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35781 (KNOWN_PRESENT_ENV_STRING): Likewise.
35782 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35783 (UNKNOWN_ENVIRONMENT): Likewise.
35784 (confstr): Include posix-envs.def instead of handling
35785 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35786 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35787 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35788 (END_ENV_GROUP): Likewise.
35789 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35790 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35791 (UNKNOWN_ENVIRONMENT): Likewise.
35792 (__sysconf): Include posix-envs.def instead of handling associated
35793 cases directly here.
35794 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35795 preprocessing getconf-speclist.c rather than running getconf or
35796 generating empty file.
35797
a93f9cbc
PT
357982012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35799
35800 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35801
d64d9f87
AL
358022012-11-16 Andrej Lajovic <natrij@gmail.com>
35803
35804 [BZ #14672]
35805 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35806
447885eb
DM
358072012-11-16 David S. Miller <davem@davemloft.net>
35808
35809 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35810 smaller than LDBL_EPSILON/2.0L, just return xm1.
35811
bcbf9830
L
358122012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35813
35814 * elf/tst-array1.c (init): Set constructor priority to 1000.
35815 (fini): Set destructor priority to 1000.
35816 * elf/tst-array2dep.c: Likewise.
35817
2b766585
SP
358182012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35819
35820 [BZ #11741]
35821 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35822 (_IO_new_file_xsputn): Also return EOF if none of the input
35823 data was written when overflow failed.
35824 * libio/iopadn.c (_IO_padn): Likewise.
35825 * libio/iowpadn.c (_IO_wpadn): Likewise.
35826 * stdio-common/tst-put-error.c: Add copyright notice.
35827 (do_test): Add case for printing padded string.
35828 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35829 _IO_padn returned error.
35830 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35831 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35832 return EOF.
35833
b1848fde
SP
358342012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35835
35836 * libio/libioP.h: Add comment note that the references to C++
35837 bits are now obsolete.
35838
2fd89785
MS
358392012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35840
35841 * math/libm-test.inc (check_complex): Use asprintf.
35842
e3ea5409
JM
358432012-11-14 Joseph Myers <joseph@codesourcery.com>
35844
35845 * debug/pcprofiledump.c (print_version): Update copyright year.
35846 * malloc/memusagestat.c (print_version): Likewise.
35847
2e64d265
L
358482012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35849
35850 [BZ #14831]
35851 * elf/Makefile (tests): Add tst-audit8.
35852 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35853 ($(objpfx)tst-audit8.out): New target.
35854 (tst-audit8-ENV): New variable.
35855 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35856 audit if l_reloc_result is NULL.
35857 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35858 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35859 * elf/tst-audit8.c: New file.
35860
c485e4d2
MS
358612012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35862
35863 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35864 * misc/Makefile (CFLAGS-select.c): Define.
35865 * posix/Makefile (CFLAGS-pause.c): Define.
35866
3a0d900a
DM
358672012-11-13 David S. Miller <davem@davemloft.net>
35868
35869 * crypt/Makefile: Move test targets after toplevel Rules
35870 inclusion. Grab any necessary sysdep routines when linking.
35871 * crypt/md5.c (md5_process_block): Remove define, we will always
35872 name it __md5_process_block.
35873 (md5_finish_ctx): Update md5_process_block call.
35874 (md5_stream): Likewise.
35875 (md5_process_bytes): Likewise.
35876 (md5_process_block): Rename to __md5_process_block and move to ...
35877 * crypt/md5-block.c: ... here.
35878 * crypt/sha256.c (sha256_process_block): Move to ...
35879 * crypt/sha256-block.c: ... here.
35880 * crypt/sha512.c (sha512_process_block): Move to ...
35881 * crypt/sha512-block.c: ... here.
35882 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35883 path.
35884 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35885 * sysdeps/sparc/sparc64/multiarch/Makefile
35886 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35887 crypt subdir.
35888 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35889 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35890 multiarch changes.
35891 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35892 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35893 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35894 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35895 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35896 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35897 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35898 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35899 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35900 file.
35901 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35902 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35903 file.
35904 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35905
8ca89318
JM
359062012-11-13 Joseph Myers <joseph@codesourcery.com>
35907
e27d476a
JM
35908 * timezone/tzselect.ksh: Update from tzcode git revision
35909 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35910 * timezone/zdump.c: Likewise.
35911 * timezone/zic.c: Likewise.
35912 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35913 in TZVERSION setting, not $(PKGVERSION).
35914 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35915 REPORT_BUGS_TO settings.
35916
8ca89318
JM
35917 [BZ #14838]
35918 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35919 macro.
35920
47594329
MS
359212012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35922
35923 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35924 detection to immediately after _FP_ROUND().
35925 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35926 bits are 0.
35927
640ac3f1
DM
359282012-11-11 David S. Miller <davem@davemloft.net>
35929
35930 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35931 inttypes.h
35932 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35933 __close rather than their public counterparts.
35934
3d2577bb
JM
359352012-11-10 Joseph Myers <joseph@codesourcery.com>
35936
35937 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35938 file.
35939 [UNIX98] (sem_timedwait): Do not expect.
35940 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35941 [XPG4 || UNIX98] (sockatmark): Do not expect.
35942 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35943 (clock_getcpuclockid): Do not expect.
35944 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35945 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35946 Do not expect.
35947 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35948 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35949 [UNIX98] (vwscanf): Likewise.
35950 [UNIX98] (vswscanf): Likewise.
35951
fb1ae1ee
JM
359522012-11-09 Joseph Myers <joseph@codesourcery.com>
35953
9ec6f8bd
JM
35954 * timezone/version.h: Remove file.
35955 * timezone/README: Do not refer to version.h.
35956 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35957 $(objpfx)version.h.
35958 ($(objpfx)zdump.o): Likewise.
c3f81911 35959 ($(objpfx)version.h): New target.
9ec6f8bd 35960
0aa8f8a1
JM
35961 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35962 2012i.
35963 * timezone/README: Don't mention modification to tzselect.ksh.
35964 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35965 work on unmodified tzselect.ksh. Substitute version numbers in
35966 tzselect.ksh.
35967
4e87147f
JM
35968 * Makefile (format-me): Remove.
35969 (INSTALL): Adjust indentation. Use commands directly instead of
35970 using $(format-me).
35971
8b748aed
JM
35972 * aclocal.m4 (ACX_PKGVERSION): New macro.
35973 (ACX_BUGURL): Likewise.
35974 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35975 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35976 (REPORT_BUGS_TO): Likewise.
35977 * configure: Regenerated.
35978 * config.h.in (PKGVERSION): New macro.
35979 (REPORT_BUGS_TO): Likewise.
35980 * config.make.in (PKGVERSION): New variable.
35981 (PKGVERSION_TEXI): Likewise.
35982 (REPORT_BUGS_TO): Likewise.
35983 (REPORT_BUGS_TEXI): Likewise.
35984 * Makefile (format-me): Use -I$(common-objpfx)manual.
35985 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35986 ($(common-objpfx)manual/%): New target.
35987 (manual/%): Remove target.
35988 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35989 (print_version): Use PKGVERSION.
35990 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35991 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35992 and REPORT_BUGS_TO.
35993 ($(objpfx)xtrace): Likewise.
35994 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35995 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35996 (print_version): Use PKGVERSION.
35997 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35998 (do_version): Use PKGVERSION.
35999 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36000 REPORT_BUGS_TO.
36001 (common-ldd-rewrite): Likewise.
36002 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36003 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36004 (print_version): Use PKGVERSION.
36005 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36006 * elf/pldd.c (argp_program_bug_address): Remove variable.
36007 (more_help): New function.
36008 (argp): Use more_help.
36009 (print_version): Use PKGVERSION.
36010 * elf/sln.c (main): Use PKGVERSION.
36011 (usage): Use REPORT_BUGS_TO.
36012 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36013 (top level): Use PKGVERSION.
36014 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36015 (print_version): Use PKGVERSION.
36016 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36017 (print_version): Use PKGVERSION.
36018 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36019 (print_version): Use PKGVERSION.
36020 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36021 (print_version): Use PKGVERSION.
36022 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36023 (print_version): Use PKGVERSION.
36024 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36025 (print_version): Use PKGVERSION.
36026 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36027 and BUGURL.
36028 ($(objpfx)memusage): Likewise.
36029 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36030 (do_version): Use PKGVERSION.
36031 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36032 (print_version): Use PKGVERSION.
36033 * malloc/mtrace.pl ($PACKAGE): Remove variable.
36034 ($PKGVERSION): New variable.
36035 ($REPORT_BUGS_TO): Likewise.
36036 (usage): Use $REPORT_BUGS_TO.
36037 (top level): Use $PKGVERSION.
36038 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36039 ($(objpfx)pkgvers.texi): New rule.
36040 ($(objpfx)stamp-pkgvers): Likewise.
36041 * manual/install.texi: Include pkgvers.texi.
36042 (--with-pkgversion): Document new configure option.
36043 (--with-bugurl): Likewise.
36044 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36045 than necessarily for this particular distribution. Use
36046 REPORT_BUGS_TO for where to report bugs.
36047 * INSTALL: Regenerated.
36048 * manual/libc.texinfo: Include pkgvers.texi.
36049 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36050 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36051 (print_version): Use PKGVERSION.
36052 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36053 (print_version): Use PKGVERSION.
36054 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36055 (print_version): Use PKGVERSION.
36056 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36057 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36058 macro.
36059 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36060 (print_version): Use PKGVERSION.
36061 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36062 (print_version): Use PKGVERSION.
36063 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36064 and PKGVERSION.
36065
92e4b6a9
JM
36066 * timezone/checktab.awk: Update from tzcode 2012i.
36067 * timezone/ialloc.c: Likewise.
36068 * timezone/private.h: Likewise.
36069 * timezone/scheck.c: Likewise.
36070 * timezone/tzfile.h: Likewise.
36071 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36072 (TZVERSION): Hardcode tzcode version number.
36073 * timezone/zdump.c: Update from tzcode 2012i.
36074 * timezone/zic.c: Likewise.
36075 * timezone/version.h: New file.
36076 * timezone/README: Describe version.h. Update upstream location.
36077
9bde902c
JM
36078 [BZ #14824]
36079 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36080 (mktemp): Enable declaration.
36081 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36082 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36083 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36084 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36085 Likewise.
36086 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36087 Likewise.
36088 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36089 Likewise.
36090 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36091 Likewise.
36092 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36093 Likewise.
36094 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36095 Likewise.
36096
fb1ae1ee
JM
36097 [BZ #14821]
36098 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36099 offset in buffer as u_int32_t not u_long. Consistently use memcpy
36100 for copies of such integer values.
36101 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36102 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36103
2c1adbcb
AJ
361042012-11-09 Andreas Jaeger <aj@suse.de>
36105
36106 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36107 definitions and declarations that are provided by
36108 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36109
d0f8457e
AK
361102012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36111
3a235abb 36112 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
36113 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36114 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36115 definition.
36116
57241e26
MS
361172012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36118
36119 * elf/elf.h: Update comment before AArch64 relocations.
36120
60e8270d
DM
361212012-11-07 David S. Miller <davem@davemloft.net>
36122
36123 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36124 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36125 (__start_context): Declare.
36126 (__makecontext_ret): Delete.
36127 (__makecontext): Hook up __start_context instead of
36128 __makecontext_ret.
36129 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36130 (sysdep_routines): Add __start_context when in stdlib.
36131
0fbb0fbc
JM
361322012-11-07 Joseph Myers <joseph@codesourcery.com>
36133
36134 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36135 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36136 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36137 hardcoded "nm".
36138 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36139 (READELF): New variable. Use it instead of hardcoded "readelf".
36140
eb48db7e
L
361412012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36142
36143 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36144 * sysdeps/x86/Makefile: Here.
36145 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36146 * sysdeps/x86/tst-xmmymm.sh: This.
36147
05bcf62a
JM
361482012-11-07 Joseph Myers <joseph@codesourcery.com>
36149
c4b6cf53
JM
36150 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36151 expectations.
36152 [UNIX98] (pthread_barrier_t): Do not expect.
36153 [UNIX98] (pthread_barrierattr_t): Likewise.
36154 [UNIX98] (pthread_spinlock_t): Likewise.
36155 [UNIX98] (pthread_barrier_destroy): Likewise.
36156 [UNIX98] (pthread_barrier_init): Likewise.
36157 [UNIX98] (pthread_barrier_wait): Likewise.
36158 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36159 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36160 [UNIX98] (pthread_barrierattr_init): Likewise.
36161 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36162 [UNIX98] (pthread_getcpuclockid): Likewise.
36163 [UNIX98] (pthread_mutex_timedlock): Likewise.
36164 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36165 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36166 [UNIX98] (pthread_sigmask): Likewise.
36167 [UNIX98] (pthread_spin_destroy): Likewise.
36168 [UNIX98] (pthread_spin_init): Likewise.
36169 [UNIX98] (pthread_spin_lock): Likewise.
36170 [UNIX98] (pthread_spin_trylock): Likewise.
36171 [UNIX98] (pthread_spin_unlock): Likewise.
36172 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36173 Do not expect.
36174 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36175 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36176 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36177 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36178 [XPG3 || XPG4] (pthread_key_t): Likewise.
36179 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36180 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36181 [XPG3 || XPG4] (pthread_once_t): Likewise.
36182 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36183 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36184 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36185 [XPG3 || XPG4] (pthread_t): Likewise.
36186
cbe6e120
JM
36187 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36188 not expect.
36189 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36190
1b126443
JM
36191 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36192 Change function return type to int.
36193
b961a573
JM
36194 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36195 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36196 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36197 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36198 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36199 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36200 [!POSIX] (posix_madvise): Likewise.
36201 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36202 && !UNIX98].
36203 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36204 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36205 (mode_t): Likewise.
36206 (posix_mem_offset): Likewise.
36207 (posix_typed_mem_get_info): Likewise.
36208 (posix_typed_mem_open): Likewise.
36209
9e188909
JM
36210 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36211 Change condition to [XOPEN2K8].
36212
05bcf62a
JM
36213 * conform/conformtest.pl: Preprocess allow-header data with -x c
36214 instead of from stdin.
36215 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36216 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36217 [C99-based standards] (cerfc): Likewise.
36218 [C99-based standards] (cexp2): Likewise.
36219 [C99-based standards] (cexpm1): Likewise.
36220 [C99-based standards] (clog10): Likewise.
36221 [C99-based standards] (clog1p): Likewise.
36222 [C99-based standards] (clog2): Likewise.
36223 [C99-based standards] (clgamma): Likewise.
36224 [C99-based standards] (ctgamma): Likewise.
36225 [C99-based standards] (cerff): Likewise.
36226 [C99-based standards] (cerfcf): Likewise.
36227 [C99-based standards] (cexp2f): Likewise.
36228 [C99-based standards] (cexpm1f): Likewise.
36229 [C99-based standards] (clog10f): Likewise.
36230 [C99-based standards] (clog1pf): Likewise.
36231 [C99-based standards] (clog2f): Likewise.
36232 [C99-based standards] (clgammaf): Likewise.
36233 [C99-based standards] (ctgammaf): Likewise.
36234 [C99-based standards] (cerfl): Likewise.
36235 [C99-based standards] (cerfcl): Likewise.
36236 [C99-based standards] (cexp2l): Likewise.
36237 [C99-based standards] (cexpm1l): Likewise.
36238 [C99-based standards] (clog10l): Likewise.
36239 [C99-based standards] (clog1pl): Likewise.
36240 [C99-based standards] (clog2l): Likewise.
36241 [C99-based standards] (clgammal): Likewise.
36242 [C99-based standards] (ctgammal): Likewise.
36243 * conform/data/inttypes.h-data [C99-based standards]: Include
36244 stdint.h-data. Remove all expectations for stdint.h contents.
36245 [C99-based standards] (PRI*): Do not allow.
36246 [C99-based standards] (SCN*): Likewise.
36247 [C99-based standards] (*_t): Likewise.
36248 [C99-based-standards] (PRId8): Expect macro.
36249 [C99-based-standards] (PRIi8): Likewise.
36250 [C99-based-standards] (PRIo8): Likewise.
36251 [C99-based-standards] (PRIu8): Likewise.
36252 [C99-based-standards] (PRIx8): Likewise.
36253 [C99-based-standards] (PRIX8): Likewise.
36254 [C99-based-standards] (SCNd8): Likewise.
36255 [C99-based-standards] (SCNi8): Likewise.
36256 [C99-based-standards] (SCNo8): Likewise.
36257 [C99-based-standards] (SCNu8): Likewise.
36258 [C99-based-standards] (SCNx8): Likewise.
36259 [C99-based-standards] (PRIdLEAST8): Likewise.
36260 [C99-based-standards] (PRIiLEAST8): Likewise.
36261 [C99-based-standards] (PRIoLEAST8): Likewise.
36262 [C99-based-standards] (PRIuLEAST8): Likewise.
36263 [C99-based-standards] (PRIxLEAST8): Likewise.
36264 [C99-based-standards] (PRIXLEAST8): Likewise.
36265 [C99-based-standards] (SCNdLEAST8): Likewise.
36266 [C99-based-standards] (SCNiLEAST8): Likewise.
36267 [C99-based-standards] (SCNoLEAST8): Likewise.
36268 [C99-based-standards] (SCNuLEAST8): Likewise.
36269 [C99-based-standards] (SCNxLEAST8): Likewise.
36270 [C99-based-standards] (PRIdFAST8): Likewise.
36271 [C99-based-standards] (PRIiFAST8): Likewise.
36272 [C99-based-standards] (PRIoFAST8): Likewise.
36273 [C99-based-standards] (PRIuFAST8): Likewise.
36274 [C99-based-standards] (PRIxFAST8): Likewise.
36275 [C99-based-standards] (PRIXFAST8): Likewise.
36276 [C99-based-standards] (SCNdFAST8): Likewise.
36277 [C99-based-standards] (SCNiFAST8): Likewise.
36278 [C99-based-standards] (SCNoFAST8): Likewise.
36279 [C99-based-standards] (SCNuFAST8): Likewise.
36280 [C99-based-standards] (SCNxFAST8): Likewise.
36281 [C99-based-standards] (PRId16): Likewise.
36282 [C99-based-standards] (PRIi16): Likewise.
36283 [C99-based-standards] (PRIo16): Likewise.
36284 [C99-based-standards] (PRIu16): Likewise.
36285 [C99-based-standards] (PRIx16): Likewise.
36286 [C99-based-standards] (PRIX16): Likewise.
36287 [C99-based-standards] (SCNd16): Likewise.
36288 [C99-based-standards] (SCNi16): Likewise.
36289 [C99-based-standards] (SCNo16): Likewise.
36290 [C99-based-standards] (SCNu16): Likewise.
36291 [C99-based-standards] (SCNx16): Likewise.
36292 [C99-based-standards] (PRIdLEAST16): Likewise.
36293 [C99-based-standards] (PRIiLEAST16): Likewise.
36294 [C99-based-standards] (PRIoLEAST16): Likewise.
36295 [C99-based-standards] (PRIuLEAST16): Likewise.
36296 [C99-based-standards] (PRIxLEAST16): Likewise.
36297 [C99-based-standards] (PRIXLEAST16): Likewise.
36298 [C99-based-standards] (SCNdLEAST16): Likewise.
36299 [C99-based-standards] (SCNiLEAST16): Likewise.
36300 [C99-based-standards] (SCNoLEAST16): Likewise.
36301 [C99-based-standards] (SCNuLEAST16): Likewise.
36302 [C99-based-standards] (SCNxLEAST16): Likewise.
36303 [C99-based-standards] (PRIdFAST16): Likewise.
36304 [C99-based-standards] (PRIiFAST16): Likewise.
36305 [C99-based-standards] (PRIoFAST16): Likewise.
36306 [C99-based-standards] (PRIuFAST16): Likewise.
36307 [C99-based-standards] (PRIxFAST16): Likewise.
36308 [C99-based-standards] (PRIXFAST16): Likewise.
36309 [C99-based-standards] (SCNdFAST16): Likewise.
36310 [C99-based-standards] (SCNiFAST16): Likewise.
36311 [C99-based-standards] (SCNoFAST16): Likewise.
36312 [C99-based-standards] (SCNuFAST16): Likewise.
36313 [C99-based-standards] (SCNxFAST16): Likewise.
36314 [C99-based-standards] (PRId32): Likewise.
36315 [C99-based-standards] (PRIi32): Likewise.
36316 [C99-based-standards] (PRIo32): Likewise.
36317 [C99-based-standards] (PRIu32): Likewise.
36318 [C99-based-standards] (PRIx32): Likewise.
36319 [C99-based-standards] (PRIX32): Likewise.
36320 [C99-based-standards] (SCNd32): Likewise.
36321 [C99-based-standards] (SCNi32): Likewise.
36322 [C99-based-standards] (SCNo32): Likewise.
36323 [C99-based-standards] (SCNu32): Likewise.
36324 [C99-based-standards] (SCNx32): Likewise.
36325 [C99-based-standards] (PRIdLEAST32): Likewise.
36326 [C99-based-standards] (PRIiLEAST32): Likewise.
36327 [C99-based-standards] (PRIoLEAST32): Likewise.
36328 [C99-based-standards] (PRIuLEAST32): Likewise.
36329 [C99-based-standards] (PRIxLEAST32): Likewise.
36330 [C99-based-standards] (PRIXLEAST32): Likewise.
36331 [C99-based-standards] (SCNdLEAST32): Likewise.
36332 [C99-based-standards] (SCNiLEAST32): Likewise.
36333 [C99-based-standards] (SCNoLEAST32): Likewise.
36334 [C99-based-standards] (SCNuLEAST32): Likewise.
36335 [C99-based-standards] (SCNxLEAST32): Likewise.
36336 [C99-based-standards] (PRIdFAST32): Likewise.
36337 [C99-based-standards] (PRIiFAST32): Likewise.
36338 [C99-based-standards] (PRIoFAST32): Likewise.
36339 [C99-based-standards] (PRIuFAST32): Likewise.
36340 [C99-based-standards] (PRIxFAST32): Likewise.
36341 [C99-based-standards] (PRIXFAST32): Likewise.
36342 [C99-based-standards] (SCNdFAST32): Likewise.
36343 [C99-based-standards] (SCNiFAST32): Likewise.
36344 [C99-based-standards] (SCNoFAST32): Likewise.
36345 [C99-based-standards] (SCNuFAST32): Likewise.
36346 [C99-based-standards] (SCNxFAST32): Likewise.
36347 [C99-based-standards] (PRId64): Likewise.
36348 [C99-based-standards] (PRIi64): Likewise.
36349 [C99-based-standards] (PRIo64): Likewise.
36350 [C99-based-standards] (PRIu64): Likewise.
36351 [C99-based-standards] (PRIx64): Likewise.
36352 [C99-based-standards] (PRIX64): Likewise.
36353 [C99-based-standards] (SCNd64): Likewise.
36354 [C99-based-standards] (SCNi64): Likewise.
36355 [C99-based-standards] (SCNo64): Likewise.
36356 [C99-based-standards] (SCNu64): Likewise.
36357 [C99-based-standards] (SCNx64): Likewise.
36358 [C99-based-standards] (PRIdLEAST64): Likewise.
36359 [C99-based-standards] (PRIiLEAST64): Likewise.
36360 [C99-based-standards] (PRIoLEAST64): Likewise.
36361 [C99-based-standards] (PRIuLEAST64): Likewise.
36362 [C99-based-standards] (PRIxLEAST64): Likewise.
36363 [C99-based-standards] (PRIXLEAST64): Likewise.
36364 [C99-based-standards] (SCNdLEAST64): Likewise.
36365 [C99-based-standards] (SCNiLEAST64): Likewise.
36366 [C99-based-standards] (SCNoLEAST64): Likewise.
36367 [C99-based-standards] (SCNuLEAST64): Likewise.
36368 [C99-based-standards] (SCNxLEAST64): Likewise.
36369 [C99-based-standards] (PRIdFAST64): Likewise.
36370 [C99-based-standards] (PRIiFAST64): Likewise.
36371 [C99-based-standards] (PRIoFAST64): Likewise.
36372 [C99-based-standards] (PRIuFAST64): Likewise.
36373 [C99-based-standards] (PRIxFAST64): Likewise.
36374 [C99-based-standards] (PRIXFAST64): Likewise.
36375 [C99-based-standards] (SCNdFAST64): Likewise.
36376 [C99-based-standards] (SCNiFAST64): Likewise.
36377 [C99-based-standards] (SCNoFAST64): Likewise.
36378 [C99-based-standards] (SCNuFAST64): Likewise.
36379 [C99-based-standards] (SCNxFAST64): Likewise.
36380 [C99-based-standards] (PRIdMAX): Likewise.
36381 [C99-based-standards] (PRIiMAX): Likewise.
36382 [C99-based-standards] (PRIoMAX): Likewise.
36383 [C99-based-standards] (PRIuMAX): Likewise.
36384 [C99-based-standards] (PRIxMAX): Likewise.
36385 [C99-based-standards] (PRIXMAX): Likewise.
36386 [C99-based-standards] (SCNdMAX): Likewise.
36387 [C99-based-standards] (SCNiMAX): Likewise.
36388 [C99-based-standards] (SCNoMAX): Likewise.
36389 [C99-based-standards] (SCNuMAX): Likewise.
36390 [C99-based-standards] (SCNxMAX): Likewise.
36391 [C99-based-standards] (PRIdPTR): Likewise.
36392 [C99-based-standards] (PRIiPTR): Likewise.
36393 [C99-based-standards] (PRIoPTR): Likewise.
36394 [C99-based-standards] (PRIuPTR): Likewise.
36395 [C99-based-standards] (PRIxPTR): Likewise.
36396 [C99-based-standards] (PRIXPTR): Likewise.
36397 [C99-based-standards] (SCNdPTR): Likewise.
36398 [C99-based-standards] (SCNiPTR): Likewise.
36399 [C99-based-standards] (SCNoPTR): Likewise.
36400 [C99-based-standards] (SCNuPTR): Likewise.
36401 [C99-based-standards] (SCNxPTR): Likewise.
36402 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36403 allow.
36404 * conform/data/stdint.h-data: Update comments to clarify
36405 requirements.
36406 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36407 type.
36408 [C99-based standards] (INT8_MAX): Likewise.
36409 [C99-based standards] (INT16_MIN): Likewise.
36410 [C99-based standards] (INT16_MAX): Likewise.
36411 [C99-based standards] (INT32_MIN): Likewise.
36412 [C99-based standards] (INT32_MAX): Likewise.
36413 [C99-based standards] (INT64_MIN): Likewise.
36414 [C99-based standards] (INT64_MAX): Likewise.
36415 [C99-based standards] (UINT8_MAX): Likewise.
36416 [C99-based standards] (UINT16_MAX): Likewise.
36417 [C99-based standards] (UINT32_MAX): Likewise.
36418 [C99-based standards] (UINT64_MAX): Likewise.
36419 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36420 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36421 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36422 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36423 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36424 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36425 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36426 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36427 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36428 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36429 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36430 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36431 [C99-based standards] (INT_FAST8_MIN): Likewise.
36432 [C99-based standards] (INT_FAST8_MAX): Likewise.
36433 [C99-based standards] (INT_FAST16_MIN): Likewise.
36434 [C99-based standards] (INT_FAST16_MAX): Likewise.
36435 [C99-based standards] (INT_FAST32_MIN): Likewise.
36436 [C99-based standards] (INT_FAST32_MAX): Likewise.
36437 [C99-based standards] (INT_FAST64_MIN): Likewise.
36438 [C99-based standards] (INT_FAST64_MAX): Likewise.
36439 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36440 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36441 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36442 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36443 [C99-based standards] (INTPTR_MIN): Likewise.
36444 [C99-based standards] (INTPTR_MAX): Likewise.
36445 [C99-based standards] (UINTPTR_MAX): Likewise.
36446 [C99-based standards] (INTMAX_MIN): Likewise.
36447 [C99-based standards] (INTMAX_MAX): Likewise.
36448 [C99-based standards] (UINTMAX_MAX): Likewise.
36449 [C99-based standards] (PTRDIFF_MIN): Likewise.
36450 [C99-based standards] (PTRDIFF_MAX): Likewise.
36451 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36452 [C99-based standards] (SIZE_MAX): Likewise.
36453 [C99-based standards] (WCHAR_MAX): Likewise.
36454 [C99-based standards] (WINT_MAX): Likewise.
36455 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36456 constraint on value.
36457 [C99-based standards] (WCHAR_MIN): Likewise.
36458 [C99-based standards] (WINT_MIN): Likewise.
36459 [C99-based standards] (*_t): Allow.
36460 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36461 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36462 Include math.h-data and complex.h-data. Remove all expectations
36463 of math.h and complex.h contents.
36464 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36465 at end of line.
36466 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36467 (struct tm): Expect tag.
36468 [C99-based-standards] (wcstof): Expect function.
36469 [C99-based-standards] (wcstold): Likewise.
36470 [C99-based-standards] (wcstoll): Likewise.
36471 [C99-based-standards] (wcstoull): Likewise.
36472 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36473 macro-int-constant. Specify type.
36474 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36475 constraint on value.
36476 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36477 Specify type.
36478 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36479 Specify value.
36480 [ISO C standards]: Do not allow headers.
36481 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36482 wcs[abcdefghijklmnopqrstuvwxyz]*.
36483 [ISO C standards] (*_t): Do not allow.
36484 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36485 Expect function.
36486 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36487 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36488 Specify type.
36489 [ISO C standards]: Do not allow headers.
36490 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36491 is[abcdefghijklmnopqrstuvwxyz]*.
36492 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36493 to[abcdefghijklmnopqrstuvwxyz]*.
36494 [ISO C standards] (*_t): Do not allow.
36495 * conform/data/stdalign.h-data: New file.
36496 * conform/data/stdbool.h-data: Likewise.
36497 * conform/data/stdnoreturn.h-data: Likewise.
36498
7514feb8
RM
364992012-11-07 Roland McGrath <roland@hack.frob.com>
36500
36501 [BZ #14815]
36502 * manual/filesys.texi (Directory Entries): Typo fix.
36503 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36504
19b2ecfc
MS
365052012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36506
36507 * elf/elf.h (EM_AARCH64): New macro.
36508 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36509 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36510 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36511 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36512 (R_AARCH64_TLSDESC): Likewise.
36513 (NT_ARM_TLS): Likewise.
36514 (NT_ARM_HW_BREAK): Likewise.
36515 (NT_ARM_HW_WATCH): Likewise.
36516
60e235ee
JM
365172012-11-07 Joseph Myers <joseph@codesourcery.com>
36518
36519 [BZ #14811]
36520 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36521 (__ieee754_powl): Saturate nonzero exponents with absolute value
36522 below 0x1p-79 to +/- 0x1p-79.
36523 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36524 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36525 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36526 nonzero exponents with absolute value below 0x1p-32 to +/-
36527 0x1p-32.
36528 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36529 (__ieee754_powl): Saturate nonzero exponents with absolute value
36530 below 0x1p-79 to +/- 0x1p-79.
36531 * math/libm-test.inc (pow_test): Add more tests.
36532
0ab234b7
AK
365332012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36534
36535 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36536 _dl_s390_cap_flags with kernel. Increase string length.
36537 (_dl_s390_platforms): Add z196 and zEC12.
36538
45832f74
JM
365392012-11-07 Joseph Myers <joseph@codesourcery.com>
36540
36541 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36542 Change XOPEN21K to XOPEN2K.
36543
19218757
MK
365442012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36545
36546 * string/memmove.c: Use memcpy when possible.
36547
c5f45721
AJ
365482012-11-06 Andreas Jaeger <aj@suse.de>
36549
36550 * po/eo.po: Update from translation team.
36551
82477c28
JM
365522012-11-06 Joseph Myers <joseph@codesourcery.com>
36553
36554 [BZ #14793]
36555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36556 exponent and small x and y exponents, scale x or y up. Increase
36557 by 2 the exponent used in scaling up.
36558 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36559 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36560 * math/libm-test.inc (fma_test): Add more tests.
36561 (fma_test_towardzero): Likewise.
36562 (fma_test_downward): Likewise.
36563 (fma_test_upward): Likewise.
36564
99252c8c
JM
365652012-11-05 Joseph Myers <joseph@codesourcery.com>
36566
acfa885f
JM
36567 [BZ #14805]
36568 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36569 fenv_t *.
36570
99252c8c
JM
36571 [BZ #14801]
36572 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36573 namespace for names of struct fields.
36574 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36575 fenv_t fields.
36576 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36577 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36578
d6d98dea
ST
365792012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36580
36581 [BZ #3665]
36582 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36583
e10bb107
TS
365842012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36585
36586 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36587 PTR_DEMANGLE.
36588
36589 [BZ #5246]
36590 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36591 PTR_DEMANGLE.
36592
a0c2940d
JM
365932012-11-04 Joseph Myers <joseph@codesourcery.com>
36594
36595 [BZ #14797]
36596 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36597 definitely overflow as x * y not x * y + z.
36598 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36599 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36600 * math/libm-test.inc (fma_test): Add more tests.
36601 (fma_test_towardzero): Likewise.
36602 (fma_test_downward): Likewise.
36603 (fma_test_upward): Likewise.
36604
b830319d
TS
366052012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36606
36607 [BZ #157]
36608
36609 * include/stub-tag.h: Remove file.
36610 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36611 '#include' of it.
36612 * manual/maint.texi (Porting): Don't reference it.
36613 * Makerules ($(objpfx)stubs): Likewise.
36614 * dirent/closedir.c: Don't include <stub-tag.h>.
36615 * dirent/dirfd.c: Likewise.
36616 * dirent/fdopendir.c: Likewise.
36617 * dirent/getdents.c: Likewise.
36618 * dirent/getdents64.c: Likewise.
36619 * dirent/opendir.c: Likewise.
36620 * dirent/readdir.c: Likewise.
36621 * dirent/readdir64.c: Likewise.
36622 * dirent/readdir64_r.c: Likewise.
36623 * dirent/readdir_r.c: Likewise.
36624 * dirent/rewinddir.c: Likewise.
36625 * dirent/seekdir.c: Likewise.
36626 * dirent/telldir.c: Likewise.
36627 * gmon/profil.c: Likewise.
36628 * grp/setgroups.c: Likewise.
36629 * inet/if_index.c: Likewise.
36630 * io/access.c: Likewise.
36631 * io/chdir.c: Likewise.
36632 * io/chmod.c: Likewise.
36633 * io/chown.c: Likewise.
36634 * io/close.c: Likewise.
36635 * io/dup.c: Likewise.
36636 * io/dup2.c: Likewise.
36637 * io/dup3.c: Likewise.
36638 * io/euidaccess.c: Likewise.
36639 * io/faccessat.c: Likewise.
36640 * io/fchdir.c: Likewise.
36641 * io/fchmod.c: Likewise.
36642 * io/fchmodat.c: Likewise.
36643 * io/fchown.c: Likewise.
36644 * io/fchownat.c: Likewise.
36645 * io/fcntl.c: Likewise.
36646 * io/flock.c: Likewise.
36647 * io/fstatfs.c: Likewise.
36648 * io/fstatfs64.c: Likewise.
36649 * io/fstatvfs.c: Likewise.
36650 * io/fstatvfs64.c: Likewise.
36651 * io/futimens.c: Likewise.
36652 * io/fxstat.c: Likewise.
36653 * io/fxstat64.c: Likewise.
36654 * io/fxstatat.c: Likewise.
36655 * io/fxstatat64.c: Likewise.
36656 * io/getcwd.c: Likewise.
36657 * io/isatty.c: Likewise.
36658 * io/lchmod.c: Likewise.
36659 * io/lchown.c: Likewise.
36660 * io/link.c: Likewise.
36661 * io/linkat.c: Likewise.
36662 * io/lseek.c: Likewise.
36663 * io/lseek64.c: Likewise.
36664 * io/lxstat64.c: Likewise.
36665 * io/mkdir.c: Likewise.
36666 * io/mkdirat.c: Likewise.
36667 * io/mkfifo.c: Likewise.
36668 * io/mkfifoat.c: Likewise.
36669 * io/open.c: Likewise.
36670 * io/open64.c: Likewise.
36671 * io/openat.c: Likewise.
36672 * io/openat64.c: Likewise.
36673 * io/pipe.c: Likewise.
36674 * io/pipe2.c: Likewise.
36675 * io/poll.c: Likewise.
36676 * io/posix_fadvise.c: Likewise.
36677 * io/posix_fadvise64.c: Likewise.
36678 * io/posix_fallocate.c: Likewise.
36679 * io/posix_fallocate64.c: Likewise.
36680 * io/read.c: Likewise.
36681 * io/readlink.c: Likewise.
36682 * io/readlinkat.c: Likewise.
36683 * io/rmdir.c: Likewise.
36684 * io/sendfile.c: Likewise.
36685 * io/sendfile64.c: Likewise.
36686 * io/statfs.c: Likewise.
36687 * io/statfs64.c: Likewise.
36688 * io/statvfs.c: Likewise.
36689 * io/statvfs64.c: Likewise.
36690 * io/symlink.c: Likewise.
36691 * io/symlinkat.c: Likewise.
36692 * io/ttyname.c: Likewise.
36693 * io/ttyname_r.c: Likewise.
36694 * io/umask.c: Likewise.
36695 * io/unlink.c: Likewise.
36696 * io/unlinkat.c: Likewise.
36697 * io/utime.c: Likewise.
36698 * io/utimensat.c: Likewise.
36699 * io/write.c: Likewise.
36700 * io/xmknod.c: Likewise.
36701 * io/xmknodat.c: Likewise.
36702 * io/xstat.c: Likewise.
36703 * io/xstat64.c: Likewise.
36704 * login/getpt.c: Likewise.
36705 * login/grantpt.c: Likewise.
36706 * login/unlockpt.c: Likewise.
36707 * math/e_acoshl.c: Likewise.
36708 * math/e_acosl.c: Likewise.
36709 * math/e_asinl.c: Likewise.
36710 * math/e_atan2l.c: Likewise.
36711 * math/e_atanhl.c: Likewise.
36712 * math/e_coshl.c: Likewise.
36713 * math/e_expl.c: Likewise.
36714 * math/e_fmodl.c: Likewise.
36715 * math/e_gammal_r.c: Likewise.
36716 * math/e_hypotl.c: Likewise.
36717 * math/e_j0l.c: Likewise.
36718 * math/e_j1l.c: Likewise.
36719 * math/e_jnl.c: Likewise.
36720 * math/e_lgammal_r.c: Likewise.
36721 * math/e_log10l.c: Likewise.
36722 * math/e_log2l.c: Likewise.
36723 * math/e_logl.c: Likewise.
36724 * math/e_powl.c: Likewise.
36725 * math/e_rem_pio2l.c: Likewise.
36726 * math/e_sinhl.c: Likewise.
36727 * math/e_sqrtl.c: Likewise.
36728 * math/fclrexcpt.c: Likewise.
36729 * math/fedisblxcpt.c: Likewise.
36730 * math/feenablxcpt.c: Likewise.
36731 * math/fegetenv.c: Likewise.
36732 * math/fegetexcept.c: Likewise.
36733 * math/fegetround.c: Likewise.
36734 * math/feholdexcpt.c: Likewise.
36735 * math/fesetenv.c: Likewise.
36736 * math/fesetround.c: Likewise.
36737 * math/feupdateenv.c: Likewise.
36738 * math/fgetexcptflg.c: Likewise.
36739 * math/fraiseexcpt.c: Likewise.
36740 * math/fsetexcptflg.c: Likewise.
36741 * math/ftestexcept.c: Likewise.
36742 * math/k_cosl.c: Likewise.
36743 * math/k_rem_pio2l.c: Likewise.
36744 * math/k_sinl.c: Likewise.
36745 * math/k_tanl.c: Likewise.
36746 * math/s_asinhl.c: Likewise.
36747 * math/s_atanl.c: Likewise.
36748 * math/s_cbrtl.c: Likewise.
36749 * math/s_erfl.c: Likewise.
36750 * math/s_expm1l.c: Likewise.
36751 * math/s_log1pl.c: Likewise.
36752 * math/s_tanhl.c: Likewise.
36753 * misc/acct.c: Likewise.
36754 * misc/brk.c: Likewise.
36755 * misc/chflags.c: Likewise.
36756 * misc/chroot.c: Likewise.
36757 * misc/fchflags.c: Likewise.
36758 * misc/fgetxattr.c: Likewise.
36759 * misc/flistxattr.c: Likewise.
36760 * misc/fremovexattr.c: Likewise.
36761 * misc/fsetxattr.c: Likewise.
36762 * misc/fsync.c: Likewise.
36763 * misc/ftruncate.c: Likewise.
36764 * misc/futimes.c: Likewise.
36765 * misc/futimesat.c: Likewise.
36766 * misc/getdomain.c: Likewise.
36767 * misc/getdtsz.c: Likewise.
36768 * misc/gethostid.c: Likewise.
36769 * misc/gethostname.c: Likewise.
36770 * misc/getloadavg.c: Likewise.
36771 * misc/getpagesize.c: Likewise.
36772 * misc/getsysstats.c: Likewise.
36773 * misc/getxattr.c: Likewise.
36774 * misc/gtty.c: Likewise.
36775 * misc/ioctl.c: Likewise.
36776 * misc/lgetxattr.c: Likewise.
36777 * misc/listxattr.c: Likewise.
36778 * misc/llistxattr.c: Likewise.
36779 * misc/lremovexattr.c: Likewise.
36780 * misc/lsetxattr.c: Likewise.
36781 * misc/lutimes.c: Likewise.
36782 * misc/madvise.c: Likewise.
36783 * misc/mincore.c: Likewise.
36784 * misc/mlock.c: Likewise.
36785 * misc/mlockall.c: Likewise.
36786 * misc/mmap.c: Likewise.
36787 * misc/mprotect.c: Likewise.
36788 * misc/msync.c: Likewise.
36789 * misc/munlock.c: Likewise.
36790 * misc/munlockall.c: Likewise.
36791 * misc/munmap.c: Likewise.
36792 * misc/preadv.c: Likewise.
36793 * misc/preadv64.c: Likewise.
36794 * misc/ptrace.c: Likewise.
36795 * misc/pwritev.c: Likewise.
36796 * misc/pwritev64.c: Likewise.
36797 * misc/readv.c: Likewise.
36798 * misc/reboot.c: Likewise.
36799 * misc/remap_file_pages.c: Likewise.
36800 * misc/removexattr.c: Likewise.
36801 * misc/revoke.c: Likewise.
36802 * misc/select.c: Likewise.
36803 * misc/setdomain.c: Likewise.
36804 * misc/setegid.c: Likewise.
36805 * misc/seteuid.c: Likewise.
36806 * misc/sethostid.c: Likewise.
36807 * misc/sethostname.c: Likewise.
36808 * misc/setregid.c: Likewise.
36809 * misc/setreuid.c: Likewise.
36810 * misc/setxattr.c: Likewise.
36811 * misc/sstk.c: Likewise.
36812 * misc/stty.c: Likewise.
36813 * misc/swapoff.c: Likewise.
36814 * misc/swapon.c: Likewise.
36815 * misc/sync.c: Likewise.
36816 * misc/syncfs.c: Likewise.
36817 * misc/syscall.c: Likewise.
36818 * misc/truncate.c: Likewise.
36819 * misc/ualarm.c: Likewise.
36820 * misc/usleep.c: Likewise.
36821 * misc/ustat.c: Likewise.
36822 * misc/utimes.c: Likewise.
36823 * misc/vhangup.c: Likewise.
36824 * misc/writev.c: Likewise.
36825 * posix/_exit.c: Likewise.
36826 * posix/alarm.c: Likewise.
36827 * posix/execve.c: Likewise.
36828 * posix/fexecve.c: Likewise.
36829 * posix/fork.c: Likewise.
36830 * posix/fpathconf.c: Likewise.
36831 * posix/getaddrinfo.c: Likewise.
36832 * posix/getegid.c: Likewise.
36833 * posix/geteuid.c: Likewise.
36834 * posix/getgid.c: Likewise.
36835 * posix/getgroups.c: Likewise.
36836 * posix/getlogin.c: Likewise.
36837 * posix/getlogin_r.c: Likewise.
36838 * posix/getpgid.c: Likewise.
36839 * posix/getpid.c: Likewise.
36840 * posix/getppid.c: Likewise.
36841 * posix/getresgid.c: Likewise.
36842 * posix/getresuid.c: Likewise.
36843 * posix/getsid.c: Likewise.
36844 * posix/getuid.c: Likewise.
36845 * posix/glob64.c: Likewise.
36846 * posix/nanosleep.c: Likewise.
36847 * posix/pathconf.c: Likewise.
36848 * posix/pause.c: Likewise.
36849 * posix/posix_madvise.c: Likewise.
36850 * posix/pread.c: Likewise.
36851 * posix/pread64.c: Likewise.
36852 * posix/pwrite.c: Likewise.
36853 * posix/pwrite64.c: Likewise.
36854 * posix/sched_getaffinity.c: Likewise.
36855 * posix/sched_getp.c: Likewise.
36856 * posix/sched_gets.c: Likewise.
36857 * posix/sched_primax.c: Likewise.
36858 * posix/sched_primin.c: Likewise.
36859 * posix/sched_rr_gi.c: Likewise.
36860 * posix/sched_setaffinity.c: Likewise.
36861 * posix/sched_setp.c: Likewise.
36862 * posix/sched_sets.c: Likewise.
36863 * posix/sched_yield.c: Likewise.
36864 * posix/setgid.c: Likewise.
36865 * posix/setlogin.c: Likewise.
36866 * posix/setpgid.c: Likewise.
36867 * posix/setresgid.c: Likewise.
36868 * posix/setresuid.c: Likewise.
36869 * posix/setsid.c: Likewise.
36870 * posix/setuid.c: Likewise.
36871 * posix/sleep.c: Likewise.
36872 * posix/spawni.c: Likewise.
36873 * posix/sysconf.c: Likewise.
36874 * posix/times.c: Likewise.
36875 * posix/wait.c: Likewise.
36876 * posix/wait3.c: Likewise.
36877 * posix/wait4.c: Likewise.
36878 * posix/waitpid.c: Likewise.
36879 * resolv/gai_sigqueue.c: Likewise.
36880 * resource/getpriority.c: Likewise.
36881 * resource/getrlimit.c: Likewise.
36882 * resource/getrusage.c: Likewise.
36883 * resource/nice.c: Likewise.
36884 * resource/setpriority.c: Likewise.
36885 * resource/setrlimit.c: Likewise.
36886 * resource/ulimit.c: Likewise.
36887 * rt/aio_cancel.c: Likewise.
36888 * rt/aio_fsync.c: Likewise.
36889 * rt/aio_read.c: Likewise.
36890 * rt/aio_sigqueue.c: Likewise.
36891 * rt/aio_suspend.c: Likewise.
36892 * rt/aio_write.c: Likewise.
36893 * rt/clock_getres.c: Likewise.
36894 * rt/clock_gettime.c: Likewise.
36895 * rt/clock_nanosleep.c: Likewise.
36896 * rt/clock_settime.c: Likewise.
36897 * rt/lio_listio.c: Likewise.
36898 * rt/mq_close.c: Likewise.
36899 * rt/mq_getattr.c: Likewise.
36900 * rt/mq_notify.c: Likewise.
36901 * rt/mq_open.c: Likewise.
36902 * rt/mq_receive.c: Likewise.
36903 * rt/mq_send.c: Likewise.
36904 * rt/mq_setattr.c: Likewise.
36905 * rt/mq_timedreceive.c: Likewise.
36906 * rt/mq_timedsend.c: Likewise.
36907 * rt/mq_unlink.c: Likewise.
36908 * rt/shm_open.c: Likewise.
36909 * rt/shm_unlink.c: Likewise.
36910 * rt/timer_create.c: Likewise.
36911 * rt/timer_delete.c: Likewise.
36912 * rt/timer_getoverr.c: Likewise.
36913 * rt/timer_gettime.c: Likewise.
36914 * rt/timer_settime.c: Likewise.
36915 * setjmp/__longjmp.c: Likewise.
36916 * setjmp/setjmp.c: Likewise.
36917 * signal/kill.c: Likewise.
36918 * signal/killpg.c: Likewise.
36919 * signal/raise.c: Likewise.
36920 * signal/sigaction.c: Likewise.
36921 * signal/sigaltstack.c: Likewise.
36922 * signal/sigblock.c: Likewise.
36923 * signal/sigignore.c: Likewise.
36924 * signal/sigintr.c: Likewise.
36925 * signal/signal.c: Likewise.
36926 * signal/sigpause.c: Likewise.
36927 * signal/sigpending.c: Likewise.
36928 * signal/sigqueue.c: Likewise.
36929 * signal/sigreturn.c: Likewise.
36930 * signal/sigset.c: Likewise.
36931 * signal/sigsetmask.c: Likewise.
36932 * signal/sigstack.c: Likewise.
36933 * signal/sigsuspend.c: Likewise.
36934 * signal/sigtimedwait.c: Likewise.
36935 * signal/sigvec.c: Likewise.
36936 * signal/sigwait.c: Likewise.
36937 * signal/sigwaitinfo.c: Likewise.
36938 * signal/sysv_signal.c: Likewise.
36939 * socket/accept.c: Likewise.
36940 * socket/accept4.c: Likewise.
36941 * socket/bind.c: Likewise.
36942 * socket/connect.c: Likewise.
36943 * socket/getpeername.c: Likewise.
36944 * socket/getsockname.c: Likewise.
36945 * socket/getsockopt.c: Likewise.
36946 * socket/isfdtype.c: Likewise.
36947 * socket/listen.c: Likewise.
36948 * socket/recv.c: Likewise.
36949 * socket/recvfrom.c: Likewise.
36950 * socket/recvmsg.c: Likewise.
36951 * socket/send.c: Likewise.
36952 * socket/sendmsg.c: Likewise.
36953 * socket/sendto.c: Likewise.
36954 * socket/setsockopt.c: Likewise.
36955 * socket/shutdown.c: Likewise.
36956 * socket/sockatmark.c: Likewise.
36957 * socket/socket.c: Likewise.
36958 * socket/socketpair.c: Likewise.
36959 * stdio-common/ctermid.c: Likewise.
36960 * stdio-common/cuserid.c: Likewise.
36961 * stdio-common/remove.c: Likewise.
36962 * stdio-common/rename.c: Likewise.
36963 * stdio-common/renameat.c: Likewise.
36964 * stdio-common/tempname.c: Likewise.
36965 * stdlib/getcontext.c: Likewise.
36966 * stdlib/makecontext.c: Likewise.
36967 * stdlib/setcontext.c: Likewise.
36968 * stdlib/swapcontext.c: Likewise.
36969 * stdlib/system.c: Likewise.
36970 * streams/fattach.c: Likewise.
36971 * streams/fdetach.c: Likewise.
36972 * streams/getmsg.c: Likewise.
36973 * streams/getpmsg.c: Likewise.
36974 * streams/putmsg.c: Likewise.
36975 * streams/putpmsg.c: Likewise.
36976 * sysdeps/unix/bsd/getpt.c: Likewise.
36977 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36978 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36979 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36981 Likewise.
36982 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36983 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36984 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36985 * sysvipc/msgctl.c: Likewise.
36986 * sysvipc/msgget.c: Likewise.
36987 * sysvipc/msgrcv.c: Likewise.
36988 * sysvipc/msgsnd.c: Likewise.
36989 * sysvipc/semctl.c: Likewise.
36990 * sysvipc/semget.c: Likewise.
36991 * sysvipc/semop.c: Likewise.
36992 * sysvipc/semtimedop.c: Likewise.
36993 * sysvipc/shmat.c: Likewise.
36994 * sysvipc/shmctl.c: Likewise.
36995 * sysvipc/shmdt.c: Likewise.
36996 * sysvipc/shmget.c: Likewise.
36997 * termios/tcdrain.c: Likewise.
36998 * termios/tcflow.c: Likewise.
36999 * termios/tcflush.c: Likewise.
37000 * termios/tcgetattr.c: Likewise.
37001 * termios/tcgetpgrp.c: Likewise.
37002 * termios/tcsendbrk.c: Likewise.
37003 * termios/tcsetattr.c: Likewise.
37004 * termios/tcsetpgrp.c: Likewise.
37005 * time/adjtime.c: Likewise.
37006 * time/clock.c: Likewise.
37007 * time/getitimer.c: Likewise.
37008 * time/gettimeofday.c: Likewise.
37009 * time/setitimer.c: Likewise.
37010 * time/settimeofday.c: Likewise.
37011 * time/stime.c: Likewise.
37012 * time/time.c: Likewise.
37013
370142012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 37015
a20492cf
PT
37016 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37017 /usr/old/bin.
37018
72e182e3
PT
37019 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37020 instead of spaces.
37021 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37022
fbeafede
JM
370232012-11-03 Joseph Myers <joseph@codesourcery.com>
37024
5b5b04d6
JM
37025 [BZ #14796]
37026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37027 FE_TONEAREST before applying Dekker multiplication and Knuth
37028 addition. Clear inexact exceptions and check for exact zero
37029 results afterwards.
37030 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37031 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37032 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37033 * math/libm-test.inc (fma_test): Add more tests.
37034 (fma_test_towardzero): Likewise.
37035 (fma_test_downward): Likewise.
37036 (fma_test_upward): Likewise.
37037 * sysdeps/generic/math_private.h (default_libc_fesetround): New
37038 function.
37039 (libc_fesetround): New macro.
37040 (libc_fesetroundf): Likewise.
37041 (libc_fesetroundl): Likewise.
37042 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37043 function.
37044 (libc_fesetround_387): Likewise.
37045 (libc_fesetroundf): New macro.
37046 (libc_fesetround): Likewise.
37047 (libc_fesetroundl): Likewise.
37048 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37049 function.
37050 (libc_fesetroundf): New macro.
37051 (libc_fesetround): Likewise.
37052 (libc_fesetroundl): Likewise.
37053 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37054 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37055 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37056 libm_hidden_ver.
37057 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37058 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37059 libm_hidden_def.
37060 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37061 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37062 libm_hidden_ver.
37063 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37064 libm_hidden_def.
37065
fbeafede
JM
37066 [BZ #3439]
37067 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37068 integer constant usable in #if and use that to give value to enum
37069 constant.
37070 (FE_DIVBYZERO): Likewise.
37071 (FE_UNDERFLOW): Likewise.
37072 (FE_OVERFLOW): Likewise.
37073 (FE_INVALID): Likewise.
37074 (FE_INVALID_SNAN): Likewise.
37075 (FE_INVALID_ISI): Likewise.
37076 (FE_INVALID_IDI): Likewise.
37077 (FE_INVALID_ZDZ): Likewise.
37078 (FE_INVALID_IMZ): Likewise.
37079 (FE_INVALID_COMPARE): Likewise.
37080 (FE_INVALID_SOFTWARE): Likewise.
37081 (FE_INVALID_SQRT): Likewise.
37082 (FE_INVALID_INTEGER_CONVERSION): Likewise.
37083 (FE_TONEAREST): Likewise.
37084 (FE_TOWARDZERO): Likewise.
37085 (FE_UPWARD): Likewise.
37086 (FE_DOWNWARD): Likewise.
37087 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37088 (FE_DIVBYZERO): Likewise.
37089 (FE_OVERFLOW): Likewise.
37090 (FE_UNDERFLOW): Likewise.
37091 (FE_INEXACT): Likewise.
37092 (FE_TONEAREST): Likewise.
37093 (FE_DOWNWARD): Likewise.
37094 (FE_UPWARD): Likewise.
37095 (FE_TOWARDZERO): Likewise.
37096 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37097 (FE_UNDERFLOW): Likewise.
37098 (FE_OVERFLOW): Likewise.
37099 (FE_DIVBYZERO): Likewise.
37100 (FE_INVALID): Likewise.
37101 (FE_TONEAREST): Likewise.
37102 (FE_TOWARDZERO): Likewise.
37103 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37104 (FE_OVERFLOW): Likewise.
37105 (FE_UNDERFLOW): Likewise.
37106 (FE_DIVBYZERO): Likewise.
37107 (FE_INEXACT): Likewise.
37108 (FE_TONEAREST): Likewise.
37109 (FE_TOWARDZERO): Likewise.
37110 (FE_UPWARD): Likewise.
37111 (FE_DOWNWARD): Likewise.
37112 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37113 (FE_DIVBYZERO): Likewise.
37114 (FE_OVERFLOW): Likewise.
37115 (FE_UNDERFLOW): Likewise.
37116 (FE_INEXACT): Likewise.
37117 (FE_TONEAREST): Likewise.
37118 (FE_DOWNWARD): Likewise.
37119 (FE_UPWARD): Likewise.
37120 (FE_TOWARDZERO): Likewise.
37121
105ca950
CM
371222012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37123
37124 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37125
a542b389
AS
371262012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37127
37128 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37129 commands. Quote $PWD.
37130 (blacklist_exports): Don't use remove_newlines. Replace "declare
37131 -x" by "export".
37132 (remove_newlines): Remove.
37133
f62c8abc
L
371342012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37135
37136 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37137 * stdlib/stdlib.h (atof): Moved to ...
37138 * include/bits/stdlib-float.h: Here. New file.
37139 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37140 * stdlib/bits/stdlib-float.h: New file.
37141 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37142 -mno-sse -mno-mmx.
37143 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37144 <xmmintrin.h>.
37145
0155d5b2
JM
371462012-11-02 Joseph Myers <joseph@codesourcery.com>
37147
a68d0680
JM
37148 * conform/conformtest.pl (@headers): Add fenv.h.
37149 * conform/data/fenv.h-data: New file.
37150 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37151 include of <math/fenv.h>.
37152
caf7f573
JM
37153 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37154 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37155 && !UNIX98]. Enables tests for XOPEN2K8.
37156 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37157 POSIX2008]: Likewise.
37158
6c073ad6
JM
37159 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37160 (struct rusage): Do not expect type or its members.
37161
0155d5b2
JM
37162 [BZ #3439]
37163 * math/math.h (FP_NAN): Define macro to integer constant usable in
37164 #if and use that to give value to enum constant.
37165 (FP_INFINITE): Likewise.
37166 (FP_ZERO): Likewise.
37167 (FP_SUBNORMAL): Likewise.
37168 (FP_NORMAL): Likewise.
37169
b5dcacb4
AS
371702012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37171
37172 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37173 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37174 arguments.
37175
f7934be8
RM
371762012-11-02 Roland McGrath <roland@hack.frob.com>
37177
37178 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37179 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37180 autoconf-time if not.
37181 * configure.in: Remove AC_PREREQ.
37182
d7d08bde
TMQMF
371832012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37184
37185 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37186 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37187 of the internal implementation.
37188
dcdae19a
JM
371892012-11-02 Joseph Myers <joseph@codesourcery.com>
37190
37191 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37192 except include of <misc/sys/syslog.h>.
37193
d6cffd3e
AS
371942012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37195
37196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37197 function returns with a NULL context exit with zero.
37198
b3563932
TMQMF
371992012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37200
37201 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37202
b288a93d
L
372032012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37204
37205 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37206 (run_program_cmd): This.
37207 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37208 (tst_langinfo): New variable. Use it.
37209
a2421a68
SAS
372102012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37211
37212 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37213 floating point opcodes.
37214
6f796e1b
TS
372152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37216
7402596b
TS
37217 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37218 variable.
37219
d0d4f868
TS
37220 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37221
6f796e1b
TS
37222 * sysdeps/mach/hurd/powerpc: Remove directory.
37223 * sysdeps/mach/powerpc: Likewise.
37224
4da224a2
AS
372252012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37226
37227 * scripts/check-local-headers.sh: Ignore c++ headers.
37228
341dd673
TS
372292012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37230
37231 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37232 __libc_cleanup_region_start argument.
37233
473611b2
JM
372342012-11-01 Joseph Myers <joseph@codesourcery.com>
37235
37236 [BZ #14784]
37237 [BZ #14785]
37238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37239 x * y using scaling, not as x * y + z.
37240 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37241 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37242 * math/libm-test.inc (fma_test): Add more tests.
37243 (fma_test_towardzero): Likewise.
37244 (fma_test_downward): Likewise.
37245 (fma_test_upward): Likewise.
37246
4078da3d
TS
372472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37248
37249 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37250
903252aa
JM
372512012-10-31 Joseph Myers <joseph@codesourcery.com>
37252
37253 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37254 New variable.
37255
cbc818d0
TS
372562012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37257
37258 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37259
5a03cb1e
AS
372602012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37261
37262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37263 Fix sort order.
37264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37265 Likewise.
37266
90aff2ff
TMQMF
372672012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37268
37269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37270 Fix the order of the list for glibc 2.17.
37271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37272 Likewise.
37273
1818fcb7
AS
372742012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37275
37276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37277
ef82f4da
JM
372782012-10-31 Joseph Myers <joseph@codesourcery.com>
37279
16a0e2ec
JM
37280 [BZ #14610]
37281 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37282 for low part of x being zero before using __atanl (y).
37283 * math/libm-test.inc (atan2_test): Add another test.
37284
0eb69512
JM
37285 * manual/install.texi (Configuring and compiling): Document
37286 general use of test-wrapper and test-wrapper-env.
37287 * INSTALL: Regenerated.
37288
ef82f4da
JM
37289 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37290 (__fma): Do not extract and scale down low bits on after-rounding
37291 systems when result rounded to normal precision would have normal
37292 exponent.
37293 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37294 (__fmal): Do not extract and scale down low bits on after-rounding
37295 systems when result rounded to normal precision would have normal
37296 exponent.
37297 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37298 (__fmal): Do not extract and scale down low bits on after-rounding
37299 systems when result rounded to normal precision would have normal
37300 exponent.
37301 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37302 macro.
37303 (fma_test): Add more tests.
37304 (fma_test_towardzero): Likewise.
37305 (fma_test_downward): Likewise.
37306 (fma_test_upward): Likewise.
37307
954ef0d9
L
373082012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37309
37310 * sysdeps/i386/tininess.h: Renamed to ...
37311 * sysdeps/x86/tininess.h: This.
37312 * sysdeps/x86_64/tininess.h: Removed.
37313
df61ffb2
JM
373142012-10-30 Joseph Myers <joseph@codesourcery.com>
37315
37316 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37317 input. Use $(build-program-cmd).
37318 ($(objpfx)tst-array1-static.out): Likewise.
37319 ($(objpfx)tst-array2.out): Likewise.
37320 ($(objpfx)tst-array3.out): Likewise.
37321 ($(objpfx)tst-array4.out): Likewise.
37322 ($(objpfx)tst-array5.out): Likewise.
37323 ($(objpfx)tst-array5-static.out): Likewise.
37324
01767843
CM
373252012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37326
47cc1490
CM
37327 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37328 if defined.
37329
01767843
CM
37330 * nss/nsswitch.h (nss_interface_function): Provide new
37331 macro for use with NSS functions.
37332 * grp/initgroups.c: Use new macro.
37333 * nss/getXXbyYY.c: Likewise.
37334 * nss/getXXbyYY_r.c: Likewise.
37335 * nss/getXXent.c: Likewise.
37336 * nss/getXXent_r.c: Likewise.
37337 * sysdeps/posix/getaddrinfo.c: Likewise.
37338
8321aa97
AJ
373392012-10-30 Andreas Jaeger <aj@suse.de>
37340
37341 * po/ru.po: Update Russion translation from translation project.
37342
2a27fd6d
JM
373432012-10-30 Joseph Myers <joseph@codesourcery.com>
37344
8627a232
JM
37345 [BZ #14152]
37346 [BZ #14783]
37347 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37348 result and shift together with sticky bit instead of replicating
37349 round-to-nearest rounding.
37350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37351 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37352 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37353 missing underflow exceptions.
37354 (fma_test_towardzero): Add more tests.
37355 (fma_test_downward): Likewise.
37356 (fma_test_upward): Likewise.
37357
2a27fd6d
JM
37358 [BZ #14047]
37359 * sysdeps/generic/tininess.h: New file.
37360 * sysdeps/i386/tininess.h: Likewise.
37361 * sysdeps/sh/tininess.h: Likewise.
37362 * sysdeps/x86_64/tininess.h: Likewise.
37363 * stdlib/tst-strtod-underflow.c: Likewise.
37364 * stdlib/tst-tininess.c: Likewise.
37365 * stdlib/strtod_l.c: Include <tininess.h>.
37366 (round_and_return): Do not set errno for exact underflow cases.
37367 Force an underflow exception when setting errno for underflow.
37368 Determine underflow based on rounding to normal precision if
37369 TININESS_AFTER_ROUNDING.
37370 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37371 ERANGE for exact underflow cases.
37372 * stdlib/Makefile (tests): Add tst-tininess and
37373 tst-strtod-underflow.
37374 ($(objpfx)tst-tininess): Use $(link-libm).
37375 ($(objpfx)tst-strtod-underflow): Likewise.
37376
e7170363
AJ
373772012-10-30 Andreas Jaeger <aj@suse.de>
37378
e5088dc6
AJ
37379 [BZ#14767]
37380 * elf/Makefile (tests): Remove conditional for have-initfini-array
37381 since this is now always required and the variable does not exist
37382 anymore.
37383 (tests-static): Likewise.
37384 (modules-names): Likewise.
37385
e7170363 37386 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
37387
37388 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37389 merged with constructor/destructor.
37390 (init_array): Likewise.
37391 * elf/tst-array2dep.c (fini_array): Likewise.
37392 (init_array): Likewise.
37393
60457d8a
MF
373942012-10-29 Mike Frysinger <vapier@gentoo.org>
37395
37396 * manual/message.texi: Delete @cartouche tags.
37397
8bece752
PT
373982012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37399
94ce799f
PT
37400 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37401 EOPNOTSUPP.
37402 * sysdeps/mach/hurd/fsync.c: Likewise.
37403
8bece752
PT
37404 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37405 [_POSIX_REALTIME_SIGNALS]: Change condition to
37406 [_POSIX_REALTIME_SIGNALS > 0].
37407
86ebe6b1
AJ
374082012-10-27 Andreas Jaeger <aj@suse.de>
37409
37410 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37411 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37412 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37413 [__WORDSIZE != 64]: Likewise.
37414
54399c08
L
374152012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37416
37417 * iconvdata/tst-table.sh: Remove ${SHELL}.
37418 * iconvdata/tst-tables.sh: Likewise.
37419
e2211bed
DM
374202012-10-25 David S. Miller <davem@davemloft.net>
37421
37422 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37423 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37424 of strtoull.
37425
f303f97c
DM
37426 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37427 ifunc-impl-list.c
37428 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37429 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37430 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37431 file.
37432
1e9d84cd
RM
374332012-10-25 Roland McGrath <roland@hack.frob.com>
37434
37435 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37436 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37437 __getdirentries.
37438
df381762
JM
374392012-10-25 Joseph Myers <joseph@codesourcery.com>
37440 Jim Blandy <jimb@codesourcery.com>
37441
37442 * scripts/cross-test-ssh.sh: New file.
37443 * manual/install.texi (Configuring and compiling): Document use of
37444 cross-test-ssh.sh.
37445 * INSTALL: Regenerated.
37446
bff64913
PT
374472012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37448
37449 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37450 EOPNOTSUPP.
37451
25fe8932
JM
374522012-10-25 Joseph Myers <joseph@codesourcery.com>
37453
37454 * Makeconfig (run-program-prefix): Fix comment.
37455
cc1290d0
JM
374562012-10-24 Joseph Myers <joseph@codesourcery.com>
37457 Jim Blandy <jimb@codesourcery.com>
37458
37459 * Makeconfig (test-wrapper): New variable,
37460 (test-wrapper-env): Likewise.
37461 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37462 (run-built-tests): Define to yes.
37463 (run-program-prefix): Use $(test-wrapper).
37464 (built-program-cmd): Likewise.
37465 * Rules (make-test-out): Use $(test-wrapper-env) and
37466 $(host-built-program-cmd).
37467 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37468 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37469 tst-pathopt.sh.
37470 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37471 $(test-wrapper-env) to tst-rtld-load-self.sh.
37472 ($(objpfx)order2.out): Use $(test-wrapper).
37473 ($(objpfx)tst-initorder.out): Likewise.
37474 ($(objpfx)tst-initorder2.out): Likewise.
37475 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37476 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37477 (test_wrapper_env): New variable. Use it to run ld.so.
37478 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37479 Use it to run ld.so.
37480 (test_wrapper_env): Likewise.
37481 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37482 $(test-wrapper) to run-iconv-test.sh.
37483 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37484 (ICONV): Use $test_wrapper.
37485 * posix/Makefile ($(objpfx)globtest.out): Pass
37486 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37487 globtest.sh, not $(run-program-prefix).
37488 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37489 (test_wrapper): Likewise.
37490 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37491 set together with run_via_rtld_prefix.
37492 (run_program_prefix): Define in terms of test_wrapper and
37493 run_via_rtld_prefix.
37494
6e6249d0
RM
374952012-10-24 Roland McGrath <roland@hack.frob.com>
37496
37497 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37498 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37499 Targets removed.
37500
37501 [BZ #14743]
37502 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37503 Declare __clock_getres, __clock_gettime, __clock_settime,
37504 __clock_nanosleep, and __clock_getcpuclockid.
37505 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37506 Remove librt_hidden_def (clock_gettime).
37507 * sysdeps/unix/clock_gettime.c: Likewise.
37508 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37509 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37510 * rt/clock_getres.c: Define __clock_getres as an alias.
37511 * sysdeps/posix/clock_getres.c: Likewise.
37512 * rt/clock_settime.c: Define __clock_settime as an alias.
37513 * sysdeps/unix/clock_settime.c: Likewise.
37514 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37515 * sysdeps/unix/clock_nanosleep.c: Likewise.
37516 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37517 * rt/clock-compat.c: New file.
37518 * rt/Makefile (librt-routines): Add clock-compat and move
37519 $(clock-routines) to ...
37520 (routines): ... here, new variable.
37521 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37522 Don't add get_clockfreq here.
37523 * rt/Versions (libc: GLIBC_2.17): New version set.
37524 Add clock_* symbols here.
37525 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37526 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37527 (GLIBC_2.17): Add clock_* symbols.
37528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37530 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37532 Likewise.
37533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37534 Likewise.
37535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37539 * NEWS: Mention the move.
37540
37541 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37542 Use __open, __read, __close rather than their public counterparts.
37543 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37544 (__get_clockfreq_via_cpuinfo): Likewise.
37545 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37546 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37547
37548 * config.h.in (HAVE_IFUNC): New #undef.
37549 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37550 was successful.
37551 * configure: Regenerated.
37552
0cae3f4b
MF
375532012-10-24 Mike Frysinger <vapier@gentoo.org>
37554
37555 * configure.in: Move READELF check to start of file.
37556 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37557 libc_cv_asm_gnu_indirect_function in the process.
37558 * configure: Regenerated.
37559
8175a253
MF
375602012-10-24 Mike Frysinger <vapier@gentoo.org>
37561
37562 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37563 send the output to /dev/null.
37564 (libc_cv_cc_with_libunwind): Likewise.
37565 (libc_cv_as_noexecstack): Likewise.
37566 * configure: Regenerate.
37567
0708a7d1
JM
375682012-10-24 Joseph Myers <joseph@codesourcery.com>
37569
10b40d85
JM
37570 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37571
0708a7d1
JM
37572 * posix/globtest.sh (TMPDIR): Do not set.
37573 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37574 (testout): Likewise.
37575
9fddec1a
AJ
375762012-10-24 Andreas Jaeger <aj@suse.de>
37577
3a8db22f
AJ
37578 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37579 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37580 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37581 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37582 posix_fadvise64, posix_fallocate64.
37583
9fddec1a
AJ
37584 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37585 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37586 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37587 Likewise.
37588 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37589 Likewise.
37590 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37591
37592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37593 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37594 <bits/fcntl-linux.h>.
37595 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37596
37597 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37598 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37599 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37600 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37601 [__WORDSIZE != 64]: Likewise.
37602
ebfd1bbd
JM
376032012-10-23 Joseph Myers <joseph@codesourcery.com>
37604
03ac099f
JM
37605 * Makeconfig (run-built-tests): New variable.
37606 * Rules [$(cross-compiling) = yes]: Change condition to
37607 [$(run-built-tests) = no].
37608 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37609 to [$(run-built-tests) = yes].
37610 * elf/Makefile [$(cross-compiling) = no]: Likewise
37611 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37612 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37613 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37614 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37615 * io/Makefile [$(cross-compiling) = no]: Likewise.
37616 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37617 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37618 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37619 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37620 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37621 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37622 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37623 * string/Makefile [$(cross-compiling) = no]: Likewise.
37624
ebfd1bbd
JM
37625 * posix/Makefile ($(objpfx)globtest.out): Pass
37626 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37627 $(rtld-installed-name).
37628 * posix/globtest.sh (elf_objpfx): Remove variable.
37629 (rtld_installed_name): Likewise.
37630 (library_path): Likewise.
37631 (run_program_prefix): New variable. Use for running globtest
37632 binary.
37633
166bca24
JB
376342012-10-23 Jim Blandy <jimb@codesourcery.com>
37635 Joseph Myers <joseph@codesourcery.com>
37636
37637 * Makeconfig (host-built-program-cmd): New variable.
37638 * elf/Makefile (tst-stackguard1-ARGS): Use
37639 $(host-built-program-cmd).
37640 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37641 (tst-spawn-ARGS): Likewise.
37642 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37643
88866099
JM
376442012-10-23 Joseph Myers <joseph@codesourcery.com>
37645 Jim Blandy <jimb@codesourcery.com>
37646
37647 * Makeconfig (run-via-rtld-prefix): New variable.
37648 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37649 (built-program-cmd): Likewise.
37650
b4b4c296
AJ
376512012-10-22 Andreas Jaeger <aj@suse.de>
37652
37653 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37654 __O_RSYNC if it exists, otherwise to O_SYNC.
37655
6fb54a22
JB
376562012-10-22 Jim Blandy <jimb@codesourcery.com>
37657 Joseph Myers <joseph@codesourcery.com>
37658
37659 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37660 /dev/null.
37661 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37662 from /dev/null
37663 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37664 /dev/null.
37665
481b90b9
AJ
376662012-10-22 Andreas Jaeger <aj@suse.de>
37667
2a0e2669
AJ
37668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37669 Define always.
37670 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37671
76e38f9a
AJ
37672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37673 bits/fcntl-linux.h.
37674
7cd37b43
AJ
37675 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37676 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37677
481b90b9
AJ
37678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37679 to __O_LARGEFILE.
37680 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37681 to __O_LARGEFILE.
37682
aba75984
JB
376832012-10-21 Jim Blandy <jimb@codesourcery.com>
37684 Joseph Myers <joseph@codesourcery.com>
37685
37686 * config.make.in (NM): New variable.
37687
88d4247f
AJ
376882012-10-21 Andreas Jaeger <aj@suse.de>
37689
37690 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37691 definitions and declarations that are provided by
37692 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37693
f2eed205
L
376942012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37695
37696 [BZ #14683]
37697 * elf/Makefile (tests-static): Add tst-leaks1-static.
37698 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37699 ($(objpfx)tst-leaks1-static): New rule.
37700 ($(objpfx)tst-leaks1-static-mem): Likewise.
37701 (tst-leaks1-static-ENV): New macro.
37702 * elf/dl-open.c (dl_open_worker): Check the main application
37703 only if SHARED is defined.
37704 * elf/tst-leaks1-static.c: New file.
37705
335e6931
AJ
377062012-10-20 Andreas Jaeger <aj@suse.de>
37707
37708 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37709 generic values for Linux.
37710 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37711 and declarations that are provided by <bits/fcntl-linux.h> and
37712 include <bits/fcntl-linux.h>.
37713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37715
ac5c94d3
RM
377162012-10-20 Roland McGrath <roland@hack.frob.com>
37717
37718 * io/fcntl.h: Move include of <bits/types.h> to the top and
37719 include it unconditionally.
37720
de54b33a
L
377212012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37722
228cfb01
L
37723 * wcsmbs/Makefile (tests-ifunc): New variable.
37724 (tests): Add $(tests-ifunc).
37725 * wcsmbs/test-wcschr-ifunc.c: New file.
37726 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37727 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37728 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37729 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37730 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37731
69f07e5f
L
37732 * string/Makefile (tests-ifunc): New variable.
37733 (tests): Add $(tests-ifunc).
37734 * string/test-memccpy.c (TEST_NAME): New macro.
37735 * string/test-memchr.c (TEST_NAME): Likewise.
37736 * string/test-memcmp.c (TEST_NAME): Likewise.
37737 * string/test-memcpy.c (TEST_NAME): Likewise.
37738 * string/test-memmem.c (TEST_NAME): Likewise.
37739 * string/test-memmove.c (TEST_NAME): Likewise.
37740 * string/test-memset.c (TEST_NAME): Likewise.
37741 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37742 * string/test-stpcpy.c (TEST_NAME): Likewise.
37743 * string/test-stpncpy.c (TEST_NAME): Likewise.
37744 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37745 * string/test-strcasestr.c (TEST_NAME): Likewise.
37746 * string/test-strcat.c (TEST_NAME): Likewise.
37747 * string/test-strchr.c (TEST_NAME): Likewise.
37748 * string/test-strcmp.c(TEST_NAME): Likewise.
37749 * string/test-strcpy.c (TEST_NAME): Likewise.
37750 * string/test-strcspn.c (TEST_NAME): Likewise.
37751 * string/test-strlen.c (TEST_NAME): Likewise.
37752 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37753 * string/test-strncmp.c (TEST_NAME): Likewise.
37754 * string/test-strncpy.c (TEST_NAME): Likewise.
37755 * string/test-strnlen.c (TEST_NAME): Likewise.
37756 * string/test-strpbrk.c (TEST_NAME): Likewise.
37757 * string/test-strrchr.c (TEST_NAME): Likewise.
37758 * string/test-strspn.c (TEST_NAME): Likewise.
37759 * string/test-strstr.c (TEST_NAME): Likewise.
37760 * string/test-bcopy-ifunc.c: New file.
37761 * string/test-bzero-ifunc.c: Likewise.
37762 * string/test-memccpy-ifunc.c: Likewise.
37763 * string/test-memchr-ifunc.c: Likewise.
37764 * string/test-memcmp-ifunc.c: Likewise.
37765 * string/test-memcpy-ifunc.c: Likewise.
37766 * string/test-memmem-ifunc.c: Likewise.
37767 * string/test-memmove-ifunc.c: Likewise.
37768 * string/test-mempcpy-ifunc.c: Likewise.
37769 * string/test-memset-ifunc.c: Likewise.
37770 * string/test-rawmemchr-ifunc.c: Likewise.
37771 * string/test-stpcpy-ifunc.c: Likewise.
37772 * string/test-stpncpy-ifunc.c: Likewise.
37773 * string/test-strcasecmp-ifunc.c: Likewise.
37774 * string/test-strcasestr-ifunc.c: Likewise.
37775 * string/test-strcat-ifunc.c: Likewise.
37776 * string/test-strchr-ifunc.c: Likewise.
37777 * string/test-strchrnul-ifunc.c: Likewise.
37778 * string/test-strcmp-ifunc.c: Likewise.
37779 * string/test-strcpy-ifunc.c: Likewise.
37780 * string/test-strcspn-ifunc.c: Likewise.
37781 * string/test-strlen-ifunc.c: Likewise.
37782 * string/test-strncasecmp-ifunc.c: Likewise.
37783 * string/test-strncat-ifunc.c: Likewise.
37784 * string/test-strncmp-ifunc.c: Likewise.
37785 * string/test-strncpy-ifunc.c: Likewise.
37786 * string/test-strnlen-ifunc.c: Likewise.
37787 * string/test-strpbrk-ifunc.c: Likewise.
37788 * string/test-strrchr-ifunc.c: Likewise.
37789 * string/test-strspn-ifunc.c: Likewise.
37790 * string/test-strstr-ifunc.c: Likewise.
37791
de54b33a
L
37792 * debug/Makefile (tests-ifunc): New variable.
37793 (tests): Add $(tests-ifunc).
37794 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37795 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37796 * debug/test-stpcpy_chk-ifunc.c: New file.
37797 * debug/test-strcpy_chk-ifunc.c: Likewise.
37798
88481c16
SP
377992012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37800
37801 [BZ #13601]
37802 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37803 header is not read in.
37804
135948bd
JM
378052012-10-19 Joseph Myers <joseph@codesourcery.com>
37806
89f1c388
JM
37807 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37808 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37809 directly. Pass built executable to script as
37810 $(built-program-cmd).
37811 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37812 $testprogram without using LD_LIBRARY_PATH and $ldso.
37813
e40a0d21
JM
37814 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37815 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37816 $(rtld-installed-name).
37817 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37818 (rtld_installed_name): Likewise.
37819 (library_path): Likewise.
37820 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37821 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37822 $(run-program-prefix) to tst-tables.sh.
37823 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37824 it to run tst-table-from and tst-table-to.
37825 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37826 Pass it to tst-table.sh.
37827 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37828 $(run-program-prefix) to tst-gettext.sh.
37829 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37830 tst-translit.sh.
37831 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37832 tst-gettext2.sh.
37833 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37834 to run tst-gettext.
37835 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37836 to run tst-gettext2.
37837 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37838 to run tst-translit.
37839 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37840 $(run-program-prefix) to tst-mtrace.sh.
37841 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37842 to run tst-mtrace.
37843 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37844 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37845 $(rtld-installed-name).
37846 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37847 (rtld_installed_name): Likewise.
37848 (run_program_prefix): New variable. Use it to run wordexp-test.
37849
728e272a
JM
37850 * Makeconfig (ARCH): Remove all definitions.
37851 (machine): Likewise.
37852 [ARCH]: Remove conditional code.
37853 [!objdir]: Give error.
37854 [!objdir] (objpfx): Remove.
37855 [!objdir] (common-objpfx): Likewise.
37856 [!objdir] (common-objdir): Likewise.
37857 * configure.in (config_makefile): Remove. Hardcode Makefile in
37858 AC_CONFIG_FILES call.
37859 * configure: Regenerated.
37860
d528cdcf
JM
37861 [BZ #13888]
37862 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37863 or TMPDIR.
37864 (testout): Likewise.
37865
135948bd
JM
37866 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37867 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37868 $(rtld-installed-name).
37869 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37870 (rtld_installed_name): Likwise.
37871 (runit): Remove function.
37872 (run_getconf): New variable, Use it for running getconf binary.
37873
38c78296
L
378742012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37875
37876 [BZ #14716]
37877 * string/test-memmem.c (check_result): New function.
37878 (do_one_test): Use it.
37879 (check1): New function.
37880 (test_main): Use it.
37881
d077f65f
MT
378822012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37883
37884 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37885
ced52c71
JM
378862012-10-18 Joseph Myers <joseph@codesourcery.com>
37887
37888 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37889 (_G_LSEEK64): Likewise.
37890 (_G_MMAP64): Likewise.
37891 (_G_FSTAT64): Likewise.
37892 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37893 (_G_LSEEK64): Likewise.
37894 (_G_MMAP64): Likewise.
37895 (_G_FSTAT64): Likewise.
37896 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37897 unconditional. Call __mmap64 directly.
37898 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37899 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37900 __lseek64 directly.
37901 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37902 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37903 __mmap64 directly.
37904 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37905 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37906 __lseek64 directly.
37907 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37908 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37909 __lseek64 directly.
37910 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37911 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37912 __lseek64 directly.
37913 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37914 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37915 __fxstat64 directly.
37916 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37917 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37918 unconditional.
37919 (freopen64) [!_G_OPEN64]: Remove conditional code.
37920 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37921 unconditional.
37922 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37923 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37924 unconditional.
37925 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37926 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37927 unconditional.
37928 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37929 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37930 unconditional.
37931 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37932 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37933 unconditional.
37934 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37935 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37936 unconditional.
37937 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37938 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37939 unconditional.
37940 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37941
b741de23
SP
379422012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37943
37944 [BZ #12140]
37945 * manual/memory.texi (Malloc Tunable Parameters): Add note
37946 about free list pointers overwriting some perturb bytes.
37947 Wording suggested by Roland McGrath.
37948
f9b9d9c9
JM
379492012-10-17 Joseph Myers <joseph@codesourcery.com>
37950
37951 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37952 (lgamma_test): Likewise.
37953 (tgamma_test): Likewise.
37954
172a631a
FW
379552012-10-16 Florian Weimer <fweimer@redhat.com>
37956
37957 [BZ #14700]
37958 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37959 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37960
e9f37252
MK
379612012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37962
37963 * NEWS: Mention BZ #14716.
37964 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37965 when removing AVAILABLE1_USES_J macro.
37966
d394eb74
L
379672012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37968
37969 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37970 (__bswap_64): __uint64_t for unsigned 64-bit int.
37971
ca38dc17
AS
379722012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37973
37974 * include/string.h (memmem): Declare libc hidden alias.
37975 * string/memmem.c (memmem): Define libc hidden alias.
37976 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37977 __read, __close instead of open, read, close.
37978
9a387d1f
L
379792012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37980
ac49ecaf
L
37981 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37982 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37983 global and hidden.
37984 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37985 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37986 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37987 Likewise.
37988 (__rawmemchr_sse2): Likewise.
37989 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37990 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37991 (__strchr_sse2): Likewise.
37992 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37993 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37994 (__strcasecmp_sse2): Likewise.
37995 (__strncasecmp_sse2): Likewise.
37996 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37997 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37998 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37999 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38000 (__strrchr_sse2): Likewise.
38001 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38002 ifunc-impl-list.c.
38003 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38004 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38005 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38006 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38007 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38008 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38009 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38010 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38011 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38012 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38013 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38014 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38015 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38016 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38017 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38018 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38019 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38020 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38021 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38022 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38023 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38024 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38025 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38026 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38027 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38028 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38029 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38030 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38031 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38032 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38033
b090e8ea
L
38034 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38035 global and hidden.
38036 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38037 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38038 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38039 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38040 Likewise.
38041 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38042 Likewise.
38043 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38044 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38045 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38046 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38047 ifunc-impl-list.c.
38048 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38049 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38050 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38051 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38052 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38053 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38054 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38055 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38056 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38057 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38058 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38059 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38060 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38061 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38062 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38063 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38064 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38065 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38066 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38067 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38068 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38069 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38070 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38071 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38072 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38073 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38074 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38075 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38076 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38077 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38078 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38079 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38080 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38081 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38082 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38083 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38084 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38085 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38086 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38087 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38088 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38089
11dd4af6
L
38090 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38091 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38092 * include/ifunc-impl-list.h: New file.
38093 * misc/ifunc-impl-list.c: Likewise.
38094 * misc/Makefile (routines): Add ifunc-impl-list.
38095 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38096 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
38097 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38098 TEST_NAME]: New variables.
11dd4af6
L
38099 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38100 are defined.
38101 (test_init): Call __libc_ifunc_impl_list to initialize
38102 func_list if TEST_IFUNC and TEST_NAME are defined.
38103
9a387d1f
L
38104 * string/Makefile (strop-tests): Add bcopy and bzero.
38105 * string/test-bcopy.c: New file.
38106 * string/test-bzero.c: Likewise.
38107 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38108 defined.
38109 * string/test-memset.c: Support bzero test if TEST_BZERO is
38110 defined.
38111 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38112 __libc_memmove.
38113 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38114 __libc_memset.
38115 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38116 of memset.
38117
472371b9
JM
381182012-10-10 Joseph Myers <joseph@codesourcery.com>
38119
1e4a9536
JM
38120 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38121 * configure: Regenerated.
38122
d173d12e
JM
38123 * Makeconfig (+link-static-before-libc): Don't include
38124 $(link-static-libc).
38125
472371b9
JM
38126 * libio/libio.h (_IO_pos_t): Remove.
38127
89a3ad0b
AO
381282012-10-10 Alexandre Oliva <aoliva@redhat.com>
38129
38130 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38131 McGrath.
38132
e7451425
AO
381332012-10-10 Alexandre Oliva <aoliva@redhat.com>
38134
38135 * crypt/crypt-entry.c: Include fips-private.h.
38136 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38137 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38138 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38139 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38140
4ba74a35
AO
381412012-10-10 Alexandre Oliva <aoliva@redhat.com>
38142
38143 * crypt/crypt-private.h: Include stdbool.h.
38144 (_ufc_setup_salt_r): Return bool.
38145 * crypt/crypt-entry.c: Include errno.h.
38146 (__crypt_r): Return NULL with EINVAL for bad salt.
38147 * crypt/crypt_util.c (bad_for_salt): New.
38148 (_ufc_setup_salt_r): Check that salt is long enough and within
38149 the specified alphabet.
38150 * crypt/badsalttest.c: New file.
38151 * crypt/Makefile (tests): Add it.
38152 ($(objpfx)badsalttest): New.
38153
f96f1242
MK
381542012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38155
38156 * NEWS: Add entry for BZ #14602.
38157
0e8e0c1c
JM
381582012-10-09 Joseph Myers <joseph@codesourcery.com>
38159
38160 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38161 type-generic.
38162 * math/libm-test.inc: Update comment listing what functions and
38163 macros are tested.
38164 (isgreater_test): New function.
38165 (isgreaterequal_test): Likewise.
38166 (isless_test): Likewise.
38167 (islessequal_test): Likewise.
38168 (islessgreater_test): Likewise.
38169 (isunordered_test): Likewise.
38170 (main): Call the new functions.
38171
273edc5e
RM
381722012-10-09 Roland McGrath <roland@hack.frob.com>
38173
b8493de0
RM
38174 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38175 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38176 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38177 * sysdeps/i386/configure: Regenerated.
38178 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38179 * sysdeps/mach/configure: Regenerated.
38180 * sysdeps/mach/hurd/configure: Regenerated.
38181 * sysdeps/powerpc/configure: Regenerated.
38182 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38183 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38184 * sysdeps/s390/s390-32/configure: Regenerated.
38185 * sysdeps/s390/s390-64/configure: Regenerated.
38186 * sysdeps/sh/configure: Regenerated.
38187 * sysdeps/sparc/configure: Regenerated.
38188 * sysdeps/unix/sysv/linux/configure: Regenerated.
38189 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38190 * sysdeps/x86_64/configure: Regenerated.
38191
273edc5e
RM
38192 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38193 defined. Don't check if MAP is NULL.
38194
c8450f70
JM
381952012-10-09 Joseph Myers <joseph@codesourcery.com>
38196
38197 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38198 (_G_stat64): Likewise.
38199 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38200 (_G_stat64): Likewise.
38201 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38202 instead of struct _G_stat64.
38203 * libio/fileops.c (mmap_remap_check): Likewise.
38204 (decide_maybe_mmap): Likewise.
38205 (_IO_new_file_seekoff): Likewise.
38206 (_IO_file_stat): Likewise.
38207 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38208 _G_off64_t.
38209 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38210 instead of struct _G_stat64.
38211 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38212
57e605ba
MK
382132012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38214
38215 [BZ #14602]
38216 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38217 Replace with ...
38218 (CHECK_EOL): New macro.
38219 (two_way_short_needle): Check beginning of haystack for EOL. Use
38220 CHECK_EOL.
38221 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38222 Replace with CHECK_EOL.
38223 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38224 Replace with CHECK_EOL.
38225
ef1bb361
JM
382262012-10-08 Joseph Myers <joseph@codesourcery.com>
38227
38228 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38229 type-generic.
38230 * math/libm-test.inc: Update comment listing what functions and
38231 macros are tested.
38232 (finite_test): New function.
38233 (isinf_test): Likewise.
38234 (isnan_test): Likewise.
38235 (fpclassify_test): Test subnormal input.
38236 (isfinite_test): Likewise.
38237 (isnormal_test): Likewise.
38238 (main): Call the new functions.
38239
55f11534
JN
382402012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38241
38242 [BZ #14660]
38243 * Makerules (%.dynsym): Force C locale when running
38244 $(OBJDUMP) --dynamic-syms.
38245
1ab29350
AS
382462012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38247
38248 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38249 <stdint.h>.
38250
f1ecb7ef
DM
382512012-10-06 David S. Miller <davem@davemloft.net>
38252
38253 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38254 upper 32-bits of the length value in %o2 since we use branch-on-register
38255 tests which consider the entire 64-bit register.
38256
5d41d91a
L
382572012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38258
38259 * string/test-strstr.c (check2): Add a test for page boundary.
38260
3baddb72
DM
382612012-10-05 David S. Miller <davem@davemloft.net>
38262
38263 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38264 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38265 file.
38266 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38267 sysdep_routines.
38268 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38269 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38270 and bzero when HWCAP_SPARC_CRYPTO is present.
38271
9cee5585
L
382722012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38273
d7e0dab9
L
38274 [BZ #14602]
38275 * string/test-strstr.c (check2): New function.
38276 (test_main): Call check2.
38277
03759f47
L
38278 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38279 and bug-strchr1.
38280 * string/bug-strcasestr1.c (do_test): Moved to ...
38281 * string/test-strcasestr.c (check1): Here. New function.
38282 (do_one_test): Break out result checking code into ...
38283 (check_result): This. New function.
38284 (do_one_test): Call check_result.
38285 (test_main): Call check1.
38286 * string/bug-strchr1.c (do_test): Moved to ...
38287 * string/test-strchr.c (check1): Here. New function.
38288 (do_one_test): Break out result checking code into ...
38289 (check_result): This. New function.
38290 (do_one_test): Call check_result.
38291 (test_main): Call check1.
38292 * string/bug-strstr1.c (main): Moved to ...
046f153e 38293 * string/test-strstr.c (check1): Here. New function.
03759f47
L
38294 (do_one_test): Break out result checking code into ...
38295 (check_result): This. New function.
38296 (do_one_test): Call check_result.
38297 (test_main): Call check1.
38298 * string/bug-strcasestr1.c: Removed.
38299 * string/bug-strchr1.c: Likewise.
38300 * string/bug-strstr1.c: Likewise.
38301
53cea63e
L
38302 * elf/Makefile (dl-routines): Add hwcaps.
38303 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38304 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38305 (_dl_important_hwcaps): Moved to ...
38306 * elf/dl-hwcaps.c: Here. New file.
38307 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38308
9cee5585 38309 [BZ #14557]
bb859b06
L
38310 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38311 if IS_IN_rtld isn't defined.
38312
9cee5585
L
38313 * elf/dl-support.c (_dl_sysinfo_map): New.
38314 Include "get-dynamic-info.h" and "setup-vdso.h".
38315 (_dl_non_dynamic_init): Call setup_vdso.
38316 * elf/dynamic-link.h: Don't include <assert.h>.
38317 (elf_get_dynamic_info): Moved to ...
38318 * elf/get-dynamic-info.h: Here. New file.
38319 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38320 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38321 * elf/setup-vdso.h: Here. New file.
38322 * elf/rtld.c: Include "setup-vdso.h".
38323 (dl_main): Call setup_vdso.
38324
23c31b76
JM
383252012-10-05 Joseph Myers <joseph@codesourcery.com>
38326
28234b07
JM
38327 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38328 creal in comment listing functions tested. List finite, isinf,
38329 isnan, isless, islessequal, isgreater, isgreaterequal,
38330 islessgreater, isunordered, lgamma_r and pow10 as functions and
38331 macros not tested. Mention which functions not tested are aliases
38332 for other functions. Fix typo. Note that signs of NaNs are not
38333 tested.
38334
23c31b76
JM
38335 * scripts/config.guess: Update from config.git.
38336 * scripts/config.sub: Likewise.
38337
9043e228
RM
383382012-10-04 Roland McGrath <roland@hack.frob.com>
38339
38340 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38341 * misc/madvise.c (madvise): Renamed to __madvise.
38342 Make madvise a weak alias.
38343 * include/sys/mman.h: Declare __madvise.
38344 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38345 * sysdeps/unix/syscalls.list
38346 (madvise): Make __madvise the strong name, and madvise a weak alias.
38347 * sysdeps/unix/sysv/linux/syscalls.list
38348 (madvise, mmap): Remove redundant entries.
38349 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38350 * malloc/malloc.c (mtrim): Likewise.
38351 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38352
f57f8055
RM
383532012-10-03 Roland McGrath <roland@hack.frob.com>
38354
38355 * sysdeps/mach/hurd/dl-cache.c: File removed.
38356 * config.h.in (USE_LDCONFIG): New #undef.
38357 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38358 * configure: Regenerated.
38359 * elf/Makefile (dl-routines): Add dl-cache only under
38360 [$(use-ldconfig) = yes].
38361 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38362 cache on [USE_LDCONFIG].
38363 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38364 [USE_LDCONFIG].
38365 * elf/rtld.c (dl_main): Likewise.
38366
5bb0c10a
PT
383672012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38368
38369 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38370 _SC_LEVEL4_CACHE_LINESIZE.
38371
010188c6
RM
383722012-10-03 Roland McGrath <roland@hack.frob.com>
38373
38374 * sysdeps/unix/bsd/confstr.h: File removed.
38375
b6c5ec07
AO
383762012-10-02 Alexandre Oliva <aoliva@redhat.com>
38377
38378 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38379 sys/sdt-config.h.
38380
408223d4
RM
383812012-10-02 Roland McGrath <roland@hack.frob.com>
38382
38383 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38384 Make 'mapoff' field ElfW(Off) rather than off_t.
38385
bb9510dc
DL
383862012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38387
fc997c6e
DL
38388 * nscd/Makefile: Remove nscd-cflags and all its users.
38389 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38390 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38391
bb9510dc
DL
38392 [BZ #10631]
38393 * malloc.c (malloc_printerr): Clarify error message.
38394
05699367
L
383952012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38396
38397 [BZ #14648]
38398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38399 Set bit_FMA_Usable if FMA is supported.
38400 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38401 macro.
38402 (bit_FMA4_Usable): Updated.
38403 (index_FMA_Usable): New macro.
38404 (CPUID_FMA): Likewise
38405 (HAS_FMA): Defined with bit_FMA_Usable.
38406
51367701
RM
384072012-10-01 Roland McGrath <roland@hack.frob.com>
38408
38409 * bits/types.h (__swblk_t): Type removed.
38410 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38411 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38412 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38413 (__SWBLK_T_TYPE): Likewise.
38414 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38415 (__SWBLK_T_TYPE): Likewise.
38416 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38417 (__SWBLK_T_TYPE): Likewise.
38418 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38419 (__SWBLK_T_TYPE): Likewise.
38420
4d57bf63 384212012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 38422 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
38423
38424 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38425 (xdr_mapname): Use YPMAXMAP as maxsize.
38426 (xdr_peername): Use YPMAXPEER as maxsize.
38427 (xdr_keydat): Use YPAXRECORD as maxsize.
38428 (xdr_valdat): Use YPMAXRECORD as maxsize.
38429
93c65d43
RM
384302012-10-01 Roland McGrath <roland@hack.frob.com>
38431
497a03d6
RM
38432 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38433
93c65d43
RM
38434 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38435 * csu/init-first.c: ... here.
38436 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38437 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38438 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38439 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38440 * sysdeps/i386/init-first.c: File removed.
38441 * sysdeps/sh/init-first.c: File removed.
38442
bec749fd
JM
384432012-10-01 Joseph Myers <joseph@codesourcery.com>
38444
38445 [BZ #14645]
38446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38447 if x * y might underflow to zero and z is zero.
38448 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38449 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38450 * math/libm-test.inc (min_subnorm_value): New variable.
38451 (fma_test): Add more tests.
38452 (fma_test_towardzero): Likewise.
38453 (fma_test_downward): Likewise
38454 (fma_test_upward): Likewise.
38455 (initialize): Set min_subnorm_value.
38456
8ec5b013
JM
384572012-09-29 Joseph Myers <joseph@codesourcery.com>
38458
38459 [BZ #14638]
38460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38461 0 + 0.
38462 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38463 mode for addition resulting in exact zero.
38464 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38465 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38466 exact 0 + 0.
38467 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38468 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38469 * math/libm-test.inc (fma_test): Add more tests.
38470 (fma_test_towardzero): New function.
38471 (fma_test_downward): Likewise.
38472 (fma_test_upward): Likewise.
38473 (main): Call the new functions.
38474
b1fa802e
DM
384752012-09-28 David S. Miller <davem@davemloft.net>
38476
38477 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38478
d3b9fd9e
RM
384792012-09-28 Roland McGrath <roland@hack.frob.com>
38480
ea4d37b3
RM
38481 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38482 instead of SIGALRM.
38483
ac51c949
RM
38484 * sysdeps/gnu/_G_config.h: Moved to ...
38485 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38486 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38487 * sysdeps/generic/_G_config.h: ... here.
38488
28c195f7
RM
38489 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38490
848917f9
RM
38491 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38492
6bacf05b
RM
38493 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38494 Conditionalize target on [libnss_test1.so-version].
38495
91363dbb
RM
38496 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38497
cc87f7d8
RM
38498 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38499 (elfobjdir): Move out of conditionals.
38500
b1c608fe
RM
38501 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38502 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38503 (__nss_lookup_function): Conditionalize label remove_from_tree on
38504 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 38505
1d9a6d96
DM
385062012-09-28 David S. Miller <davem@davemloft.net>
38507
38508 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38509 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38510 file.
38511 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38512 sysdep_routines.
38513 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38514 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38515 when HWCAP_SPARC_CRYPTO is present.
38516
72581615
PT
385172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38518
38519 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38520
715a900c
JL
385212012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38522
38523 [BZ #6530]
38524 * stdio-common/vfprintf.c (process_string_arg): Revert
38525 2000-07-22 change.
38526
385272011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38528
38529 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38530 for testcase.
38531 * stdio-common/tst-sprintf.c: Include <locale.h>
38532 (main): Test sprintf's handling of incomplete multibyte
38533 characters.
38534
9bac1d86
L
385352012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38536
38537 * elf/dl-runtime.c (VERSYMIDX): Removed.
38538 * elf/dl-version.c (VERSYMIDX): Likewise.
38539 * elf/do-rel.h (VERSYMIDX): Likewise.
38540 (VALIDX): Likewise.
38541 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38542 * elf/rtld.c (VALIDX): Likewise.
38543 (ADDRIDX): Likewise.
9bac1d86
L
38544 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38545 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38546 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
38547 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38548 (VALIDX): Likewise.
38549 (ADDRIDX): Likewise.
9bac1d86 38550
b31606c0
PT
385512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38552
38553 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38554
11541177
JL
385552012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38556
38557 [BZ #11438]
38558 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38559 to global scope.
38560 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38561 addresses are in the same scope as 192.0.2/24.
38562 * posix/gai.conf: Document new scope table defaults.
38563
adb26fae
SP
385642012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38565
38566 [BZ #5298]
38567 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38568 for ftell. Compute offsets from write pointers instead.
38569 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38570
4573c6b0
SP
385712012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38572
38573 [BZ #14543]
38574 * libio/Makefile (tests): New test case tst-fseek.
38575 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38576 combination works in wide mode.
38577 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38578 state when the external buffer state changes.
38579
aa9bbfe6
DM
385802012-09-27 David S. Miller <davem@davemloft.net>
38581
38582 [BZ #14376]
38583 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38584 pass reloc->r_addend in as the 'high' argument to
38585 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38586
784421e7
DM
38587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38588
c39bc8b8
PT
385892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38590
38591 * rt/tst-aio2.c: Include <pthread.h>.
38592 * rt/tst-aio3.c: Likewise.
38593
1ccc2399
SE
385942012-09-27 Steve Ellcey <sellcey@mips.com>
38595
38596 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38597
31ed4153
L
385982012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38599
25f5f885
L
38600 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38601 contents on [SHARED].
31ed4153 38602
b7bfe116
MP
386032012-09-26 Marek Polacek <polacek@redhat.com>
38604
38605 [BZ #14530]
38606 [BZ #13741]
38607 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38608 for C++ and GCC <4.3 as well as for non GCC compilers.
38609
43c4edba
MT
386102012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38611
38612 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38613
6a1bf82f
RM
386142012-09-25 Roland McGrath <roland@hack.frob.com>
38615
38616 * Makefile.in (all, install): Declare with .PHONY.
38617 Reported by Michael Hope <michael.hope@linaro.org>.
38618
8ad11b9a
TMQMF
386192012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38620
38621 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38622 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38623 system header.
38624 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38625 Likewise.
38626 (sydep_routines): Add the new and the internal functions.
38627 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38628 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38630 (GLIBC_2.17): Add the new function.
38631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38632 (GLIBC_2.17): Likewise.
38633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38634 (GLIBC_2.17): Likewise.
38635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38636 (GLIBC_2.17): Likewise.
38637 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38638
7e2fca8d
AM
386392012-09-25 Alan Modra <amodra@gmail.com>
38640
38641 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38642 Add release barrier before setting once_control to say
38643 initialisation is done. Add hints on lwarx. Use macro in
38644 place of isync.
38645 (clear_once_control): Add release barrier.
38646
b87c4b24
JM
386472012-09-25 Joseph Myers <joseph@codesourcery.com>
38648
d032e0d2
JM
38649 [BZ #13629]
38650 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38651 specially.
38652 * math/s_clog10.c (__clog10): Likewise.
38653 * math/s_clog10f.c (__clog10f): Likewise.
38654 * math/s_clog10l.c (__clog10l): Likewise.
38655 * math/s_clogf.c (__clogf): Likewise.
38656 * math/s_clogl.c (__clogl): Likewise.
38657 * math/Makefile (libm-calls): Add x2y2m1.
38658 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38659 (__x2y2m1): Likewise.
38660 (__x2y2m1l): Likewise.
38661 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38662 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38663 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38664 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38665 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38666 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38667 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38668 * sysdeps/i386/fpu/libm-test-ulps: Update.
38669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38670
b87c4b24
JM
38671 [BZ #14621]
38672 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38673 int as type of variable DEPTH.
38674 (glob): Use size_t instead of int as type of variables NEWCOUNT
38675 and OLD_PATHC.
38676
6d3bf199
LD
386772012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38678
22bf5c17
LD
38679 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38680 Add s_sincosf-sse2.
38681 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38682 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38683 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38684 macros for using routine as __sincosf_ia32.
38685 Use macro for function declaration and weak_alias.
38686 * sysdeps/i386/fpu/libm-test-ulps: Update.
38687
38688 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38690
38691 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
38692 subnormal argument.
38693 * math/s_cexpf.c (__cexpf): Likewise.
38694 * math/s_csinf.c (__csinf): Likewise.
38695 * math/s_csinhf.c (__csinhf): Likewise.
38696 * math/s_ctanf.c (__ctanf): Likewise.
38697 * math/s_ctanhf.c (__ctanhf): Likewise.
38698 * math/s_ccosh.c (__ccoshf): Likewise.
38699 * math/s_cexp.c (__cexpl): Likewise.
38700 * math/s_csin.c (__csin): Likewise.
38701 * math/s_csinh.c (__csinh): Likewise.
38702 * math/s_ctan.c (__ctan): Likewise.
38703 * math/s_ctanh.c (ctanh): Likewise.
38704 * math/s_ccoshl.c (__ccoshl): Likewise.
38705 * math/s_cexpl.c (__cexpl): Likewise.
38706 * math/s_csinl.c (__csinl): Likewise.
38707 * math/s_csinhl.c (__csinhl): Likewise.
38708 * math/s_ctanl.c (__ctanl): Likewise.
38709 * math/s_ctanhl.c (__ctanhl): Likewise.
38710
203e5603
JM
387112012-09-25 Joseph Myers <joseph@codesourcery.com>
38712
38713 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38714 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38715 (_IO_off_t): Define to __off_t, not _G_off_t.
38716 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38717 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38718 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38719 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38720 type of __dummy and __dummy2 fields.
38721 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38722 (_G_ssize_t): Likewise.
38723 (_G_off_t): Likewise.
38724 (_G_pid_t): Likewise.
38725 (_G_uid_t): Likewise.
38726 (_G_wchar_t): Likewise.
38727 (_G_wint_t): Likewise.
38728 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38729 (_G_ssize_t): Likewise.
38730 (_G_off_t): Likewise.
38731 (_G_pid_t): Likewise.
38732 (_G_uid_t): Likewise.
38733 (_G_wchar_t): Likewise.
38734 (_G_wint_t): Likewise.
38735 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38736 (_G_ssize_t): Likewise.
38737 (_G_off_t): Likewise.
38738 (_G_pid_t): Likewise.
38739 (_G_uid_t): Likewise.
38740 (_G_wchar_t): Likewise.
38741 (_G_wint_t): Likewise.
38742
9fab36eb
SP
387432012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38744
38745 * malloc/arena.c: Include malloc-sysdep.h.
38746 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38747 is sufficient to shrink the heap or an unmap is needed.
38748 * sysdeps/generic/malloc-sysdep.h: New file. Define
38749 new function check_may_shrink_heap.
38750 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38751 new function check_may_shrink_heap.
38752
2b4f00d1
SP
387532012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38754
38755 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38756 comments.
38757
9a9028b1
DL
387582012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38759
57c69bef
DL
38760 * catgets/test-gencat.sh: Add "set -e".
38761 * elf/tst-pathopt.sh: Likewise.
38762 * grp/tst_fgetgrent.sh: Likewise.
38763 * iconvdata/run-iconv-test.sh: Likewise.
38764 * intl/tst-gettext.sh: Likewise.
38765 * intl/tst-gettext2.sh: Likewise.
38766 * intl/tst-gettext4.sh: Likewise.
38767 * intl/tst-gettext6.sh: Likewise.
38768 * intl/tst-translit.sh: Likewise.
38769 * io/ftwtest-sh: Likewise.
38770 * libio/test-freopen.sh: Likewise.
38771 * malloc/tst-mtrace.sh: Likewise.
38772 * posix/globtest.sh: Likewise.
38773 * posix/tst-getconf.sh: Likewise.
38774 * posix/wordexp-tst.sh: Likewise.
38775 * stdio-common/tst-printf.sh: Likewise.
38776 * stdio-common/tst-unbputc.sh: Likewise.
38777 * stdlib/tst-fmtmsg.sh: Likewise.
38778 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38779 * catgets/Makefile: Do not specify -e option when running
38780 testsuite shell scripts.
38781 * elf/Makefile: Likewise.
38782 * grp/Makefile: Likewise.
38783 * iconvdata/Makefile: Likewise.
38784 * intl/Makefile: Likewise.
38785 * io/Makefile: Likewise.
38786 * libio/Makefile: Likewise.
38787 * malloc/Makefile: Likewise.
38788 * posix/Makefile: Likewise.
38789 * stdio-common/Makefile: Likewise.
38790 * stdlib/Makefile: Likewise.
38791 * sysdeps/x86_64/Makefile: Likewise.
38792
9a9028b1
DL
38793 * io/ftwtest-sh: Add copyright header.
38794 * posix/globtest.sh: Likewise.
38795 * posix/tst-getconf.sh: Likewise.
38796 * posix/wordexp-tst.sh: Likewise.
38797 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38798
ced6f16e
L
387992012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38800
94b32c39
L
38801 [BZ #13679]
38802 * Makeconfig (+link): Defined as $(+link-static) if
38803 $(build-shared) isn't yes.
38804 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38805 isn't yes.
38806 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38807
189e935b
L
38808 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38809
ced6f16e
L
38810 [BZ #14562]
38811 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38812 new chunk size with MALLOC_ALIGN_MASK.
38813
a9f8e53a
JM
388142012-09-24 Joseph Myers <joseph@codesourcery.com>
38815
38816 [BZ #5044]
38817 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38818 <rounding-mode.h>.
38819 (__printf_fphex): Determine rounding using get_rounding_mode and
38820 round_away.
38821 * stdio-common/tst-printf-round.c (struct hex_test): New
38822 structure.
38823 (hex_tests): New variable.
38824 (test_hex_in_one_mode): New function.
38825 (do_test): Also run tests for hex float output.
38826
43153109
JM
388272012-09-21 Joseph Myers <joseph@codesourcery.com>
38828
38829 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38830 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38831 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38832 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38833 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38834 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38835 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38836 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38837
8a26625d
JM
388382012-09-20 Joseph Myers <joseph@codesourcery.com>
38839
38840 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38841 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38842 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38843 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38844
f3fd569c
DL
388452012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38846
38847 [BZ #14579]
38848 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38849 mode only.
38850 * elf/tst-rtld-load-self.sh: New test.
38851 * elf/Makefile: Run it.
38852
63bbedd4
JM
388532012-09-18 Joseph Myers <joseph@codesourcery.com>
38854
38855 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38856 (tst-writev-ENV): Remove.
38857 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38858
626f8b6a
CM
388592012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38860
38861 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38862
b7aaa4d6
JM
388632012-09-17 Joseph Myers <joseph@codesourcery.com>
38864
38865 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38866 unconditional.
38867 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38868 Likewise.
38869 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38870 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38871 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38872 Likewise.
38873
65513990
L
388742012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38875
38876 [BZ #14587]
38877 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38878 * config.make.in (have-cpp-asm-debuginfo): Removed.
38879 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38880 * configure: Regenerated.
38881
784761be
JM
388822012-09-14 Joseph Myers <joseph@codesourcery.com>
38883
38884 [BZ #5044]
38885 * stdio-common/printf_fp.c: Include <stdbool.h> and
38886 <rounding-mode.h>.
38887 (___printf_fp): Determine rounding using get_rounding_mode and
38888 round_away.
38889 * stdio-common/tst-printf-round.c: New file.
38890 * stdio-common/Makefile (tests): Add tst-printf-round.
38891 (link-libm): New variable.
38892 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38893
9503345f
L
388942012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38895
38896 [BZ #14576]
38897 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38898 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38899 Likewise.
38900 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38901 Likewise.
38902
ad35fc00
JM
389032012-09-13 Joseph Myers <joseph@codesourcery.com>
38904
38905 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38906 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38907 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38908 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38909
6c9b0f68
JM
389102012-09-12 Joseph Myers <joseph@codesourcery.com>
38911
38912 [BZ #14518]
38913 * include/rounding-mode.h: New file.
38914 * sysdeps/generic/get-rounding-mode.h: Likewise.
38915 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38916 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38917 (MAX_VALUE): New macro.
38918 (MIN_VALUE): Likewise.
38919 (overflow_value): New function.
38920 (underflow_value): Likewise.
38921 (round_and_return): Use overflow_value and underflow_value to
38922 determine return values in overflow and underflow cases. Use
38923 round_away to determine rounding depending on rounding mode.
38924 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38925 determine return values in overflow and underflow cases.
38926 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38927 (struct test_results): New structure.
38928 (struct test): Use struct test_results to store expected results
38929 for all rounding modes.
38930 (TEST): Include expected results for all rounding modes.
38931 (test_in_one_mode): New function.
38932 (do_test): Use test_in_one_mode to compute and check results.
38933 Check results for all rounding modes.
38934 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38935 $(link-libm).
38936
19fcedd5
AM
389372012-12-09 Allan McRae <allan@archlinux.org>
38938
1e9d84cd 38939 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 38940
8bbfd2f1
JM
389412012-09-11 Joseph Myers <joseph@codesourcery.com>
38942
38943 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38944 (_G_int32_t): Likewise.
38945 (_G_uint16_t): Likewise.
38946 (_G_uint32_t): Likewise.
38947 (_G_HAVE_BOOL): Likewise.
38948 (_G_HAVE_ATEXIT): Likewise.
38949 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38950 (_G_HAVE_IO_FILE_OPEN): Likewise.
38951 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38952 (_G_int32_t): Likewise.
38953 (_G_uint16_t): Likewise.
38954 (_G_uint32_t): Likewise.
38955 (_G_HAVE_BOOL): Likewise.
38956 (_G_HAVE_ATEXIT): Likewise.
38957 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38958 (_G_HAVE_IO_FILE_OPEN): Likewise.
38959 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38960 (_G_int32_t): Likewise.
38961 (_G_uint16_t): Likewise.
38962 (_G_uint32_t): Likewise.
38963 (_G_HAVE_BOOL): Likewise.
38964 (_G_HAVE_ATEXIT): Likewise.
38965 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38966 (_G_HAVE_IO_FILE_OPEN): Likewise.
38967
b1dc5912
L
389682012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38969
38970 * csu/libc-tls.c: Update copyright years.
38971
0e886ef9
JM
389722012-09-10 Joseph Myers <joseph@codesourcery.com>
38973
28361c5e
JM
38974 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38975 [!_G_USING_THUNKS]: Remove conditional code.
38976 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38977 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38978
0e886ef9
JM
38979 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38980 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38981 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38982 (_G_VTABLE_LABEL_PREFIX): Likewise.
38983 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38984 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38985 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38986 (_G_VTABLE_LABEL_PREFIX): Likewise.
38987 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38988 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38989 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38990 (_G_VTABLE_LABEL_PREFIX): Likewise.
38991 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38992
bcba7aa2
L
389932012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38994
38995 * libio/Makefile: Include ../Makeconfig before tests.
38996 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38997 only if $(build-shared) is yes.
38998
06585ee8
L
38999 * iconv/gconv_db.c: Update copyright years.
39000
80ccd52c
LD
390012012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39002
39003 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39004 unwind info if defined PIC. Fix special cases description.
39005 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39006
39007 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39008 DP_HI_MASK entry.
39009 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39010
691bc9c1
L
390112012-09-07 H.J. Lu <hongjiu.lu@intel.com>
39012
3d9b46b3
L
39013 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39014
de2139a9
L
39015 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39016 is NULL.
39017
5ca78dd0
L
39018 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39019 (LDLIBS-tst-chk4): This.
39020 (LDFLAGS-tst-chk5): Renamed to ...
39021 (LDLIBS-tst-chk5): This.
39022 (LDFLAGS-tst-chk6): Renamed to ...
39023 (LDLIBS-tst-chk6): This.
39024 (LDFLAGS-tst-lfschk4): Renamed to ...
39025 (LDLIBS-tst-lfschk4): This.
39026 (LDFLAGS-tst-lfschk5): Renamed to ...
39027 (LDLIBS-tst-lfschk5): This.
39028 (LDFLAGS-tst-lfschk6): Renamed to ...
39029 (LDLIBS-tst-lfschk6): This.
39030
691bc9c1
L
39031 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39032 on $(common-objpfx)soversions.mk.
39033
65cafb1c
JM
390342012-09-07 Joseph Myers <joseph@codesourcery.com>
39035
39036 [BZ #10014]
39037 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39038 example host name.
39039
c78ab094
SP
390402012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39041
39042 * malloc/arena.c (arena_get_retry): New function that gets
39043 another arena for the caller to try its request on.
39044 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39045 current arena cannot fulfill the request.
39046 (__libc_memalign): Likewise.
39047 (__libc_memalign): Likewise.
39048 (__libc_pvalloc): Likewise.
39049 (__libc_calloc): Likewise.
39050
01f49f59
JT
390512012-09-05 John Tobey <john.tobey@gmail.com>
39052
39053 [BZ #13542]
39054 * manual/arith.texi (Operations on Complex): Fix description
39055 of carg branch cut.
39056
4c23fed5
JM
390572012-09-06 Joseph Myers <joseph@codesourcery.com>
39058
1d3c8572
JM
39059 [BZ #10014]
39060 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39061 host name.
39062
4c23fed5
JM
39063 [BZ #10038]
39064 * manual/memory.texi (Memory): Make order of menu items match
39065 order of sections.
39066
04570aaa
L
390672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39068
39069 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39070 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
39071 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39072
b80af2f4
L
390732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39074
39075 * csu/libc-tls.c (static_dtv): Renamed to ...
39076 (_dl_static_dtv): This. Make it global.
39077 (_dl_initial_dtv): Removed.
39078 (__libc_setup_tls): Updated.
39079 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39080 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39081 DL_INITIAL_DTV.
39082
2abe9f15
PM
390832012-09-06 Petr Machata <pmachata@redhat.com>
39084
39085 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39086 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39087 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39088 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39089
0948c3af
L
390902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39091
39092 [BZ #14545]
39093 * csu/libc-tls.c (_dl_initial_dtv): New variable.
39094 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39095 freeing dtv[-1].
39096
a5055ad1
L
390972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39098
39099 [BZ #14544]
39100 * Makeconfig (link-static-before-libc): Replace $(+prector)
39101 with $(+prectorT).
39102 (link-static-after-libc): Replace $(+postctor) with
39103 $(+postctorT).
39104 (link-bounded): Replace $(+prector)/$(+postctor) with
39105 $(+prectorT)/$(+postctorT).
39106 (+prectorT): New macro.
39107 (+postctorT): Likewise.
39108
ed8c2ecd
JM
391092012-09-06 Joseph Myers <joseph@codesourcery.com>
39110
39111 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39112 (round_str): Handle values above the maximum for IBM long double
39113 as inexact.
39114 * stdlib/tst-strtod-round.c (tests): Regenerated.
39115
14c996c8
AK
391162012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39117
39118 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39119 assembler flag.
39120 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39121 zarch_nohighgprs around the zarch optimized routines.
39122 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39123 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39124 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39125 for zarch.
39126
430d6ce6
DM
391272012-09-05 David S. Miller <davem@davemloft.net>
39128
39129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39130
57f41c40
AS
39131 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39132 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
39133 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39134 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39135 entries.
39136
24d4e01b
AO
391372012-09-05 Alexandre Oliva <aoliva@redhat.com>
39138
39139 * malloc/arena.c: Fold copyright years.
39140 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39141
61d58174
AO
391422012-09-05 Alexandre Oliva <aoliva@redhat.com>
39143
39144 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39145
20196a5e
AO
391462012-09-05 Alexandre Oliva <aoliva@redhat.com>
39147
39148 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39149
5c447383
AO
391502012-09-05 Alexandre Oliva <aoliva@redhat.com>
39151
39152 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39153 change internal state upon failure.
39154
fad64255
AO
391552012-09-05 Alexandre Oliva <aoliva@redhat.com>
39156
39157 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39158 * malloc/memusage.c (mmap): Likewise.
39159 (mmap64, mremap): Likewise. Adjust name in comment.
39160
1ffb8c90
SP
391612012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39162
39163 * libio/fileops.c: Fix typos in comments.
39164 * libio/oldfileops.c: Likewise.
39165 * libio/wfileops.c: Likewise.
39166
6ef9cc37
SP
391672012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39168
39169 [BZ #1349]
39170 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39171 (tst-malloc-usable-ENV): Set environment for test case.
39172 * malloc/hooks.c (malloc_check_get_size): New function to get
39173 requested size.
39174 * malloc/malloc.c (musable): Use malloc_check_get_size.
39175 * malloc/tst-malloc-usable.c: New test case.
39176
4d038ae3
AS
391772012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39178
39179 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39180
c4e85184
AM
391812012-09-05 Allan McRae <allan@archlinux.org>
39182
b9dafc56 39183 [BZ #13966]
c4e85184
AM
39184 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39185 determine header location.
39186 * configure: Regenerated.
39187
e1343020
AS
391882012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39189
39190 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39191 float format.
39192 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
39193 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39194 format.
e1343020
AS
39195 (test): Regenerate.
39196
0a9f1987
DM
391972012-09-04 David S. Miller <davem@davemloft.net>
39198
39199 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39200 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39201 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39202
29237804
FW
392032012-09-04 Florian Weimer <fweimer@redhat.com>
39204
39205 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39206 failures.
39207
edb3cb88
FW
39208 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39209
60160d83
JM
392102012-09-04 Joseph Myers <joseph@codesourcery.com>
39211
39212 [BZ #9914]
39213 * libio/iogetdelim.c: Include <limits.h>.
39214 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39215 + len + 1 would overflow.
39216
bcd6c8dc
AJ
392172012-09-03 Andreas Jaeger <aj@suse.de>
39218
39219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39220 * sysdeps/i386/fpu/libm-test-ulps: Update.
39221
4ffffbd2
LD
392222012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39223
39224 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39225 Add s_sinf-sse2, s_conf-sse2.
39226
39227 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39228 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39229 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39230 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39231
39232 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39233 for using routine as __sinf_ia32.
39234 Use macro for function declaration and weak_alias.
39235 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39236 for using routine as __cosf_ia32.
39237 Use macro for function declaration and weak_alias.
39238
39239 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39240 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39241
39242 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39243 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39245
39246 * math/libm-test.inc (cos_test): Add more test cases.
39247 (sin_test): Likewise.
39248 (sincos_test): Likewise.
39249
511fa286
AK
392502012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39251
39252 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39253 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39254 hidden.
39255 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39256
5f30cfec
L
392572012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39258
39259 [BZ #14538]
39260 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39261 first element of the GOT.
39262 (elf_machine_load_address): Return the difference between
39263 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39264
0786794f
AM
392652012-09-01 Allan McRae <allan@archlinux.org>
39266
5f30cfec
L
39267 [BZ #13412]
39268 * configure.in (AWK): Require gawk version 3.0 or later.
39269 * configure: Regenerated.
0786794f 39270
26889eac
JM
392712012-09-01 Joseph Myers <joseph@codesourcery.com>
39272
39273 * sysdeps/unix/sysv/linux/kernel-features.h
39274 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39275 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39276 [__NR_clock_getres]: Make code unconditional.
39277 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39278 (clock_getcpuclockid): Remove code left unreachable by removal of
39279 conditionals.
39280 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39281 code unconditional.
39282 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39283 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39284 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39285 Make code unconditional.
39286 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39287 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39288 * sysdeps/unix/sysv/linux/clock_settime.c
39289 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39290 conditional code.
39291 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39292 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39293
d22e28b0
L
392942012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39295
39296 [BZ #14476]
39297 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39298 scripts/test-installation.pl.
39299
39300 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39301 and $ld_so_version if it is set.
39302
050af9c4
SP
393032012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39304
39305 [BZ #14516]
39306 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39307 failure if reading from procfs failed.
39308 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39309
ad845c0b
JM
393102012-08-27 Joseph Myers <joseph@codesourcery.com>
39311
39312 * sysdeps/unix/sysv/linux/kernel-features.h
39313 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39314 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39315 Remove conditional code.
39316 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39317 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39318 Remove conditional code.
39319 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39320 * sysdeps/unix/sysv/linux/i386/fxstat.c
39321 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39322 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39323 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39324 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39325 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39326 * sysdeps/unix/sysv/linux/i386/lxstat.c
39327 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39328 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39329 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39330 Remove conditional code.
39331 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39332 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39333 Remove conditional code.
39334 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39335 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39336 <kernel-features.h>.
39337 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39338 Remove.
39339 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39340 Remove conditional code.
39341 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39342 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39343 Remove conditional.
39344
5dbf56af
MF
393452012-08-27 Mike Frysinger <vapier@gentoo.org>
39346
39347 [BZ #5400]
39348 * NEWS: Add fixed bug number.
39349
d6e70f43
JM
393502012-08-27 Joseph Myers <joseph@codesourcery.com>
39351
7efb4737
JM
39352 [BZ #14519]
39353 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39354 underflowing exponent in case of negative sign.
39355 * stdlib/tst-strtod-round-data: Add more tests.
39356 * stdlib/tst-strtod-round.c (tests): Regenerated.
39357
af92131a
JM
39358 [BZ #3479]
39359 * stdlib/strtod_l.c (NDIG): Remove.
39360 (HEXNDIG): Likewise.
39361 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39362 smallest representable value.
39363 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39364 lie within an exact representation of 1/2 ulp of the result.
39365 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39366 unconditionally.
39367 (TENS_P9_IDX): Define unconditionally.
39368 (TENS_P9_SIZE): Likewise.
39369 (TENS_P10_IDX): Likewise.
39370 (TENS_P10_SIZE): Likewise.
39371 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39372 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39373 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39374 entries for 10^2^13 and 10^2^14.
39375 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39376 (TENS_P13_IDX): Define.
39377 (TENS_P13_SIZE): Likewise.
39378 (TENS_P14_IDX): Likewise.
39379 (TENS_P14_SIZE): Likewise.
39380 (_fpioconst_pow10): Change array size to
39381 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39382 unconditional.
39383 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39384 1024]: Add entries for 10^2^13 and 10^2^14.
39385 [LAST_POW10 > _LAST_POW10]: Remove #error.
39386 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39387 (_fpioconst_pow10): Change array size to
39388 FPIOCONST_POW10_ARRAY_SIZE.
39389 * stdlib/gen-fpioconst.c: New file.
39390 * stdlib/gen-tst-strtod-round.c: Likewise.
39391 * stdlib/tst-strtod-round-data: Likewise.
39392 * stdlib/tst-strtod-round.c: Likewise.
39393 * stdlib/Makefile (tests): Add tst-strtod-round.
39394
d6e70f43
JM
39395 [BZ #14459]
39396 * stdlib/strtod_l.c: Include <stdint.h>.
39397 (NDEBUG): Do not define.
39398 (round_and_return): Change EXPONENT parameter to type intmax_t.
39399 Rearrange calculations to avoid internal overflow possibilities.
39400 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39401 Rearrange calculations to avoid internal overflow possibilities.
39402 Assert that number fits inside MPNSIZE limbs.
39403 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39404 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39405 calculations and add assertions to avoid internal overflow
39406 possibilities. Add casts to avoid signed/unsigned operations.
39407 * stdlib/tst-strtod-overflow.c: New file.
39408 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39409
1f529f7d
MP
394102012-08-25 Marek Polacek <polacek@redhat.com>
39411
39412 * time/time.h: Fix some typos in comments.
39413
59a629f1
RM
394142012-08-23 Roland McGrath <roland@hack.frob.com>
39415
39416 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39417 * posix/tst-rfc3484-2.c: Likewise.
39418 * posix/tst-rfc3484-3.c: Likewise.
39419
d3bafbc9
SM
394202012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39421
39422 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39423 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39424
4efcc022
JM
394252012-08-23 Joseph Myers <joseph@codesourcery.com>
39426
39427 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39428 #include of fxstatat64.c.
39429
3cc3ef96
RM
394302012-08-22 Roland McGrath <roland@hack.frob.com>
39431
f04e2132
RM
39432 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39433 * shadow/getspent_r.c: Likewise.
39434 * shadow/getspnam.c: Likewise.
39435 * shadow/getspnam_r.c: Likewise.
39436 * gshadow/getsgent.c: Likewise.
39437 * gshadow/getsgent_r.c: Likewise.
39438 * gshadow/getsgnam.c: Likewise.
39439 * gshadow/getsgnam_r.c: Likewise.
39440 * inet/getnetbyad.c: Likewise.
39441 * inet/getnetbyad_r.c: Likewise.
39442 * inet/getnetbynm.c: Likewise.
39443 * inet/getnetbynm_r.c: Likewise.
39444 * inet/getnetent.c: Likewise.
39445 * inet/getnetent_r.c: Likewise.
39446 * inet/getproto.c: Likewise.
39447 * inet/getproto_r.c: Likewise.
39448 * inet/getprtent.c: Likewise.
39449 * inet/getprtent_r.c: Likewise.
39450 * inet/getprtname.c: Likewise.
39451 * inet/getprtname_r.c: Likewise.
39452 * inet/getrpcbyname.c: Likewise.
39453 * inet/getrpcbyname_r.c: Likewise.
39454 * inet/getrpcbynumber.c: Likewise.
39455 * inet/getrpcbynumber_r.c: Likewise.
39456 * inet/getrpcent.c: Likewise.
39457 * inet/getrpcent_r.c: Likewise.
39458 * inet/getaliasent.c: Likewise.
39459 * inet/getaliasent_r.c: Likewise.
39460 * inet/getaliasname.c: Likewise.
39461 * inet/getaliasname_r.c: Likewise.
39462 * nscd/getgrgid_r.c: Likewise.
39463 * nscd/getgrnam_r.c: Likewise.
39464 * nscd/gethstbyad_r.c: Likewise.
39465 * nscd/gethstbynm3_r.c: Likewise.
39466 * nscd/getpwnam_r.c: Likewise.
39467 * nscd/getpwuid_r.c: Likewise.
39468 * nscd/getsrvbynm_r.c: Likewise.
39469 * nscd/getsrvbypt_r.c: Likewise.
39470 * nscd/gai.c: Likewise.
39471
c53d909c
RM
39472 * configure.in (build_nscd): New substituted variable, set
39473 by --disable-build-nscd and defaults to $use_nscd.
39474 * configure: Regenerated.
39475 * config.make.in (build-nscd): New substituted variable.
39476 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39477 Change conditional to require [$(build-nscd) = yes] as well.
39478 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39479
3cc3ef96
RM
39480 [BZ# 13696]
39481 * configure.in (use_nscd): New substituted variable, set by
39482 --disable-nscd. If enabled, define USE_NSCD.
39483 * configure: Regenerated.
39484 * config.h.in: Add USE_NSCD.
39485 * config.make.in (use-nscd): New substituted variable.
39486 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39487 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39488 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39489 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39490 (CFLAGS-getgrnam_r.c): Likewise.
39491 (CFLAGS-initgroups.c): Likewise.
39492 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39493 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39494 Variables removed.
39495 * inet/getnetgrent_r.c
39496 (nscd_setnetgrent): New function, broken out of ...
39497 (setnetgrent): ... here. Call it.
39498 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39499 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39500 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39501 * nscd/Makefile (routines, aux): Move definitions after include of
39502 Makeconfig. Conditionalize on [$(use-nscd) != no].
39503 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39504 Conditionalize on [USE_NSCD].
39505 (is_nscd, nscd_init_cb): Likewise.
39506 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39507 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39508 * nss/nss_db/db-init.c: Likewise.
39509 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39510 [USE_NSCD].
39511 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39512 (make_request): Use it.
39513 (cache_valid_p): New function.
39514 (__check_pf): Use it.
39515 * NEWS: Add item for --disable-nscd.
39516
07e51550
DL
395172012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39518
39519 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39520 to support sed >= 4.2.1-20-ga9bf076.
39521 * configure: Regenerated.
39522
35a5b08b
RM
395232012-08-22 Roland McGrath <roland@hack.frob.com>
39524
39525 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39526 Conditionalize whole body on [IREL].
39527
8479f23a
JL
395282012-08-22 Jeff Law <law@redhat.com>
39529
39530 [BZ #14505]
39531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39532 if the family is PF_UNSPEC.
39533
48da0b21
MF
395342012-08-22 Mike Frysinger <vapier@gentoo.org>
39535
39536 * Makerules (lib-version): Rename from V.
39537 (install-lib-nosubdir): Change V to lib-version.
39538
15d0da8c
WS
395392012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39540
39541 [BZ #14252]
39542 * powerpc32/power6/wcschr.c: New file.
39543 * powerpc32/power6/wcscpy.c: New file.
39544 * powerpc32/power6/wcsrchr.c: New file.
39545 * powerpc64/power6/wcschr.c: New file.
39546 * powerpc64/power6/wcscpy.c: New file.
39547 * powerpc64/power6/wcsrchr.c: New file.
39548
bcca0895
MK
395492012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39550
39551 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39552 (two_way_short_needle): Use it.
5a4aaa33
RM
39553 * string/strstr.c (AVAILABLE1_USES_J): Define.
39554 * string/strcasestr.c: Likewise.
99677e57
MK
39555
39556 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39557 array references.
39558 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39559
400726de
MK
39560 [BZ #11607]
39561 * NEWS: Add an entry.
39562 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39563 define their defaults.
39564 (two_way_short_needle): Detect end-of-string on-the-fly.
39565 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39566 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39567 * string/bug-strcasestr1.c: New test.
39568 * string/Makefile: Run it.
39569
20a71f2c
MK
395702012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39571
39572 [BZ #11607]
39573 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39574 the first character.
39575
21ad0558
RM
395762012-08-21 Roland McGrath <roland@hack.frob.com>
39577
39578 * csu/elf-init.c (__libc_csu_irel): Function removed.
39579 * csu/libc-start.c (apply_irel): New function.
39580 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39581
0e1d9911
JM
395822012-08-21 Joseph Myers <joseph@codesourcery.com>
39583
39584 * sysdeps/unix/sysv/linux/kernel-features.h
39585 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39586 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39587 <kernel-features.h>.
39588 [__NR_fadvise64_64]: Make code unconditional.
39589 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39590 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39591 !__NR_fadvise64_64)]: Likewise.
39592 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39593 !__NR_fadvise64_64))]: Likewise.
39594 [__NR_fadvise64]: Make code unconditional.
39595 [!__NR_fadvise64]: Remove conditional code.
39596 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39597 <kernel-features.h>.
39598 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39599 unconditional.
39600 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39601 conditional code.
39602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39603 not include <kernel-features.h>.
39604 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39605 unconditional.
39606 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39607 conditional code.
39608 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39609 include <kernel-features.h>.
39610 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39611 unconditional.
39612 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39613 conditional code.
39614
14a50c9d
WS
396152012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39616
39617 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39618 slight instruction rearrangements per scrollpipe analysis.
39619 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39620
c0f4faf0
RM
396212012-08-20 Roland McGrath <roland@hack.frob.com>
39622
696da859
RM
39623 * manual/syslog.texi (syslog; vsyslog, closelog):
39624 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39625 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39626
c0f4faf0
RM
39627 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39628 DSOCAPS to match condition on defining it.
39629
348363b2
JM
396302012-08-20 Joseph Myers <joseph@codesourcery.com>
39631
a35cbf28
JM
39632 * sysdeps/unix/sysv/linux/kernel-features.h
39633 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39635 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39636 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39638 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39639 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39641 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39642 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39643
445f7ecd
JM
39644 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39645 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39646
348363b2
JM
39647 * sysdeps/unix/sysv/linux/kernel-features.h
39648 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39649 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39650 unconditional.
39651 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39652 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39653 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39654 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39655 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39656 Make code unconditional.
39657 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39658 (__mmap64) [!__NR_mmap2]: Likewise.
39659 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39660 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39661 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39662 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39663 [__NR_mmap2]: Make code unconditional.
39664 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39665 (__mmap64) [!__NR_mmap2]: Likewise.
39666
bc5bc0e5
AK
396672012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39668
39669 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39670
88d506de
AJ
396712012-08-18 Andreas Jaeger <aj@suse.de>
39672
39673 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39674
493387d2
MF
396752012-08-18 Mike Frysinger <vapier@gentoo.org>
39676
39677 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39678 * include/unistd.h (__have_sock_cloexec): Likewise.
39679 (__have_pipe2): Likewise.
39680 (__have_dup3): Likewise.
39681
a277af22
MF
396822012-08-18 Mike Frysinger <vapier@gentoo.org>
39683
39684 [BZ #9685]
39685 * include/unistd.h (__have_pipe2): Change define into an extern int.
39686 (__have_dup3): Likewise.
39687 * socket/have_sock_cloexec.c: Include fcntl.h.
39688 (__have_pipe2): New variable.
39689 (__have_dup3): Likewise.
39690
fdab8fd3
MF
396912012-08-17 Mike Frysinger <vapier@gentoo.org>
39692
39693 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39694
31035e80
MP
396952012-08-17 Marek Polacek <polacek@redhat.com>
39696
39697 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39698 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39699
3bd9e993
RM
397002012-08-17 Roland McGrath <roland@hack.frob.com>
39701
c91c505f
RM
39702 * configure.in: Add AC_SUBST for sysheaders.
39703 * configure: Regenerated.
39704 * config.make.in (sysheaders): New substituted variable.
39705
7c6f9d53
RM
39706 * sysdeps/unix/mkfifo.c: Moved ...
39707 * sysdeps/posix/mkfifo.c: ... here.
39708 * sysdeps/unix/mkfifoat.c: Moved ...
39709 * sysdeps/posix/mkfifoat.c: ... here.
39710
39711 * sysdeps/unix/utime.c: Moved ...
39712 * sysdeps/posix/utime.c: ... here.
39713
39714 * sysdeps/unix/time.c: Moved ...
39715 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
39716 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39717 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
39718
39719 * sysdeps/unix/nice.c: Moved ...
39720 * sysdeps/posix/nice.c: ... here.
39721
39722 * sysdeps/unix/alarm.c: Moved ...
39723 * sysdeps/posix/alarm.c: ... here.
39724
3bd9e993
RM
39725 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39726
d1f09384
JL
397272012-08-17 Jeff Law <law@redhat.com>
39728
39729 * intl/Makefile (codeset_mo): New variable.
39730 ($(codeset_mo)): New target.
39731 (tst-codeset.out): Depend on that. Remove explicit rule.
39732 (tst-gettext3.out, tst-gettext5.out): Likewise.
39733 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39734 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39735 * intl/tst-codeset.sh: Remove.
39736 * intl/tst-gettext3.sh: Likewise.
39737 * intl/tst-gettext5.sh: Likewise.
39738
2ae1ae5c
RM
397392012-08-17 Roland McGrath <roland@hack.frob.com>
39740
c31fdb83
RM
39741 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39742 * sysdeps/unix/syscalls.list: ... here.
39743
a0844057
RM
39744 * sysdeps/posix/getaddrinfo.c
39745 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39746 (gaiconf_init, gaiconf_reload): Use them.
39747 [!_STATBUF_ST_NSEC]
39748 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39749 Define using time_t rather than struct timespec.
39750
750c1f2a
RM
39751 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39752 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39753 Macros removed.
39754 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39755 [!NO_THREADS].
39756 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39757 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39758 Likewise.
39759
2ae1ae5c
RM
39760 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39761 __libc_cleanup_push argument.
39762
e66a42f5
RM
39763 * bits/param.h: New file.
39764 * misc/sys/param.h: New file.
39765 * include/sys/param.h: New file.
39766 * misc/Makefile (headers): Add bits/param.h.
39767 * sysdeps/generic/sys/param.h: File removed.
39768 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39769 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39770 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 39771 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 39772
b7c08a66
RM
39773 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39774 last change.
39775
b2e1c562
RM
39776 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39777 [_IO_MTSAFE_IO].
39778 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39779 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39780 New macros.
39781
c75ccd4c
RM
39782 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39783 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39784 rather than -D_IO_MTSAFE_IO conditionally.
39785 * stdio-common/Makefile (CPPFLAGS): Likewise.
39786 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39787 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39788 Use $(libio-mtsafe).
39789 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39790 of -D_IO_MTSAFE_IO.
39791 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39792 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39793 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39794 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39795 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39796 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39797 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39798 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39799 (CFLAGS-fread_u_chk.c): Likewise.
39800 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39801 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39802 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39803 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39804 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39805 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39806 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39807 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39808 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39809
39810 * libio/Makefile: Test [$(libc-reentrant) = yes]
39811 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39812
39813 * Makeconfig
39814 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39815 * sysdeps/pthread/configure: File removed.
39816 * sysdeps/pthread/Makeconfig: New file.
39817 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39818 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39819
d9195db8
GB
398202012-08-16 Gary Benson <gbenson@redhat.com>
39821
39822 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39823 unmapping the first object in a namespace.
39824
86466cd9
RM
398252012-08-16 Roland McGrath <roland@hack.frob.com>
39826
39827 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39828 (__internal_setnetgrent): ... this. Add internal_function to
39829 definition. Add libc_hidden_def.
39830 (setnetgrent): Update caller.
39831 (internal_endnetgrent): Renamed to ...
39832 (__internal_endnetgrent): ... this. Add internal_function to
39833 definition. Add libc_hidden_def.
39834 (endnetgrent): Update caller.
39835 (internal_getnetgrent_r): Renamed to ...
39836 (__internal_getnetgrent_r): ... this. Add internal_function to
39837 definition. Add libc_hidden_def.
39838 (__getnetgrent_r): Update caller.
39839 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39840
c3c8283c
JM
398412012-08-16 Joseph Myers <joseph@codesourcery.com>
39842
39843 * stdlib/longlong.h: Update from GCC.
39844
db1ee0a8
RM
398452012-08-16 Roland McGrath <roland@hack.frob.com>
39846
39847 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39848 on _QL, which is set by umul_ppmm but never used.
39849 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39850 variables, which are set by GMP macros but never used.
39851 * stdio-common/_itowa.c (_itowa): Likewise.
39852 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39853 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39854
30f69637
CD
398552012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39856
39857 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39858 struct La_sh_regs is not constant.
39859 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39860 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39861 and struct La_sparc64_regs are not constant.
39862
93a78ac4
JM
398632012-08-16 Joseph Myers <joseph@codesourcery.com>
39864
39865 * sysdeps/unix/sysv/linux/kernel-features.h
39866 (__ASSUME_POSIX_TIMERS): Remove.
39867 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39868 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39869 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39870 Make code unconditional.
39871 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39872 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39873 Make code unconditional.
39874 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39875 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39876 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39877 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39878 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39879 Make code unconditional.
39880 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39881 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39882 (__libc_missing_posix_timers): Remove.
39883
dd924cd7
RM
398842012-08-15 Roland McGrath <roland@hack.frob.com>
39885
4b4f2771
RM
39886 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39887 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39888
601c888b
RM
39889 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39890
176790a7
RM
39891 * elf/dl-sym.c: Include <stdlib.h>.
39892
329bc018
RM
39893 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39894 constants, which avoids warnings in 32-bit builds.
39895
e04e272d
RM
39896 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39897 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39898
952bf94a
RM
39899 * misc/lseek.c: File moved to ...
39900 * io/lseek.c: ... here.
39901
7c99b50a
RM
39902 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39903
dd924cd7
RM
39904 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39905 shifting LEN more than 31 bits at once.
39906
b3f479a8
LD
399072012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39908
39909 [BZ #14195]
8c4ae0d4
RM
39910 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39911 segmentation fault for a case of two empty input strings.
b3f479a8
LD
39912 * string/test-strncasecmp.c (check1): Renamed to...
39913 (bz12205): ...this.
39914 (bz14195): Add new testcase for two empty input strings and N > 0.
39915 (test_main): Call new testcase, adapt for renamed function.
39916
9c55864e
AJ
399172012-08-15 Andreas Jaeger <aj@suse.de>
39918
39919 [BZ #14090]
39920 * crypt/md5test2.c: New test, based on test supplied by Serge
39921 Belyshev <belyshev@depni.sinp.msu.ru>.
39922 * crypt/Makefile (xtests): Add md5test-giant..
39923 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39924
02dcb6c5
PE
399252012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39926
39927 [BZ #14090]
39928 * crypt/md5.c (md5_process_block): Don't assume the buffer
39929 length is less than 2**32.
39930 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39931 length is less than 2**64.
39932
a3f95dcc
RM
399332012-08-15 Roland McGrath <roland@hack.frob.com>
39934
be75d758
RM
39935 * string/str-two-way.h: Include <sys/param.h>.
39936 (MAX): Macro removed.
39937
7312ca90
RM
39938 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39939 Move #define and #undef of memmove to just before and after
39940 including <string.h>.
39941
9a0a5486
RM
39942 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39943 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39944 and after including <string.h>. Move declarations of
39945 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39946 to before #include "string/memmove.c".
39947
67cc348d
RM
39948 * include/dirent.h: Declare __getdirentries.
39949
a3f95dcc
RM
39950 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39951 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39952
ca98e171
MF
399532012-08-14 Mike Frysinger <vapier@gentoo.org>
39954
39955 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39956 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39957 * sysdeps/i386/configure: Regenerated.
39958 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39959 STABS_CURRENT_FILE, and STABS_FUN.
39960 (END): Remove call to STABS_FUN_END.
39961 (STABS_CURRENT_FILE1): Delete.
39962 (STABS_CURRENT_FILE): Likewise.
39963 (STABS_FUN): Likewise.
39964 (STABS_FUN_END): Likewise.
39965 (STABS_FUN2): Likewise.
39966 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39967 * sysdeps/x86_64/configure: Regenerated.
39968
5908bf46
RM
399692012-08-14 Roland McGrath <roland@hack.frob.com>
39970
39971 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 39972 * elf/dl-lookup.c: Likewise.
5908bf46 39973
f2c05b9e
JM
399742012-08-14 Joseph Myers <joseph@codesourcery.com>
39975
39976 * sysdeps/unix/sysv/linux/kernel-features.h
39977 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39978 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39979 unconditionally.
39980 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39981 unconditionally.
39982 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39983 condition on __ASSUME_CLONE_THREAD_FLAGS.
39984
e11f5155
AJ
399852012-08-14 Andreas Jaeger <aj@suse.de>
39986
39987 * sysdeps/i386/fpu/libm-test-ulps: Update.
39988
51a9ba86
MK
399892012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39990
2fdd4f78
AJ
39991 * include/atomic.h (atomic_exchange_and_add): Split into ...
39992 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39993 New atomic macros.
51a9ba86 39994
ba6cba9e
MT
399952012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39996
39997 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39998
42443a47
JL
399992012-08-13 Jeff Law <law@redhat.com>
40000
40001 * manual/stdio.texi (snprintf): Clarify handling of the trailing
40002 null byte in the output string.
40003
121dce05
JM
400042012-08-10 Joseph Myers <joseph@codesourcery.com>
40005
40006 * sysdeps/unix/sysv/linux/kernel-features.h
40007 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40008 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40009 (__ASSUME_ARG_MAX_STACK_BASED): Define.
40010 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40011 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40012 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
40013 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40014
bf51f568
JL
400152012-08-09 Jeff Law <law@redhat.com>
40016
40017 [BZ #13939]
40018 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40019 When avoid_arena is set, don't retry in the that arena. Pick the
40020 next one, whatever it might be.
40021 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40022 (arena_lock): Pass in new parameter to arena_get2.
40023 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40024 arena_get2.
40025 (__libc_malloc): Unify retrying after main arena failure with
40026 __libc_memalign version.
40027 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40028
f85fa270
L
400292012-08-09 H.J. Lu <hongjiu.lu@intel.com>
40030
40031 [BZ #14166]
40032 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40033 to __redirect_strstr.
40034 (__strstr_sse42): Use typeof __redirect_strstr.
40035 (__strstr_ia32): Likewise.
40036 (__libc_strstr): New prototype.
40037 (strstr): Renamed to ...
40038 (__libc_strstr): This.
40039 (strstr): New strong alias of __libc_strstr.
40040 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40041 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40042 __redirect_time.
40043 Include <time.h>.
40044 (__libc_time): New prototype.
40045 (time_ifunc): Replace time with __libc_time.
40046 (time): New strong alias and hidden definition of __libc_time.
40047 (__GI_time): Remove strong alias.
40048 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40049 Include <stddef.h>.
40050 (memmove): Redefined to __redirect_memmove.
40051 (__memmove_sse2): Use typeof __redirect_memmove.
40052 (__memmove_ssse3): Likewise.
40053 (__memmove_ssse3_back): Likewise.
40054 (__libc_memmove): New prototype.
40055 (memmove): Renamed to ...
40056 (__libc_memmove): This.
40057 (memmove): New strong alias of __libc_memmove.
40058
33b4a91e
MS
400592012-08-08 Mark Salter <msalter@redhat.com>
40060
40061 * elf/elf.h
40062 (R_MN10300_TLS_GD): Define.
40063 (R_MN10300_TLS_LD): Likewise.
40064 (R_MN10300_TLS_LDO): Likewise.
40065 (R_MN10300_TLS_GOTIE): Likewise.
40066 (R_MN10300_TLS_IE): Likewise.
40067 (R_MN10300_TLS_LE): Likewise.
40068 (R_MN10300_TLS_DTPMOD): Likewise.
40069 (R_MN10300_TLS_DTPOFF): Likewise.
40070 (R_MN10300_TLS_TPOFF): Likewise.
40071 (R_MN10300_SYM_DIFF): Likewise.
40072 (R_MN10300_ALIGN): Likewise.
40073 (R_MN10300_NUM): Update.
40074
b36137f1
JM
400752012-08-08 Joseph Myers <joseph@codesourcery.com>
40076
40077 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40078 Remove.
40079
cdd915fd
RM
400802012-08-08 Roland McGrath <roland@hack.frob.com>
40081
a2433aac
RM
40082 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40083
cdd915fd
RM
40084 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40085 sysdeps/unix -> sysdeps/posix move.
40086 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40087
bf9b740a
AM
400882012-08-07 Allan McRae <allan@archlinux.org>
40089
40090 [BZ #14303]
40091 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40092 (SUNOS_CPP): Likewise.
40093 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40094 not found.
40095 (open_input): Call CPP using execvp.
40096
93df14ee
JM
400972012-08-07 Joseph Myers <joseph@codesourcery.com>
40098
40099 * sysdeps/unix/sysv/linux/kernel-features.h
40100 (__ASSUME_PROT_GROWSUPDOWN): Remove.
40101 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40102 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40103 (__ASSUME_WAITID_SYSCALL): Likewise.
40104 * sysdeps/unix/sysv/linux/dl-execstack.c
40105 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40106 code unconditional.
40107 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40108 conditional code.
40109 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40110 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40111 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40112 code.
40113 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40114 unconditional.
40115 [__ASSUME_WAITID_SYSCALL]: Likewise.
40116 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40117
d34689de
RM
401182012-08-07 Roland McGrath <roland@hack.frob.com>
40119
a281decc
RM
40120 * sysdeps/unix/closedir.c: Renamed to ...
40121 * sysdeps/posix/closedir.c: ... here.
40122 * sysdeps/unix/dirfd.c: Renamed to ...
40123 * sysdeps/posix/dirfd.c: ... here.
40124 * sysdeps/unix/dirstream.h: Renamed to ...
40125 * sysdeps/posix/dirstream.h: ... here.
40126 * sysdeps/unix/fdopendir.c: Renamed to ...
40127 * sysdeps/posix/fdopendir.c: ... here.
40128 * sysdeps/unix/opendir.c: Renamed to ...
40129 * sysdeps/posix/opendir.c: ... here.
40130 * sysdeps/unix/readdir.c: Renamed to ...
40131 * sysdeps/posix/readdir.c: ... here.
40132 * sysdeps/unix/readdir_r.c: Renamed to ...
40133 * sysdeps/posix/readdir_r.c: ... here.
40134 * sysdeps/unix/rewinddir.c: Renamed to ...
40135 * sysdeps/posix/rewinddir.c: ... here.
40136 * sysdeps/unix/seekdir.c: Renamed to ...
40137 * sysdeps/posix/seekdir.c: ... here.
40138 * sysdeps/unix/telldir.c: Renamed to ...
40139 * sysdeps/posix/telldir.c: ... here.
40140 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40141 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40142 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40143 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40144
22895b47
RM
40145 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40146 * bits/fcntl.h: ... here.
40147
707a53b6
RM
40148 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40149 not 0.
40150 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40151 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40152 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40153 (struct flock): Move l_start, l_len to the beginning.
40154 Use __pid_t for l_pid.
40155 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40156 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40157 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40158 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40159 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40160 [__USE_LARGEFILE64] (struct flock64): New type.
40161 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40162
f0bd3e25
RM
40163 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40164 * bits/dirent.h: ... here.
40165
d34689de
RM
40166 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40167 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40168
6dad2c06
JM
401692012-08-07 Joseph Myers <joseph@codesourcery.com>
40170
40171 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40172 Change from 2.6.0 to 2.6.16.
40173 * sysdeps/unix/sysv/linux/configure: Regenerated.
40174 * sysdeps/unix/sysv/linux/kernel-features.h
40175 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40176 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40177 version.
40178 (__ASSUME_UTIMES): Likewise.
40179 (__ASSUME_CLONE_STOPPED): Remove.
40180 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40181 architectures, not kernel version.
40182 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40183 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40184 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40185 (__ASSUME_WAITID_SYSCALL): Likewise.
40186 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40187 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40188 * README: State 2.6.16 as minimum Linux kernel version. Do not
40189 refer to older versions.
40190
03af9520
RM
401912012-08-06 Roland McGrath <roland@hack.frob.com>
40192
8e49df1d
RM
40193 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40194 Define alphasort64 as an alias.
40195 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40196 Define versionsort64 as an alias.
40197 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40198 Define scandir64 as an alias.
40199 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40200 Define scandirat64 as an alias.
40201 * dirent/alphasort64.c (alphasort64):
40202 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40203 * dirent/versionsort64.c: Likewise.
40204 * dirent/scandir64.c: Likewise.
40205 * dirent/scandirat64.c: Likewise.
40206 * sysdeps/wordsize-64/alphasort.c: File removed.
40207 * sysdeps/wordsize-64/alphasort64.c: File removed.
40208 * sysdeps/wordsize-64/scandir.c: File removed.
40209 * sysdeps/wordsize-64/scandir64.c: File removed.
40210 * sysdeps/wordsize-64/scandirat.c: File removed.
40211 * sysdeps/wordsize-64/scandirat64.c: File removed.
40212 * sysdeps/wordsize-64/versionsort.c: File removed.
40213 * sysdeps/wordsize-64/versionsort64.c: File removed.
40214 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40215 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40216 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40217 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40218 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40219 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40220 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40221 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40222
40223 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40224 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40225 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40226 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40227 [defined __arch64__ || defined __sparcv9]
40228 (__INO_T_MATCHES_INO64_T): New macro.
40229 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40230 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40231 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40232 * sysdeps/unix/sysv/linux/bits/dirent.h
40233 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40234 (_DIRENT_MATCHES_DIRENT64): New macro.
40235
03af9520
RM
40236 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40237 Define lockf64 as an alias.
40238 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40239 Define fseeko64 as an alias.
40240 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40241 Define ftello64 as an alias.
40242 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40243 Define _IO_fgetpos64 and fgetpos64 as aliases.
40244 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40245 Define _IO_fsetpos64 and fsetpos64 as aliases.
40246 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40247 Conditionalize body on this.
40248 * libio/fseeko64.c: Likewise.
40249 * libio/ftello64.c: Likewise.
40250 * libio/iofgetpos64.c: Likewise.
40251 * libio/iofsetpos64.c: Likewise.
40252 * sysdeps/wordsize-64/lockf.c: File removed.
40253 * sysdeps/wordsize-64/lockf64.c: File removed.
40254 * sysdeps/wordsize-64/fseeko.c: File removed.
40255 * sysdeps/wordsize-64/fseeko64.c: File removed.
40256 * sysdeps/wordsize-64/ftello.c: File removed.
40257 * sysdeps/wordsize-64/ftello64.c: File removed.
40258 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40259 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40260 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40261 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40262 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40263 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40264 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40265 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40266 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40267 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40268 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40269 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40270 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40271 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40272
40273 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40274 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40275 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40276 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40277 [defined __arch64__ || defined __sparcv9]
40278 (__OFF_T_MATCHES_OFF64_T): New macro.
40279 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40280 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40281 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40282 (__OFF_T_MATCHES_OFF64_T): New macro.
40283
c5757acd
L
402842012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40285
40286 * stdlib/secure-getenv.c (__secure_getenv): Replace
40287 GLIBC_2_16 with GLIBC_2_17.
40288
3a31811e
L
402892012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40290
40291 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40292 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40293
faa2bccb
DM
402942012-08-03 David S. Miller <davem@davemloft.net>
40295
40296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40297
85fe1997
JM
402982012-08-03 Joseph Myers <joseph@codesourcery.com>
40299
40300 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40301 Remove.
40302 (__ASSUME_CORRECT_SI_PID): Likewise.
40303 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40304 (__ASSUME_TMPFS_NAME): Likewise.
40305 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40306 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40307 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40308 (HAVE_AUX_SECURE): Make definition unconditional.
40309 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40310 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40311
4f75b7a0
RM
403122012-08-03 Roland McGrath <roland@hack.frob.com>
40313
40314 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40315 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40316 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40317 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40318 __eloop_threshold instead of SYMLOOP_MAX.
40319
40320 * sysdeps/generic/eloop-threshold.h: New file.
40321 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40322 of MAXSYMLINKS.
40323 * elf/chroot_canon.c (chroot_canon): Likewise.
40324
7aab07e4
JM
403252012-08-03 Joseph Myers <joseph@codesourcery.com>
40326
40327 [BZ #13717]
40328 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40329 Change to 2.6.0 everywhere.
40330 * sysdeps/unix/sysv/linux/configure: Regenerated.
40331 * sysdeps/unix/sysv/linux/kernel-features.h
40332 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40333 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40334 kernel versions.
40335 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40336 (__ASSUME_FUTEX_REQUEUE): Remove.
40337 (__ASSUME_STATFS64): Define unconditionally.
40338 (__ASSUME_AT_SECURE): Likewise.
40339 (__ASSUME_CORRECT_SI_PID): Likewise.
40340 (__ASSUME_TGKILL): Define without depending on kernel version for
40341 i386.
40342 (__ASSUME_UTIMES): Likewise.
40343 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40344 kernel version.
40345 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40346 (__ASSUME_TMPFS_NAME): Likewise.
40347 * README: Update reference to Linux kernel versions.
40348
b67e9372
MP
403492012-08-02 Marek Polacek <polacek@redhat.com>
40350
1f529f7d 40351 [BZ# 14150]
b67e9372
MP
40352 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40353 libc_cv_asm_type_prefix with %.
40354 * configure: Regenerated.
d2441631
RM
40355 * include/libc-symbols.h: Remove comment about
40356 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
40357 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40358 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40359 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40360 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40361 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40362 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40363 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40364 * elf/tst-unique2mod1.c: Likewise.
40365 * elf/tst-unique1mod2.c: Likewise.
40366 * elf/tst-unique1mod1.c: Likewise.
40367 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40368 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40369 Replace ASM_TYPE_DIRECTIVE with .type.
40370 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40371 * sysdeps/i386/sysdep.h: Likewise.
40372 * sysdeps/x86_64/sysdep.h: Likewise.
40373 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
40374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40375 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 40376 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
40377 * sysdeps/powerpc/powerpc32/sysdep.h:
40378 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
40379 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40380 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40381 * sysdeps/i386/fpu/e_powf.S: Likewise.
40382 * sysdeps/i386/fpu/e_expl.S: Likewise.
40383 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40384 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40385 * sysdeps/i386/fpu/e_pow.S: Likewise.
40386 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40387 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40388 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40389 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40390 * sysdeps/i386/fpu/e_log2.S: Likewise.
40391 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40392 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40393 * sysdeps/i386/fpu/e_powl.S: Likewise.
40394 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40395 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40396 * sysdeps/i386/fpu/e_logl.S: Likewise.
40397 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40398 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40399 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40400 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40401 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40402 * sysdeps/i386/fpu/e_log.S: Likewise.
40403 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40404 * sysdeps/i386/fpu/e_logf.S: Likewise.
40405 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40406 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40407 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40408 * sysdeps/i386/fpu/e_log10.S: Likewise.
40409 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40410 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40411 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40412 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40413 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40414 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40415 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40416 * sysdeps/i386/i686/strtok.S: Likewise.
40417 * sysdeps/i386/i386-mcount.S: Likewise.
40418 * sysdeps/i386/strtok.S: Likewise.
40419 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40420 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40421 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40422 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40423 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40424 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40425 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40426 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40427 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40428 * sysdeps/x86_64/_mcount.S: Likewise.
40429 * sysdeps/x86_64/strtok.S: Likewise.
40430 * sysdeps/sh/_mcount.S: Likewise.
40431
2747bf9a
RM
404322012-08-01 Roland McGrath <roland@hack.frob.com>
40433
40434 * libio/iofopen.c: Include <fcntl.h>.
40435 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40436 (_IO_fopen64, fopen64): Define as aliases.
40437 * libio/iofopen64.c: Include <fcntl.h>.
40438 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40439 Conditionalize body on this.
40440 * sysdeps/wordsize-64/iofopen.c: File removed.
40441 * sysdeps/wordsize-64/iofopen64.c: File removed.
40442
3fb791b8
MP
404432012-08-01 Marek Polacek <polacek@redhat.com>
40444
40445 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40446 Use dlfcn directly instead of a variable.
40447 (binfmt-subdir): Do not define.
40448 (dlfcn): Likewise.
40449
a9f1039f
JM
404502012-08-01 Joseph Myers <joseph@codesourcery.com>
40451
23bddc06
JM
40452 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40453 Remove all definitions.
40454 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40455 <kernel-features.h>.
40456 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40457 (miss_F_GETOWN_EX): Remove all definitions.
40458 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40459 macro definition.
40460 [!__ASSUME_FCNTL64]: Remove conditional code.
40461 [__ASSUME_FCNTL64]: Make code unconditional.
40462 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40463 <kernel-features.h>.
40464 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40465 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40466 (lockf64) [__NR_fcntl64]: Make code unconditional.
40467 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40468
a9f1039f
JM
40469 * sysdeps/unix/sysv/linux/kernel-features.h
40470 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40471 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40472 Make code unconditional.
40473 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40474 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40476 [__NR_vfork]: Make code unconditional.
40477 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40478 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40480 [__NR_vfork]: Make code unconditional.
40481 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40482 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40483
09c0ee5f
RM
404842012-08-01 Roland McGrath <roland@hack.frob.com>
40485
48aec5b9
RM
40486 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40487 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40488
cd97c966
RM
40489 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40490 Define mkstemp64 as an alias.
3f55550c
RM
40491 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40492 Define mkstemps64 as an alias.
cd97c966
RM
40493 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40494 Define mkostemp64 as an alias.
b8625cfc
RM
40495 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40496 Define mkostemps64 as an alias.
cd97c966
RM
40497 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40498 Conditionalize body on this.
40499 * misc/mkostemp64.c: Likewise.
b8625cfc 40500 * misc/mkostemps64.c: Likewise.
3f55550c 40501 * misc/mkstemps64.c: Likewise.
cd97c966
RM
40502 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40503 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40504 * sysdeps/wordsize-64/mkostemp.c: File removed.
40505 * sysdeps/wordsize-64/mkstemp.c: File removed.
40506 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40507 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40508 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40509 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40510
09c0ee5f
RM
40511 [BZ #14138]
40512 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40513 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40514 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40515 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40516
40517 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40518 compat_symbol macros from <shlib-compat.h> rather than the underlying
40519 default_symbol_version and symbol_version macros, so that DEFAULT
40520 lines in shlib-versions are respected.
40521 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40522
7e66ee51
FW
405232012-08-01 Florian Weimer <fweimer@redhat.com>
40524
40525 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40526 Declare with warn_unused_result.
40527 (setgid, setregid, setegid, setresgid): Likewise.
40528 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40529 Likewise.
40530 * WUR-REPORT: Remove set*id functions.
40531
d2a54255
PT
405322012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40533
40534 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40535
7ecdb005
RM
405362012-07-31 Roland McGrath <roland@hack.frob.com>
40537
b4180a5e 40538 [BZ #10191]
789bd351
RM
40539 * include/sys/socket.h (__libc_accept, __libc_accept4):
40540 Add attribute_hidden.
40541 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40542
40ce302d
RM
40543 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40544 use of PTR_MANGLE.
40545 * inet/getnetgrent_r.c (setup): Likewise.
40546
7ecdb005
RM
40547 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40548
e2eabb2c
DM
405492012-07-31 David S. Miller <davem@davemloft.net>
40550
40551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40552
d0419dbf
JM
405532012-07-31 Joseph Myers <joseph@codesourcery.com>
40554
40555 [BZ #13629]
40556 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40557 value between 1.0 and 2.0 and smaller part has absolute value less
40558 than 1.0.
40559 * math/s_clog10.c (__clog10): Likewise.
40560 * math/s_clog10f.c (__clog10f): Likewise.
40561 * math/s_clog10l.c (__clog10l): Likewise.
40562 * math/s_clogf.c (__clogf): Likewise.
40563 * math/s_clogl.c (__clogl): Likewise.
40564 * math/libm-test.inc (clog_test): Add more tests.
40565 (clog10_test): Likewise.
40566 * sysdeps/i386/fpu/libm-test-ulps: Update.
40567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40568
2bc13872
FW
405692012-07-31 Florian Weimer <fweimer@redhat.com>
40570
40571 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40572 Exit with zero in case no suitable GID is found, and write a
40573 message to standard error.
40574
bea9b193
RM
405752012-07-30 Roland McGrath <roland@hack.frob.com>
40576
40577 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40578 rather than to 1.
40579 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40580 (MAXPATHLEN): Removed.
40581 (NOGROUP, NODEV): New macros.
40582 (setbit, clrbit, isset, isclr): New macros.
40583 (howmany, roundup, powerof2): New macros.
40584 (DEV_BSIZE): New macro.
40585
40586 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40587 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40588
40589 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40590 definition on [!__NO_LONG_DOUBLE_MATH].
40591
40592 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40593 PTR_MANGLE and PTR_DEMANGLE.
40594
40595 * socket/accept4.c (accept4): Rename to __libc_accept4.
40596 Define accept4 as a weak alias.
40597
40598 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40599 on [_DIRENT_HAVE_D_TYPE].
40600 * io/ftw.c (ftw_dir): Likewise.
40601
40602 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40603
40604 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40605
40606 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40607 Use the BSD numbers rather than the arbitrary ones we had.
40608 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40609 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40610 (SIGXCPU, SIGXFSZ): New macros.
40611 (_NSIG): Now 32.
40612
40613 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40614 initializer on [_LIBC_REENTRANT].
40615
40616 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40617 definitions inside [_POSIX_MAPPED_FILES].
40618
40619 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40620
40621 * dirent/opendir.c: Include <fcntl.h>.
40622
40623 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40624 (__libc_getspecific): Likewise.
40625 (__libc_key_create): Likewise.
40626
40627 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40628 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40629 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40630 (tmpfile64): Define as alias.
40631 * sysdeps/wordsize-64/tmpfile.c: File removed.
40632 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40633 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40634 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40635
40636 * stdio-common/vfscanf.c: Include <stdbool.h>.
40637 * nss/makedb.c: Likewise.
40638 * stdio-common/_i18n_number.h: Likewise.
40639 * argp/argp-help.c: Likewise.
40640 * posix/wordexp.c: Likewise.
40641 * sysdeps/posix/spawni.c: Likewise.
40642 * nss/nss_files/files-initgroups.c: Likewise.
40643 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40644 * nss/nss_files/files-initgroups.c: Likewise.
40645 * nss/nss_db/db-netgrp.c: Likewise.
40646 * nss/nss_db/db-initgroups.c: Likewise.
40647 * io/fchmodat.c: Include <sys/stat.h>.
40648
40649 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40650 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40651
40652 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40653 [HAVE_MMAP].
40654
40655 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40656 Add multiple inclusion protection.
40657
e5abc686
DM
406582012-07-27 David S. Miller <davem@davemloft.net>
40659
40660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40661
815e6fa3
GB
406622012-07-27 Gary Benson <gbenson@redhat.com>
40663
40664 [BZ #14298]
40665 * elf/rtld.c: Include <stap-probe.h>.
40666 (dl_main): Added static probes "init_start" and "init_complete".
40667 * elf/dl-load.c: Include <stap-probe.h>.
40668 (lose): Take new parameter "nsid".
40669 Added static probe "map_failed".
40670 (_dl_map_object_from_fd): Pass namespace id to lose.
40671 Added static probe "map_start".
40672 (open_verify): Pass namespace id to lose.
40673 * elf/dl-open.c: Include <stap-probe.h>.
40674 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40675 and "reloc_complete".
40676 * elf/dl-close.c: Include <stap-probe.h>.
40677 (_dl_close_worker): Added static probes "unmap_start" and
40678 "unmap_complete".
40679 * elf/rtld-debugger-interface.txt: New file documenting the above.
40680
9f98c16c
RM
406812012-07-26 Roland McGrath <roland@hack.frob.com>
40682
40683 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40684 rather than a string variable.
40685 * sunrpc/rpc_main.c (h_output): Likewise.
40686 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40687
f3c22df3
PT
406882012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40689
40690 * inet/check_native.c: New file.
40691
3129cfc6
JM
406922012-07-26 Joseph Myers <joseph@codesourcery.com>
40693
da865e95
JM
40694 [BZ #13629]
40695 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40696 if larger part has absolute value 1.0.
40697 * math/s_clog10.c (__clog10): Likewise.
40698 * math/s_clog10f.c (__clog10f): Likewise.
40699 * math/s_clog10l.c (__clog10l): Likewise.
40700 * math/s_clogf.c (__clogf): Likewise.
40701 * math/s_clogl.c (__clogl): Likewise.
40702 * math/libm-test.inc (clog_test): Add more tests.
40703 (clog10_test): Likewise.
40704 * sysdeps/i386/fpu/libm-test-ulps: Update.
40705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40706
3129cfc6
JM
40707 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40708 (pltexit): Likewise.
40709 (La_regs): Likewise.
40710 (La_retval): Likewise.
40711 (int_retval): Likewise.
40712 Update #error for removed macros to refer only to definitions in
40713 tst-audit.h.
40714 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40715 macro.
40716 (pltexit): Likewise.
40717 (La_regs): Likewise.
40718 (La_retval): Likewise.
40719 (int_retval): Likewise.
40720 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40721 macro.
40722 (pltexit): Likewise.
40723 (La_regs): Likewise.
40724 (La_retval): Likewise.
40725 (int_retval): Likewise.
40726 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40727 macro.
40728 (pltexit): Likewise.
40729 (La_regs): Likewise.
40730 (La_retval): Likewise.
40731 (int_retval): Likewise.
40732 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40733 macro.
40734 (pltexit): Likewise.
40735 (La_regs): Likewise.
40736 (La_retval): Likewise.
40737 (int_retval): Likewise.
40738 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40739 macro.
40740 (pltexit): Likewise.
40741 (La_regs): Likewise.
40742 (La_retval): Likewise.
40743 (int_retval): Likewise.
40744 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40745 macro.
40746 (pltexit): Likewise.
40747 (La_regs): Likewise.
40748 (La_retval): Likewise.
40749 (int_retval): Likewise.
40750 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40751 macro definitions in tst-audit.h.
40752 * sysdeps/i386/tst-audit.h: New file.
40753 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40754 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40755 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40756 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40757 * sysdeps/sh/tst-audit.h: Likewise.
40758 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40759 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40760 * sysdeps/x86_64/tst-audit.h: Likewise.
40761
bfc07087
AJ
407622012-07-26 Andreas Jaeger <aj@suse.de>
40763
b1b2aaf8
AJ
40764 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40765 ptrace.
40766
40767 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40768 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40769 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40770 PTRACE_O_MASK.
40771 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40772 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40773 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40774
bfc07087
AJ
40775 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40776 value.
40777
40778 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40779 _sigsys.
40780 (si_call_addr, si_syscall, si_arch): Define new macro.
40781 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40782 _sigsys.
40783 (si_call_addr, si_syscall, si_arch): Define new marcro.
40784 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40785 _sigsys.
40786 (si_call_addr, si_syscall, si_arch): Define new macro.
40787 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40788 _sigsys.
40789 (si_call_addr, si_syscall, si_arch): Define new macro.
40790
89b4b02f
JM
407912012-07-25 Joseph Myers <joseph@codesourcery.com>
40792
40793 [BZ #13717]
40794 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40795 Change to 2.4.21 where previously 2.4.1.
40796 * sysdeps/unix/sysv/linux/configure: Regenerated.
40797 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40798 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40799 Linux kernel version.
40800 (__ASSUME_STD_AUXV): Remove.
40801 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40802 kernel version.
40803 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40804 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40805 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40806 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40807 (__ASSUME_NETLINK_SUPPORT): Likewise.
40808 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40809 (__no_netlink_support): Remove conditional definition.
40810 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40811 Remove.
40812 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40813 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40814 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40815 (if_nameindex_ioctl): Remove.
40816 (if_nameindex_netlink): Do not handle __no_netlink_support.
40817 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40818 code.
40819 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40820 Remove conditional code.
40821 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40822 code.
40823 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40824 unconditional.
40825 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40826 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40827 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40828 Remove.
40829 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40830 [!__ASSUME_STD_AUXV]: Remove conditional code.
40831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40832 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40833 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40835 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40836 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40837 code.
40838 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40840 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40841 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40842 conditional code.
40843 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40845 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40846 code.
40847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40848 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40849 conditional code.
40850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40851 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40852 code unconditional.
40853 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40854 conditional code.
40855 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40856 unconditional.
40857 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40858 conditional code.
40859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40860 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40861 unconditional.
40862 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40863 conditional code.
40864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40865 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40866 code unconditional.
40867 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40868 conditional code.
40869 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40870 unconditional.
40871 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40872 conditional code.
40873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40874 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40875 code unconditional.
40876 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40877 conditional code.
40878 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40879 unconditional.
40880 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40881 conditional code.
40882
842a39cd
AS
408832012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40884
40885 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40886 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40887 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40888 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40889 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40890 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40891 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40892 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40893 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40894 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40895 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40896 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40897 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40898 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40899 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40900 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40901 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40902 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40903 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40905 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40906 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40907 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40908
84b3fd84
FW
409092012-07-25 Florian Weimer <fweimer@redhat.com>
40910
40911 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
40912 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40913 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40914 Introduce __libc_secure_getenv.
0c7936d5
FW
40915 * stdlib/Versions (2.17): Add secure_getenv
40916 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40917 * stdlib/secure-getenv.c: Rename __secure_getenv to
40918 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40919 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
40920 * stdlib/tst-secure-getenv.c: New.
40921 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
40922 * manual/startup.texi (Environment Access): Document
40923 secure_getenv.
84b3fd84
FW
40924 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40925 __libc_secure_getenv.
40926 * inet/ruserpass.c (ruserpass): Likewise.
40927 * malloc/mtrace.c (mtrace): Likewise.
40928 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 40929 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
40930 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40931 * sysdeps/posix/tempname.c: Likewise. Evaluate
40932 HAVE_SECURE_GETENV.
40933 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 40934 __secure_getenv to __libc_secure_getenv.
84b3fd84 40935 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
40936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40937 Likewise.
40938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40939 Likewise.
40940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40942 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 40947
56e49b71
JM
409482012-07-25 Joseph Myers <joseph@codesourcery.com>
40949
40950 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40951 (struct La_i86_retval): Likewise.
40952 (struct La_x86_64_regs): Likewise.
40953 (struct La_x86_64_retval): Likewise.
40954 (struct La_x32_regs): Likewise.
40955 (struct La_x32_retval): Likewise.
40956 (struct La_ppc32_regs): Likewise.
40957 (struct La_ppc32_retval): Likewise.
40958 (struct La_ppc64_regs): Likewise.
40959 (struct La_ppc64_retval): Likewise.
40960 (struct La_sh_regs): Likewise.
40961 (struct La_sh_retval): Likewise.
40962 (struct La_s390_32_regs): Likewise.
40963 (struct La_s390_32_retval): Likewise.
40964 (struct La_s390_64_regs): Likewise.
40965 (struct La_s390_64_retval): Likewise.
40966 (struct La_sparc32_regs): Likewise.
40967 (struct La_sparc32_retval): Likewise.
40968 (struct La_sparc64_regs): Likewise.
40969 (struct La_sparc64_retval): Likewise.
40970 (struct audit_ifaces): Remove architecture-specific pltenter and
40971 pltexit members.
40972 * sysdeps/i386/ldsodefs.h: New file.
40973 * sysdeps/powerpc/ldsodefs.h: Likewise.
40974 * sysdeps/s390/ldsodefs.h: Likewise.
40975 * sysdeps/sh/ldsodefs.h: Likewise.
40976 * sysdeps/sparc/ldsodefs.h: Likewise.
40977 * sysdeps/x86_64/ldsodefs.h: Likewise.
40978
354691b7
MP
409792012-07-25 Marek Polacek <polacek@redhat.com>
40980
40981 [BZ #6808]
40982 * math/libm-test.inc (yn_test): Add another test.
40983 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40984 to ERANGE when the result is +-Inf.
40985 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40986 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40987 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40988 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40989
bf9e2071
JM
409902012-07-24 Joseph Myers <joseph@codesourcery.com>
40991
40992 * conform/data/time.h-data (NULL): Use macro-constant. Require
40993 equal to 0.
40994 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40995 clock_t.
40996 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40997
57633811
TS
409982012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40999
41000 * configure.in <sysdeps resolving>: Correct printing
41001 Implies_before.
41002 * configure: Regenerate.
41003
c23c33b0
TS
410042012-07-22 Thomas Schwinge <thomas@codesourcery.com>
41005
41006 * math/w_ilogb.c: Include <limits.h>.
41007 * math/w_ilogbl.c: Likewise.
41008
b5982523
JM
410092012-07-20 Joseph Myers <joseph@codesourcery.com>
41010
41011 * manual/lang.texi (__va_copy): Document primarily as ISO C99
41012 va_copy. Document allowing for unavailable va_copy only as
41013 pre-C99 compatibility.
41014 * manual/string.texi (Copying and Concatenation): Use va_copy
41015 instead of __va_copy in concat example.
41016
ac4ea442
PT
410172012-07-20 Pino Toscano <toscano.pino@tiscali.it>
41018
41019 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41020 (__sendto): Use create_address_port. Initialize APORT and deallocate
41021 it if not null.
41022
f98eafbd
PT
41023 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41024 with O_NOLINK passed to __file_name_lookup.
41025
898c7aab
PT
41026 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41027 with O_NOLINK passed to __file_name_lookup.
41028
0ced335a
PT
41029 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41030 negative N or less than NGIDS.
41031
b3404dbd
PT
41032 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41033 type to string_t. Set ERANGE as errno and return it if NAME is not big
41034 enough. Use memcpy instead of strncpy.
41035
0f48659e
JM
410362012-07-20 Joseph Myers <joseph@codesourcery.com>
41037
41038 * elf/Makefile (check-data): Remove.
41039 (localplt.data): New vpath directive.
41040 ($(objpfx)check-localplt.out): Use localplt.data from vpath
41041 instead of $(check-data).
41042 * scripts/data/localplt-generic.data: Move to ...
41043 * sysdeps/generic/localplt.data: ... here.
41044 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41045 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41046 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41048 ... here.
41049 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41051 ... here.
41052 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41054 ... here.
41055 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41057 ... here.
41058 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41060 ... here.
41061 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41063 ... here.
41064
d37cbdaa
AZ
410652012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41066
41067 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41068 PPC32 and PPC64 files.
41069 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41070 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41071
46f85fc2
AK
410722012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41073
41074 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41075 __makecontext_ret to ...
41076 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41077 ... here and call exit if uc_link is NULL. New file.
41078 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41079 __makecontext_ret.S.
41080 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41081 __makecontext_ret to ...
41082 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41083 ... here and call exit if uc_link is NULL. New file.
41084 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41085 __makecontext_ret.S.
41086
08f43f9b
AK
410872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41088
41089 * elf/elf.h (R_390_IRELATIVE): New definition.
41090 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41091 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
41092 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41093 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41094 (elf_machine_lazy_rel): Likewise.
41095 * sysdeps/s390/dl-irel.h: New file.
41096 * sysdeps/s390/s390-64/memcpy.S: New asm code.
41097 * sysdeps/s390/s390-64/memset.S: New asm code.
41098 * sysdeps/s390/s390-64/memcmp.S: New asm code.
41099 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41100 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41101 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41102 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41103 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41104 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41105 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41106 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41107 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41108 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41109 * sysdeps/s390/s390-32/memcpy.S: New asm code.
41110 * sysdeps/s390/s390-32/memset.S: New asm code.
41111 * sysdeps/s390/s390-32/memcmp.S: New asm code.
41112
3b05db33
MP
411132012-07-17 Marek Polacek <polacek@redhat.com>
41114
41115 [BZ #14349]
41116 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41117 * sysdeps/s390/s390-64/configure.in: Likewise.
41118 * sysdeps/sparc/configure.in: Likewise.
41119 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41120 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41121 * sysdeps/i386/configure.in: Likewise.
41122 * sysdeps/x86_64/configure.in: Likewise.
41123 * sysdeps/sh/configure.in: Likewise.
41124 * sysdeps/s390/s390-32/configure: Regenerated.
41125 * sysdeps/s390/s390-64/configure: Likewise.
41126 * sysdeps/x86_64/configure: Likewise.
41127 * sysdeps/sh/configure: Likewise.
41128 * sysdeps/powerpc/powerpc64/configure: Likewise.
41129 * sysdeps/powerpc/powerpc32/configure: Likewise.
41130 * sysdeps/sparc/configure: Likwise.
41131 * sysdeps/i386/configure: Likewise.
41132
a66877c6
MP
41133 * elf/dl-open.c: Comment fixes.
41134
cfc82fd8
JM
411352012-07-17 Joseph Myers <joseph@codesourcery.com>
41136
bd29910a
JM
41137 * Makefile [CXX] (check-data): Remove.
41138 [CXX] (c++-types.data): New vpath directive.
41139 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41140 vpath. Do not allow for C++ type data being missing.
41141 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41142 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41143 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41144 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41145 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41146 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41147 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41149 ... here.
41150 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41152 ... here.
41153 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41155 ... here.
41156 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41158 ... here.
41159 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41161 ... here.
41162 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41164 ... here.
41165 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41167 ... here.
41168 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41170
cfc82fd8
JM
41171 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41172 definitions to architecture-specific files.
41173 (TLS_IE): Likewise.
41174 (TLS_LD): Likewise.
41175 (TLS_GD): Likewise.
41176 * sysdeps/i386/tls-macros.h: New file.
41177 * sysdeps/powerpc/tls-macros.h: Likewise.
41178 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41179 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41180 * sysdeps/sh/tls-macros.h: Likewise.
41181 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41182 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41183 * sysdeps/x86_64/tls-macros.h: Likewise.
41184
f7db3170
TS
411852012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41186
07cbfc23
TS
41187 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41188 zero value for regular exit case.
41189
f7db3170
TS
41190 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41191 (__start_context): Preserve zero value for regular exit case.
41192
dc97c227
TS
411932012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41194 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41195
41196 * manual/setjmp.texi (setcontext): Clarify normal process
41197 termination when uc_link is the null pointer.
41198 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41199 exit call.
41200
d0cd7d02
AS
412012012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41202
41203 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41204 preprocessor. Test for each exception mask separately.
41205
dd318934
AJ
412062012-07-16 Andreas Jaeger <aj@suse.de>
41207
41208 * po/ru.po: Update from translation team.
41209
8048311a
JM
412102012-07-15 Joseph Myers <joseph@codesourcery.com>
41211
41212 * conform/data/string.h-data (NULL): Use macro-constant. Require
41213 equal to 0.
41214 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41215 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41216 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41217 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41218 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41219
b637d46e
AJ
412202012-07-13 Andreas Jaeger <aj@suse.de>
41221
41222 * po/fr.po: Update from translation team.
41223
541428fe
MP
412242012-07-12 Marek Polacek <polacek@redhat.com>
41225
41226 [BZ #14173]
41227 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41228 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41229 loop condition.
41230
ec332e94
JM
412312012-07-12 Joseph Myers <joseph@codesourcery.com>
41232
41233 [BZ #13717]
41234 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41235 Change to 2.4.1 where previously 2.4.0.
41236 * sysdeps/unix/sysv/linux/configure: Regenerated.
41237 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41238 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41239 version.
41240 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41241 (__ASSUME_AT_CLKTCK): Remove.
41242 (__ASSUME_AT_PAGESIZE): Likewise.
41243 (__ASSUME_AT_XID): Likewise.
41244 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41245 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41246 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41247 unconditionally.
41248 (HAVE_AUX_PAGESIZE): Likewise.
41249 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41250 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41251 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41252
7b6e99be
JB
412532012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41254
41255 [BZ #14307]
41256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41257 the temporary buffer used to invoke __gethostbyname2_r,
41258 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41259 host_data / struct gaih_addrtuple.
41260 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41261 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41262 header file nss/nsswitch.h.
41263 * nss/nsswitch.h (global scope): Add definition of implementation
41264 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41265 resolv/nss_dns/dns-host.c).
41266
608404eb
AJ
412672012-07-11 Andreas Jaeger <aj@suse.de>
41268
41269 * po/fr.po: Update from translation team.
41270
71220aca
AJ
41271 * po/sv.po: Update from translation team
41272 * po/fr.po: Another update from translation team.
41273
28cfe843
AZ
412742012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41275
41276 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41277 for subnormals or multiply small sinh result by itself.
41278 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41280
6b90f981
DM
412812012-07-11 David S. Miller <davem@davemloft.net>
41282
41283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41284
c6825772
AS
412852012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41286
41287 [BZ #14347]
41288 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41289 (INTERNAL_MARK): Shift it here.
41290
7b8e0d49
MP
412912012-07-10 Marek Polacek <polacek@redhat.com>
41292
41293 [BZ #14151]
41294 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41295 libc_cv_asm_global_directive with .globl.
41296 * configure: Regenerated.
41297 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41298 with .globl.
41299 * sysdeps/i386/configure: Regenerated.
41300 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41301 with .globl.
41302 * sysdeps/x86_64/configure: Regenerated.
41303 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41304 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41305 * elf/tst-unique2mod2.c: Likewise.
41306 * elf/tst-unique2mod1.c: Likewise.
41307 * elf/tst-unique1mod2.c: Likewise.
41308 * elf/tst-unique1mod1.c: Likewise.
41309 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41310 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41311 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41312 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41313 * sysdeps/mach/sysdep.h: Likewise.
41314 * sysdeps/i386/sysdep.h: Likewise.
41315 * sysdeps/i386/i386-mcount.S: Likewise.
41316 * sysdeps/x86_64/_mcount.S: Likewise.
41317 * sysdeps/x86_64/sysdep.h: Likewise.
41318 * sysdeps/sh/_mcount.S: Likewise.
41319 * sysdeps/sh/sysdep.h: Likewise.
41320 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41321 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41322 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41323 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41324 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41325 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41326 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41327 * locale/localeinfo.h: Likewise.
41328 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41329 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41330
6c55cda3
RM
413312012-07-09 Roland McGrath <roland@hack.frob.com>
41332
41333 [BZ #14336]
41334 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41335 system".
41336 * manual/message.texi (The Uniforum approach): Likewise.
41337 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41338 (glibc iconv Implementation): Likewise.
41339
638a572e
JM
413402012-07-09 Joseph Myers <joseph@codesourcery.com>
41341
41342 [BZ #14337]
41343 * math/s_clog.c (__clog): Avoid scaling a value down where that
41344 could result in underflow.
41345 * math/s_clog10.c (__clog10): Likewise.
41346 * math/s_clog10f.c (__clog10f): Likewise.
41347 * math/s_clog10l.c (__clog10l): Likewise.
41348 * math/s_clogf.c (__clogf): Likewise.
41349 * math/s_clogl.c (__clogl): Likewise.
41350 * math/libm-test.inc (clog_test): Add more tests.
41351 (clog10_test): Likewise.
41352 * sysdeps/i386/fpu/libm-test-ulps: Update.
41353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41354
261f4859
AS
413552012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41356
0abaf3e4
AS
41357 [BZ #14283]
41358 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41359 by 7 not 8 to examine high bit of fractional part.
41360
261f4859
AS
41361 [BZ #14042]
41362 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41363 for call to __mcount_internal.
41364 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41365 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41366 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41367
f17ac40d
JM
413682012-07-06 Joseph Myers <joseph@codesourcery.com>
41369
9ad63c23
JM
41370 [BZ #14154]
41371 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41372 approximation for values within 0x1p-13f of an odd multiple of
41373 pi/4.
41374 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41375 exception. Add more tests.
41376 * sysdeps/i386/fpu/libm-test-ulps: Update.
41377
f17ac40d
JM
41378 [BZ #6778]
41379 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41380 inputs and return -1 for them. Do not check for +Inf in case not
41381 reachable for +Inf.
41382 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41383 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41384 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41385 and return -1 for them. Do not check for +Inf in case not
41386 reachable for +Inf.
41387 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41388 define.
41389 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41390 and return -1 for them. Do not check for +Inf in case not
41391 reachable for +Inf.
41392 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41393 spurious underflow.
41394 * sysdeps/i386/fpu/libm-test-ulps: Update.
41395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41396
fb21f89b
MF
413972012-07-06 Mike Frysinger <vapier@gentoo.org>
41398
41399 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41400
cdfe2c5e
JM
414012012-07-05 Joseph Myers <joseph@codesourcery.com>
41402
41403 [BZ #14157]
41404 [BZ #14331]
41405 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41406 could result in spurious underflow. Scale down values above
41407 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41408 * math/s_csqrtf.c (__csqrtf): Likewise.
41409 * math/s_csqrtl.c (__csqrtl): Likewise.
41410 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41411 spurious underflow.
41412 * sysdeps/i386/fpu/libm-test-ulps: Update.
41413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41414
70d35b67
AS
414152012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41416
704bc459
AS
41417 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41418 xopen-msg.sed.
41419 * catgets/xopen-msg.awk: New file.
41420 * catgets/xopen-msg.sed: Removed.
41421
70d35b67
AS
41422 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41423 po2text.sed.
41424 * intl/po2test.awk: New file.
41425 * intl/po2test.sed: Removed.
41426
ca61cf32
JM
414272012-07-04 Joseph Myers <joseph@codesourcery.com>
41428
41429 [BZ #14328]
41430 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41431 or multiply small sinh result by itself.
41432 * math/s_ctanf.c (__ctanf): Likewise.
41433 * math/s_ctanh.c (__ctanh): Likewise.
41434 * math/s_ctanhf.c (__ctanhf): Likewise.
41435 * math/s_ctanhl.c (__ctanhl): Likewise.
41436 * math/s_ctanl.c (__ctanl): Likewise.
41437 * math/libm-test.inc (ctan_test_tonearest): New function.
41438 (ctan_test_towardzero): Likewise.
41439 (ctan_test_downward): Likewise.
41440 (ctan_test_upward): Likewise.
41441 (ctanh_test_tonearest): Likewise.
41442 (ctanh_test_towardzero): Likewise.
41443 (ctanh_test_downward): Likewise.
41444 (ctanh_test_upward): Likewise.
41445 (main): Call these new functions.
41446 * sysdeps/i386/fpu/libm-test-ulps: Update.
41447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41448
ca48a46a
MF
414492012-07-03 Mike Frysinger <vapier@gentoo.org>
41450
41451 * .gitignore: Delete /ports entry.
41452
9d63d37d
AJ
414532012-07-03 Andreas Jaeger <aj@suse.de>
41454
41455 * po/bg.po: Update from translation team.
41456 * po/cs.po: Likewise.
41457 * po/de.po: Likewise.
41458 * po/hr.po: Likewise.
41459 * po/nl.pl: Likewise.
41460 * po/pl.po: Likewise.
41461 * po/vi.po: Likewise.
41462
370ca3d2
JM
414632012-07-03 Joseph Myers <joseph@codesourcery.com>
41464
95f5a9a8
JM
41465 * Makeconfig [!+link] (+link-before-libc): New variable.
41466 [!+link] (+link-after-libc): Likewise.
41467 [!+link] (+link-tests): Likewise.
41468 [!+link] (+link): Define in terms of $(+link-before-libc) and
41469 $(+link-after-libc).
41470 [!+link-static] (+link-static-before-libc): New variable.
41471 [!+link-static] (+link-static-after-libc): Likewise.
41472 [!+link-static] (+link-static-tests): Likewise.
41473 [!+link-static] (+link-static): Define in terms of
41474 $(+link-static-before-libc) and $(+link-static-after-libc).
41475 [build-shared] (link-libc-before-gnulib): New variable.
41476 [build-shared] (link-libc-tests): Likewise.
41477 [build-shared] (link-libc): Define in terms of
41478 $(link-libc-before-gnulib).
41479 [!build-shared] (link-libc-tests): New variable.
41480 (link-libc-static-tests): New variable.
41481 [!gnulib] (gnulib-arch): New variable.
41482 [!gnulib] (gnulib-tests): Likewise.
41483 [!gnulib] (static-gnulib-arch): Likewise.
41484 [!gnulib] (static-gnulib-tests): Likewise.
41485 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41486 Define with "=" instead of ":=".
41487 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41488 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41489 * Rules (binaries-all-notests): New variable.
41490 (binaries-all-tests): Likewise.
41491 (binaries-static-notests): Likewise.
41492 (binaries-static-tests): Likewise.
41493 (binaries-all): Define using $(binaries-all-notests) and
41494 $(binaries-all-tests).
41495 (binaries-static): Define using $(binaries-static-notests) and
41496 $(binaries-static-tests).
41497 (binaries-shared-tests): New variable.
41498 (binaries-shared-notests): Likewise.
41499 (binaries-shared): Remove variable.
41500 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41501 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41502 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41503 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41504 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41505 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41506 * elf/Makefile (sln-modules): New variable.
41507 (extra-objs): Add $(sln-modules:=.o).
41508 (ldconfig-modules): Add static-stubs.
41509 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41510 * elf/static-stubs.c: New file.
41511
7a845b2c
JM
41512 [BZ #14283]
41513 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41514 by 7 not 8 to examine high bit of fractional part. Use volatile
41515 variables when splitting into final array of floats if
41516 __FLT_EVAL_METHOD__ != 0.
41517 * math/libm-test.inc (cos_test): Add another test.
41518 (sin_test): Likewise.
41519 * sysdeps/i386/fpu/libm-test-ulps: Update.
41520
e2283f38
JM
41521 [BZ #14273]
41522 * math/libm-test.inc (cosh_test): Add more tests.
41523
370ca3d2
JM
41524 * version.h (RELEASE): Set to "development".
41525 (VERSION): Set to "2.16.90".
41526
ee9247c3
CD
415272012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41528
41529 * NEWS: Update copyright. Remove last-updated date.
41530 Mention math library bug fixes and timezone data changes.
41531 * README: Mention GNU/Hurd, x32, and HPPA support status.
41532
4648c381
TS
415332012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41534
41535 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41536
aac78a43
AJ
415372012-06-27 Andreas Jaeger <aj@suse.de>
41538
41539 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41540
ed3dbfad
AJ
415412012-06-25 Andreas Jaeger <aj@suse.de>
41542
41543 * sysdeps/s390/fpu/libm-test-ulps: Update.
41544
4d0ee855
AS
415452012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41546 Thomas Schwinge <thomas@codesourcery.com>
41547
41548 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41549 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41550 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41551 fanotify_mark.
41552
af1bce34
TS
415532012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41554
a9fa33ba
TS
41555 * sysdeps/mach/start.c: Remove file.
41556 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41557 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41558 * sysdeps/sh/init-first.c: Likewise.
41559
58f902b8
TS
41560 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41561 registers for frame unwinding purposes, add CFI directives.
41562 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41563 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41564 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41565 Likewise.
41566
1518f58b
TS
41567 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41568 __fortify_fail returning.
41569 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41570
db9b5059
TS
41571 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41572 sysdeps/sh/____longjmp_chk.S.
41573 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41574 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41575 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41576 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41577
967705fe
TS
41578 * sysdeps/sh/abort-instr.h: New file.
41579 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41580 process in case exit returns.
41581
a9def8c4
TS
41582 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41583 initialize the GOT register before use.
41584
2a649725
TS
41585 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41586 calculation of ARGC > 4.
41587
af1bce34
TS
41588 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41589 meaningful names to some local labels.
41590
d230f50a
KK
415912012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41592 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41593
41594 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41595 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41596 (__arch_compare_and_exchange_val_16_acq): Likewise.
41597 (__arch_compare_and_exchange_val_32_acq): Likewise.
41598 (atomic_exchange_and_add): Fix gUSA sequence.
41599 (atomic_add): Likewise.
41600 (atomic_add_negative): Likewise.
41601 (atomic_add_zero): Likewise.
41602 (atomic_bit_test_set): Likewise.
41603
0479b305
AS
416042012-06-22 Andreas Schwab <schwab@redhat.com>
41605
41606 [BZ #13579]
41607 * include/link.h (struct link_map): Add l_free_initfini.
41608 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41609 l_initfini.
41610 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41611 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41612 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41613 set.
41614
0e3933b9
CD
416152012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41616
41617 * configure.in: Use AC_LANG_SOURCE.
41618 * configure: Regenerate.
41619
4248b1b1
RM
416202012-06-22 Roland McGrath <roland@hack.frob.com>
41621
41622 * configure.in (libc_cv_localstatedir): New substituted variable.
41623 * configure: Regenerated.
41624 * config.make.in (localstatedir): New variable, substituted from
41625 libc_cv_localstatedir.
41626 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41627 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41628 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41629 * sysdeps/gnu/configure: Regenerated.
41630
006dd861
JL
416312012-06-21 Jeff Law <law@redhat.com>
41632
41633 [BZ #14277]
41634 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41635 free. Simplify list management for _LIBC case.
41636
79662d42
JM
416372012-06-21 Joseph Myers <joseph@codesourcery.com>
41638
b7abb4bf
JM
41639 [BZ #14273]
41640 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41641 Clear sign bit of 64-bit integer value before comparing against
41642 overflow value.
41643
79662d42
JM
41644 * sysdeps/mach/configure: Regenerated.
41645
1f150908
L
416462012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41647
41648 [BZ #14278]
41649 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41650
28363bbf
JL
416512012-06-21 Jeff Law <law@redhat.com>
41652
41653 [BZ #13882]
41654 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41655 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 41656 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
41657 * elf/dl-open.c (dl_open_worker): Likewise.
41658
09615db4
CD
416592012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41660
41661 * scripts/list-sources.sh: Scan PORTS for translations.
41662 * po/libc.pot: Regenerated.
41663
2174c6dd
AJ
416642012-06-21 Andreas Jaeger <aj@suse.de>
41665
41666 [BZ #12194]
41667 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41668 warning.
41669 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41670 * bits/byteswap-16.h (__bswap_16): Likewise.
41671 * bits/byteswap.h (__bswap_constant_16): Likewise.
41672
3ee947b1
L
416732012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41674
41675 [BZ #14117]
a2f34833
L
41676 * sysdeps/i386/fpu_control.h: Removed.
41677 * sysdeps/x86_64/fpu_control.h: Moved to ...
41678 * sysdeps/x86/fpu_control.h: Here.
41679
3ee947b1
L
41680 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41681 (_FPU_SETCW): Likewise.
41682
ed1825f8
L
416832012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41684
25f1282a
L
41685 [BZ #14117]
41686 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41687 * sysdeps/x86/fpu/bits/mathinline.h: This.
41688 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41689
ed1825f8
L
41690 [BZ #14050]
41691 [BZ #14117]
41692 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41693 functions if __x86_64__ is defined.
41694
36d54b74
CLT
416952012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41696
41697 * string/endian.h: Add !__ASSEMBLER__ condition for including
41698 conversion interfaces.
41699
10285c21
JM
417002012-06-15 Joseph Myers <joseph@codesourcery.com>
41701
41702 [BZ #14241]
41703 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41704 of ABS(x) in calculating zero to negative powers other than odd
41705 integers.
41706 * math/libm-test.inc (pow_test): Add more tests.
41707
06c5abbd
AJ
417082012-06-15 Andreas Jaeger <aj@suse.de>
41709
41710 * manual/contrib.texi (Contributors): Update entry of Liubov
41711 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41712 Machado Filho.
41713
a3aeac40
CH
417142012-06-15 Cyril Hrubis <metan@ucw.cz>
41715
41716 * string/string.h: Add __wur to GNU version of strerror_r.
41717
49bdf4c1
L
417182012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41719
41720 [BZ #14229]
41721 * string/Makefile (tests): Add tst-strtok_r.
41722 * string/tst-strtok_r.c: New file.
41723 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41724 RAX_LP/RDX_LP on SAVE_PTR.
41725
834f9b8d
RM
417262012-06-14 Roland McGrath <roland@hack.frob.com>
41727
41728 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41729
75fa1921
JM
417302012-06-14 Joseph Myers <joseph@codesourcery.com>
41731
41732 * libm_test.inc (csqrt_test): Allow more spurious underflow
41733 exceptions.
41734 (j0_test): Likewise.
41735 (j1_test): Likewise.
41736 (y0_test): Likewise.
41737 (y1_test): Likewise.
41738
771766df
CD
417392012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41740
41741 * po/Makefile (libc.pot): Use UTF-8 charset.
41742
ceb9e56b
PP
417432012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41744
41745 [BZ #14210]
41746 Suppress sign-conversion warning from FD_SET.
41747 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41748 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41749 not unsigned long int.
41750 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41751
ddb28975
L
417522012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41753
41754 [BZ #14050]
41755 [BZ #14117]
41756 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41757 __extern_always_inline instead of __extern_inline.
41758 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41759 (__signbit): Likewise.
41760 (__signbitl): Support C++ namespace.
41761 (lrintf): New inline function.
41762 (lrint): Likewise.
41763 (llrintf): Likewise.
41764 (llrint): Likewise.
41765 (fmaxf): Likewise.
41766 (fmax): Likewise.
41767 (fminf): Likewise.
41768 (fmin): Likewise.
41769 (rint): Likewise.
41770 (rintf): Likewise.
41771 (ceil): Likewise.
41772 (ceilf): Likewise.
41773 (floor): Likewise.
41774 (floorf): Likewise.
41775 (nearbyint): Likewise.
41776 (nearbyintf): Likewise.
41777
d7b4fb26
TS
417782012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41779
41780 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41781 non-default versions.
41782
eb55f5c2
RM
417832012-06-11 Roland McGrath <roland@hack.frob.com>
41784
41785 [BZ #14218]
41786 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41787
366af02c
TS
417882012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41789
99ff6e5c
TS
41790 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41791 (FE_UPWARD, FE_DOWNWARD): Don't define.
41792 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41793 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41794
366af02c
TS
41795 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41796 reading it.
41797 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41798 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41799
793ea851
KK
418002012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41801
41802 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41803 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41804 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41805 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41806
a728a38f
L
418072012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41808
41809 [BZ #14117]
c08010c7
L
41810 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41811 * sysdeps/i386/fpu/Implies: New file.
41812 * sysdeps/x86_64/fpu/Implies: Likewise.
41813 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41814 * sysdeps/x86/fpu/bits/fenv.h: This.
41815
a728a38f
L
41816 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41817 __SSE_MATH__.
41818
6e230d11
SP
418192012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41820
41821 [BZ #14134]
41822 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41823 character 0xffff that matches the last element of the
41824 conversion table.
41825
1b671feb
AZ
418262012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41827
41828 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41829 fmodl commit.
41830
6043738b
AZ
418312012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41832
41833 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41834 values higher than 25.6283.
41835
34ae0b32
AZ
418362012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41837
41838 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41839 subnormal exponent extraction and add some __builtin_expect.
41840 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41841 Fix for subnormal mantissa calculation.
41842
1214ec8f
MF
418432012-06-04 Mike Frysinger <vapier@gentoo.org>
41844
41845 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41846 cpu2 is -1 and errno is not ENOSYS.
41847
f3d1f93c
L
418482012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41849
41850 [BZ #14117]
0e4a3cd7
L
41851 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41852 * sysdeps/x86/bits/string.h: This.
41853 * sysdeps/x86_64/bits/string.h: Removed.
41854
6704c645
L
41855 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41856 if not compiling for x86-64, but compiling for >= i486.
41857
48495318
L
41858 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41859 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41860
14adcbfc
L
41861 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41862 New macro from Linux kernel 3.4.0.
41863 (FP_XSTATE_MAGIC2): Likewise.
41864 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41865 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41866 (struct _fpx_sw_bytes): New struct.
41867 (struct _xsave_hdr): Likewise.
41868 (struct _ymmh_state): Likewise.
41869 (struct _xstate): Likewise.
41870
68e408ab
L
41871 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41872 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41873 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41874 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41875 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41876 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41877
f3d1f93c
L
41878 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41879 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41880 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41881 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41882 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41883 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41884
d9dc34cd
TMQMF
418852012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41886
41887 [BZ #13743]
41888 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41889 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41890 (sysdep_headers): Include sys/platform/ppc.h.
41891 * sysdeps/powerpc/test-gettimebase.c: Test for
41892 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41893 * manual/Makefile (appendices): Include platform.texi.
41894 * manual/contrib.texi (Contributors): Update @node pointers.
41895 * manual/maint.texi (Maintenance): Likewise.
41896 (Platform): New node.
41897 * manual/platform.texi: New file. Document the new features.
41898
4af3879c
SP
418992012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41900 Jakub Jelinek <jakub@redhat.com>
41901
41902 [BZ #14188]
41903 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41904 where __builtin_expect is unavailable.
41905
2fd6ff13
DM
419062012-06-03 David S. Miller <davem@davemloft.net>
41907
41908 * stdlib/longlong.h: Updated from GCC.
41909
173f7220
AS
419102012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41911
41912 [BZ #14042]
41913 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41914 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41915 __mcount_internal.
41916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41917 (GLIBC_2.16): Likewise.
41918
f34a1c6f
L
419192012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41920
41921 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41922
88a4576f
JM
419232012-06-01 Joseph Myers <joseph@codesourcery.com>
41924
ea32bcdd
JM
41925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41926 (default-abi): New variable.
41927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41928 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41929 variable.
41930 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41931 Likewise.
41932 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41933 Likewise.
41934 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41935 Likewise.
41936
88a4576f
JM
41937 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41938 definition. Document in comment.
41939
402fe938
DM
419402012-06-01 David S. Miller <davem@davemloft.net>
41941
41942 * stdlib/longlong.h: Updated from GCC.
41943
3553723f
L
419442012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41945
41946 [BZ #14117]
3bd872c4
L
41947 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41948 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41949 sys/debugreg.h sys/io.h here.
41950 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41951 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41952 sys/io.h.
41953 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41954 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41955 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41956 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41957 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41958 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41959
3553723f
L
41960 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41961 Define only if __x86_64__ is defined.
41962
4842e4fe
JM
419632012-06-01 Joseph Myers <joseph@codesourcery.com>
41964
c5bfe3d5
JM
41965 [BZ #14048]
41966 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41967 Use int64_t for variable i.
41968 * math/libm-test.inc (fmod_test): Add more tests.
41969
4842e4fe
JM
41970 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41971 z computation is not scheduled after fetestexcept.
41972 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41973 Use math_force_eval instead of asm to ensure calculation scheduled
41974 before exception test.
41975 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41976 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41977
efb73488
AJ
419782012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41979
41980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41981 computation is not scheduled after fetestexcept.
41982
29bcce7c
L
419832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41984
41985 [BZ #14117]
41986 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41987 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41988
73a68f94
AZ
419892012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41990
41991 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41992 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41993
67b6df78
L
419942012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41995
edf2933a 41996 [BZ #14117]
ebc64a18
L
41997 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41998 <bits/wordsize.h>.
41999 (__WCHAR_MIN): Support __WORDSIZE == 64.
42000 (__WCHAR_MAX): Likewise.
42001
edf2933a
L
42002 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42003 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42004
57c6cf40
L
42005 [BZ #14183]
42006 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42007 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42008
67b6df78 42009 [BZ #14117]
8eb6281e
L
42010 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42011 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42012
aac639f4
L
42013 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42014 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42015
67b6df78
L
42016 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42017 Defined to 1 if __x86_64__ isn't defined.
42018 (_STAT_VER_LINUX_OLD): New.
42019 (st_atime): Remove duplicate.
42020 (st_mtime): Likewise.
42021 (st_ctime): Likewise.
42022
1c2cfe81
DM
420232012-05-31 David S. Miller <davem@davemloft.net>
42024
42025 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42026 entries.
42027
5be8418c
AS
420282012-06-01 Andreas Schwab <schwab@linux-m68k.org>
42029
e7725326
AS
42030 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42031 gen-libm-test.pl.
42032
5be8418c
AS
42033 [BZ #14132]
42034 * elf/dl-reloc.c: Include <_itoa.h>.
42035 (_dl_reloc_bad_type): Remove use of INTUSE.
42036 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42037 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42038 * stdio-common/psiginfo.c (psiginfo): Likewise.
42039 * stdio-common/psignal.c (psignal): Likewise.
42040 * string/strsignal.c (strsignal): Likewise.
42041 * include/signal.h (_sys_siglist): Declare hidden proto.
42042 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
42043 INTVARDEF with libc_hidden_data_def.
42044 * stdio-common/itoa-udigits.c: Likewise.
42045 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42046 (_itoa_lower_digits_internal): Remove declaration.
42047 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42048 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42049 (_sys_sigabbrev_internal): Remove aliases.
42050 (_sys_siglist): Define hidden alias.
42051
507352f1
MT
420522012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
42053
42054 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42055 bits/sysctl.h.
42056
42bbb1c3
L
420572012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42058
42059 [BZ #14117]
6bd784b6
L
42060 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42061 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42062
8bca20f0
L
42063 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42064 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42065 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42066 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42067 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42068 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42069
f9e890a9
L
42070 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42071 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42072 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42073
471101a1
L
42074 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42075 with __addr.
42076 (insw): Likewise.
42077 (insl): Likewise.
42078 (outsb): Likewise.
42079 (outsw): Likewise.
42080 (outsl): Likewise.
42081
6451c862
L
42082 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42083 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42084 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42085
a254b8c9
L
42086 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42087 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42088 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42089 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42090 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42091 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42092
b8dfdd92
L
42093 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42094 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42095
578cd270
L
42096 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42097 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42098
de662f5f
L
42099 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42100 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42101 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42102
25653439
L
42103 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42104 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42105 to ...
42106 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42107
6bad24a0
L
42108 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42109 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42110 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42111
42bbb1c3
L
42112 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42113 for x86-64.
42114 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42115
2d10d547
JM
421162012-05-31 Joseph Myers <joseph@codesourcery.com>
42117
42118 * math/math.h (M_El): Use two more decimal places.
42119 (M_LOG2El): Likewise.
42120 (M_LOG10El): Likewise.
42121 (M_LN2l): Likewise.
42122 (M_LN10l): Likewise.
42123 (M_PIl): Likewise.
42124 (M_PI_2l): Likewise.
42125 (M_PI_4l): Likewise.
42126 (M_1_PIl): Likewise.
42127 (M_2_PIl): Likewise.
42128 (M_2_SQRTPIl): Likewise.
42129 (M_SQRT2l): Likewise.
42130 (M_SQRT1_2l): Likewise.
42131
f230c29b
DM
421322012-05-31 David S. Miller <davem@davemloft.net>
42133
42134 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42135 values between float registers.
42136 * sysdeps/sparc/sparc64/memset.S: Likewise.
42137 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42138
fed806c3
MF
421392012-05-31 Mike Frysinger <vapier@gentoo.org>
42140
42141 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42142 -D_FORTIFY_SOURCE=1.
42143 (CPPFLAGS-tst-longjmp_chk.c): Define.
42144 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42145 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42146 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42147 CFLAGS-tst-wchar-h.c.
42148
30917259
MP
421492012-05-31 Marek Polacek <polacek@redhat.com>
42150
42151 [BZ #14132]
42152 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42153 __endmntent_internal): Remove declaration.
42154 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42155 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42156 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42157
1c58d5dc
DM
421582012-05-30 David S. Miller <davem@davemloft.net>
42159
42160 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42161 (___Q_simulate_exceptions): Use real FP ops rather than writing
42162 into the %fsr.
42163 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42164 Likewise.
42165
7dc00e0d
L
421662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42167
42168 [BZ #14117]
0bd53985
L
42169 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42170 * sysdeps/x86/bits/xtitypes.h: This.
42171
3a257e66
L
42172 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42173 * sysdeps/x86/bits/wordsize.h: This.
42174
62f62904
L
42175 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42176 * sysdeps/x86/bits/huge_vall.h: This.
42177
404fe9d9
L
42178 * sysdeps/i386/bits/select.h: Removed.
42179 * sysdeps/x86_64/bits/select.h: Renamed to ...
42180 * sysdeps/x86/bits/select.h: This.
42181
d48d0446
L
42182 * sysdeps/i386/bits/setjmp.h: Removed.
42183 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42184 * sysdeps/x86/bits/setjmp.h: This.
42185
7dc00e0d
L
42186 * sysdeps/i386/bits/mathdef.h: Removed.
42187 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42188 * sysdeps/x86/bits/mathdef.h: This.
42189
03277f8f
AS
421902012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42191
42192 [BZ #14132]
42193 * include/sys/socket.h (__connect_internal)
42194 (__libc_sa_len_internal): Remove declaration.
42195 (__connect, __libc_sa_len): Declare hidden_proto.
42196 (SA_LEN): Remove use of INTUSE.
42197 * socket/connect.c: Add libc_hidden_def.
42198 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42199 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42200 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42201 alias.
42202 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42203 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42204 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42205 of adding _internal alias.
42206
13764867
L
422072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42208
42209 [BZ #14117]
6bd97696
L
42210 * sysdeps/i386/bits/link.h: Removed.
42211 * sysdeps/i386/bits/linkmap.h: Likewise.
42212 * sysdeps/x86_64/bits/link.h: Renamed to ...
42213 * sysdeps/x86/bits/link.h: This.
42214 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42215 * sysdeps/x86/bits/linkmap.h: This.
42216
f726f0bb
L
42217 * sysdeps/i386/bits/endian.h: Removed.
42218 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42219 * sysdeps/x86/bits/endian.h: This.
42220
13764867
L
42221 * sysdeps/i386/bits/byteswap.h: Removed.
42222 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42223 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42224 * sysdeps/x86/bits/byteswap.h: This.
42225 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42226 * sysdeps/x86/bits/byteswap-16.h: This.
42227 * sysdeps/i386/Implies: Add x86.
42228 * sysdeps/x86_64/Implies: Likewise.
42229
ae251b0b
DM
422302012-05-30 David S. Miller <davem@davemloft.net>
42231
42232 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42233 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42234 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42235 (FP_TRAPPING_EXCEPTIONS): Define.
42236 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42237 (FP_TRAPPING_EXCEPTIONS): Define.
42238 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42239 subnormals only when inexact has been signalled or underflow
42240 exceptions are enabled.
42241 (_FP_PACK_CANONICAL): Likewise.
42242
d5c90867
L
422432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42244
42245 [BZ #14183]
42246 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42247 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42248
63f1549e
RH
422492012-05-30 Richard Henderson <rth@twiddle.net>
42250
8d8f2279
RH
42251 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42252 with #ifndef NOT_IN_libc.
42253
63f1549e
RH
42254 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42255 marked to avoid plt entry.
42256
0ab0291b
L
422572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42258
42259 [BZ #14112]
42260 * Makeconfig (default-abi): New macro.
42261 (abi-includes): Likewise.
42262 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42263 $(abi-$(default-abi)-lib-soname) for soname if defined.
42264 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42265 abi-variants.
42266 * Makefile (installed-stubs): Likewise.
42267 * include/stubs-biarch.h: Removed.
42268 * scripts/lib-names.awk: Only handle one library at a time.
42269 * scripts/soversions.awk: Remove WORDSIZE support.
42270 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42271 entries.
42272 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42273 Removed.
42274 (syscall-list-default-condition): Likewise.
42275 (syscall-list-default-condition): Likewise.
42276 (syscall-list-includes): Likewise.
42277 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42278 syscall-list-* with abi-*. Handle undefined abi-variants.
42279 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42280 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42281 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42282 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42283 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42284 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42285 Removed.
42286 (syscall-list-32-options): Likewise.
42287 (syscall-list-32-condition): Likewise.
42288 (syscall-list-64-options): Likewise.
42289 (syscall-list-64-condition): Likewise.
42290 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42291 macro.
42292 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42293 Renamed to ...
42294 (abi-*): This.
42295 (abi-64-ld-soname): New macro.
42296 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42297 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42298 Renamed to ...
42299 (abi-*): This.
42300 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42301 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42302
4da0431d
JM
423032012-05-30 Joseph Myers <joseph@codesourcery.com>
42304
3a85279c
JM
42305 * sysdeps/unix/sysv/linux/kernel-features.h
42306 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42307 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42308 include <kernel-features.h>.
42309 [!__NR_ftruncate64]: Remove conditional code.
42310 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42311 [__NR_ftruncate64]: Make code unconditional.
42312 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42313 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42314 include <kernel-features.h>.
42315 [!__NR_ftruncate64]: Remove conditional code.
42316 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42317 [__NR_ftruncate64]: Make code unconditional.
42318 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42320 include <kernel-features.h>.
42321 [!__NR_ftruncate64]: Remove conditional code.
42322 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42323 [__NR_ftruncate64]: Make code unconditional.
42324 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42326 include <kernel-features.h>.
42327 [!__NR_ftruncate64]: Remove conditional code.
42328 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42329 [__NR_ftruncate64]: Make code unconditional.
42330 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42331
4da0431d
JM
42332 * configure.in (libc_cv_fpie): Weaken to a compile test using
42333 LIBC_TRY_CC_OPTION.
42334 * configure: Regenerated.
42335
11ef492c
AK
423362012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42337
42338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42342 Refreshed.
42343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42349 Refreshed.
42350
d66ef399
DM
423512012-05-27 David S. Miller <davem@davemloft.net>
42352
42353 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42354 (___Q_zero): New.
42355 (__Q_simulate_exceptions): Return void. Change to simulate
42356 exceptions by writing into the %fsr.
42357 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42358 (__Qp_handle_exceptions): Likewise.
42359 (numbers): Delete.
42360 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42361 __Qp_handle_exceptions.
42362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42363 __Qp_handle_exceptions.
42364 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42365 as unused and give dummy FP_RND_NEAREST initializer.
42366 (FP_INHIBIT_RESULTS): Define.
42367 (___Q_simulate_exceptions): Update declaration.
42368 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42369 formatting.
42370 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42371 as unused and give dummy FP_RND_NEAREST initializer.
42372 (__Qp_handle_exceptions): Update declaration.
42373 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42374 formatting.
42375
04fb54b5
TS
423762012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42377
42378 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42379 the temporary FPU control word.
42380 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42381 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42382 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42383 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42384 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42385 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42386 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42387 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42388 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42389 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42390 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42391
3f99608f
KK
423922012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42393
42394 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42395 fields.
42396
65a4de4e
CLT
423972012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42398
42399 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42400 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42401 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42402 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42403 Likewise.
42404 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42405 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42406 Likewise.
42407
15749d40
UD
424082012-05-27 Ulrich Drepper <drepper@gmail.com>
42409
42410 * po/h.po: Update from translation team.
42411
25dbcb27
AS
424122012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42413
3d3f8e55
AS
42414 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42415
25dbcb27
AS
42416 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42417 handling of denormals.
42418 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42419 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42420 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42421 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42422 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42423 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42424 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42425 Likewise.
42426
7ad47a80 424272012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
42428
42429 [BZ #14152]
42430 * math/libm-test.inc (fma_test): Don't always expect underflow
42431 exception.
42432
9c6ea9fa
SP
424332012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42434
42435 [BZ #12416]
42436 * elf/tst-execstack.c: Include stackinfo.h.
42437 (do_test): Adjust test case to ensure that pthread_getattr_np
42438 behaviour remains the same after marking stack executable.
42439
a8239222
JM
424402012-05-25 Joseph Myers <joseph@codesourcery.com>
42441
42442 * sysdeps/unix/sysv/linux/kernel-features.h
42443 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42444 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42445 kernel-features.h.
42446 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42447 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42448 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42449 kernel-features.h.
42450 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42451 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42452
918b5606
L
424532012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42454
42455 * configure.in: Define the default includes to being none.
42456 * configure: Regenerated.
42457
3a097cc7
RM
424582012-05-25 Roland McGrath <roland@hack.frob.com>
42459
8422c9a5
RM
42460 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42461 * sysdeps/x86_64/setjmp.S: Likewise.
42462 * sysdeps/i386/bsd-setjmp.S: Likewise.
42463 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42464 * sysdeps/i386/setjmp.S: Likewise.
42465 * sysdeps/i386/__longjmp.S: Likewise.
42466 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42467 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42468
3a097cc7
RM
42469 * include/stap-probe.h: New file.
42470 * configure.in: Handle --enable-systemtap.
42471 * configure: Regenerated.
42472 * config.h.in (USE_STAP_PROBE): New #undef.
42473 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42474 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42475 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42476
21708942
JM
424772012-05-25 Joseph Myers <joseph@codesourcery.com>
42478
42479 [BZ #13717]
42480 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42481 to 2.4.0 where earlier.
42482 * sysdeps/unix/sysv/linux/configure: Regenerated.
42483 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42484 <kernel-features.h>.
42485 [__ASSUME_32BITUIDS]: Make code unconditional.
42486 [!__ASSUME_32BITUIDS]: Remove conditional code.
42487 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42488 <kernel-features.h>.
42489 [__ASSUME_32BITUIDS]: Make code unconditional.
42490 [!__ASSUME_32BITUIDS]: Remove conditional code.
42491 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42492 [__ASSUME_32BITUIDS]: Make code unconditional.
42493 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42494 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42495 <kernel-features.h>.
42496 [__ASSUME_32BITUIDS]: Make code unconditional.
42497 [!__ASSUME_32BITUIDS]: Remove conditional code.
42498 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42499 <kernel-features.h>.
42500 [__ASSUME_32BITUIDS]: Make code unconditional.
42501 [!__ASSUME_32BITUIDS]: Remove conditional code.
42502 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42503 <kernel-features.h>.
42504 [__ASSUME_32BITUIDS]: Make code unconditional.
42505 [!__ASSUME_32BITUIDS]: Remove conditional code.
42506 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42507 <kernel-features.h>.
42508 [__ASSUME_32BITUIDS]: Make code unconditional.
42509 [!__ASSUME_32BITUIDS]: Remove conditional code.
42510 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42511 <kernel-features.h>.
42512 [__ASSUME_32BITUIDS]: Make code unconditional.
42513 [!__ASSUME_32BITUIDS]: Remove conditional code.
42514 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42515 <kernel-features.h>.
42516 [__ASSUME_32BITUIDS]: Make code unconditional.
42517 [!__ASSUME_32BITUIDS]: Remove conditional code.
42518 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42519 <kernel-features.h>.
42520 [__ASSUME_32BITUIDS]: Make code unconditional.
42521 [!__ASSUME_32BITUIDS]: Remove conditional code.
42522 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42523 <kernel-features.h>.
42524 [__ASSUME_32BITUIDS]: Make code unconditional.
42525 [!__ASSUME_32BITUIDS]: Remove conditional code.
42526 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42527 <kernel-features.h>.
42528 [__ASSUME_32BITUIDS]: Make code unconditional.
42529 [!__ASSUME_32BITUIDS]: Remove conditional code.
42530 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42531 <kernel-features.h>.
42532 [__ASSUME_32BITUIDS]: Make code unconditional.
42533 [!__ASSUME_32BITUIDS]: Remove conditional code.
42534 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42535 <kernel-features.h>.
42536 [__NR_setresgid] (__setresgid): Do not declare.
42537 [__ASSUME_32BITUIDS]: Make code unconditional.
42538 [!__ASSUME_32BITUIDS]: Remove conditional code.
42539 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42540 <kernel-features.h>.
42541 [__NR_setresuid] (__setresuid): Do not declare.
42542 [__ASSUME_32BITUIDS]: Make code unconditional.
42543 [!__ASSUME_32BITUIDS]: Remove conditional code.
42544 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42545 <kernel-features.h>.
42546 [__ASSUME_32BITUIDS]: Make code unconditional.
42547 [!__ASSUME_32BITUIDS]: Remove conditional code.
42548 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42549 <kernel-features.h>.
42550 [__ASSUME_32BITUIDS]: Make code unconditional.
42551 [!__ASSUME_32BITUIDS]: Remove conditional code.
42552 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42553 <kernel-features.h>.
42554 [__ASSUME_32BITUIDS]: Make code unconditional.
42555 [!__ASSUME_32BITUIDS]: Remove conditional code.
42556 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42557 <kernel-features.h>.
42558 [__ASSUME_32BITUIDS]: Make code unconditional.
42559 [!__ASSUME_32BITUIDS]: Remove conditional code.
42560 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42561 <kernel-features.h>.
42562 [__ASSUME_32BITUIDS]: Make code unconditional.
42563 [!__ASSUME_32BITUIDS]: Remove conditional code.
42564 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42565 <kernel-features.h>.
42566 [__ASSUME_32BITUIDS]: Make code unconditional.
42567 [!__ASSUME_32BITUIDS]: Remove conditional code.
42568 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42569 <kernel-features.h>.
42570 [__ASSUME_32BITUIDS]: Make code unconditional.
42571 [!__ASSUME_32BITUIDS]: Remove conditional code.
42572 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42573 <kernel-features.h>.
42574 [__ASSUME_32BITUIDS]: Make code unconditional.
42575 [!__ASSUME_32BITUIDS]: Remove conditional code.
42576 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42577 <kernel-features.h>.
42578 [__ASSUME_32BITUIDS]: Make code unconditional.
42579 [!__ASSUME_32BITUIDS]: Remove conditional code.
42580 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42581 <kernel-features.h>.
42582 [__ASSUME_32BITUIDS]: Make code unconditional.
42583 [!__ASSUME_32BITUIDS]: Remove conditional code.
42584 * sysdeps/unix/sysv/linux/kernel-features.h
42585 (__ASSUME_SETRESUID_SYSCALL): Remove.
42586 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42587 (__ASSUME_32BITUIDS): Likewise.
42588 (__ASSUME_LDT_WORKS): Likewise.
42589 (__ASSUME_O_DIRECTORY): Likewise.
42590 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42591 architecture but not kernel version.
42592 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42593 (__ASSUME_MMAP2_SYSCALL): Likewise.
42594 (__ASSUME_STAT64_SYSCALL): Likewise.
42595 (__ASSUME_IPC64): Likewise.
42596 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42597 <kernel-features.h>.
42598 [__ASSUME_32BITUIDS]: Make code unconditional.
42599 [!__ASSUME_32BITUIDS]: Remove conditional code.
42600 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42601 <kernel-features.h>.
42602 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42603 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42604 132096]: Remove conditional code.
42605 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42606 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42607 <kernel-features.h>.
42608 [__ASSUME_32BITUIDS]: Make code unconditional.
42609 [!__ASSUME_32BITUIDS]: Remove conditional code.
42610 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42611 <kernel-features.h>.
42612 [__ASSUME_32BITUIDS]: Make code unconditional.
42613 [!__ASSUME_32BITUIDS]: Remove conditional code.
42614 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42615 <kernel-features.h>.
42616 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42617 unconditional.
42618 (__setresgid): Do not declare.
42619 [__ASSUME_32BITUIDS]: Make code unconditional.
42620 [!__ASSUME_32BITUIDS]: Remove conditional code.
42621 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42622 <kernel-features.h>.
42623 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42624 unconditional.
42625 (__setresuid): Do not declare.
42626 [__ASSUME_32BITUIDS]: Make code unconditional.
42627 [!__ASSUME_32BITUIDS]: Remove conditional code.
42628 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42629 <kernel-features.h>.
42630 [__ASSUME_32BITUIDS]: Make code unconditional.
42631 [!__ASSUME_32BITUIDS]: Remove conditional code.
42632 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42633 <kernel-features.h>.
42634 [__ASSUME_32BITUIDS]: Make code unconditional.
42635 [!__ASSUME_32BITUIDS]: Remove conditional code.
42636
a386f1cc
RH
426372012-05-25 Richard Henderson <rth@twiddle.net>
42638
42639 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42640 dl_hwcap to ifunc resolver.
42641 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42642 elf_ifunc_invoke.
42643 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42644 dl_hwcap to ifunc resolver.
42645 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42646
b6550497
JM
426472012-05-24 Joseph Myers <joseph@codesourcery.com>
42648
42649 [BZ #14153]
42650 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42651 for |x| <= 2**-26, not 2**-57.
42652 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42653 exception.
42654
b0bc23a1
JL
426552012-05-24 Jeff Law <law@redhat.com>
42656
42657 * stdio-common/Makefile (tests): Add bug25.
42658 * stdio-common/bug25.c: New test.
42659
347c92e9
L
426602012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42661
42662 [BZ #13576]
42663 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42664 multiple of MALLOC_ALIGNMENT in size.
42665 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42666
6bcc8b3f
JM
426672012-05-24 Joseph Myers <joseph@codesourcery.com>
42668
42669 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42670 Require >= 256.
42671 (FILENAME_MAX): Use macro-int-constant.
42672 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42673 (_IOFBF): Use macro-int-constant.
42674 (_IOLBF): Likewise.
42675 (_IONBF): Likewise.
42676 (SEEK_CUR): Likewise.
42677 (SEEK_END): Likewise.
42678 (SEEK_SET): Likewise.
42679 (TMP_MAX): Likewise.
42680 (EOF): Use macro-int-constant. Require < 0.
42681 (NULL): Use macro-constant. Require == 0.
42682 (stdin): Require type to be FILE *.
42683 (stdout): Likewise.
42684 (stderr): Likewise.
42685 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42686 macro-int-constant.
42687 (EXIT_SUCCESS): Likewise.
42688 (NULL): Use macro-constant. Require == 0.
42689 (RAND_MAX): Use macro-int-constant.
42690 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42691 [C99-based standards] (strtof): Require function.
42692 [C99-based standards] (strtold): Likewise.
42693 [C99-based standards] (strtoll): Likewise.
42694 [C99-based standards] (strtoull): Likewise.
42695 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42696 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42697 [ISO || ISO99 || ISO11] (math.h): Likewise.
42698 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42699 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42700 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42701
d18ea0c5
AS
427022012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42703
42704 [BZ #14132]
56d25bb8
AS
42705 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42706 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42707 * intl/dgettext.c (DCGETTEXT): Likewise.
42708 * intl/gettext.c (DCGETTEXT): Likewise.
42709 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42710 * posix/regex_internal.h (gettext): Likewise.
42711 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42712 Remove declaration.
42713 * include/argz.h (__argz_count_internal)
42714 (__argz_stringify_internal): Remove declaration.
42715 (__argz_count, __argz_stringify): Declare hidden proto.
42716 * intl/dcgettext.c: Remove use of INTDEF.
42717 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42718 * string/argz-stringify.c: Likewise.
42719 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42720 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42721 Declare hidden proto.
d18ea0c5
AS
42722 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42723 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42724 Declare hidden proto.
42725 * include/stdio.h (__asprintf_internal): Don't declare.
42726 (__asprintf): Don't define as macro. Declare hidden proto.
42727 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42728 (__fsetlocking): Declare hidden proto.
42729 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42730 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42731 hidden proto.
42732 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42733 (_IO_setlinebuf): Remove use of INTUSE.
42734 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42735 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42736 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42737 Remove declaration.
42738 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42739 (_IO_do_flush): Remove use of INTUSE.
42740 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42741 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42742 (_IO_adjust_column, _IO_least_wmarker)
42743 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42744 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42745 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42746 (_IO_default_doallocate, _IO_wdefault_doallocate)
42747 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42748 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42749 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42750 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42751 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42752 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42753 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42754 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42755 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42756 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42757 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42758 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42759 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42760 proto.
42761 (_IO_flush_all_internal, _IO_adjust_column_internal)
42762 (_IO_default_uflow_internal, _IO_default_finish_internal)
42763 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42764 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42765 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42766 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42767 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42768 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42769 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42770 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42771 (_IO_file_close_internal, _IO_file_close_it_internal)
42772 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42773 (_IO_file_init_internal, _IO_file_attach_internal)
42774 (_IO_file_fopen_internal, _IO_file_read_internal)
42775 (_IO_file_sync_internal, _IO_file_seek_internal)
42776 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42777 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42778 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42779 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42780 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42781 (_IO_list_all_internal, _IO_link_in_internal)
42782 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42783 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42784 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42785 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42786 (_IO_do_write_internal, _IO_padn_internal)
42787 (_IO_getline_info_internal, _IO_getline_internal)
42788 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42789 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42790 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42791 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42792 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42793 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42794 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42795 with libc_hidden_ver, remove use of INTUSE.
42796 * libio/genops.c: Likewise.
42797 * libio/freopen.c: Likewise.
42798 * libio/freopen64.c: Likewise.
42799 * libio/iofclose.c: Likewise.
42800 * libio/iofdopen.c: Likewise.
42801 * libio/iofflush.c: Likewise.
42802 * libio/iofflush_u.c: Likewise.
42803 * libio/iofgets.c: Likewise.
42804 * libio/iofgets_u.c: Likewise.
42805 * libio/iofopen.c: Likewise.
42806 * libio/iofopncook.c: Likewise.
42807 * libio/iofread.c: Likewise.
42808 * libio/iofread_u.c: Likewise.
42809 * libio/ioftell.c: Likewise.
42810 * libio/iofwrite.c: Likewise.
42811 * libio/iogetline.c: Likewise.
42812 * libio/iogets.c: Likewise.
42813 * libio/iogetwline.c: Likewise.
42814 * libio/iopadn.c: Likewise.
42815 * libio/iopopen.c: Likewise.
42816 * libio/ioseekoff.c: Likewise.
42817 * libio/ioseekpos.c: Likewise.
42818 * libio/iosetbuffer.c: Likewise.
42819 * libio/iosetvbuf.c: Likewise.
42820 * libio/ioungetc.c: Likewise.
42821 * libio/ioungetwc.c: Likewise.
42822 * libio/iovdprintf.c: Likewise.
42823 * libio/iovsprintf.c: Likewise.
42824 * libio/iovsscanf.c: Likewise.
42825 * libio/memstream.c: Likewise.
42826 * libio/obprintf.c: Likewise.
42827 * libio/oldfileops.c: Likewise.
42828 * libio/oldiofclose.c: Likewise.
42829 * libio/oldiofdopen.c: Likewise.
42830 * libio/oldiofopen.c: Likewise.
42831 * libio/oldiopopen.c: Likewise.
42832 * libio/oldstdfiles.c: Likewise.
42833 * libio/putc.c: Likewise.
42834 * libio/setbuf.c: Likewise.
42835 * libio/setlinebuf.c: Likewise.
42836 * libio/stdfiles.c: Likewise.
42837 * libio/strops.c: Likewise.
42838 * libio/vasprintf.c: Likewise.
42839 * libio/vscanf.c: Likewise.
42840 * libio/vsnprintf.c: Likewise.
42841 * libio/vswprintf.c: Likewise.
42842 * libio/wfiledoalloc.c: Likewise.
42843 * libio/wfileops.c: Likewise.
42844 * libio/wgenops.c: Likewise.
42845 * libio/wmemstream.c: Likewise.
42846 * libio/wstrops.c: Likewise.
42847 * libio/__fpurge.c: Likewise.
42848 * libio/__fsetlocking.c: Likewise.
42849 * assert/assert.c: Likewise.
42850 * debug/fgets_chk.c: Likewise.
42851 * debug/fgets_u_chk.c: Likewise.
42852 * debug/fread_chk.c: Likewise.
42853 * debug/fread_u_chk.c: Likewise.
42854 * debug/gets_chk.c: Likewise.
42855 * debug/obprintf_chk.c: Likewise.
42856 * debug/vasprintf_chk.c: Likewise.
42857 * debug/vdprintf_chk.c: Likewise.
42858 * debug/vsnprintf_chk.c: Likewise.
42859 * debug/vsprintf_chk.c: Likewise.
42860 * malloc/mtrace.c: Likewise.
42861 * misc/error.c: Likewise.
42862 * misc/syslog.c: Likewise.
42863 * stdio-common/asprintf.c: Likewise.
42864 * stdio-common/fxprintf.c: Likewise.
42865 * stdio-common/getw.c: Likewise.
42866 * stdio-common/isoc99_fscanf.c: Likewise.
42867 * stdio-common/isoc99_scanf.c: Likewise.
42868 * stdio-common/isoc99_vfscanf.c: Likewise.
42869 * stdio-common/isoc99_vscanf.c: Likewise.
42870 * stdio-common/isoc99_vsscanf.c: Likewise.
42871 * stdio-common/printf-prs.c: Likewise.
42872 * stdio-common/printf_fp.c: Likewise.
42873 * stdio-common/printf_fphex.c: Likewise.
42874 * stdio-common/printf_size.c: Likewise.
42875 * stdio-common/putw.c: Likewise.
42876 * stdio-common/scanf.c: Likewise.
42877 * stdio-common/sprintf.c: Likewise.
42878 * stdio-common/tmpfile.c: Likewise.
42879 * stdio-common/vfprintf.c: Likewise.
42880 * stdio-common/vfscanf.c: Likewise.
42881 * stdlib/strfmon_l.c: Likewise.
42882 * sunrpc/openchild.c: Likewise.
42883 * sunrpc/xdr_stdio.c: Likewise.
42884 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42885 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42886
d6c33fda
RM
428872012-05-24 Roland McGrath <roland@hack.frob.com>
42888
c1487492
RM
42889 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42890
42891 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42892 in the third column, to generate for the shared library an IFUNC
42893 that uses _dl_vdso_vsym.
42894 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42895 * Makeconfig (object-suffixes-noshared): New variable.
42896
42897 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42898 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42899 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42900 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42901
d6c33fda
RM
42902 [BZ #14132]
42903 * include/sys/time.h (__gettimeofday): Remove macro.
42904 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42905 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42906 Remove INTDEF.
42907 (__gettimeofday): Add libc_hidden_def.
42908 (gettimeofday): Add libc_hidden_weak.
42909 * sysdeps/mach/gettimeofday.c: Likewise.
42910 * sysdeps/posix/gettimeofday.c: Likewise.
42911 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42912 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42913 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42914 (__gettimeofday_internal): Remove strong_alias.
42915 (__gettimeofday): Add libc_hidden_def.
42916 (gettimeofday): Add libc_hidden_weak.
42917 * sysdeps/unix/syscalls.list (gettimeofday):
42918 Remove __gettimeofday_internal alias.
42919
b5a2bbe6
L
429202012-05-24 Daniel Jacobowitz <drow@false.org>
42921 H.J. Lu <hongjiu.lu@intel.com>
42922
42923 [BZ #12495]
42924 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42925 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42926 (largebin_index_32_big): New.
42927 (largebin_index): Use it for 16-byte alignment.
42928 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42929 correction with front_misalign.
42930
cfba4fda
L
429312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42932
7f907421
L
42933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42935 Likewise.
42936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42937 Likewise.
42938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42939 Likewise.
42940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42941 Likewise.
42942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42943 Likewise.
42944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42945 Likewise.
42946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42947 Likewise.
42948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42949 Likewise.
42950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42951 Likewise.
42952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42953 Likewise.
42954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42955 Likewise.
42956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42957 Likewise.
42958
cfba4fda
L
42959 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42960 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42961
80bad0cc
JM
429622012-05-24 Joseph Myers <joseph@codesourcery.com>
42963
7a25eb06
JM
42964 [BZ #10846]
42965 [BZ #14036]
42966 * math/libm-test.inc (exp_test): Add test from bug 14036.
42967 (pow_test): Add test from bug 10846.
42968
795405f9
JM
42969 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42970 and other flags.
42971 (special_function): Do not include flags in test name.
42972 (parse_args): Likewise.
42973 * sysdeps/i386/fpu/libm-test-ulps: Update.
42974 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42975 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42976 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42978
80bad0cc
JM
42979 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42980 exceptions.
42981 * math/libm-test.inc ("Philosophy"): Update comment about
42982 exception testing.
42983 (UNDERFLOW_EXCEPTION): New macro.
42984 (UNDERFLOW_EXCEPTION_OK): Likewise.
42985 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42986 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42987 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42988 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42989 (INVALID_EXCEPTION_OK): Update value.
42990 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42991 (OVERFLOW_EXCEPTION_OK): Likewise.
42992 (IGNORE_ZERO_INF_SIGN): Likewise.
42993 (test_exceptions): Handle underflow exceptions.
42994 (acos_test): Update for underflow exception expectations.
42995 (cexp_test): Likewise.
42996 (clog_test): Likewise.
42997 (clog10_test): Likewise.
42998 (csqrt_test): Likewise.
42999 (ctan_test): Likewise.
43000 (ctanh_test): Likewise.
43001 (exp_test): Likewise.
43002 (exp10_test): Likewise.
43003 (exp2_test): Likewise.
43004 (expm1_test): Likewise.
43005 (fma_test): Likewise.
43006 (j0_test): Likewise.
43007 (jn_test): Likewise.
43008 (nexttoward_test): Likewise.
43009 (pow_test): Likewise.
43010 (scalbn_test): Likewise.
43011 (scalbln_test): Likewise.
43012 (tan_test): Likewise.
43013 (y1_test): Likewise.
43014 * sysdeps/i386/fpu/libm-test-ulps: Update.
43015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43016
9e0e3d0b
DM
430172012-05-23 David S. Miller <davem@davemloft.net>
43018
43019 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43020 (__libc_sigaction): Remove unused local variables.
43021
ccd0a08f
L
430222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43023
43024 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43025
62bdf9a6
PE
430262012-05-23 Paul Eggert <eggert@cs.ucla.edu>
43027
f8591f80
PE
43028 mktime: avoid signed integer overflow
43029 * time/mktime.c (__mktime_internal): Do not mishandle the case
43030 where diff == INT_MIN.
43031
94c7d826
PE
43032 mktime: simplify computation of average
43033 * time/mktime.c (ranged_convert): Use new time_t_avg function
43034 instead of rolling our own (probably-slower) code.
43035
ce73d683
PE
43036 mktime: do not assume signed right shift propagates sign bit
43037 * time/mktime.c (isdst_differ): New static function.
43038 (__mktime_internal): No need to normalize tm_isdst now.
43039 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43040 tm_isdst values.
43041
72a22e59
PE
43042 mktime: merge another wrapv change from gnulib
43043 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43044 from some compilers.
43045
68605433
PE
43046 mktime: remove incorrect attempt at unusual arithmetics
43047 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43048 The code didn't really work on such machines anyway.
43049 (TYPE_MINIMUM): Assume two's complement.
43050 (twos_complement_arithmetic): Verify that long_int and time_t
43051 are two's complement (or unsigned, in the latter case).
43052
03cf7fe3
PE
43053 mktime: check signed shifts on long_int and time_t, too
43054 * time/mktime.c (SHR): Check that shifts work as desired
43055 on the types long_int and time_t too, as SHR is used on
43056 such types.
43057
f04dfbc2
PE
43058 mktime: do not assume 'long' is wide enough
43059 * time/mktime.c (verify): Move decl up.
43060 (long_int): New type.
43061 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43062 to remove assumption in the code that 'long' is wide enough to
43063 store year values. This assumption is not true on x32 and on
43064 some non-glibc platforms.
43065
62bdf9a6
PE
43066 mktime: merge wrapv change from gnulib
43067 * time/mktime.c (WRAPV): New macro.
43068 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43069 (guess_time_tm, __mktime_internal): Do not assume that signed
43070 integer overflow wraps around; modern compilers generate code
43071 where this assumption is no longer valid.
43072
5e292e4f
L
430732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43074
43075 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43076 Replace "jmp L(pseudo_end)" with "ret".
43077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43078 Likewise.
43079
8caf8c87
AJ
430802012-05-23 Andreas Jaeger <aj@suse.de>
43081
43082 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43083 * sysdeps/unix/sysv/linux/poll.c: Remove file.
43084
1a09dc56
AJ
430852012-05-23 Andreas Jaeger <aj@suse.de>
43086 Maximilian Attems <max@stro.at>
43087
43088 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43089 New macros.
43090
1c87aba0
L
430912012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43092
43093 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43094 code so that pseudo_end is just ret and the stack pointer is
43095 correct also for static library in error case.
43096
40e45bd5
JM
430972012-05-23 Joseph Myers <joseph@codesourcery.com>
43098
c2670533
JM
43099 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43100 move to syscalls.list.
43101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43105
40e45bd5
JM
43106 * manual/install.texi (Running make install): Do not mention Linux
43107 kernel version for which pt_chown is not needed.
43108 (Linux): Do not mention problems with nscd with 2.0 kernels.
43109 * INSTALL: Regenerated.
43110
be08eda5
AJ
431112012-05-23 Andreas Jaeger <aj@suse.de>
43112
43113 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43114 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43115 macro.
43116 * sysdeps/unix/sysv/linux/s390/bits/mman.h
43117 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43118 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43119 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43120 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43121 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43122 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43123 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43124 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43125 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43126 * sysdeps/unix/sysv/linux/bits/in.h
43127 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43128
a6a056bb
RM
431292012-05-22 Roland McGrath <roland@hack.frob.com>
43130
43131 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43132 (PREPARE_VERSION): Just use assert instead, it will be elided
43133 under [NDEBUG] anyway.
43134
c9009328
L
431352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43136
43137 * sysdeps/unix/sysv/linux/Makefile: Include
43138 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 43139 (sysdep_routines): Remove sysctl.
c9009328
L
43140 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43141 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43142 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43143 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43144 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43145
73338355
AJ
431462012-05-22 Andreas Jaeger <aj@suse.de>
43147
43148 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43149 that pseudo_end is just ret and the stack pointer is correct also
43150 for static library in error case.
43151
d44638b0
PP
431522012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43153
43154 [BZ #14122]
43155 * nss/nsswitch.c (defconfig_entries): New variable.
43156 (__nss_database_lookup): Don't leak defconfig entries.
43157 (nss_parse_service_list): Don't leak on error paths.
43158 (free_database_entries): New function.
43159 (free_defconfig): New function.
43160 (free_mem): Move common code to free_database_entries.
43161
31a39bd8
L
431622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43163
da0331a8
L
43164 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43165 Add arch_prctl.
43166 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43167
31a39bd8
L
43168 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43169 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43170 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43171 New macro.
43172 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43173 (INTERNAL_SYSCALL_TYPES): Likewise.
43174 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43175 (LOAD_REGS_TYPES_[1-6]): Likewise.
43176 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43177 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43178
45470df3
AZ
431792012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43180
43181 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43182 copysignl for GLIBC_2_0.
43183 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43184 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43185 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43186 logbl for GLIBC_2_0.
43187 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43188 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43189
98a61bcb
L
431902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43191
a4f6e481
L
43192 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43193 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43194
f63d5db6
L
43195 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43196 Use "neg %eax".
43197
98a61bcb
L
43198 * time/mktime.c: Update copyright years.
43199
95770f14
PE
432002012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43201
6226efbd
PE
43202 mktime: merge comment-quoting-style change from gnulib
43203 * time/mktime.c: Quote 'like this' in comments.
43204 The GNU coding standards suggest that we no longer quote `like this',
43205 as "`" and "'" are typically rendered asymmetrically nowadays.
43206 The typical gnulib style is to quote 'like this' when quoting
43207 code, and "like this" when quoting English.
43208
b99e4f78
PE
43209 * time/mktime.c (compile-command): Add "-I.".
43210
643e01e6
PE
43211 mktime: merge mktime-internal.h change from gnulib
43212 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43213
2554247d
PE
43214 mktime: merge time_r change from gnulib
43215 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43216
826dd0ab
PE
43217 mktime: merge DEBUG change from gnulib
43218 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43219 case system <time.h> has a #define.
43220
bd83aabe
PE
43221 mktime: merge <sys/types.h> change from gnulib
43222 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43223 since <time.t> is now guaranteed to define time_t.
43224
95770f14
PE
43225 mktime: merge HAVE_CONFIG_H change from gnulib
43226 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43227
5e1a27a9
L
432282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43229
0e44a77e
L
43230 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43231 Use "neg %eax".
43232
5e1a27a9
L
43233 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43234 __rlim_t cast.
43235 (struct rusage): Use anonymous union to pad each field to
43236 __syscall_slong_t.
43237
46259bec
DM
432382012-05-21 David S. Miller <davem@davemloft.net>
43239
43240 * Makefules (o-iterator): Remove .s cases.
43241 (compile-command.s): Delete.
43242 (COMPILE.s): Delete.
43243 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43244
59f0c22e
JM
432452012-05-21 Joseph Myers <joseph@codesourcery.com>
43246
43247 * configure.in (libc_cv_predef_stack_protector): Only consider
43248 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43249 * configure: Regenerated.
43250
20c07380
L
432512012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43252
bbb3154b
L
43253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43254 New macro. Use R*LP on int and pointer.
43255 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
43256 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43257 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
43258 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43259
20c07380
L
43260 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43261 [__WORDSIZE_TIME64_COMPAT32] instead of
43262 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43263 (struct utmp): Likewise.
43264 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43265 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43266 Renamed to ...
43267 (__WORDSIZE_TIME64_COMPAT32): This.
43268 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43269 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43270 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43271 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43272 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43273 (__WORDSIZE_TIME64_COMPAT32): New macro.
43274
d8d1017e
AJ
432752012-05-21 Andreas Jaeger <aj@suse.de>
43276
43277 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43278 only if [SHARED]. Add prototype for __wcschr_ia32.
43279
6c7fb145
RM
432802012-05-21 Roland McGrath <roland@hack.frob.com>
43281
43282 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43283 of %rbp unmolested in the jmp_buf while mangling the low bits.
43284 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43285 unmolested high bits of %rbp while demangling the low bits.
43286 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43287
66274218
AJ
432882012-05-21 Andreas Jaeger <aj@suse.de>
43289
07c58f8f
AJ
43290 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43291 * sunrpc/svc_simple.c: Use it for registerrpc.
43292 * sunrpc/xcrypt.c: Use it for passwd2des.
43293
66274218
AJ
43294 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43295
61f65140
L
432962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43297
43298 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43299 Don't define if [__SYSCALL_WORDSIZE != 32].
43300 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43301 New macro.
43302
5fefb436
AJ
433032012-05-21 Bruno Haible <bruno@clisp.org>
43304 Andreas Jaeger <aj@suse.de>
43305
43306 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43307 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43308 inptr and inend for must_buffer_ch.
43309 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43310 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43311 * stdio-common/Makefile (tests): Remove bug15.
43312 (bug15-ENV): Remove macro.
43313 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43314 anymore.
43315
d8e272ab
AJ
433162012-05-19 Andreas Jaeger <aj@suse.de>
43317 Roland McGrath <roland@hack.frob.com>
43318
43319 * manual/contrib.texi: Completely rewritten. It contains now an
43320 alphabetical list of contributors and their contributions.
43321
4a56a162
RH
433222012-05-21 Richard Henderson <rth@twiddle.net>
43323
43324 * misc/getauxval.c (__getauxval): Use unsigned long int.
43325 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43326 (getauxval): Use unsigned long int.
43327
d024d23c
L
433282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43329
43330 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43331
cbc00a03
RM
433322012-05-21 Roland McGrath <roland@hack.frob.com>
43333
43334 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43335 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43336 __alignof__ (long double).
43337
478143fa
AZ
433382012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43339
43340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43341
c7683a6d
RH
433422012-05-20 Richard Henderson <rth@twiddle.net>
43343
43344 * misc/getauxval.c: New file.
43345 * misc/sys/auxv.h: New file.
43346 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43347 (routines): Add getauxval.
43348 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43349 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43350 * elf/dl-sysdep.c (_dl_auxv): Remove.
43351 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43352 * elf/dl-support.c (_dl_auxv): New variable.
43353 (_dl_aux_init): Initialize it.
43354 * manual/startup.texi (Auxiliary Vector): New node.
43355 * sysdeps/generic/bits/hwcap.h: New file.
43356 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43357 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43358 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43359 * sysdeps/sparc/sysdep.h: ... here. Include it.
43360 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43361 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
43362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43363 Update.
c7683a6d
RH
43364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43367 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43372
a6f1845d
AZ
433732012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43374
43375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43376
cbcbe830
DM
433772012-05-19 David S. Miller <davem@davemloft.net>
43378
43379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43380
e0b16cc2
JM
433812012-05-19 Joseph Myers <joseph@codesourcery.com>
43382
43383 [BZ #14123]
43384 * math/s_ccosh.c: Include <float.h>
43385 (__ccosh): Avoid internal overflow calculating sinh and cosh
43386 values before multiplying by sin and cos values.
43387 * math/s_ccoshf.c: Likewise.
43388 * math/s_ccoshl.c: Likewise.
43389 * math/s_csin.c: Likewise.
43390 * math/s_csinf.c: Likewise.
43391 * math/s_csinl.c: Likewise.
43392 * math/s_csinh.c: Likewise.
43393 * math/s_csinhf.c: Likewise.
43394 * math/s_csinhl.c: Likewise.
43395 * math/libm-test.inc (ccos_test): Add more tests.
43396 (ccosh_test): Likewise.
43397 (csin_test): Likewise.
43398 (csinh_test): Likewise.
43399 * sysdeps/i386/fpu/libm-test-ulps: Update.
43400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43401
6ad13e08
L
434022012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43403
f66f0ce8
L
43404 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43405 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43406
6ad13e08
L
43407 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43408
b1d072a7
JM
434092012-05-19 Joseph Myers <joseph@codesourcery.com>
43410
43411 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43412 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43413 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43414 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43415 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43416 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43417 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43418 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43419 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43420 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43421 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43422 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43423 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43424 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43425 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43426 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43427 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43428 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43429 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43430 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43431 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43432 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43433 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43434 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43435 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43436 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43437 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43438 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43439 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43440 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43441 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43442
9eae47cb
AJ
434432012-05-18 Andreas Jaeger <aj@suse.de>
43444
43445 * csu/.gitignore: Delete.
43446
bb07f69f
L
434472012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43448
43449 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43450 (timex): Use __syscall_slong_t.
43451
e6bdb741
AJ
434522012-05-18 Andreas Jaeger <aj@suse.de>
43453 Carlos O'Donell <carlos_odonell@mentor.com>
43454
43455 * manual/install.texi (Configuring and compiling): Update
43456 description about files modified in the source directory.
d6c33fda 43457 * INSTALL: Regenerated.
e6bdb741 43458
1b74487e
L
434592012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43460
43461 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43462 value. Use "or" to set return value to -1.
43463 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43464 negate return value.
43465
a88b64b9
TMQMF
434662012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43467
57f41c40
AS
43468 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43469 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
43470 failure if the compiler has Graphite support disabled.
43471 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43472 Likewise.
57f41c40
AS
43473 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43474 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
43475 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43476 Likewise.
43477
3707636e
L
434782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43479
610b8622
L
43480 * sysdeps/x86_64/x32/_itoa.h: New file.
43481
7cd195df
L
43482 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43483 getdents system call only if kernel and user dirents have the
43484 same d_ino and d_off.
43485
94b07d20
L
43486 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43487 LLONG_MAX != LONG_MAX.
43488 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43489 (_fitoa_word): Likewise.
43490
18298070
L
43491 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43492 years.
43493 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43494 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43495 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43496
553c7ea4
L
43497 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43498 include <bits/wordsize.h>. Check __x86_64__ instead of
43499 __WORDSIZE.
43500 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43501 if __x86_64__ is defined. Use anonymous union on fpstate.
43502
3707636e
L
43503 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43504 anonymous union.
43505
b53ef01a
AS
435062012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43507
37fb1dc0
AS
43508 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43509 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43510 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43511 Refer to _rtld_local_ro instead of _rtld_global_ro.
43512 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43513 Likewise.
43514 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43515 Likewise.
43516 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43517 Likewise.
43518 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43519 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43520 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43521
b53ef01a
AS
43522 * sysdeps/powerpc/powerpc32/dl-machine.c
43523 (__elf_machine_runtime_setup) [PROF]: Don't reference
43524 _dl_prof_resolve.
43525
7a185db2
AJ
435262012-05-18 Andreas Jaeger <aj@suse.de>
43527
43528 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43529 function only available for GCCs before 3.4 since GCC 3.4
43530 introduced a builtin.
43531 (lrint): Likewise.
43532 (llrintf): Likewise.
43533 (llrint): Likewise.
43534 (fmaxf): Likewise.
43535 (fmax): Likewise.
43536 (fminf): Likewise.
43537 (fmin): Likewise.
43538 (rint): Likewise.
43539 (rintf): Likewise.
43540 (nearbyint): Likewise.
43541 (nearbyintf): Likewise.
43542 (ceil): Likewise.
43543 (ceilf): Likewise.
43544 (floor): Likewise.
43545 (floorf): Likewise.
43546
3e5aef87
L
435472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43548
428bd707
L
43549 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43550 on both fields and cast pointer to __syscall_ulong_t.
43551
3e5aef87
L
43552 * bits/types.h (__fsword_t): New type.
43553 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43554 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43555 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43556 (__FSWORD_T_TYPE): Likewise.
43557 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43558 (__FSWORD_T_TYPE): Likewise.
43559 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43560 (__FSWORD_T_TYPE): Likewise.
43561 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43562 (__FSWORD_T_TYPE): Likewise.
43563 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43564 __SWORD_TYPE with __fsword_t.
43565 (statfs64): Likewise.
43566
1ba7c3dc
DM
435672012-05-17 David S. Miller <davem@davemloft.net>
43568
43569 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43570
59910343
AJ
435712012-05-17 Andreas Jaeger <aj@suse.de>
43572
43573 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43574 warning.
43575
2e4c1e9e
L
435762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43577
43578 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43579
de7f5ce7
AJ
435802012-05-17 Andreas Jaeger <aj@suse.de>
43581
43582 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43583 when it is used.
43584
286abc3d
CM
435852012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43586
43587 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43588
477cc68e
L
435892012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43590
43591 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43592 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43593
1a0994f5
CD
435942012-05-17 Andreas Jaeger <aj@suse.de>
43595 Carlos O'Donell <carlos_odonell@mentor.com>
43596
43597 [BZ #14059]
43598 * sysdeps/x86_64/multiarch/init-arch.h
43599 (bit_YMM_Usable): Rename to...
43600 (bit_AVX_Usable): ... this.
43601 (bit_FMA4_Usable): New macro.
43602 (bit_XMM_state): New macro.
43603 (bit_YMM_state): New macro.
43604 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43605 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43606 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43607 (CPUID_OSXSAVE): New macro.
43608 (CPUID_AVX): New macro.
43609 (CPUID_FMA4): New macro.
43610 (index_YMM_Usable): Rename to...
43611 (index_AVX_Usable): ... this.
43612 (HAS_AVX): Use HAS_ARCH_FEATURE.
43613 (HAS_FMA4): Likewise.
43614 (HAS_YMM_USABLE): Remove.
43615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43616 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43617 are present.
43618 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43619 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43620 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43621 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43622 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43623
0af797de
CM
436242012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43625
43626 * math/libm-test.c: Support platforms without multiple rounding modes.
43627 * math/bug-nextafter.c: Support platforms without FP exceptions.
43628 * math/bug-nexttoward.c: Likewise.
43629 * math/test-fenv.c: Likewise.
43630 * math/test-misc.c: Likewise.
43631 * stdlib/bug-getcontext.c: Likewise.
43632
e39745ff
AJ
436332012-05-17 Andreas Jaeger <aj@suse.de>
43634
43635 * manual/examples/search.c (critter_cmp): Change signature to
43636 avoid warnings.
43637 * manual/string.texi (Collation Functions): Likewise.
43638
48970aba
L
436392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43640
43641 * bits/types.h: Fold copyright years.
43642 * bits/typesizes.h: Likewise.
43643 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43645 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43646 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43647 * time/time.h: Likewise.
43648
bedee953
PP
436492012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43650
43651 [BZ #208]
43652 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43653 in instead of returning them. Return void.
43654 (__libc_mallinfo): Accumulate over all arenas.
43655 (__malloc_stats): Adjust for change in int_mallinfo interface.
43656
61653dfb
RM
436572012-05-16 Roland McGrath <roland@hack.frob.com>
43658
30b99d79
RM
43659 [BZ #10375]
43660 * configure.in (NM): Add AC_CHECK_TOOL for it.
43661 (libc_extra_cflags): New substituted variable.
43662 Check for -fstack-protector being used implicitly.
43663 * configure: Regenerated.
43664 * config.make.in (config-extra-cflags): New variable,
43665 gets @libc_extra_cflags@.
43666 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43667
61653dfb
RM
43668 [BZ #10375]
43669 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43670 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43671 * configure: Regenerated.
43672 * config.make.in (CPPUNDEFS): New substituted variable.
43673 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43674 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43675 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43676
661768bb
L
436772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43678
43679 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43680 (mq_attr): Use __syscall_slong_t.
43681
d4261567
L
436822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43683
43684 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43685 Check __x86_64__ instead of __WORDSIZE.
43686 (_STAT_VER_LINUX): Likewise.
43687 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43688 __syscall_ulong_t and __syscall_slong_t.
43689 (stat64): Likewise.
43690
cf3ff365
L
436912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43692
43693 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43694
76cf3e4d
L
436952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43696
43697 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43698
a637753a
L
436992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43700
43701 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43702 __syscall_ulong_t.
43703
d5e05119
L
43704 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43705 include <bits/wordsize.h>. Check __x86_64__ instead of
43706 __WORDSIZE.
43707 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43708 defined.
43709 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43710
f62ee380
L
43711 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43712 include <bits/wordsize.h>. Check __x86_64__ instead of
43713 __WORDSIZE.
43714 (user_regs_struct): Use "__extension__ unsigned long long"
43715 instead of "unsigned long" if __x86_64__ is defined.
43716 (user): Likewise. Pad after pointer field if __ILP32__ is
43717 defined.
43718
4e124ced
JM
437192012-05-16 Joseph Myers <joseph@codesourcery.com>
43720
6a3951a0
JM
43721 * configure.in (makeinfo): Require version 4.5 or later. Allow
43722 versions 5 to 9.
43723 * configure: Regenerated.
43724 * manual/install.texi (texinfo): Increase version requirement to
43725 4.5 or later.
43726 * INSTALL: Regenerated.
43727
4e124ced
JM
43728 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43729
953ca31a
L
437302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43731
43732 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43733
617aca05
L
43734 * sysdeps/x86_64/x32/ffs.c: New file.
43735
5762f7ae
L
43736 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43737 __syscall_ulong_t.
43738 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43739 defined. Use __syscall_ulong_t.
43740 (shminfo): Use __syscall_ulong_t.
43741 (shm_info): Likewise.
43742
a26b6856
L
43743 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43744 __syscall_ulong_t.
43745
cb2b9ef7
L
43746 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43747 <bits/wordsize.h>.
43748 (msgqnum_t): Use __syscall_ulong_t.
43749 (msglen_t): Likewise.
43750 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43751 __syscall_ulong_t.
43752
34683bb0
L
43753 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43754 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43755
84a68786
L
43756 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43757
48baa5f1
L
43758 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43759 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43760
180be88b
L
43761 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43762 __syscall_slong_t.
43763
5e90c8ad
L
43764 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43765 include <bits/wordsize.h>. Check __x86_64__ instead of
43766 __WORDSIZE.
43767
23dfb58b
L
43768 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43769 "unsigned long long int" if __x86_64__ is defined.
43770 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43771
ce5d54b0
L
43772 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43773 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43774 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43775
13dc9eac
L
43776 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43777 <stdint.h>.
43778 (GET_PC): Cast to uintptr_t first.
43779 (GET_FRAME): Likewise.
43780 (GET_STACK): Likewise.
43781
a7895d15
L
43782 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43783 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43784 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43785 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43786 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43787 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43788 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43789 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43790 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43791 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43792 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43793 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43794 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43795 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43796 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43797 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43798 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43799 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43800 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43801 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43802 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43803 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43804 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43805 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43806 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43807 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43808 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43809 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43810 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43811
656416c9
AS
438122012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43813
5bd66283
AS
43814 * Makerules (+depfiles): Also collect depfiles from .oS in
43815 $(extra-objs).
43816 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43817 .oS, $(libnldbl-routines)).
43818
656416c9
AS
43819 * Makerules (native-compile-mkdep-flags): Define.
43820 * sunrpc/Makefile (extra-objs): Add $(addprefix
43821 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43822 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43823 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43824 calling $(make-target-directory).
43825
a46f2169
L
438262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43827
43828 * bits/types.h (__snseconds_t): Removed.
43829 * time/time.h (struct timespec): Replace __snseconds_t with
43830 __syscall_slong_t.
43831 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43832 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43833 Likewise.
43834 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43835 (__SNSECONDS_T_TYPE): Likewise.
43836 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43837 (__SNSECONDS_T_TYPE): Likewise.
43838 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43839 (__SNSECONDS_T_TYPE): Likewise.
43840
6af6528b
L
438412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43842
43843 * sysdeps/mach/hurd/bits/typesizes.h
43844 (__SYSCALL_SLONG_TYPE): New macro.
43845 (__SYSCALL_ULONG_TYPE): Likewise.
43846
de986b56
L
438472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43848
43849 * bits/types.h (__syscall_slong_t): New type.
43850 (__syscall_ulong_t): Likewise.
43851
43852 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43853 (__SYSCALL_ULONG_TYPE): Likewise.
43854 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43855 (__SYSCALL_SLONG_TYPE): Likewise.
43856 (__SYSCALL_ULONG_TYPE): Likewise.
43857 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43858 (__SYSCALL_SLONG_TYPE): Likewise.
43859 (__SYSCALL_ULONG_TYPE): Likewise.
43860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43861 (__SYSCALL_SLONG_TYPE): Likewise.
43862 (__SYSCALL_ULONG_TYPE): Likewise.
43863
85736dc7
L
438642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43865
43866 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43867 Add sigaltstack-offsets.sym.
43868 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43869 <sigaltstack-offsets.h>.
43870 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43871 longjmp_msg pointer.
43872 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43873 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43874 signal stack.
43875 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43876
cc03b296
JM
438772012-05-15 Joseph Myers <joseph@codesourcery.com>
43878
a9538892
JM
43879 * elf/stackguard-macros.h: Remove file.
43880 * sysdeps/generic/stackguard-macros.h: New file.
43881 * sysdeps/i386/stackguard-macros.h: Likewise.
43882 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43883 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43884 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43885 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43886 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43887 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43888 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43889 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43890 <elf/stackguard-macros.h>.
43891
cc03b296
JM
43892 [BZ #14109]
43893 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43894 __aligned__ in attribute.
43895 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43896 (gregset_t): Likewise.
43897
93171016
L
438982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43899
43900 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43901 * sysdeps/x86_64/64/Implies-after: Here. New file.
43902 * sysdeps/x86_64/x32/Implies-after: New file.
43903
d86813a0
L
439042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43905
43906 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43907 and access return value for _dl_profile_fixup. Use R10_LP to
43908 load frame size.
43909
2953ec75
L
439102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43911
43912 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43913
3b550e9e
L
439142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43915
43916 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43917 * sysdeps/x86_64/x32/sysdep.h: New file.
43918
eda41706
L
439192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43920
43921 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43922 * sysdeps/x86_64/setjmp.S: Likewise.
43923
9ea01d93
AZ
439242012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43925
43926 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43927 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43928 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43929 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43930 remove unused global constant.
43931
02a91938
CM
439322012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43933
43934 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43935 include of <not-cancel.h>.
43936
6540185f
RM
439372012-05-15 Roland McGrath <roland@hack.frob.com>
43938
43939 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43940
509072a0
AJ
439412012-05-15 Jeff Law <law@redhat.com>
43942 Andreas Jaeger <aj@suse.de>
43943
43944 [BZ #13594]
43945 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43946 out from...
43947 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43948 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43949 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43950 code changing __hst_map_handle.map.
43951
ba75122d
RM
439522012-05-15 Roland McGrath <roland@hack.frob.com>
43953
43954 * configure.in (sysnames): Look for Implies-before and Implies-after
43955 files.
43956 * configure: Regenerated.
43957
890d8bd8
L
439582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43959
43960 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43961 8-byte data alignment with LP_SIZE alignment.
43962
f6ee6623
L
439632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43964
43965 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43966 into R10_LP.
43967
ea2626f6
L
439682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43969
43970 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43971
085f715e
L
439722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43973
43974 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43975 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43976 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43977 Likewise.
43978 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43979
be8498fc
L
439802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43981
43982 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43983 (stackinfo_sub_sp): Likewise.
43984
70bc83b9
L
439852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43986
43987 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43988 RAX_LP.
43989
9bc0b730
L
439902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43991
43992 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43993 into R*_LP.
43994
6d2850e7
L
439952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43996
43997 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43998 sizes into R*_LP.
43999
3cb84561
L
440002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44001
44002 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44003
54e2ed81
L
440042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44005
44006 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44007 into R11_LP and load __x86_64_shared_cache_size_half into
44008 R8_LP.
44009
8a17f349
L
440102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44011
44012 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44013 R8_LP.
44014
777b1eea
AZ
440152012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44016
44017 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44018 logb for POWER7.
44019 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44020 logbf for POWER7.
44021 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44022 logbl for POWER7.
44023 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44024 powerpc32/power7/fpu/s_logb.c via #include.
44025 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44026 powerpc32/power7/fpu/s_logbf.c via #include.
44027 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44028 powerpc32/power7/fpu/s_logbl.c via #include.
44029
d20d4ac2
JM
440302012-05-15 Joseph Myers <joseph@codesourcery.com>
44031
44032 * README.libm: Remove file.
44033
6cdef1ab
L
440342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44035
44036 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44037 count for x32. Use R*_LP and omit operand-size suffix.
44038
0b254d8f
L
440392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44040
44041 * shlib-versions: Move x86_64-.*-linux.* entries to ...
44042 * sysdeps/x86_64/64/shlib-versions: Here. New file.
44043 * sysdeps/x86_64/x32/shlib-versions: New file.
44044
ceb809dc
RM
440452012-05-14 Roland McGrath <roland@hack.frob.com>
44046
44047 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44048 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44049 Use _dl_fatal_printf instead.
44050
37f1abd4
JM
440512012-05-14 Joseph Myers <joseph@codesourcery.com>
44052
44053 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44054 set if not set by the user. Do not allow for being unset.
44055 * sysdeps/unix/sysv/linux/configure: Regenerated.
44056
11de3a33
L
440572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44058
44059 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44060 the `q' suffix from lea and replace .quad with ASM_ADDR.
44061
e02f153a
L
440622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44063
44064 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44065 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
44066 instead of $17.
44067 (PTR_DEMANGLE): Likewise.
44068
520ae0fd
L
440692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44070
44071 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44072 (LP_OP): Likewise.
44073 (ASM_ADDR): Likewise.
44074 (RAX_LP): Likewise.
44075 (RBP_LP): Likewise.
44076 (RBX_LP): Likewise.
44077 (RCX_LP): Likewise.
44078 (RDI_LP): Likewise.
44079 (RSI_LP): Likewise.
44080 (RSP_LP): Likewise.
44081 (R8_LP): Likewise.
44082 (R9_LP): Likewise.
44083 (R10_LP): Likewise.
44084 (R10_LP): Likewise.
44085 (R11_LP): Likewise.
44086 (R12_LP): Likewise.
44087 (R13_LP): Likewise.
44088 (R14_LP): Likewise.
44089 (R15_LP): Likewise.
44090
b985be81
L
440912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44092
44093 * sysdeps/x86_64/x32/dl-machine.h: New file.
44094
6a4888ff
AJ
440952012-05-14 Andreas Jaeger <aj@suse.de>
44096
44097 * manual/Makefile (subdir): Remove export of subdir.
44098 (all): Remove target.
44099 (.PHONY): Remove all from list.
44100 (mkinstalldirs): Remove.
44101 (.PHONY): Remove installdirs from list.
44102 ($(inst_infodir)/libc.info): Use make-target-directory.
44103 (installdirs): Remove.
44104 (subdir_%): Remove.
44105 (glibc-targets): Remove.
44106 (lib): Remove.
44107 (stubs): Remove.
44108 ($(objpfx)stubs ../po/manual.pot): Remove.
44109 ($(objpfx)stamp%): Remove.
44110 (make-target-directory): Remove.
44111 (subdir_install): Remove.
44112 (routines): Remove.
44113 (aux): Remove.
44114 (sources): Remove.
44115 (objects): Remove.
44116 (headers): Remove.
44117
44118 [BZ #13750]
44119 * manual/.gitignore: Remove, it's not needed anymore.
44120 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44121 all files in it.
44122 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44123 directory.
44124 (texis): Renamed to $(objpfx)texis.
44125 (texis-path): New, contains path to generated files.
44126 (chapters.%): Use texis-path for complete path, add extra argument
44127 libc-texinfo.sh.
44128 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44129 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44130 (summary,texi, stamp-summary): Use complete path of
44131 files. Generate files in build dir.
44132 (dir-add.texi): Build in build dir.
44133 (libm-err.texi,stamp-libm-err): Likewise.
44134 (version.texi, stamp-version): Likewise.
44135 (.%c.texi): Likewise.
44136 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44137 (mostlyclean): Remove target.
44138 (realclean): Remove target.
44139 (generated): Add new variable with contents from mostlyclean and
44140 realclean, remove entries duplicated in common-mostlyclean, add
44141 stamp-libm-err and stamp-version.
44142 (generated-dirs): Add libc directory.
44143 ($(inst_infodir)/libc.info): Install files from build dir.
44144
44145 * manual/install.texi (Configuring and compiling): Adjust since
44146 the info files are not part of the tar ball anymore.
44147
7ac77294
AJ
441482012-05-14 Andreas Jaeger <aj@suse.de>
44149
44150 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44151 variable.
44152
ffb7875d
JM
441532012-05-14 Joseph Myers <joseph@codesourcery.com>
44154
44155 [BZ #13717]
44156 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44157 to 2.2.0 where earlier.
44158 * sysdeps/unix/sysv/linux/configure: Regenerated.
44159 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44160 Remove conditional code.
44161 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44162 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44163 Remove conditional code.
44164 [!__NR_lchown]: Likewise.
44165 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44166 [__NR_lchown]: Likewise.
44167 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44168 comment referencing __ASSUME_LCHOWN_SYSCALL.
44169 * sysdeps/unix/sysv/linux/i386/sigaction.c
44170 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44171 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44172 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44173 Remove conditional code.
44174 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44175 (__protocol_available): Remove #if 0 code.
44176 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44177 conditional code.
44178 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44179 * sysdeps/unix/sysv/linux/kernel-features.h
44180 (__ASSUME_GETCWD_SYSCALL): Don't define.
44181 (__ASSUME_REALTIME_SIGNALS): Likewise.
44182 (__ASSUME_PREAD_SYSCALL): Likewise.
44183 (__ASSUME_PWRITE_SYSCALL): Likewise.
44184 (__ASSUME_POLL_SYSCALL): Likewise.
44185 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44186 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44187 non-SPARC.
44188 (__ASSUME_SIOCGIFNAME): Don't define.
44189 (__ASSUME_MSG_NOSIGNAL): Likewise.
44190 (__ASSUME_SENDFILE): Define unconditionally.
44191 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44192 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44193 conditional code.
44194 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44195 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44196 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44197 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44198 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44199 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44200 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44202 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44203 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44205 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44206 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44208 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44209 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44211 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44212 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44214 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44215 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44217 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44220 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44223 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44225 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44226 Remove conditional code.
44227 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44228 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44229 Remove conditional code.
44230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44231 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44232 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44233 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44234 Remove conditional code.
44235 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44236 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44237 Remove conditional code.
44238 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44239 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44240 Remove conditional code.
44241 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44242 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44243 Remove conditional code.
44244 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44245 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44246 Remove conditional code.
44247 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44248 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44249 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44251 * sysdeps/unix/sysv/linux/sigaction.c
44252 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44253 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44254 * sysdeps/unix/sysv/linux/sigpending.c
44255 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44256 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44257 * sysdeps/unix/sysv/linux/sigprocmask.c
44258 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44259 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44260 * sysdeps/unix/sysv/linux/sigsuspend.c
44261 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44262 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44263 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44264 (__libc_missing_rt_sigs): Remove.
44265 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44266 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44267 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44268 Remove conditional code.
44269 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44270 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44271 return 1.
44272 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44273 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44274 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44275 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44276
1bfb7291
AJ
442772012-05-14 Andreas Jaeger <aj@suse.de>
44278
caae5a81
AJ
44279 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44280 it's not used in glibc.
44281 (__coshm1): Likewise.
44282 (__acosh1p): Likewise.
44283 (__sgn): Likewise.
44284
1bfb7291
AJ
44285 * manual/string.texi (Copying and Concatenation): Add missing
44286 variable in concat example.
44287 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44288
c044d724
L
442892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44290
144c5467 44291 [BZ #14103]
c044d724
L
44292 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44293 __builtin_clzl with __builtin_clzll.
44294
2523c62b
L
442952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44296
44297 [BZ #14104]
44298 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44299 libc_freeres_ptr.
44300
d7bb4c42
LD
443012012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44302
44303 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44304 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44305 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44306 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44307
9dc4e1fb
MF
443082012-05-14 Mike Frysinger <vapier@gentoo.org>
44309
44310 * NEWS: Update ia64 info.
44311
c7df0112
AS
443122012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44313
44314 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44315 used as bcopy.
44316
dc70356c
TS
443172012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44318
44319 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44320 * sysdeps/unix/syscalls.list (dup3): Likewise.
44321 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44322 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44323
9fb1a21f
L
443242012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44325
44326 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44327 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44328
4822a2a5
L
443292012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44330
44331 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44332 thread pointer.
44333 (TLS_IE): Use mov/add instead of movq/addq to load thread
44334 pointer.
44335 (TLS_GD_PREFIX): New.
44336 (TLS_GD): Use it.
44337
842b81d6
DM
443382012-05-11 David S. Miller <davem@davemloft.net>
44339
44340 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44341 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44342 (_FPU_SETCW): Likewise.
44343
1cf463cd
L
443442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44345
44346 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44347 is 32-byte aligned.
44348
60cc4a18
AS
443492012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44350
44351 [BZ #11837]
44352 * iconvdata/gb18030.c: Update tables.
44353 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44354 characters specially.
44355 (BODY for TO_LOOP): Add encoding of missing ranges.
44356
febb44a4
TS
443572012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44358
44359 [BZ #13673]
44360 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44361 * sysdeps/mach/hurd/dup3.c: Likewise.
44362 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44363 * sysdeps/powerpc/memmove.c:: Likewise.
44364
0a10fb9e
L
443652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44366
44367 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44368 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44369
df8a552f
L
443702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44371
44372 * elf/elf.h (R_X86_64_RELATIVE64): New.
44373 (R_X86_64_NUM): Updated.
44374 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44375 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44376 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44377 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44378 tst-quad1pie tst-quad2pie
44379 (modules-names): Add tst-quadmod1 tst-quadmod2.
44380 ($(objpfx)tst-quad1): New dependency.
44381 ($(objpfx)tst-quad2): Likewise.
44382 ($(objpfx)tst-quad1pie): Likewise.
44383 ($(objpfx)tst-quad2pie): Likewise.
44384 * sysdeps/x86_64/tst-quad1.c: New file.
44385 * sysdeps/x86_64/tst-quad1pie.c: New file.
44386 * sysdeps/x86_64/tst-quad2.c: Likewise.
44387 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44388 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44389 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44390 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44391 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44392
f34d6f84
ST
443932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44394
f42d41d1
ST
44395 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44396 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44397 * streams/stropts.h (t_scalar_t): Define type.
44398
3c3571fc
ST
44399 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44400 (_PATH_PRESERVE): Set to "/var/lib".
44401 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44402
61f06bd3
ST
44403 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44404 instead of int.
44405
918d4d71
ST
44406 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44407 if __dir_mkfile succeeded.
44408
f34d6f84
ST
44409 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44410 checking for _hurd_dtablesize. Unlock it right after having
44411 finished _hurd_dtable allocation.
44412
10589b4a
TS
444132012-05-10 Thomas Schwinge <thomas@schwinge.name>
44414
674cdbc7
TS
44415 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44416 * sysdeps/mach/hurd/configure: Regenerated.
44417 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44418 special-casing to...
44419 * sysdeps/gnu/configure.in: ... this new file.
44420 * sysdeps/unix/sysv/linux/configure: Regenerated.
44421 * sysdeps/gnu/configure: New generated file.
44422
8e41b99f
TS
44423 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44424 for Linux: use nsec instead of usec, as well as:
44425 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44426 members of type struct timespec.
44427 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44428 New macros.
44429 (struct stat64): Likewise.
44430 (_STATBUF_ST_NSEC): New macro.
44431 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44432
10589b4a
TS
44433 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44434 __strtoul_internal rather than strtoul.
44435
63643c85
PT
444362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44437
44438 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44439 and reject them.
44440
3faebe6a
ST
444412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44442
44443 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44444 which preserves existing values.
44445 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44446
c6474b07
PT
444472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44448
44449 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44450 TIMEOUT values. Return EINVAL for NFDS values either negative or
44451 greater than FD_SETSIZE.
44452
1043890b
ST
444532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44454
44455 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44456 allocated, call __vm_protect to finish enabling the existing space, and
44457 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44458 allocate the remainder.
44459
37ed8b9b
PT
444602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44461
44462 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44463 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44464
db653660
ST
444652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44466
37ed8b9b
PT
44467 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44468 sysdeps/mach/hurd/readlink.c.
b29d4053 44469
db653660
ST
44470 * posix/tst-sysconf.c (posix_options): Only use
44471 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44472 _POSIX_SYNCHRONIZED_IO when they are defined
44473 * sysdeps/mach/hurd/bits/posix_opt.h:
44474 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44475 (_XOPEN_REALTIME): Undefine macro.
44476 (_XOPEN_REALTIME_THREADS): Undefine macro.
44477 (_XOPEN_SHM): Undefine macro.
44478 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44479 macro to -1.
44480 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44481 macro to -1.
44482 (_POSIX_ASYNC_IO): Undefine macro.
44483 (_POSIX_PRIORITIZED_IO): Undefine macro.
44484 (_POSIX_SPIN_LOCKS): Define macro to -1.
44485
ee16e894
ST
44486 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44487 SA_NODEFER, SA_RESETHAND.
44488 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44489 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44490 F_DUPFD_CLOEXEC.
44491
6103ae3b
TS
444922012-05-10 Thomas Schwinge <thomas@schwinge.name>
44493
44494 * elf/Makefile (pldd-modules): Define unconditionally.
44495
80b4e5f3
TS
444962012-05-10 Thomas Schwinge <thomas@schwinge.name>
44497
44498 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44499
edadcbd6
ST
445002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44501
44502 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44503 Return ENOENT when name is empty.
44504 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44505
80694780
TS
445062012-05-10 Thomas Schwinge <thomas@schwinge.name>
44507
1792c087
TS
44508 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44509
80694780
TS
44510 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44511
6b645f0d
ST
445122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44513
80694780
TS
44514 Fix mlock in all cases except non-readable pages.
44515 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44516 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 44517
6b645f0d
ST
44518 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44519 (__mkdir): When path is `/', just fail with EEXIST.
44520 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44521
e468f8a3
TS
445222012-05-10 Thomas Schwinge <thomas@schwinge.name>
44523
44524 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44525 <sys/uio.h> (for writev).
44526 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44527 and <sys/param.h> (for MIN).
44528
a4186cff
PT
445292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44530
44531 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44532 REQUESTED_TIME. Properly set the remaining time and return EINTR
44533 if interrupted.
44534
510bbf14
TS
445352012-05-10 Thomas Schwinge <thomas@schwinge.name>
44536
44537 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44538 Depend on against $(link-rpcuserlibs).
44539
5d5722e8
ST
445402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44541
a4186cff
PT
44542 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44543 (__libc_stack_end): Do not use attribute_relro.
44544 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44545 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 44546 to libthread-provided value.
a4186cff
PT
44547 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44548 attribute_relro.
5d5722e8 44549
37233df9
TS
445502012-05-10 Thomas Schwinge <thomas@schwinge.name>
44551
be971a2b
TS
44552 [BZ #3748]
44553 * bits/libc-lock.h (__libc_once_get): New macro.
44554 * sysdeps/mach/bits/libc-lock.h: Likewise.
44555 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44556 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44557 instead of using implementation details.
44558
37233df9
TS
44559 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44560 * libio/freopen.c: Likewise.
44561 * libio/freopen64.c: Likewise.
44562 * misc/syslog.c: Likewise.
44563 * nscd/connections.c: Likewise.
44564 * nscd/netgroupcache.c: Likewise.
44565 * sysdeps/posix/getcwd.c: Likewise.
44566
38de94a5
RM
445672012-05-10 Roland McGrath <roland@hack.frob.com>
44568
44569 * math/w_ilogbf.c: Add #include <limits.h>.
44570
67530489
ST
445712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44572
a4186cff 44573 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
44574 path instead of returning without unlocking.
44575
67530489
ST
44576 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44577 immediate-write ioctls.
44578 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44579
5aa3a74a
TS
445802012-05-10 Thomas Schwinge <thomas@schwinge.name>
44581
18bad2ae
TS
44582 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44583 __builtin_frame_address instead of making assumptions about the
44584 location of the return address relative to DATA. Force early load of
44585 the return address.
44586 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44587 __builtin_frame_address.
44588
5aa3a74a
TS
44589 dup3 for GNU Hurd.
44590 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44591 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44592 implement dup3 and do some further code clean-ups.
44593 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44594 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44595
ecd0de9a
ST
445962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44597
cd9fa985
ST
44598 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44599
a4186cff
PT
44600 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44601 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44602 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44603 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44604 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44605 d->port.lock.
802ca5a5 44606
a4186cff
PT
44607 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44608 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44609 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 44610
bcf55240
TS
446112012-05-10 Thomas Schwinge <thomas@schwinge.name>
44612
6960eb42
TS
44613 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44614 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44615 definitions.
44616
eb43375f
TS
44617 accept4 for GNU Hurd.
44618 * include/sys/socket.h (__libc_accept4): New prototype.
44619 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44620 to implement __libc_accept4.
44621 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44622 __libc_accept4.
44623 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44624
bcf55240
TS
44625 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44626 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44627 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44628 signal-defines.sym.
44629
6178c55b
ST
446302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44631
a4186cff 44632 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 44633
6f080c2f
TS
446342012-05-10 Thomas Schwinge <thomas@schwinge.name>
44635
44636 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44637 assertion on O_CLOEXEC flag.
44638 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44639 * hurd/intern-fd.c: Likewise.
44640 * hurd/port2fd.c: Likewise.
44641
bcfe3a54
ST
446422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44643
44644 [BZ #3906]
44645 * bits/in.h (IPV6_PKTINFO): Define new macro.
44646 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44647
89c9aa49
AZ
446482012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44649
44650 [BZ #13954]
44651 [BZ #13955]
44652 [BZ #13956]
44653 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44654 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44655 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44656 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44657 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44658 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44659 * math/libm-test.inc (logb_test) : Additional logb tests.
44660
021db4be
AJ
446612012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44662 Andreas Jaeger <aj@suse.de>
44663
44664 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44665 * configure: Regenerated.
44666 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44667 * config.make.in (link-obsolete-rpc): New substituted variable.
44668 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44669 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44670 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44671 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44672 so that libc.a contains the symbols.
44673 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44674 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44675 * sunrpc/auth_none.c: Likewise.
44676 * sunrpc/auth_unix.c: Likewise.
44677 * sunrpc/authdes_prot.c: Likewise.
44678 * sunrpc/authuxprot.c: Likewise.
44679 * sunrpc/clnt_gen.c: Likewise.
44680 * sunrpc/clnt_perr.c: Likewise.
44681 * sunrpc/clnt_raw.c: Likewise.
44682 * sunrpc/clnt_simp.c: Likewise.
44683 * sunrpc/clnt_tcp.c: Likewise.
44684 * sunrpc/clnt_udp.c: Likewise.
44685 * sunrpc/clnt_unix.c: Likewise.
44686 * sunrpc/des_crypt.c: Likewise.
44687 * sunrpc/des_soft.c: Likewise.
44688 * sunrpc/get_myaddr.c: Likewise.
44689 * sunrpc/key_call.c: Likewise.
44690 * sunrpc/key_prot.c: Likewise.
44691 * sunrpc/netname.c: Likewise.
44692 * sunrpc/pm_getmaps.c: Likewise.
44693 * sunrpc/pm_getport.c: Likewise.
44694 * sunrpc/pmap_clnt.c: Likewise.
44695 * sunrpc/pmap_prot.c: Likewise.
44696 * sunrpc/pmap_prot2.c: Likewise.
44697 * sunrpc/pmap_rmt.c: Likewise.
44698 * sunrpc/publickey.c: Likewise.
44699 * sunrpc/rpc_cmsg.c: Likewise.
44700 * sunrpc/rpc_common.c: Likewise.
44701 * sunrpc/rpc_dtable.c: Likewise.
44702 * sunrpc/rpc_prot.c: Likewise.
44703 * sunrpc/rpc_thread.c: Likewise.
44704 * sunrpc/rtime.c: Likewise.
44705 * sunrpc/svc.c: Likewise.
44706 * sunrpc/svc_auth.c: Likewise.
44707 * sunrpc/svc_raw.c: Likewise.
44708 * sunrpc/svc_run.c: Likewise.
44709 * sunrpc/svc_tcp.c: Likewise.
44710 * sunrpc/svc_udp.c: Likewise.
44711 * sunrpc/svc_unix.c: Likewise.
44712 * sunrpc/svcauth_des.c: Likewise.
44713 * sunrpc/xcrypt.c: Likewise.
44714 * sunrpc/xdr.c: Likewise.
44715 * sunrpc/xdr_array.c: Likewise.
44716 * sunrpc/xdr_float.c: Likewise.
44717 * sunrpc/xdr_intXX_t.c: Likewise.
44718 * sunrpc/xdr_mem.c: Likewise.
44719 * sunrpc/xdr_rec.c: Likewise.
44720 * sunrpc/xdr_ref.c: Likewise.
44721 * sunrpc/xdr_sizeof.c: Likewise.
44722 * sunrpc/xdr_stdio.c: Likewise.
44723
b5c086a2
RM
447242012-05-10 Roland McGrath <roland@hack.frob.com>
44725
44726 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44727 change. Update copyright years.
44728
6d74dd09
JM
447292012-05-10 Joseph Myers <joseph@codesourcery.com>
44730
44731 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44732
28e72501
MK
447332012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44734 Joseph Myers <joseph@codesourcery.com>
44735 Paul Pluzhnikov <ppluzhnikov@google.com>
44736
44737 [BZ #14012]
44738 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44739 requiring rpcgen.
44740 [cross-compiling] (extra-libs): Likewise.
44741 [cross-compiling] (extra-libs-others): Likewise.
44742 [cross-compiling] (librpcsvc-routines): Likewise.
44743 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44744 [cross-compiling] (omit-deps): Likewise.
44745 (sunrpc-CPPFLAGS): New variable.
44746 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44747 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44748 (cross-rpcgen-objs): New variable.
44749 (extra-objs): Append $(cross-rpcgen-objs).
44750 ($(cross-rpcgen-objs)): New rule.
44751 ($(objpfx)cross-rpcgen): Likewise.
44752 (rpcgen-cmd): Define to use $(built-program-file). Expand
44753 comment.
44754 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44755 ($(objpfx)x%.stmp): Likewise.
44756 * sunrpc/proto.h [IS_IN_build] (_): Define.
44757 [IS_IN_build] (_libc_intl_domainname): Likewise.
44758
c8c59454
L
447592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44760
44761 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44762 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44763 and R_X86_64_TPOFF64.
44764
6f27cd16
JM
447652012-05-10 Joseph Myers <joseph@codesourcery.com>
44766
44767 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44768 sysdeps/unix/sysv/syscalls.list.
44769 (stime): Likewise.
44770 (utime): Likewise.
44771 * sysdeps/unix/sysv/syscalls.list: Remove file.
44772
02467e1c
PE
447732012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44774
44775 [BZ #3440]
44776 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44777 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44778 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44779 (__LC_IDENTIFICATION): Make these macros useful in #if
44780 expressions, as required by C99.
44781
da392631
AS
447822012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44783
44784 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44785 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44786 after this.
44787
8115f29b
L
447882012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44789
44790 * stdlib/longlong.h: Updated from GCC.
44791
bdd74070
AJ
447922012-05-09 Andreas Jaeger <aj@suse.de>
44793
edfe0dbe
AJ
44794 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44795 default is first entry.
44796 (run_mode): Set type.
44797 (main): Remove informal message about syslog.
44798 (options): Fix typo.
44799
bcfe3a54
ST
44800 [BZ #14053]
44801 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 44802 to asm.
bcfe3a54
ST
44803 (lrint): Likewise.
44804 (llrintf): Likewise.
44805 (llrint): Likewise.
44806 (rint): Likewise.
44807 (rintf): Likewise.
44808 (nearbyint): Likewise.
44809 (nearbyintf): Likewise.
bdd74070 44810
91d8d69e
AJ
448112012-05-09 Andreas Jaeger <aj@suse.de>
44812 Pedro Alves <palves@redhat.com>
44813
44814 * nscd/nscd.c (run_mode): Use enum.
44815 (main): Cleanup coding style issue.
44816
bb90b80b
AJ
448172012-05-09 Alexandre Oliva <aoliva@redhat.com>
44818 Andreas Jaeger <aj@suse.de>
44819
bcfe3a54
ST
44820 * nscd/nscd.c (go_background): Replaced with...
44821 (run_mode): ... this.
bb90b80b 44822 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
44823 (options): Add -F --foreground.
44824 (main): Implement it.
44825 (parse_opt): Parse it.
bb90b80b 44826
1a4b75a1
AJ
448272012-05-09 Andreas Jaeger <aj@suse.de>
44828
44829 [BZ #14083]
44830 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44831 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44832 -Wconversion warning.
44833 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44834 Likewise.
44835
b1cc2472
JM
448362012-05-09 Joseph Myers <joseph@codesourcery.com>
44837
44838 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44839 == 0.
44840 (LC_ALL): Use macro-int-constant.
44841 (LC_COLLATE): Likewise.
44842 (LC_CTYPE): Likewise.
44843 (LC_MESSAGES): Likewise.
44844 (LC_MONETARY): Likewise.
44845 (LC_NUMERIC): Likewise.
44846 (LC_TIME): Likewise.
44847 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44848 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44849 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44850 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44851 Specify type.
44852 [C99-based standards] (float_t): Expect type.
44853 [C99-based standards] (double_t): Expect type.
44854 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44855 type.
44856 [C99-based standards] (HUGE_VALL): Likewise.
44857 [C99-based standards] (INFINITY): Likewise.
44858 [C99-based standards] (NAN): Likewise.
44859 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44860 [C99-based standards] (FP_NAN): Likewise.
44861 [C99-based standards] (FP_NORMAL): Likewise.
44862 [C99-based standards] (FP_SUBNORMAL): Likewise.
44863 [C99-based standards] (FP_ZERO): Likewise.
44864 [C99-based standards] (FP_FAST_FMA): Use
44865 optional-macro-int-constant. Specify type. Require == 1.
44866 [C99-based standards] (FP_FAST_FMAF): Likewise.
44867 [C99-based standards] (FP_FAST_FMAL): Likewise.
44868 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44869 [C99-based standards] (FP_ILOGBNAN): Likewise.
44870 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44871 Specify type.
44872 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44873 [C99-based standards] (math_errhandling): Specify type.
44874 [ISO99 || ISO11] (signgam): Do not allow.
44875 [non-C99-based standards] (copysignf): Do not allow.
44876 [non-C99-based standards] (exp2f): Likewise.
44877 [non-C99-based standards] (log2f): Likewise.
44878 [non-C99-based standards] (modff): Allow.
44879 [non-C99-based standards] (erff): Do not allow.
44880 [non-C99-based standards] (erfcf): Likewise.
44881 [non-C99-based standards] (gammaf): Likewise.
44882 [non-C99-based standards] (hypotf): Likewise.
44883 [non-C99-based standards] (j0f): Likewise.
44884 [non-C99-based standards] (j1f): Likewise.
44885 [non-C99-based standards] (jnf): Likewise.
44886 [non-C99-based standards] (lgammaf): Likewise.
44887 [non-C99-based standards] (tgammaf): Likewise.
44888 [non-C99-based standards] (y0f): Likewise.
44889 [non-C99-based standards] (y1f): Likewise.
44890 [non-C99-based standards] (ynf): Likewise.
44891 [non-C99-based standards] (isnanf): Likewise.
44892 [non-C99-based standards] (acoshf): Likewise.
44893 [non-C99-based standards] (asinhf): Likewise.
44894 [non-C99-based standards] (atanhf): Likewise.
44895 [non-C99-based standards] (cbrtf): Likewise.
44896 [non-C99-based standards] (expm1f): Likewise.
44897 [non-C99-based standards] (ilogbf): Likewise.
44898 [non-C99-based standards] (log1pf): Likewise.
44899 [non-C99-based standards] (logbf): Likewise.
44900 [non-C99-based standards] (nextafterf): Likewise.
44901 [non-C99-based standards] (remainderf): Likewise.
44902 [non-C99-based standards] (rintf): Likewise.
44903 [non-C99-based standards] (scalbf): Likewise.
44904 [non-C99-based standards] (copysignl): Likewise.
44905 [non-C99-based standards] (exp2l): Likewise.
44906 [non-C99-based standards] (log2l): Likewise.
44907 [non-C99-based standards] (modfl): Allow.
44908 [non-C99-based standards] (erfl): Do not allow.
44909 [non-C99-based standards] (erfcl): Likewise.
44910 [non-C99-based standards] (gammal): Likewise.
44911 [non-C99-based standards] (hypotl): Likewise.
44912 [non-C99-based standards] (j0l): Likewise.
44913 [non-C99-based standards] (j1l): Likewise.
44914 [non-C99-based standards] (jnl): Likewise.
44915 [non-C99-based standards] (lgammal): Likewise.
44916 [non-C99-based standards] (tgammal): Likewise.
44917 [non-C99-based standards] (y0l): Likewise.
44918 [non-C99-based standards] (y1l): Likewise.
44919 [non-C99-based standards] (ynl): Likewise.
44920 [non-C99-based standards] (isnanl): Likewise.
44921 [non-C99-based standards] (acoshl): Likewise.
44922 [non-C99-based standards] (asinhl): Likewise.
44923 [non-C99-based standards] (atanhl): Likewise.
44924 [non-C99-based standards] (cbrtl): Likewise.
44925 [non-C99-based standards] (expm1l): Likewise.
44926 [non-C99-based standards] (ilogbl): Likewise.
44927 [non-C99-based standards] (log1pl): Likewise.
44928 [non-C99-based standards] (logbl): Likewise.
44929 [non-C99-based standards] (nextafterl): Likewise.
44930 [non-C99-based standards] (remainderl): Likewise.
44931 [non-C99-based standards] (rintl): Likewise.
44932 [non-C99-based standards] (scalbl): Likewise.
44933 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44934 [non-C99-based standards] (FP_*): Do not allow.
44935 [C99-based standards] (FP_*): Change to
44936 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44937 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44938 allow.
44939 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44940 (SIG_ERR): Likewise.
44941 [X/Open-based standards] (SIG_HOLD): Likewise.
44942 (SIG_IGN): Likewise.
44943 (SIGABRT): Use macro-int-constant. Specify type. Require
44944 positive value.
44945 (SIGFPE): Likewise.
44946 (SIGILL): Likewise.
44947 (SIGINT): Likewise.
44948 (SIGSEGV): Likewise.
44949 (SIGTER): Likewise.
44950 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44951 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44952 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44953 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44954 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44955 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44956 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44957 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44958 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44959 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44960 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44961 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44962 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44963 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44964 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44965 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44966 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44967 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44968 [X/Open-based standards] (SIGTRAP): Likewise.
44969 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44970 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44971 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44972 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44973 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44974 allow.
44975
b9f1922d
IW
449762012-05-08 Ian Wienand <ianw@vmware.com>
44977
44978 [BZ #14080]
44979 * time/tzset.c (__tzset_parse_tz): Update default rules for
44980 daylight time changes in the Energy Policy Act of 2005.
44981
1db86e88
AJ
449822012-05-09 Andreas Jaeger <aj@suse.de>
44983
44984 [BZ #13983]
44985 * elf/ldconfig.c (parse_conf): Change string to make clear that
44986 ldconfig only issued a warning if ld.so.conf does not exist.
44987
dee4a4e3
DM
449882012-05-08 David S. Miller <davem@davemloft.net>
44989
ee0db190
DM
44990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44991 movxtod instead of popping the value on the stack.
44992
dee4a4e3
DM
44993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44994
6a43ec98
CD
449952012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44996
44997 * config.h.in: Add HAVE_ARM_PCS_VFP.
44998
05c2c961
RMG
449992012-05-08 Roland Mc Grath <roland@hack.frob.com>
45000
bcfe3a54
ST
45001 [BZ #13979]
45002 * include/features.h: Warn if user requests __FORTIFY_SOURCE
45003 checking but the checks are disabled for any reason.
05c2c961 45004
4b30f61a
L
450052012-05-08 H.J. Lu <hongjiu.lu@intel.com>
45006
45007 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45008 and ELF64_R_TYPE with ELFW(R_TYPE).
45009
eee2bc67
JM
450102012-05-08 Joseph Myers <joseph@codesourcery.com>
45011
7ea5391a
JM
45012 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45013 (ulimit): Likewise.
45014
eee2bc67
JM
45015 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45016 (settimeofday): Likewise.
45017
abb66a67
MF
450182012-05-08 Mike Frysinger <vapier@gentoo.org>
45019
45020 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
45021 a struct th_u2 inside the union, and move tu_block/tu_code into
45022 a new th_u3 union of tu_block/tu_code inside of that. Move
45023 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
45024 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
45025 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45026 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45027 (th_stuff): Change to th_u1.tu_stuff.
45028 (th_data): Define.
45029 (th_msg): Change to th_u1.th_u2.tu_data.
45030
7f18b530
DM
450312012-05-07 David S. Miller <davem@davemloft.net>
45032
05760585
DM
45033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45034
7f18b530
DM
45035 [BZ #14074]
45036 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45037 (SETUP_PIC_REG): Use it.
45038 (SETUP_PIC_REG_LEAF): Use it.
45039
495fd99f
JM
450402012-05-07 Joseph Myers <joseph@codesourcery.com>
45041
45042 [BZ #13885]
45043 [BZ #13923]
45044 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45045 USE_AS_EXPM1L.
45046 (EXPL_FINITE): Likewise.
45047 (FLDLOG): Likewise.
45048 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45049 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45050 e_expl.S.
45051 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45052 USE_AS_EXPM1L.
45053 (EXPL_FINITE): Likewise.
45054 (FLDLOG): Likewise.
45055 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45056 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45057 e_expl.S.
45058 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
45059 test of -max_value argument for long double.
45060 * sysdeps/i386/fpu/libm-test-ulps: Update.
45061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45062
6693d694
DM
450632012-05-06 David S. Miller <davem@davemloft.net>
45064
45065 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45066 quad soft-float symbols whose references which are compiler
45067 generated.
45068 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45069
6c23e11c
JM
450702012-05-06 Joseph Myers <joseph@codesourcery.com>
45071
d8b82cad
JM
45072 [BZ #13884]
45073 [BZ #13914]
45074 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45075 USE_AS_EXP10L.
45076 (EXPL_FINITE): Likewise.
45077 (FLDLOG): Likewise.
45078 (c0): Likewise.
45079 (c1): Likewise.
45080 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45081 Adjust comments for base varying.
45082 (__expl_finite): Change alias to EXPL_FINITE.
45083 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45084 e_expl.S.
45085 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45086 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45087 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45088 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45089 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45090 USE_AS_EXP10L.
45091 (EXPL_FINITE): Likewise.
45092 (FLDLOG): Likewise.
45093 (c0): Likewise.
45094 (c1): Likewise.
45095 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45096 Adjust comments for base varying.
45097 (__expl_finite): Change alias to EXPL_FINITE.
45098 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
45099 tests for bugs.
45100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45101
6c23e11c
JM
45102 [BZ #14064]
45103 * math/libm-test.inc (check_float_internal): Correct ulp
45104 calculation for subnormal expected results.
45105
29ba805c
AJ
451062012-05-06 Andreas Jaeger <aj@suse.de>
45107
45108 * Makeconfig (+math-flags): New, set to -frounding-math.
45109 (+cflags): Add +math-flags so that all of glibc gets compiled with
45110 it.
45111
45112 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45113
7b17aeda
JM
451142012-05-05 Joseph Myers <joseph@codesourcery.com>
45115
5779f134
JM
45116 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45117 Disable one test.
45118
41498f4d
JM
45119 [BZ #13787]
45120 [BZ #13922]
45121 [BZ #14036]
45122 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45123 (__ieee754_expl): Allow for and saturate large arguments.
45124 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45125 (u_threshold): Likewise.
45126 (__exp): Call __ieee754_exp before checking for overflow and
45127 underflow.
45128 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45129 (u_threshold): Likewise.
45130 (__expf): Call __ieee754_expf before checking for overflow and
45131 underflow.
45132 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45133 (u_threshold): Likewise.
45134 (__expl): Call __ieee754_expl before checking for overflow and
45135 underflow.
45136 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45137 (__ieee754_expl): Allow for and saturate large arguments.
45138 * math/libm-test.inc (exp_test): Add another test. Do not allow
45139 missing overflow exception on overflow.
45140 (expm1_test): Do not allow missing overflow exception on overflow.
45141
6698b8bf
JM
45142 * sysdeps/i386/fpu/e_expl.c: Move to ...
45143 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45144 rather than using inline asm.
45145 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45146 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45147 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45148
7b17aeda
JM
45149 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45150 (nice): Likewise.
45151 (poll): Likewise.
45152 (signal): Likewise.
45153 (time): Likewise.
45154 (times): Likewise.
45155
f7c85819
JM
451562012-05-04 Joseph Myers <joseph@codesourcery.com>
45157
45158 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45159 sysdeps/unix/common/syscalls.list.
45160 (fchmod): Likewise.
45161 (fchown): Likewise.
45162 (ftruncate): Likewise.
45163 (getrusage): Likewise.
45164 (gettimeofday): Likewise.
45165 (setpgid): Likewise.
45166 (setregid): Likewise.
45167 (setreuid): Likewise.
45168 (sigaction): Likewise.
45169 (truncate): Likewise.
45170 (vhangup): Likewise.
45171 * sysdeps/unix/common/syscalls.list: Remove file.
45172 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45173 * sysdeps/unix/sysv/linux/Implies: Likewise.
45174
336270d0
L
451752012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45176
45177 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45179 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45180 Moved to ...
45181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45182 Here.
45183 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45184 to ...
45185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45186 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45187 to ...
45188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45189 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45190 to ...
45191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45192 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45193 to ...
45194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45195 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45196 to ...
45197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45198 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45199 to ...
45200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45201 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45202 to ...
45203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45204 Here.
45205 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45206 to ...
45207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45208 Here.
45209 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45210 to ...
45211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45212 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45213 Moved to ...
45214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45215 Here.
45216 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45217 to ...
45218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45219
d128e450
JM
452202012-05-04 Joseph Myers <joseph@codesourcery.com>
45221
fa8ee516
JM
45222 * sysdeps/unix/common/bits/dirent.h: Remove file.
45223 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45224
d128e450
JM
45225 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45226 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45227 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45228 * sysdeps/unix/bsd/isatty.c: Likewise.
45229 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45230 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45231 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45232
ff8faaf0 452332012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 45234
62881be4 45235 [BZ #13563]
31dc8730
AZ
45236 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45237 long double comparison inaccuracies.
45238 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45240
6fef930c
AS
452412012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45242
45243 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45244 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45245
8f203e6c
JM
452462012-05-04 Joseph Myers <joseph@codesourcery.com>
45247
45248 [BZ #14049]
45249 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45250 nonzero digits before rounding a hex value.
45251 * stdlib/tst-strtod.c (tests): Add another test.
45252
5197d9c2
AK
452532012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45254
45255 * sysdeps/s390/fpu/libm-test-ulps: Update.
45256
f0c1dedf
AJ
452572012-05-03 Andreas Jaeger <aj@suse.de>
45258
45259 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45260 does not get optimized out.
45261 (malloc_opt_barrier): New.
45262
a65ef2ae 452632012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 45264 Roland McGrath <roland@hack.frob.com>
a65ef2ae 45265
2b942cb7 45266 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 45267 intermediate file deletion.
2b942cb7 45268 (generated): Add .symlist files.
a65ef2ae 45269
54b71e02
JM
452702012-05-03 Joseph Myers <joseph@codesourcery.com>
45271
45272 [BZ #13775]
45273 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45274 Redirect under this condition.
45275 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45276 [__USE_GNU] (__dprintf_chk): Not under this condition.
45277 [__USE_GNU] (__vdprintf_chk): Likewise.
45278 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45279 under this condition.
45280 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45281 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45282 [__USE_XOPEN2K8] (vdprintf): Likewise.
45283 [__USE_GNU] (__dprintf_chk): Not under this condition.
45284 [__USE_GNU] (__vdprintf_chk): Likewise.
45285 [__USE_GNU] (dprintf): Likewise.
45286 [__USE_GNU] (vdprintf): Likewise.
45287
d3dfcc41
RM
452882012-05-03 Roland McGrath <roland@hack.frob.com>
45289
45290 * elf/Makefile (common-generated): Set this instead of generated for
45291 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45292 $(all-built-dso)-derived lists.
45293
7ac30cc5
AJ
452942012-05-03 Andreas Jaeger <aj@suse.de>
45295
0c51e550
AJ
45296 * sysdeps/i386/fpu/libm-test-ulps: Update.
45297
7ac30cc5
AJ
45298 * FAQ: Removed.
45299 * FAQ.in: Likewise.
45300 * scripts/gen-FAQ.pl: Likewise.
45301 * manual/install.texi (Installation): Point to online location of
45302 FAQ.
45303 * Makefile (files-for-dist): Remove FAQ.
45304 (FAQ): Remove.
45305
d4c2917f
AM
453062012-05-02 Allan McRae <allan@archlinux.org>
45307
45308 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45309 (LDFLAGS-reldepmod5.so): Likewise.
45310 (LDFLAGS-reldep6mod1.so): Likewise.
45311 (LDFLAGS-reldep6mod4.so): Likewise.
45312 (LDFLAGS-reldep8mod3.so): Likewise.
45313 (LDFLAGS-unload4mod1.so): Likewise.
45314 (LDFLAGS-unload4mod2.so): Likewise.
45315 (LDFLAGS-tst-initorder): Likewise.
45316 (LDFLAGS-tst-initordera2.so): Likewise.
45317 (LDFLAGS-tst-initordera3.so): Likewise.
45318 (LDFLAGS-tst-initordera4.so): Likewise.
45319 (LDFLAGS-tst-initorderb2.so): Likewise.
45320 (LDFLAGS-noload): Likewise.
45321 (LDFLAGS-next): Likewise.
45322 (LDFLAGS-order2mod1.so): Likewise.
45323 (LDFLAGS-order2mod2.so): Likewise.
45324 (LDFLAGS-tst-initorder2): Likewise.
45325 (LDFLAGS-tst-initorder2a.so): Likewise.
45326 (LDFLAGS-tst-initorder2b.so): Likewise.
45327 (LDFLAGS-tst-initorder2c.so): Likewise.
45328 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45329
d77f993f
DM
453302012-05-02 David S. Miller <davem@davemloft.net>
45331
45332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45333
171a70b4
PP
453342012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45335
45336 [BZ #14055]
45337 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45338
0be196ad
AJ
453392012-05-02 Andreas Jaeger <aj@suse.de>
45340
45341 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45342 since we manipulate rounding mode.
45343 (CPPFLAGS-test-idouble.c): Likewise.
45344 (CPPFLAGS-test-ifloat.c): Likewise.
45345 (CFLAGS-test-ldouble.c): Likewise.
45346 (CFLAGS-test-double.c): Likewise.
45347 (CFLAGS-test-float.c): Likewise.
45348 (CFLAGS-test-misc.c): Likewise.
45349 (CFLAGS-test-test-fenv.c): Likewise.
45350
4f9d04aa
AZ
453512012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45352
2b942cb7
RM
45353 [BZ #2550]
45354 [BZ #2570]
45355 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45356 comparisons to determine direction to adjust input.
4f9d04aa 45357
82a79e7d
RM
453582012-05-01 Roland McGrath <roland@hack.frob.com>
45359
f5a01ca9
RM
45360 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45361 output to the target.
45362
90fe4186
RM
45363 * scripts/localplt.awk: New file.
45364 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45365 (check-localplt-CFLAGS): Variable removed.
45366 ($(all-built-dso:=.jmprel)): New static pattern rule.
45367 (generated): Add those targets.
45368 (localplt-built-dso): New variable.
45369 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45370
45371 * elf/check-localplt.c: File removed.
45372
82397ed6
RM
45373 * scripts/check-execstack.awk: New file.
45374 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45375 (check-execstack-CFLAGS): Variable removed.
45376 ($(objpfx)check-execstack.h): Target removed.
45377 ($(objpfx)execstack-default): New target.
45378 (generated): Add that instead of check-execstack.h.
45379 ($(all-built-dso:=.phdr)): New static pattern rule.
45380 (generated): Add those targets.
45381 * elf/check-execstack.c: File removed.
45382
82a79e7d
RM
45383 * scripts/check-textrel.awk: New file.
45384 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45385 (check-textrel-CFLAGS): Variable removed.
45386 (all-built-dso): Use := to define.o
45387 ($(all-built-dso:=.dyn)): New static pattern rule.
45388 (generated): Add those targets.
45389 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45390 * config.make.in (READELF): New substituted variable.
45391 * elf/check-textrel.c: File removed.
45392
62fde54f 453932012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 45394
615605c9
JM
45395 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45396 allow.
45397 * conform/data/ctype.h-data [C99-based standards] (isblank):
45398 Expect function.
45399 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45400 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45401 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45402 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45403 Specify type. Require positive value.
45404 (EILSEQ): Likewise.
45405 (ERANGE): Likewise.
45406 [ISO || POSIX] (EILSEQ): Do not expect.
45407 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45408 Specify type. Require positive value.
45409 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45410 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45411 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45412 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45413 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45414 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45415 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45416 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45417 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45418 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45419 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45420 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45421 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45422 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45423 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45424 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45425 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45426 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45427 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45428 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45429 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45430 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45431 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45432 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45433 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45434 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45435 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45436 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45437 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45438 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45439 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45440 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45441 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45442 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45443 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45444 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45445 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45446 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45447 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45448 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45449 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45450 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45451 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45452 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45453 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45454 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45455 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45456 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45457 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45458 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45459 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45460 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45461 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45462 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45463 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45464 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45465 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45466 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45467 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45468 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45469 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45470 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45471 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45472 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45473 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45474 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45475 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45476 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45477 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45478 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45479 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45480 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45481 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45482 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45483 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45484 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45485 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45486 Require >= 2.
45487 (FLT_ROUNDS): Expect as macro, not constant.
45488 (FLT_MANT_DIG): Use macro-int-constant.
45489 (DBL_MANT_DIG): Likewise.
45490 (LDBL_MANT_DIG): Likewise.
45491 (FLT_DIG): Likewise.
45492 (DBL_DIG): Likewise.
45493 (LDBL_DIG): Likewise.
45494 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45495 (DBL_MIN_EXP): Likewise.
45496 (LDBL_MIN_EXP): Likewise.
45497 (FLT_MAX_EXP): Use macro-int-constant.
45498 (DBL_MAX_EXP): Likewise.
45499 (LDBL_MAX_EXP): Likewise.
45500 (FLT_MAX_10_EXP): Likewise.
45501 (DBL_MAX_10_EXP): Likewise.
45502 (LDBL_MAX_10_EXP): Likewise.
45503 (FLT_MAX): Use macro-constant.
45504 (DBL_MAX): Likewise.
45505 (LDBL_MAX): Likewise.
45506 (FLT_EPSILON): Use macro-constant. Give upper bound.
45507 (DBL_EPSILON): Likewise.
45508 (LDBL_EPSILON): Likewise.
45509 (FLT_MIN): Likewise.
45510 (DBL_MIN): Likewise.
45511 (LDBL_MIN): Likewise.
45512 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45513 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45514 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45515 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45516 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45517 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45518 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45519 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45520 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45521 [ISO11] (FLT_TRUE_MIN): Likewise.
45522 [ISO11] (LDBL_TRUE_MIN): Likewise.
45523 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45524 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45525 (SCHAR_MIN): Use macro-int-constant. Specify type.
45526 (SCHAR_MAX): Likewise.
45527 (UCHAR_MAX): Likewise.
45528 (CHAR_MIN): Likewise.
45529 (CHAR_MAX): Likewise.
45530 (MB_LEN_MAX): Use macro-int-constant.
45531 (SHRT_MIN): Use macro-int-constant. Specify type.
45532 (SHRT_MAX): Likewise.
45533 (USHRT_MAX): Likewise.
45534 (INT_MAX): Likewise.
45535 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45536 bound negative.
45537 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45538 bound with "U".
45539 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45540 bound with "L".
45541 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45542 bound negative. Suffix upper bound with "L".
45543 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45544 bound with "UL".
45545 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45546 Specify type.
45547 [C99-based standards] (LLONG_MAX): Likewise.
45548 [C99-based standards] (ULLONG_MAX): Likewise.
45549 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45550 == 0.
45551 [ISO11] (max_align_t): Require type.
45552 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45553
c9140a62
JM
45554 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45555 from $CFLAGS, without defining away __attribute__ calls.
45556 (checknamespace): Use $CFLAGS_namespace.
45557
9af0bf29
JM
45558 * conform/conformtest.pl (@keywords): Only include C99 keywords
45559 for standards based on C99 or C11.
45560
343222a2
JM
45561 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45562 Disable tests.
45563 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45564 UNIX98]: Likewise.
45565
661f8cf0
JM
45566 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45567 usability of symbols in #if.
45568
ee74b9cb
JM
45569 * conform/conformtest.pl: If macro or constant types start
45570 "promoted:", expect the symbol to be of the following type
45571 promoted by the integer promotions.
62fde54f 45572
aafc49b3
JM
45573 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45574 in one place. Also handle "macro-constant".
45575
fefdf574
JM
45576 * conform/conformtest.pl: Only accept expected macro values with
45577 "==". Parse all "macro" lines in one place.
45578 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45579
f2d922fe
JM
45580 * conform/conformtest.pl: Handle braced types on "constant" lines
45581 instead of handling "typed-constant".
45582 * conform/data/signal.h-data: Use "constant" instead of
45583 "typed-constant".
45584
d22956c9
JM
45585 * conform/conformtest.pl: Handle "optional-" at start of lines in
45586 one place rather than duplicating several cases. Handle each
45587 format of "macro" line with initial "optional-".
45588
028e2e38
JM
45589 * conform/conformtest.pl: Only accept expected constant or
45590 optional-constant values with "==". Parse all "constant" lines in
45591 one place. Parse all "optional-constant" lines in one place.
45592 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45593 * conform/data/fmtmsg.h-data: Likewise.
45594 * conform/data/netinet/in.h-data: Likewise.
45595 * conform/data/tar.h-data: Likewise.
45596 * conform/data/limits.h-data: Use "==" form on "constant" and
45597 "optional-constant" lines.
45598
1b8f2850
JM
45599 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45600 Use -std=c99 for XOPEN2K.
45601 (@knownproblems): Remove.
45602 (newtoken): Don't check %isknown.
45603
a05a144b
JM
45604 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45605 Do not expect macro.
45606 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45607 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45608 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45609 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45610 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45611 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45612 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45613 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45614 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45615 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45616 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45617 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45618 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45619 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45620 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45621 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45622 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45623 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45624 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45625 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45626 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45627 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45628 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45629 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45630 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45631 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45632 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45633 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45634 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45635 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45636 [XPG3] (acosh): Likewise.
45637 [XPG3] (asinh): Likewise.
45638 [XPG3] (atanh): Likewise.
45639 [XPG3] (cbrt): Likewise.
45640 [XPG3] (expm1): Likewise.
45641 [XPG3] (ilogb): Likewise.
45642 [XPG3] (log1p): Likewise.
45643 [XPG3] (logb): Likewise.
45644 [XPG3] (nextafter): Likewise.
45645 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45646 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45647 [XPG3] (remainder): Likewise.
45648 [XPG3] (rint): Likewise.
45649 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45650 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45651 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45652 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45653 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45654 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45655 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45656 [UNIX98 || XOPEN2K] (scalb): Expect.
45657 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45658 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45659 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45660 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45661 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45662 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45663 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45664 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45665 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45666 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45667 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45668 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45669 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45670 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45671 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45672 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45673 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45674 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45675 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45676 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45677 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45678 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45679 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45680 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45681 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45682 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45683 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45684 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45685 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45686 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45687 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45688 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45689 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45690 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45691 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45692 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45693 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45694 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45695 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45696 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45697 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45698 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45699 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45700 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45701 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45702 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45703 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45704 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45705 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45706 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45707 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45708 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45709 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45710 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45711 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45712 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45713 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45714 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45715 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45716 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45717 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45718 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45719 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45720 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45721 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45722 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45723 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45724 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45725 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45726 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45727 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45728 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45729 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45730 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45731 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45732 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45733 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45734 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45735 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45736 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45737 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45738 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45739 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45740 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45741 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45742 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45743 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45744 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45745 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45746 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45747 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45748 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45749 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45750 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45751 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45752 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45753 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45754 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45755 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45756 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45757 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45758 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45759 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45760 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45761 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45762 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45763 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45764 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45765 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45766 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45767 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45768 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45769 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45770 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45771 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45772 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45773 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45774 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45775 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45776 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45777 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45778 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45779 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45780 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45781 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45782 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45783 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45784 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45785 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45786 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45787 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45788 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45789 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45790 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45791 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45792 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45793 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45794
73c5ebe3
JM
45795 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45796 _XOPEN_SOURCE_EXTENDED for XPG4.
45797
39c33b6c
JM
45798 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45799
62fde54f
JM
45800 * Makeconfig (localtime): Remove variable.
45801 (inst_localtime-file): Likewise.
45802
0741d64c
AS
458032012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45804
45805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45806 Update.
45807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45808 Update.
45809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45810 Update.
45811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45812 Update.
45813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45814 Update.
45815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45816 Update.
45817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45818 Update.
45819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45820 Update.
45821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45822 Update.
45823
7cb029ee
JM
458242012-05-01 Joseph Myers <joseph@codesourcery.com>
45825
45826 [BZ #2550]
45827 [BZ #2570]
45828 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45829 comparisons to determine direction to adjust input.
45830 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45831 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45832 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45833 Likewise.
45834 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45835 Likewise.
45836 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45837 Likewise.
45838 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45839 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45840 Likewise.
45841 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45842 Likewise.
45843 * math/libm-test.inc (nexttoward_test): Add more tests.
45844
412bd966
AS
458452012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45846
45847 [BZ #14040]
45848 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45849 in version GLIBC_2.1, not GLIBC_2.0.
45850 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45851 Likewise.
45852
9568c0c2
JM
458532012-04-30 Joseph Myers <joseph@codesourcery.com>
45854
adfbc8ac
JM
45855 [BZ #13942]
45856 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45857 (1 - x) * (1 + x).
45858 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45859 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45860 * math/libm-test.inc (acos_test): Add more tests.
45861 (asin_test): Likewise.
45862 * sysdeps/i386/fpu/libm-test-ulps: Update.
45863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45864
5ba3cc69
JM
45865 [BZ #14034]
45866 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45867 of square root.
45868 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45869 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45870 * math/libm-test.inc (acos_test_tonearest): New function.
45871 (acos_test_towardzero): Likewise.
45872 (acos_test_downward): Likewise.
45873 (acos_test_upward): Likewise.
45874 (asin_test_tonearest): Likewise.
45875 (asin_test_towardzero): Likewise.
45876 (asin_test_downward): Likewise.
45877 (asin_test_upward): Likewise.
45878 (main): Call the new functions.
45879 * sysdeps/i386/fpu/libm-test-ulps: Update.
45880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45881
9568c0c2
JM
45882 [BZ #13884]
45883 [BZ #13924]
45884 * math/e_exp10.c: Include <float.h>.
45885 (__ieee754_exp10): Handle underflow here rather than multiplying
45886 large negative argument by M_LN10.
45887 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45888 of __ieee754_expf.
45889 * math/e_exp10l.c: Include <float.h>.
45890 (__ieee754_exp10l): Handle underflow here rather than multiplying
45891 large negative argument by M_LN10l.
45892 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45893 spurious overflow exception on underflow.
45894
5ac3ea17
MP
458952012-04-29 Marek Polacek <polacek@redhat.com>
45896
45897 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45898 (__fortify_function): New macro.
45899 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45900 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45901 __extern_always_inline.
45902 * libio/bits/stdio2.h: Likewise.
45903 * libio/bits/stdio.h: Likewise.
45904 * string/string.h: Likewise.
45905 * string/bits/string3.h: Likewise.
45906 * include/stdio.h: Likewise.
45907 * stdlib/bits/stdlib.h: Likewise.
45908 * stdlib/stdlib.h: Likewise.
45909 * rt/bits/mqueue2.h: Likewise.
45910 * rt/mqueue.h: Likewise.
45911 * posix/bits/unistd.h: Likewise.
45912 * posix/unistd.h: Likewise.
45913 * io/bits/poll2.h: Likewise.
45914 * io/bits/fcntl2.h: Likewise.
45915 * io/fcntl.h: Likewise.
45916 * io/sys/poll.h: Likewise.
45917 * misc/bits/syslog.h: Likewise.
45918 * misc/bits/syslog-ldbl.h: Likewise.
45919 * misc/sys/syslog.h: Likewise.
45920 * socket/bits/socket2.h: Likewise.
45921 * socket/sys/socket.h: Likewise.
45922 * debug/tst-chk1.c: Likewise.
45923 * wcsmbs/bits/wchar2.h: Likewise.
45924 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45925 * wcsmbs/wchar.h: Likewise.
45926
ecf0ebfb
AJ
459272012-04-29 Andreas Jaeger <aj@suse.de>
45928
45929 * Makerules (tests): Remove enable-check-abi protection.
45930 (check-abi-warn): Remove.
45931 (check-abi-%): Remove check-abi-warn usage.
45932
45933 * configure.in: Remove check-abi configure option.
45934 * configure: Regenerated.
45935 * config.make.in (enable-check-abi): Remove.
45936
6d5c57fa
AS
459372012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45938
24c5d07e 45939 [BZ #14033]
ded5180a
AS
45940 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45941 double functions to double *_finite functions.
45942
7e0d315d
AS
45943 [BZ #13941]
45944 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45945 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45946 LDBL_MIN_EXP.
45947 * stdio-common/Makefile (tests): Add tst-sprintf3.
45948 * stdio-common/tst-sprintf3.c: New file.
45949
6d5c57fa
AS
45950 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45951 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45952
0749ff8b
JM
459532012-04-28 Joseph Myers <joseph@codesourcery.com>
45954
45955 * conform/conformtest.pl: Remove duplicate typed-constant
45956 handling.
45957
8dbd5d7b
DM
459582012-04-28 David S. Miller <davem@davemloft.net>
45959
45960 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45961 (check-abi-%): Remove AWK script prerequisite and explicit
45962 abilist directory.
45963 (check-abi): Rewrite to just diff the symlist with the abilist.
45964 (config-tls, config-abi-config): Delete, no longer used.
45965 (update-abi-%): Remove AWK script and explicit abilist directory.
45966 (update-abi): Rewrite to simply compare and conditionally copy the
45967 symlist and the sysdep abilist file. Remove update-abi-config
45968 checks.
45969 * abilist/ld.abilist: Remove.
45970 * abilist/libBrokenLocale.abilist: Remove.
45971 * abilist/libanl.abilist: Remove.
45972 * abilist/libcrypt.abilist: Remove.
45973 * abilist/libdl.abilist: Remove.
45974 * abilist/librt.abilist: Remove.
45975 * abilist/libthread_db.abilist: Remove.
45976 * abilist/libutil.abilist: Remove.
45977 * scripts/extract-abilist.awk: Remove.
45978 * scripts/merge-abilist.awk: Remove.
45979 * sysdeps/generic/libcidn.abilist: New file.
45980 * sysdeps/generic/libnss_compat.abilist: New file.
45981 * sysdeps/generic/libnss_db.abilist: New file.
45982 * sysdeps/generic/libnss_dns.abilist: New file.
45983 * sysdeps/generic/libnss_files.abilist: New file.
45984 * sysdeps/generic/libnss_hesiod.abilist: New file.
45985 * sysdeps/generic/libnss_nis.abilist: New file.
45986 * sysdeps/generic/libnss_nisplus.abilist: New file.
45987 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45988 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45989 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45990 file.
45991 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45992 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45993 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45994 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45995 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45996 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45997 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45998 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45999 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46000 file.
46001 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46002 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46003 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46004 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46005 file.
46006 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46007 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46008 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46009 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46010 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46011 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46012 file.
46013 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46014 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46015 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46016 file.
46017 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46019 New file.
46020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46021 New file.
46022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46023 New file.
46024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46025 New file.
46026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46027 New file.
46028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46029 New file.
46030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46031 New file.
46032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46033 New file.
46034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46035 New file.
46036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46037 New file.
46038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46039 New file.
46040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46041 New file.
46042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46043 New file.
46044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46045 file.
46046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46047 New file.
46048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46049 New file.
46050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46051 file.
46052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46053 New file.
46054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46055 New file.
46056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46057 file.
46058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46059 New file.
46060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46061 New file.
46062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46063 New file.
46064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46065 New file.
46066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46067 New file.
46068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46069 New file.
46070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46072 file.
46073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46074 New file.
46075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46076 file.
46077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46078 file.
46079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46080 file.
46081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46082 file.
46083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46084 file.
46085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46086 New file.
46087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46088 file.
46089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46090 file.
46091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46092 New file.
46093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46094 file.
46095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46097 file.
46098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46099 New file.
46100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46101 file.
46102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46103 file.
46104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46105 file.
46106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46107 file.
46108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46109 file.
46110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46111 New file.
46112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46113 file.
46114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46115 file.
46116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46117 New file.
46118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46119 file.
46120 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46121 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46122 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46123 file.
46124 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46125 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46126 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46127 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46128 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46129 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46130 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46131 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46132 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46133 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46136 file.
46137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46138 New file.
46139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46140 file.
46141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46142 file.
46143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46144 file.
46145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46146 file.
46147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46148 file.
46149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46150 New file.
46151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46152 New file.
46153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46154 file.
46155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46156 New file.
46157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46158 file.
46159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46161 file.
46162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46163 New file.
46164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46165 file.
46166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46167 file.
46168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46169 file.
46170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46171 file.
46172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46173 file.
46174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46175 New file.
46176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46177 New file.
46178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46179 file.
46180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46181 New file.
46182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46183 file.
46184
41d73a1b
JM
461852012-04-28 Joseph Myers <joseph@codesourcery.com>
46186
46187 * conform/conformtest.pl: Fix typo in handling typed-constant from
46188 allow-header.
46189
28aeeda4
JM
461902012-04-27 Joseph Myers <joseph@codesourcery.com>
46191
adae8f5e
JM
46192 * README: Cut down references to pre-2.6 Linux kernels and
46193 Linuxthreads. Update lists of configurations in libc and ports
46194 and sort alphabetically. Say "or newer" with Linux kernel version
46195 requirements.
46196
28aeeda4
JM
46197 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46198
a462cb63
RA
461992012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46200
46201 [BZ #887]
46202 * math/libm-test.inc (logb_test_downward): New test to expose
46203 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46204 rounding mode.
46205
6ad3493e
JM
462062012-04-27 Joseph Myers <joseph@codesourcery.com>
46207
46208 [BZ #14027]
46209 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46210 to be done.
46211 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46212 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46213
2ce4f015
JM
462142012-04-26 Joseph Myers <joseph@codesourcery.com>
46215
5aeb141a
JM
46216 * sysdeps/unix/i386/brk.S: Remove file.
46217 * sysdeps/unix/i386/dl-brk.S: Likewise.
46218 * sysdeps/unix/i386/pipe.S: Likewise.
46219 * sysdeps/unix/i386/sigreturn.S: Likewise.
46220 * sysdeps/unix/i386/syscall.S: Likewise.
46221 * sysdeps/unix/i386/vfork.S: Likewise.
46222 * sysdeps/unix/i386/wait.S: Likewise.
46223
7143acae
JM
46224 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46225 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46226
2ce4f015
JM
46227 * configure.in (arm*-none*): Do not allow without
46228 --enable-hacker-mode.
46229 (netbsd*): Remove case setting base_os.
46230 (386bsd*): Likewise.
46231 (freebsd*): Likewise.
46232 (bsdi*): Likewise.
46233 (osf*): Likewise.
46234 (sunos*): Likewise.
46235 (ultrix*): Likewise.
46236 (newsos*): Likewise.
46237 (dynix*): Likewise.
46238 (*bsd*): Likewise.
46239 (sysv*): Likewise.
46240 (isc*): Likewise.
46241 (esix*): Likewise.
46242 (sco*): Likewise.
46243 (minix*): Likewise.
46244 (irix4*): Likewise.
46245 (irix6*): Likewise.
46246 (solaris[2-9]*): Likewise.
46247 (none): Likewise.
46248 * configure: Regenerated.
46249
0ac229c8
AZ
462502012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46251
46252 [BZ #11521]
46253 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46254 overflow or cancellation in calculating denominator.
46255 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46256 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46257 down expression to avoid unexpected rounding in newer GCCs.
46258 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46259
33f244f4
DM
462602012-04-26 David S. Miller <davem@davemloft.net>
46261
46262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46263 long-double compat symbols.
46264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46277
cfa1f3e8
DM
462782012-04-25 David S. Miller <davem@davemloft.net>
46279
46280 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46281 HWCAP_* values only after the memory barriers have been defined.
46282 (atomic_full_barrier): Define.
46283 (atomic_read_barrier): Define.
46284 (atomic_write_barrier): Define.
46285
6e236b92
SP
462862012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46287
46288 * shlib-versions: Add libgcc_s version information.
46289 * sysdeps/generic/libgcc_s.h: Remove.
46290 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46291 libgcc_s.h.
46292 * sysdeps/gnu/unwind-resume.c: Likewise.
46293 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46294
aab39a09
DM
462952012-04-25 David S. Miller <davem@davemloft.net>
46296
46297 * sysdeps/unix/sparc/brk.S: Delete.
46298 * sysdeps/unix/sparc/dl-brk.S: Delete.
46299 * sysdeps/unix/sparc/pipe.S: Delete.
46300 * sysdeps/unix/sparc/sysdep.S: Delete.
46301 * sysdeps/unix/sparc/sysdep.h: Delete.
46302 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
46303 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46304 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46305 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46306 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
46307 (JUMPTARGET): Remove.
46308 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46309 sysdeps/unix/sparc/sysdep.h
46310 (ENTRY, END): Remove.
46311 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46312
a3cc4f48
JM
463132012-04-25 Joseph Myers <joseph@codesourcery.com>
46314
2ed8cda2
JM
46315 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46316 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46317 -DIS_IN_build.
46318
35d76d59
JM
46319 * timezone/README: Update upstream location and email address for
46320 tzcode and tzdata.
46321 * timezone/zdump.c: Update from tzcode 2012b.
46322 * timezone/zic.c: Likewise.
46323
a3cc4f48
JM
46324 * configure.in (libc_cv_as_needed): Remove test.
46325 * configure: Regenerated.
46326 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46327 conditional definition.
46328 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46329 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46330 * config.make.in (have-as-needed): Remove variable.
46331
ceab42c3
SP
463322012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46333 Paul Pluzhnikov <ppluzhnikov@google.com>
46334
46335 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46336 strings correctly.
46337
3ce2865f
CLT
463382012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46339
46340 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46341 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46342 * sysdeps/sh/strlen.S: Likewise.
46343
f37e0d68
JM
463442012-04-24 Joseph Myers <joseph@codesourcery.com>
46345
ae186e9a
JM
46346 * sysdeps/unix/fork.S: Remove file.
46347 * sysdeps/unix/i386/fork.S: Likewise.
46348 * sysdeps/unix/sparc/fork.S: Likewise.
46349
b96914af
JM
46350 * sysdeps/unix/system.c: Remove file.
46351 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46352
f37e0d68
JM
46353 * sysdeps/unix/getegid.S: Remove file.
46354 * sysdeps/unix/geteuid.S: Likewise.
46355
87ef29ca
RM
463562012-04-24 Roland McGrath <roland@hack.frob.com>
46357
83bcd236
RM
46358 * scripts/check-localplt.awk: New file.
46359 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46360 of diff.
46361 * scripts/data/localplt-generic.data: Add a comment.
46362
87ef29ca
RM
46363 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46364 NODE when __dir_mkfile failed.
46365 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46366 Reported by Ludovic Courtès <ludo@gnu.org>.
46367
e5a6e567
AJ
463682012-04-24 Andreas Jaeger <aj@suse.de>
46369
46370 * Makerules (common-clean): Also remove gen-as-const-headers
46371 files.
46372
c1820385
JM
463732012-04-24 Joseph Myers <joseph@codesourcery.com>
46374
46375 * Makerules (native-compile): Do not change working directory for
46376 build. Use $(OUTPUT_OPTION) in command.
46377 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46378
94e02fc4
AZ
463792012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46380
46381 [BZ #13886]
46382 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46383 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46384 * math/libm-test.inc (floor_test): Add more tests.
46385 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46386
3a533ca3
JM
463872012-04-24 Joseph Myers <joseph@codesourcery.com>
46388
940ab4b3
JM
46389 * sysdeps/unix/getdents.c: Remove file.
46390 * sysdeps/unix/sysv/getdents.c: Likewise.
46391 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46392
90e037bd
JM
46393 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46394 sysdeps/unix/mman/syscalls.list.
46395 (mmap): Likewise.
46396 (mprotect): Likewise.
46397 (msync): Likewise.
46398 (munmap): Likewise.
46399 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46400 * sysdeps/unix/mman/syscalls.list: Remove.
46401 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46402
3a533ca3
JM
46403 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46404 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46405 * configure: Regenerated.
46406 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46407 $(libgcc_s_suffix).
46408 * config.make.in (libgcc_s_suffix): Remove variable.
46409
1ad743de
JM
464102012-04-23 Joseph Myers <joseph@codesourcery.com>
46411
4ad451e2
JM
46412 * sysdeps/unix/sysv/gethostname.c: Move to ...
46413 * sysdeps/posix/gethostname.c: ... here.
46414
5e37ce39
JM
46415 * sysdeps/unix/execve.S: Remove file.
46416
1ad743de
JM
46417 * sysdeps/unix/_exit.S: Remove file.
46418
4e681b5b
AJ
464192012-04-23 Andreas Jaeger <aj@suse.de>
46420
46421 [BZ #13739]
46422 * manual/Makefile: Remove make dist support, there's no
46423 need for a stand-alone documentation tar ball.
46424 (TEXI2DVI): Define always, it's not in Makeconfig.
46425 (dist): Removed.
46426 (tar-it): Removed.
46427 (edition): Removed.
46428 (glibc-doc-$(edition).tar): Removed
46429 (%.Z): Removed.
46430 (%.gz): Removed.
46431 (%.uu): Removed.
46432 (ETAGS): Remove, it's in Makeconfig.
46433 (move-if-change): Remove, it's in Makeconfig.
46434
38686a03 464352012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
46436
46437 [BZ #13970]
46438 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46439 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46440 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46441 (strtod_l, strtof_l, strtold_l): Remove __wur.
46442 It is not necessarily an error to ignore strtol's return value.
46443 One can reliably look at the stored endptr to decide whether
46444 the number had valid syntax.
46445
7c0616fa
AJ
464462012-04-21 Andreas Jaeger <aj@suse.de>
46447
803cb6b7 46448 [BZ #13739]
7c0616fa
AJ
46449 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46450
b0fe253f
JM
464512012-04-21 Joseph Myers <joseph@codesourcery.com>
46452
46453 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46454 * sysdeps/unix/sysv/Versions: Remove file.
46455
8280f22d
MT
464562012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46457
46458 [BZ #13927]
46459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46460
75ce411f 464612012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
46462
46463 [BZ #7064]
46464 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46465 version from __vm86.
46466
097d59fa
JM
464672012-04-20 Joseph Myers <joseph@codesourcery.com>
46468
a90f3bcb
JM
46469 * sysdeps/unix/common/lxstat.c: Remove file.
46470 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46471
edc7ea78
JM
46472 * sysdeps/unix/sysv/Makefile: Remove file.
46473
cb78c221
JM
46474 * sysdeps/unix/sysv/direct.h: Remove file.
46475
efa6a45f
JM
46476 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46477 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46478 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46479 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46480 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46481 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46482 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46483
9c9f2d0c
JM
46484 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46485
4541c83b
JM
46486 * sysdeps/unix/xmknod.c: Remove file.
46487 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46488
f5d153a0
JM
46489 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46490
aa746595
JM
46491 * sysdeps/unix/sysv/i386/time.S: Remove file.
46492
cce5905e
JM
46493 * sysdeps/unix/fxstat.c: Remove file.
46494 * sysdeps/unix/xstat.c: Likewise.
46495 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46496
37fa3841
JM
46497 * sysdeps/unix/sysv/sigaction.c: Remove file.
46498
ff1962a3
JM
46499 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46500 (sysdep_headers): Remove variable.
46501 [termio.h not in sysdep_headers] (generated): Likewise.
46502 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46503 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46504 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46505 * sysdeps/unix/sysv/tcflow.c: Likewise.
46506 * sysdeps/unix/sysv/tcflush.c: Likewise.
46507 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46508 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46509 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46510 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46511 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46512
e7740d31
JM
46513 * sysdeps/unix/siglist.c: Remove file.
46514
ee06f18b
JM
46515 * sysdeps/unix/getppid.S: Remove file.
46516
097d59fa
JM
46517 * sysdeps/unix/mkdir.c: Remove file.
46518 * sysdeps/unix/rmdir.c: Likewise.
46519
ff3d51ec
AS
465202012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46521
46522 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46523 ERR_MAX value.
46524 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46525 errlist-compat value.
46526
50f81fd7
DM
465272012-04-18 David S. Miller <davem@davemloft.net>
46528
46529 * sysdeps/generic/memcopy.h (reg_char): Delete.
46530 * debug/strcat_chk.c: Use char, not reg_char.
46531 * debug/strcpy_chk.c: Likewise.
46532 * debug/strncat_chk.c: Likewise.
46533 * debug/strncpy_chk.c: Likewise.
46534 * string/memchr.c: Likewise.
46535 * string/memrchr.c: Likewise.
46536 * string/rawmemchr.c: Likewise.
46537 * string/strcat.c: Likewise.
46538 * string/strchr.c: Likewise.
46539 * string/strchrnul.c: Likewise.
46540 * string/strcmp.c: Likewise.
46541 * string/strcpy.c: Likewise.
46542 * string/strncat.c: Likewise.
46543 * string/strncmp.c: Likewise.
46544 * string/strncpy.c: Likewise.
46545
8ff41c46
WS
465462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46547
46548 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46549 __builtin_memcopy is called when src and dest ranges are known to not
46550 overlap.
46551
6b652f46
WS
465522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46553
46554 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46555 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46556 fwd_align_merge macro call.
46557 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46558 bwd_align_merge macro call.
46559 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46560
b282631e
WS
465612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46562
46563 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46564 bwd_align_merge macros.
46565 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46566 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46567 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46568
95aa737c
DM
465692012-04-18 David S. Miller <davem@davemloft.net>
46570
46571 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46572
7a99a614
AJ
465732012-04-18 Andreas Jaeger <aj@suse.de>
46574
46575 [BZ# 6794]
46576 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46577 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46578 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46579
46580 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46581 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46582 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46583
46584 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46585 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46586 Adjust for changed ldbl-128 files.
46587
46588 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46589 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46590 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46591
e5270c23
DM
465922012-04-17 David S. Miller <davem@davemloft.net>
46593
46594 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46595
fb5e92c9
AS
465962012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46597
46598 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46599 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46600 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46601 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46602 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46603 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46604
76da7265
AZ
466052012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46606
46607 [BZ #6794]
46608 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46609 * math/libm-test.inc: Add ilogb errno and exception tests.
46610 * math/w_ilogb.c: New file: ilogb wrapper.
46611 * math/w_ilogbf.c: New file: ilogbf wrapper.
46612 * math/w_ilogbl.c: New file: ilogbl wrapper.
46613 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46614 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46615 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46616 exception being thrown with 0.0 as argument.
46617 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46618 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46619 exception being thrown with 0.0 as argument.
46620 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46621 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46622 exception being thrown with 0.0 as argument.
46623 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46624 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46625 exception being thrown with 0.0 as argument.
46626 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46627 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 46628 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
46629 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46630 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46631 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46632 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46633 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46634 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46635
0396e69d
PB
466362012-04-17 Petr Baudis <pasky@ucw.cz>
46637
46638 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46639 with altivec.
46640
750b5926
MP
466412012-04-16 Marek Polacek <polacek@redhat.com>
46642
46643 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46644
751728a1
MP
466452012-04-16 Marek Polacek <polacek@redhat.com>
46646
46647 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46648 operands of fdivp instruction.
46649
34a27407
L
466502012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46651
46652 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46653 * elf/tst-auditmod3b.c: Likewise.
46654 * elf/tst-auditmod4b.c: Likewise.
46655 * elf/tst-auditmod5b.c: Likewise.
46656 * elf/tst-auditmod6b.c: Likewise.
46657 * elf/tst-auditmod6c.c: Likewise.
46658 * elf/tst-auditmod7b.c: Likewise.
46659 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46660 * sysdeps/x86_64/preconfigure.in: Likewise.
46661 * sysdeps/x86_64/preconfigure: Regenerated.
46662
7e73e17d
L
466632012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46664
46665 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46666 __ILP32__.
46667
c7a6ab72
AB
466682012-04-13 Antoine Balestrat <merkil33@gmail.com>
46669
46670 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46671 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46672
a9e8e0e0
CL
466732012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46674
46675 [BZ #13973]
46676 * locale/iso-639.def: Fix gl language name. Spotted by
46677 Yaron Shahrabani.
46678
ec98af7d
RM
466792012-04-12 Roland McGrath <roland@hack.frob.com>
46680
46681 [BZ #2074]
46682 * libio/libio.h (__io_write_fn): Update comment.
46683
247c3ede
PB
466842012-04-12 Petr Baudis <pasky@ucw.cz>
46685
46686 [BZ #2074]
46687 * stdio.texi (Hook Functions): The user provided writer function
46688 is not allowed to return -1.
46689
55939d6d
DM
466902012-04-11 David S. Miller <davem@davemloft.net>
46691
46692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46693
90020f5a
MF
466942012-04-11 Mike Frysinger <vapier@gentoo.org>
46695
46696 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46697 Add a leading slash to rtkaio.
46698
288f9098
JM
466992012-04-11 Jim Meyering <meyering@redhat.com>
46700
90020f5a
MF
46701 [BZ #11959]
46702 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46703 It is not necessarily an error to ignore fwrite's return
46704 value. One can reliably use ferror to test for errors after
46705 the fact.
288f9098 46706
4be2b570
L
467072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46708
46709 * bits/types.h (__snseconds_t): New type.
46710 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46711
46712 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46713 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46714 (__SNSECONDS_T_TYPE): Likewise.
46715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46716 (__SNSECONDS_T_TYPE): Likewise.
46717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46718 (__SNSECONDS_T_TYPE): Likewise.
46719
288f9098 467202012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
46721
46722 [BZ #2636]
46723 * manual/time.texi (Processor Time): Return type of times is
46724 elapsed real time since an arbitrary point in the past.
46725 (CPU Time): Move CLK_TCK from here...
46726 (Processor Time): ...to here. Correct description.
46727 * manual/conf.texi (Constants for Sysconf): Correct description of
46728 _SC_CLK_TCK.
46729
d7dd4413
DM
467302012-04-10 David S. Miller <davem@davemloft.net>
46731
46732 [BZ #13967]
46733 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46734 where the is a gap between DT_REL(A) and DT_JMPREL.
46735
b46068fc
L
467362012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46737
46738 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46739 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46740 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46741
73d65cc3
SP
467422012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46743
46744 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46745 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46746 (dl_main): Handle --inhibit-cache.
46747 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46748 _dl_inhibit_cache.
46749 * elf/dl-load.c (_dl_map_object): Use it.
46750 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46751
bcc8d661
JM
467522012-04-09 Joseph Myers <joseph@codesourcery.com>
46753
8f9a2fae
JM
46754 [BZ #13872]
46755 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46756 (__ieee754_powl): Saturate large exponents rather than testing for
46757 overflow of y*log2(x).
46758 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46759 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46760 exceptions.
46761
bcc8d661
JM
46762 [BZ #11521]
46763 * math/s_ctan.c: Include <float.h>.
46764 (__ctan): Avoid internal overflow or cancellation in calculating
46765 denominator.
46766 * math/s_ctanf.c: Likewise.
46767 * math/s_ctanl.c: Likewise.
46768 * math/s_ctanh.c: Likewise.
46769 * math/s_ctanhf.c: Likewise.
46770 * math/s_ctanhl.c: Likewise.
46771 * math/libm-test.inc (ctan_test): Add more tests.
46772 (ctanh_test): Likewise.
46773 * sysdeps/i386/fpu/libm-test-ulps: Update.
46774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46775
823fbbb4
AJ
467762012-04-09 Andreas Jaeger <aj@suse.de>
46777
03879793
AJ
46778 [BZ #6894]
46779 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46780 is an optional BSD extension.
46781
823fbbb4
AJ
46782 [BZ #10254]
46783 * manual/stdio.texi (Opening Streams): Document additional fopen
46784 parameters.
46785
8de131cb
RM
467862012-04-09 Roland McGrath <roland@hack.frob.com>
46787
46788 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46789 %eax without telling the compiler.
46790
c0ed9d7d
CD
467912012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46792
46793 [BZ # 13963]
46794 * manual/install.texi: Use sourceware.org.
46795
c483f6b4
JM
467962012-04-09 Joseph Myers <joseph@codesourcery.com>
46797
d7dd9453
JM
46798 [BZ #13873]
46799 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46800 (__ieee754_pow): Generate overflow and underflow using huge*huge
46801 and tiny*tiny rather than just returning constant infinity or zero
46802 for large exponents.
46803 * math/libm-test.inc (pow_test): Require overflow exceptions for
46804 applicable cases of large exponents.
46805
c483f6b4
JM
46806 [BZ #706]
46807 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46808 (__ieee754_pow): Use iterative multiplication algorithm only for
46809 integer exponents with absolute value below 1024. Check for odd
46810 integer exponents when using algorithm for real exponents.
46811 * math/libm-test.inc (pow_test): Add more tests.
46812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46813
d2de7579
JM
468142012-04-08 Joseph Myers <joseph@codesourcery.com>
46815
46816 [BZ #13705]
46817 * math/libm-test.inc (exp_test): Do not allow overflow exception
46818 on underflow test.
46819
f77f1232
AJ
468202012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46821
46822 [BZ #13705]
46823 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46824 instead of __kernel_standard_f.
46825
3884932b
MF
468262012-04-08 Mike Frysinger <vapier@gentoo.org>
46827
46828 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46829 * sysdeps/x86_64/memset_chk.S: Likewise.
46830
54472e9c
AJ
468312012-04-08 Andreas Jaeger <aj@suse.de>
46832
6ab0fbfc
AJ
46833 [BZ #10153]
46834 * manual/startup.texi (Environment Access): Describe return value
46835 for putenv and setenv.
46836
61efba8c
AJ
46837 [BZ #6895]
46838 * manual/filesys.texi (Directory Entries): Add description for
46839 DT_LNK.
46840
95c3f29a
AJ
46841 [BZ #6890]
46842 * manual/filesys.texi (Directory Entries): Clarify that it's file
46843 system not operating system in the description of DT_UNKNOWN.
46844
54472e9c
AJ
46845 [BZ #6578]
46846 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46847
624254b1
SC
468482012-04-08 Stephen Compall <s11@member.fsf.org>
46849
46850 [BZ #6649]
46851 * manual/llio.texi (Opening and Closing Files): Add cross
46852 reference to explain mode argument.
46853
1e4920e0
MF
468542012-04-07 Mike Frysinger <vapier@gentoo.org>
46855
46856 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46857 * sysdeps/x86_64/memset_chk.S: Likewise.
46858
5ed848f3
DM
468592012-04-07 David S. Miller <davem@davemloft.net>
46860
46861 * elf/elf.h (R_SPARC_WDISP10): Define.
46862 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46863 R_SPARC_SIZE32.
46864 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46865 R_SPARC_SIZE64 and R_SPARC_H34.
46866
96154cd8
CD
468672012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46868
46869 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46870 conditions and remove no longer applicable assertion.
46871
9904dc47
L
468722012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46873
46874 * bits/byteswap.h: Include <features.h>.
46875 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46876 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46877
f8887d0a
L
468782012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46879
46880 * bits/byteswap.h (__bswap_16): Removed.
46881 Include <bits/byteswap-16.h> to get __bswap_16.
46882 * sysdeps/i386/bits/byteswap.h: Likewise.
46883 * sysdeps/s390/bits/byteswap.h: Likewise.
46884 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46885 * bits/byteswap-16.h: New file.
46886 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46887 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46888 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46889 * string/Makefile (headers): Add bits/byteswap-16.h.
46890
62470f60
PP
468912012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46892
46893 [BZ #13895]
46894 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46895 extra indirection.
46896 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46897 * nss/tst-nss-static.c: New.
46898
4dad7bab
RM
468992012-04-06 Robert Millan <rmh@gnu.org>
46900
46901 [BZ #6486]
46902 * manual/llio.texi (File Position Primitive): lseek
46903 refers to WHENCE when it really means OFFSET.
46904
e9142a17
AJ
469052012-04-06 Andreas Jaeger <aj@suse.de>
46906
2c040eff
AJ
46907 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46908 strncmp declarations.
46909
e9142a17
AJ
46910 * abilist/libc.abilist: Add __poll and __ppoll.
46911
ff9f1c5f
DM
469122012-04-05 David S. Miller <davem@davemloft.net>
46913
dcd2ae90
DM
46914 * scripts/check-local-headers.sh: Accept a host triplet in the
46915 path matched by the exclude regexp.
46916
993eb054
DM
46917 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46918 definition.
46919 * sysdeps/powerpc/powerpc32/dl-machine.h
46920 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46921 * sysdeps/s390/s390-32/dl-machine.h
46922 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46923 * sysdeps/sparc/sparc32/dl-machine.h
46924 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46925 * sysdeps/sparc/sparc64/dl-machine.h
46926 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46927
ff9f1c5f
DM
46928 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46929 lazy binding.
48e2e132 46930 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
46931 undefined symbol errors.
46932
48e2e132 46933 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
46934 DT_NEEDED entries.
46935
e80d6f94
MM
469362012-04-05 Michael Matz <matz@suse.de>
46937
46938 [BZ #13592]
46939 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46940
349fa79f
AJ
469412012-04-05 Andreas Jaeger <aj@suse.de>
46942
46943 [BZ #13908]
46944 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46945 comment.
46946
f402708f
KK
469472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46948
46949 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46950 which ROUND is no valid rounding mode.
46951
2ecccfc9
KK
469522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46953
46954 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46955 read again.
46956 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46957
8a53f50f
KK
469582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46959
46960 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46961 an exception using FPU order intentionally.
46962
469632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46964
46965 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46966 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46967 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46968 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46969
d653abb7
SJ
469702012-04-05 Simon Josefsson <simon@josefsson.org>
46971
46972 [BZ #12340]
46973 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46974 EINVAL when BUFLEN is too smal.
46975
c3b1bf7d
TS
469762012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46977
46978 [BZ #13553]
46979 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46980 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46981
b1aa60f3
AJ
469822012-04-03 Andreas Jaeger <aj@suse.de>
46983
c3b1bf7d 46984 [BZ #13938]
67f60a26
AJ
46985 * manual/setjmp.texi (System V contexts): Fix sentence.
46986
b1aa60f3
AJ
46987 [BZ #13926]
46988 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46989 New macro for this case.
46990 [!__GNUC__] (__bswap_64): New inline function for this case.
46991 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46992 * bits/byteswap.h: Likewise.
46993 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46994 ull, guard with __GLIBC_HAVE_LONG_LONG.
46995
46996 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46997 __GLIBC_HAVE_LONG_LONG.
46998
46999 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47000 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47001
39c59c35
TMQMF
470022012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47003
47004 [BZ #13691]
47005 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47006 inptr and inend, rather than using last_ch.
47007
135ffda8
DM
470082012-04-02 David S. Miller <davem@davemloft.net>
47009
47010 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47011 * stdio-common/printf-parse.h (read_int): Change return type to
47012 'int', return -1 on INT_MAX overflow.
47013 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47014 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
47015 overflows INT_MAX. Check for overflow of in-format-string precision
47016 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
47017 SIZE_MAX not INT_MAX for integer overflow test.
47018 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47019 skip the construct in the format string but do not record anything.
47020 * stdio-common/bug22.c: Adjust to test both width/prevision
47021 INT_MAX overflow as well as total length INT_MAX overflow. Check
47022 explicitly for proper errno values.
47023
228c019e
TS
470242012-04-02 Thomas Schwinge <thomas@codesourcery.com>
47025
302cadd3
TS
47026 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47027 CHAR_MAX.
47028 * string/test-strcmp.c [! WIDE]: Likewise.
47029 * time/tst-mktime2.c: Likewise for INT_MAX.
47030 * string/test-string.h: #include <sys/param.h> for MIN.
47031
228c019e
TS
47032 * csu/init-first.c (__libc_init_first): Call __ctype_init.
47033 * sysdeps/i386/init-first.c (init): Likewise.
47034 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47035 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47036 * sysdeps/sh/init-first.c (init): Likewise.
47037
cfa633f5
UD
470382012-04-01 Ulrich Drepper <drepper@gmail.com>
47039
47040 * po/ru.po: Update from translation team.
d1635ef8 47041 * po/vi.po: Likewise.
cfa633f5 47042
6cd0a5ea
SP
470432012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47044
47045 * resolv/nss_dns/dns-host.c: Merge copyright years.
47046
4b43400f
LD
470472012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47048
47049 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47050 Optimize memcpy with prefetch if
47051 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
47052 src, dst pointers have unequal 16 byte alignments.
47053
48c41d04
SP
470542012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47055
47056 [BZ #13928]
47057 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47058 from a CNAME entry and return the minimum ttl for the query.
47059 (gaih_getanswer_slice): Likewise.
47060
b8dc394d
JL
470612012-03-30 Jeff Law <law@redhat.com>
47062
47063 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47064 due to long keys.
47065 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47066 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47067
2f5a5ed0
JL
47068 * resolv/nss_dns/dns-host.c: Update copyright year.
47069
1d39e359
UD
470702012-03-30 Ulrich Drepper <drepper@gmail.com>
47071
c030f70c 47072 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 47073 requests to save a system call. Fix check that all bytes are sent.
c030f70c 47074
1d39e359
UD
47075 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47076 comments for sendmmsg.
47077
470782012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
47079
47080 [BZ #13691]
47081 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47082 with only 1 character between 0x0041 and 0x01b0.
47083 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47084 * wcsmbs/tst-mbsnrtowcs.c: New file.
47085
20fde227
DM
470862012-03-29 David S. Miller <davem@davemloft.net>
47087
47088 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47089 small copies by hand.
47090
984a4237
JL
470912012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47092
47093 [BZ #13761]
57f41c40
AS
47094 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47095 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47096 group memberships.
984a4237 47097
18c9d62b
DM
470982012-03-28 David S. Miller <davem@davemloft.net>
47099
88d85d4f
DM
47100 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47101 that branches into memcpy.
47102 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47103 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47104 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47105 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47106 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47107 bits.
47108 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47109 implementation too.
47110 * sysdeps/sparc/mempcpy.S: New file.
47111
e5aa83e1
DM
47112 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47113 the IFUNC routine in the libc case.
47114 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47115
88570753
DM
47116 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47117 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47118 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47119 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47120 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47121 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47122 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47123 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47124
249d7567
DM
47125 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47126 loop to 256 bytes instead of 64 bytes and fix test signedness.
47127
18c9d62b
DM
47128 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47129 * sysdeps/sparc/sparc32/Makefile: rather than here...
47130 * sysdeps/sparc/sparc64/Makefile: and here.
47131
05f3d1f6
UD
471322012-03-28 Ulrich Drepper <drepper@gmail.com>
47133
47134 * malloc/mallocbug.c: Avoid warnings about unused variables.
47135
86ae07a8
JL
471362012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47137
47138 [BZ #13760]
47139 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47140 in the right place. Discard and retry query if response is
47141 larger than input buffer size.
47142
41bf21a1
JM
471432012-03-28 Joseph Myers <joseph@codesourcery.com>
47144
d6270972
JM
47145 [BZ #369]
47146 [BZ #2678]
47147 [BZ #3866]
47148 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47149 x for large integer exponent.
47150 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47151 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47152 sign of result as needed afterwards.
47153 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47154 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47155 result for underflowing pow the same as for overflow.
47156 (__kernel_standard_l): Handle powl overflow and underflow here
47157 rather than calling __kernel_standard.
47158 * math/libm-test.inc (pow_test): Add more tests.
47159
414fca03 47160 [BZ #3868]
41bf21a1
JM
47161 [BZ #13879]
47162 [BZ #13910]
47163 [BZ #13911]
47164 [BZ #13912]
47165 [BZ #13913]
47166 [BZ #13915]
47167 [BZ #13916]
47168 [BZ #13917]
47169 [BZ #13918]
47170 [BZ #13919]
47171 [BZ #13920]
47172 [BZ #13921]
47173 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47174 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47175 (__kernel_standard_l): New function.
47176 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47177 __kernel_standard.
47178 * math/w_acosl.c (__acosl): Likewise.
47179 * math/w_asinl.c (__asinl): Likewise.
47180 * math/w_atan2l.c (__atan2l): Likewise.
47181 * math/w_atanhl.c (__atanhl): Likewise.
47182 * math/w_coshl.c (__coshl): Likewise.
47183 * math/w_exp10l.c (__exp10l): Likewise.
47184 * math/w_exp2l.c (__exp2l): Likewise.
47185 * math/w_fmodl.c (__fmodl): Likewise.
47186 * math/w_hypotl.c (__hypotl): Likewise.
47187 * math/w_j0l.c (__j0l, __y0l): Likewise.
47188 * math/w_j1l.c (__j1l, __y1l): Likewise.
47189 * math/w_jnl.c (__jnl, __ynl): Likewise.
47190 * math/w_lgammal.c (__lgammal): Likewise.
47191 * math/w_log10l.c (__log10l): Likewise.
47192 * math/w_log2l.c (__log2l): Likewise.
47193 * math/w_logl.c (__logl): Likewise.
47194 * math/w_powl.c (__powl): Likewise.
47195 * math/w_remainderl.c (__remainderl): Likewise.
47196 * math/w_scalbl.c (sysv_scalbl): Likewise.
47197 * math/w_sinhl.c (__sinhl): Likewise.
47198 * math/w_sqrtl.c (__sqrtl): Likewise.
47199 * math/w_tgammal.c (__tgammal): Likewise.
47200 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47201 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47202 * math/libm-test.inc (acos_test): Add more tests.
47203 (acosh_test): Likewise.
47204 (asin_test): Likewise.
47205 (atanh_test): Likewise.
47206 (exp_test): Likewise.
47207 (exp10_test): Likewise.
47208 (exp2_test): Likewise.
47209 (expm1_test): Likewise.
47210 (lgamma_test): Likewise.
47211 (log_test): Likewise.
47212 (log10_test): Likewise.
47213 (log1p_test): Likewise.
47214 (log2_test): Likewise.
47215 (pow_test): Do not allow some spurious overflow exceptions.
47216 (sqrt_test): Add more tests.
47217 (tgamma_test): Likewise.
47218 (y0_test): Likewise.
47219 (y1_test): Likewise.
47220 (yn_test): Likewise.
47221
dd62fda6
AB
472222012-03-27 Anton Blanchard <anton@samba.org>
47223
47224 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47225 MAP_HUGETLB.
47226 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47227 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47228 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47229
1e3cdfda
AJ
472302012-03-27 David S. Miller <davem@davemloft.net>
47231
b855ab85
DM
47232 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47233
1e3cdfda
AJ
47234 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47235 have-as-vis3 check.
47236
472372012-03-27 Andreas Jaeger <aj@suse.de>
47238
47239 * sysdeps/x86_64/elf/configure.in: Moved to ...
47240 * sysdeps/x86_64/configure.in: ... here.
47241 * sysdeps/x86_64/elf/start.S: Moved to ...
47242 * sysdeps/x86_64/start.S: ... here.
47243 * sysdeps/x86_64/elf/configure: Delete.
47244
47245 * sysdeps/x86_64/configure.in: Merge contents from
47246 sysdeps/i386/configure.in (without i686 check).
47247
47248 * sysdeps/i386/elf/Versions: Merge into ...
47249 * sysdeps/i386/Versions: ... this.
47250 * sysdeps/i386/elf/Versions: Delete file.
47251 * sysdeps/i386/elf/start.S: Moved to ...
47252 * sysdeps/i386/start.S: ...here.
47253 * sysdeps/i386/elf/configure.in: Merge into...
47254 * sysdeps/i386/configure.in: ...here.
47255 * sysdeps/i386/elf/configure.in: Delete file.
47256 * sysdeps/i386/elf/configure: Delete file.
47257
47258 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47259 * debug/backtracesyms.c: ... here.
47260 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47261 * debug/backtracesymsfd.c: ... here.
47262 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47263 * sysdeps/generic/ifunc-sel.h: ... here.
47264
47265 * sysdeps/unix/i386/start.c: Delete file.
47266 * sysdeps/unix/sparc/start.c: Delete file.
47267 * sysdeps/unix/start.c: Delete file.
47268
47269 * sysdeps/sh/elf/configure.in: Moved to ...
47270 * sysdeps/sh/configure.in: ... here.
47271 * sysdeps/sh/elf/start.S: Moved to ...
47272 * sysdeps/sh/start.S: ... here.
47273 * sysdeps/sh/elf/configure: Delete file.
47274
47275 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47276 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47277 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47278 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47279 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47280 * sysdeps/powerpc/powerpc64/start.S: here.
47281 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47282 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47283 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47284 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47285 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47286
47287 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47288 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47289 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47290 * sysdeps/powerpc/powerpc32/start.S: ... here.
47291 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47292 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47293 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47294
47295 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47296 * sysdeps/powerpc/ifunc-sel.h: ... here.
47297 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47298 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47299
47300 * sysdeps/sparc/elf/configure.in: Moved to ...
47301 * sysdeps/sparc/configure.in: ... here.
47302 * sysdeps/sparc/elf/configure: Delete file.
47303 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47304 * sysdeps/sparc/sparc32/start.S: ... here.
47305 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47306 * sysdeps/sparc/sparc64/start.S: ... here.
47307 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47308 * sysdeps/sparc/sparc32/Makefile: ... this.
47309 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47310 * sysdeps/sparc/sparc64/Makefile: ... this.
47311
47312 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47313 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47314 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47315 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47316 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47317 * sysdeps/s390/s390-32/setjmp.S: ... here.
47318 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47319 * sysdeps/s390/s390-32/configure.in: ... here.
47320 * sysdeps/s390/s390-32/elf/configure: Delete file.
47321 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47322 * sysdeps/s390/s390-32/start.S: ... here.
47323
47324 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47325 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47326 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47327 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47328 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47329 * sysdeps/s390/s390-64/setjmp.S: ... here.
47330 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47331 * sysdeps/s390/s390-64/configure.in: ... here
47332 * sysdeps/s390/s390-64/elf/configure: Delete file.
47333 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47334 * sysdeps/s390/s390-64/start.S: ... here.
47335 * sysdeps/s390/s390-64/elf/configure: Delete.
47336
47337 * configure.in: Remove support for elf directories in sysdeps.
47338
47339 * configure: Regenerated.
47340 * sysdeps/i386/configure: Regenerated.
47341 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47342 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47343 * sysdeps/s390/s390-32/configure: Regenerated.
47344 * sysdeps/s390/s390-64/configure: Regenerated.
47345 * sysdeps/sh/configure: Regenerated.
47346 * sysdeps/sparc/configure: Regenerated.
47347 * sysdeps/x86_64/configure: Regenerated.
47348
a3f61311
AS
473492012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47350
c876e002
AS
47351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47352
a3f61311
AS
47353 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47354 denormal result into account.
47355
ac4c54f0
RM
473562012-03-25 Roland McGrath <roland@hack.frob.com>
47357
47358 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47359 Reported by Allan McRae <allan@archlinux.org>.
47360
6a9b9c02
JL
473612012-03-23 Jeff Law <law@redhat.com>
47362
47363 * nss/getnssent.c (__nss_getent): Fix typo.
47364
4c42a0c1
DM
473652012-03-23 David S. Miller <davem@davemloft.net>
47366
47367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47368
1532c7ac
L
473692012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47370
47371 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47372 to pad to uint64_t for each field.
47373 (dl_tls_index): Replace unsigned long with uint64_t.
47374
3ff42526
PP
473752012-03-23 Daniel Jacobowitz <dmj@google.com>
47376 Paul Pluzhnikov <ppluzhnikov@google.com>
47377
47378 [BZ #6528]
47379 * grp/Makefile (otherlibs): Don't set it.
47380 * inet/Makefile (otherlibs): Likewise.
47381 * login/Makefile (otherlibs): Likewise.
47382 * nscd/Makefile (otherlibs): Likewise.
47383 * posix/Makefile (otherlibs): Likewise.
47384 * pwd/Makefile (otherlibs): Likewise.
47385 * rt/Makefile (otherlibs): Likewise.
47386 * sunrpc/Makefile (otherlibs): Likewise.
47387 * nss/Makefile (otherlibs): Likewise.
47388 Add libnss_files to routines and static-only-routines.
47389 ($(objpfx)getent): Remove rule.
47390 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47391 static-only-routines.
47392
7c69cd14
JM
473932012-03-22 Joseph Myers <joseph@codesourcery.com>
47394
47395 [BZ #13892]
47396 * math/s_cexp.c: Include <float.h>.
47397 (__cexp): Handle exp result overflowing not necessarily
47398 overflowing both real and imaginary parts of result.
47399 * math/s_cexpf.c: Likewise.
47400 * math/s_cexpl.c: Likewise.
47401 * math/libm-test.inc (cexp_test): Add more tests.
47402 * sysdeps/i386/fpu/libm-test-ulps: Update.
47403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47404
81b035fe
L
474052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47406
47407 * include/link.h (ELFW): New macro.
47408 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47409 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47410
1da7940c
L
474112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47412
47413 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47414 with uint64_t.
47415
b749dbb9
L
474162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47417
47418 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47419 declaration.
47420 (struct La_x32_retval): Likewise.
47421
2ff87f3f
L
474222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47423
47424 * sysdeps/x86_64/preconfigure.in: New file.
47425 * sysdeps/x86_64/preconfigure: New generated file.
47426
c0df8e69
JM
474272012-03-22 Joseph Myers <joseph@codesourcery.com>
47428
48e44791
JM
47429 [BZ #13824]
47430 * math/e_exp2l.c: Include <float.h>.
47431 (__ieee754_exp2l): Handle overflow and underflow cases
47432 separately. Only pass fractional part of argument to
47433 __ieee754_expl.
47434 * math/libm-test.inc (exp2_test): Add more tests.
47435
c0df8e69
JM
47436 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47437 negating x to take absolute value.
47438 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47439 Likewise.
47440 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47441 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47442 Likewise.
47443 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47444 computing low part if x was negated.
47445 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47446
c8e43ba7
L
474472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47448
47449 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47450 la_x32_gnu_pltexit.
47451 (pltexit): Cast int_retval to ptrdiff_t.
47452 * elf/tst-auditmod3b.c: Likewise.
47453 * elf/tst-auditmod4b.c: Likewise.
47454 * elf/tst-auditmod5b.c: Likewise.
47455 * elf/tst-auditmod6b.c: Likewise.
47456 * elf/tst-auditmod6c.c: Likewise.
47457 * elf/tst-auditmod7b.c: Likewise.
47458
47459 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47460 and x32_gnu_pltexit.
47461
47462 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47463 __ELF_NATIVE_CLASS.
47464 (La_x32_regs): New macro.
47465 (La_x32_retval): Likewise.
47466 (la_x32_gnu_pltenter): New function prototype.
47467 (la_x32_gnu_pltexit): Likewise.
47468
7998fa78
AS
474692012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47470
dcb33988
AS
47471 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47472 exponent.
47473
233fc563
AS
47474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47475
7998fa78
AS
47476 * configure.in (libc_cv_cc_nofma): Check for option to disable
47477 generation of FMA instructions.
47478 * configure: Regenerate.
47479 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47480 * sysdeps/ieee754/dbl-64/Makefile: New file.
47481 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47482 Remove brandred-fma4.
47483 (CFLAGS-brandred-fma4.c): Remove.
47484 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47485 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47486 define.
47487 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47488 define.
47489
8e95c99a
L
474902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47491
47492 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47493 LLONG_MAX != LONG_MAX.
47494 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47495 (_fitoa_word): Likewise.
47496 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47497 LLONG_MAX != LONG_MAX.
47498 * stdio-common/_itowa.h: Include <_itoa.h>.
47499 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47500 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47501 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47502 only if not defined.
47503 (_ITOA_WORD_TYPE): Likewise.
47504 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47505 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47506
6f4db457
DM
475072012-03-21 David S. Miller <davem@davemloft.net>
47508
47509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47510
7785fe5a
L
475112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47512
47513 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47514 of x86_64 when setting libc_cv_slibdir, libdir and
47515 libc_cv_localedir.
47516 * sysdeps/unix/sysv/linux/configure: Regenerated.
47517
4535cd55
JM
475182012-03-21 Joseph Myers <joseph@codesourcery.com>
47519
47520 * manual/lang.texi (Old Varargs): Remove section.
47521 (How Variadic): Update menu.
47522 (va_start): Do not mention varargs.h.
47523
17228132
TS
475242012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47525 Joseph Myers <joseph@codesourcery.com>
47526
47527 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47528 link test.
47529 * configure: Regenerated.
47530
8149f976
TS
475312012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47532
05f3d1f6
UD
47533 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47534 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47535 conformtest.pl
8149f976 47536
1a4ac776
JM
475372012-03-21 Joseph Myers <joseph@codesourcery.com>
47538
be22ce65
JM
47539 * NOTES: Remove.
47540 * Makefile (files-for-dist): Remove NOTES.
47541 (NOTES): Remove rule.
47542 * README: Don't refer to NOTES.
47543 * manual/creature.texi: Don't include macros.texi.
47544 * manual/intro.texi (creature.texi): Remove comment referring to
47545 NOTES.
47546
40b601fb
JM
47547 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47548 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47549 * configure: Regenerated.
47550 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47551 LIBC_TRY_CC_OPTION.
47552 (libc_cv_as_i686): Likewise.
47553 (libc_cv_cc_avx): Likewise.
47554 (libc_cv_cc_sse2avx): Likewise.
47555 (libc_cv_cc_fma4): Likewise.
47556 (libc_cv_cc_novzeroupper): Likewise.
47557 * sysdeps/i386/configure: Regenerated.
47558
1a4ac776
JM
47559 [BZ #13883]
47560 * sysdeps/i386/fpu/s_cexp.S: Remove.
47561 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47562 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47563 * math/libm-test.inc (cexp_test): Add more tests.
47564 * sysdeps/i386/fpu/libm-test-ulps: Update.
47565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47566
a458e7fe
AM
475672012-03-21 Allan McRae <allan@archlinux.org>
47568
47569 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47570
0cb7efc5
JM
475712012-03-21 Joseph Myers <joseph@codesourcery.com>
47572
47573 [BZ #13871]
47574 * math/w_exp2.c: Do not include <float.h>.
47575 (o_threshold, u_threshold): Remove.
47576 (__exp2): Calculate result before checking finiteness and calling
47577 __kernel_standard.
47578 * math/w_exp2f.c: Likewise.
47579 * math/w_exp2l.c: Likewise.
47580 * math/libm-test.inc (exp2_test): Require overflow exception for
47581 1e6 input.
2460d3aa
JM
47582
47583 [BZ #3866]
47584 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47585 range of signed 64-bit integers before using fistpll. Remove
47586 checks for whether integers fit in mantissa bits.
47587 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47588 the range of signed 32-bit integers before using fistpl. Remove
47589 checks for whether integers fit in mantissa bits.
47590 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47591 (__ieee754_powl): Test for y outside the range of signed 64-bit
47592 integers before using fistpll. Reduce 64-bit values to 63-bit
47593 ones as needed.
47594 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47595 divide-by-zero is raised for zero to large negative powers.
47596 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47597 (__ieee754_powl): Test for y outside the range of signed 64-bit
47598 integers before using fistpll. Reduce 64-bit values to 63-bit
47599 ones as needed.
47600 * math/libm-test.inc (pow_test): Add more tests.
47601
eb96ffb0
L
476022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47603
47604 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47605 <stdio-common/_itoa.h>.
47606 * debug/segfault.c: Likewise.
47607 * elf/dl-cache.c: Likewise.
47608 * elf/dl-minimal.c: Likewise.
47609 * elf/dl-misc.c: Likewise.
47610 * elf/dl-sysdep.c: Likewise.
47611 * elf/dl-version.c: Likewise.
47612 * elf/rtld.c: Likewise.
47613 * hurd/hurdsock.c: Likewise.
47614 * hurd/lookup-retry.c: Likewise.
47615 * malloc/malloc.c: Likewise.
47616 * malloc/mtrace.c: Likewise.
47617 * nscd/nscd_getgr_r.c: Likewise.
47618 * nscd/nscd_getpw_r.c: Likewise.
47619 * nscd/nscd_getserv_r.c: Likewise.
47620 * posix/getopt_init.c: Likewise.
47621 * posix/wordexp.c: Likewise.
47622 * stdio-common/_itoa.c: Likewise.
47623 * stdio-common/printf_fphex.c: Likewise.
47624 * stdio-common/vfprintf.c: Likewise.
47625 * string/_strerror.c: Likewise.
47626 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47627 * sysdeps/i386/i686/hp-timing.h: Likewise.
47628 * sysdeps/mach/_strerror.c: Likewise.
47629 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47630 * sysdeps/mach/hurd/sethostid.c: Likewise.
47631 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47632 * sysdeps/mach/xpg-strerror.c: Likewise.
47633 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47634 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47635 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47636 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47637 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47638 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47639 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47640 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47641 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47642 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47643 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47644 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47645 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47646 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47647 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47648 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47649 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47650 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47651 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47652 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47653 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47654
47655 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47656
47657 * stdio-common/_itoa.h: Moved to ...
47658 * sysdeps/generic/_itoa.h: Here.
47659
47660 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47661
47662 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47663 instead of "_itoa.h" and "_itowa.h".
47664 * stdio-common/vfprintf.: Likewise.
47665
d1af992d
L
476662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47667
47668 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47669 <bits/wordsize.h>.
47670 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47671 (__signbit): Likwise.
47672 (llrintf): Likwise.
47673 (llrint): Likwise.
47674
114883e0
L
476752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47676
47677 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47678 __WORDSIZE != 64.
47679
c135cc1b
JM
476802012-03-20 Joseph Myers <joseph@codesourcery.com>
47681
47682 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47683 OVERFLOW_EXCEPTION_OK.
47684 * math/libm-test.inc ("Philosophy"): Update comment about
47685 exception testing.
47686 (OVERFLOW_EXCEPTION): Define.
47687 (OVERFLOW_EXCEPTION_OK): Likewise.
47688 (INVALID_EXCEPTION_OK): Renumber.
47689 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47690 (IGNORE_ZERO_INF_SIGN): Likewise.
47691 (test_exceptions): Handle FE_OVERFLOW.
47692 (exp10_test): Expect overflow exceptions.
47693 (exp2_test): Likewise.
47694 (expm1_test): Likewise.
47695 (nextafter_test): Likewise.
47696 (pow_test): Likewise.
47697 (scalbn_test): Likewise.
47698 (scalbln_test): Likewise.
47699
95443d88
L
477002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47701
47702 * sysdeps/x86_64/bits/atomic.h
47703 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47704 64bit integer.
47705 (atomic_exchange_acq): Likewise.
47706 (__arch_exchange_and_add_body): Likewise.
47707 (__arch_add_body): Likewise.
47708 (atomic_add_negative): Likewise.
47709 (atomic_add_zero): Likewise.
47710
490df6c4
L
477112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47712
c2722551 47713 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
47714 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47715
5e52b189
L
477162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47717
47718 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47719 Check __x86_64__ instead of __WORDSIZE.
47720
a9879d4c
L
477212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47722
47723 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47724
5df98260
DM
477252012-03-19 David S. Miller <davem@davemloft.net>
47726
e1497744
DM
47727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47728
5df98260
DM
47729 * sysdeps/sparc/fpu/fenv_private.h: New file.
47730 * sysdeps/sparc/fpu/math_private.h: Use it.
47731 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47732 Remove.
57f41c40 47733 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
47734 (libc_feholdexcept_setroundl): Remove.
47735 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47736 Remove.
47737 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47738 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47739
b4c35121
L
477402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47741
47742 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47743 int64_t instead of long int.
47744 (INSERT_WORDS64): Likwise.
47745
56965fd7
L
477462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47747
47748 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47749 _Unwind_GetCFA return to _Unwind_Ptr first.
47750
83d1aec8
JM
477512012-03-19 Joseph Myers <joseph@codesourcery.com>
47752
1897ad44
JM
47753 [BZ #13629]
47754 * math/s_clog.c: Include <float.h>.
47755 (__clog): Scale large or subnormal inputs.
47756 * math/s_clogf.c: Likewise.
47757 * math/s_clogl.c: Likewise.
47758 * math/s_clog10.c: Include <float.h>.
47759 (M_LOG10_2): Define.
47760 (__clog10): Scale large or subnormal inputs.
47761 * math/s_clog10f.c: Likewise.
47762 * math/s_clog10l.c: Likewise.
47763 * math/libm-test.inc (clog_test): Add more tests.
47764 (clog10_test): Likewise.
47765 * sysdeps/i386/fpu/libm-test-ulps: Update.
47766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47767
7726d6a9
JM
47768 [BZ #11451]
47769 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47770 x and y.
47771 * math/libm-test.inc (atan2_test): Add another test.
47772
83d1aec8
JM
47773 * Makerules (common-objdir-compile): Remove.
47774 * sysdeps/unix/Makefile (config-generated): Do not add
47775 $(unix-generated) to variable.
47776 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47777 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47778 Remove rule.
47779 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47780 Likewise.
47781 [generic bits/local_lim.h] (before-compile): Do not append to
47782 variable.
47783 [generic bits/local_lim.h] (common-generated): Likewise.
47784 [generic sys/param.h] (before-compile): Do not append to variable.
47785 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47786 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47787 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47788 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47789 include.
47790 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47791 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47792 [generic sys/param.h] ($(addprefix
47793 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47794 [generic sys/param.h] (common-generated): Do not append to
47795 variable.
47796 [generic sys/param.h] (sysdep_headers): Likewise.
47797 [generic bits/errno.h] (before-compile): Do not append to
47798 variable.
47799 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47800 rule.
47801 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47802 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47803 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47804 [generic bits/errno.h] (common-generated): Do not append to
47805 variable.
47806 [generic bits/ioctls.h] (before-compile): Do not append to
47807 variable.
47808 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47809 rule.
47810 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47811 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47812 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47813 rule.
47814 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47815 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47816 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47817 [generic bits/ioctls.h] (common-generated): Do not append to
47818 variable.
47819 [generic sys/syscall.h] (syscall.h): Remove variable.
47820 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47821 rule.
47822 [generic sys/syscall.h] (before-compile): Do not append to
47823 variable.
47824 [generic sys/syscall.h] (common-generated): Likewise.
47825 * sysdeps/unix/errnos-tmpl.c: Remove file.
47826 * sysdeps/unix/errnos.awk: Likewise.
47827 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47828 * sysdeps/unix/ioctls.awk: Likewise.
47829 * sysdeps/unix/mk-local_lim.c: Likewise.
47830 * sysdeps/unix/snarf-ioctls: Likewise.
47831
4851a949
RH
478322012-03-19 Richard Henderson <rth@twiddle.net>
47833
bd37f2ee
RH
47834 * sysdeps/i386/fpu/fenv_private.h: New file.
47835 * sysdeps/i386/fpu/math_private.h: Use it.
47836 (math_opt_barrier, math_force_eval): Remove.
47837 (libc_feholdexcept_setround_53bit): Remove.
47838 (libc_feupdateenv_53bit): Remove.
47839 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47840 (math_opt_barrier, math_force_eval): Remove.
47841 (libc_feholdexcept): Remove.
47842 (libc_feholdexcept_setround): Remove.
47843 (libc_fetestexcept, libc_fesetenv): Remove.
47844 (libc_feupdateenv_test): Remove.
47845 (libc_feupdateenv, libc_feholdsetround): Remove.
47846 (libc_feresetround): Remove.
47847
d0adc922
RH
47848 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47849 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47850
0fe0f1f8
RH
47851 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47852 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47853 (libc_feupdateenv_testl): New.
47854 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47855 (libc_feupdateenv_testf): New.
47856 (libc_feupdateenv): Use libc_feupdateenv_test.
47857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47858 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47859
eb92c487
RH
47860 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47861 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47862 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47863 (libc_feresetround_noex): New.
47864 (libc_feresetround_noexf): New.
47865 (libc_feresetround_noexl): New.
47866 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47867 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47868 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47869 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47870 SET_RESTORE_ROUND.
47871 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47872 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47873 (__cos): Likewise.
47874 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47875 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47876 SET_RESTORE_ROUND_NOEX.
47877 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47878 SET_RESTORE_ROUND_NOEXF.
47879 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47880 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47881 (libc_feholdsetroundf): New.
47882 (libc_feresetround, libc_feresetroundf): New.
47883
7d2e8012
RH
47884 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47885 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47886 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47887
b4dabbb4
RH
47888 * sysdeps/generic/math_private.h: Include <fenv.h>.
47889 (default_libc_feholdexcept): New.
47890 (default_libc_feholdexcept_setround): New.
47891 (default_libc_fesetenv, default_libc_feupdateenv): New.
47892 (libc_feholdexcept): Only define if undefined.
47893 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47894 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47895 (libc_feholdexcept_setroundl): Likewise.
47896 (libc_feholdexcept_setround_53bit): Likewise.
47897 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47898 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47899 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47900 (libc_feupdateenv_53bit): Likewise.
47901 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47902 (libc_feholdexcept): Convert from macro to inline function.
47903 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47904 (libc_fesetenv, libc_feupdateenv): Likewise.
47905
4851a949
RH
47906 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47907 not previously defined.
47908 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47909 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47910 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47911 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47912 * sysdeps/ieee754/flt-32/math_private.h: New file.
47913 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47914 math_private.h below SET_FLOAT_WORD.
47915 (__isnan, __isinf_ns, __finite): Remove.
47916 (__isnanf, __isinf_nsf, __finitef): Remove.
47917
e79d442e
AS
479182012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47919
47920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47921
90b80344
DM
479222012-03-17 David S. Miller <davem@davemloft.net>
47923
47924 [BZ #6471]
47925 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47926 for 2.16.
47927
edc21804
DM
479282012-03-16 David S. Miller <davem@davemloft.net>
47929
77e927af
DM
47930 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47931 warnings.
47932
374976dd
DM
47933 [BZ #6471]
47934 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47935 properly.
47936 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47937 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47938 sysdep_routines when subdir is sysvipc.
47939 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47940 __getshmlba helper.
47941
edc21804
DM
47942 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47943
473c3ef3
L
479442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47945
47946 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47947 [__LP64__].
47948
eb0f39b6
L
479492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47950
47951 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47952 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47953 (__lround): Renamed to ...
47954 (__llround): This. Replace long int with long long int.
47955 Define lround functions as aliases of llround functions.
47956 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47957
6b6cd74b
L
479582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47959
47960 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47961 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47962 adresses to uintptr_t. Replace "long int" and "unsigned long
47963 int" with "greg_t" on va_arg.
47964
f1a77b01
L
479652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47966
47967 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47968 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47969
47970 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47971 Move e_machine check before EI_CLASS check. Handle x32
47972 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47973 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47974 SKIP_EM_IA_64 and include
47975 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47976
47977 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47978 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47979 (add_system_dir): New macro.
47980
47981 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47982 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47983
11b90b9f
JM
479842012-03-16 Joseph Myers <joseph@codesourcery.com>
47985
c36e1d23
JM
47986 [BZ #2551]
47987 [BZ #2552]
47988 [BZ #2553]
47989 [BZ #2554]
47990 [BZ #2562]
47991 [BZ #2563]
47992 [BZ #2565]
47993 [BZ #2566]
47994 [BZ #2576]
47995 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47996 (y0): Likewise.
47997 * math/w_j0f.c (j0f): Likewise.
47998 (y0f): Likewise.
47999 * math/w_j0l.c (__j0l): Likewise.
48000 (__y0l): Likewise.
48001 * math/w_j1.c (j1): Likewise.
48002 (y1): Likewise.
48003 * math/w_j1f.c (j1f): Likewise.
48004 (y1f): Likewise.
48005 * math/w_j1l.c (__j1l): Likewise.
48006 (__y1l): Likewise.
48007 * math/w_jn.c (jn): Likewise.
48008 (yn): Likewise.
48009 * math/w_jnf.c (jnf): Likewise.
48010 (ynf): Likewise.
48011 * math/w_jnl.c (__jnl): Likewise.
48012 (__ynl): Likewise.
48013 * math/libm-test.inc (j0_test): Add more tests.
48014 (j1_test): Likewise.
48015 (jn_test): Likewise. Add trailing semicolon to existing test.
48016 (y0_test): Likewise.
48017 (y1_test): Likewise.
48018 * sysdeps/i386/fpu/libm-test-ulps: Update.
48019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48020
11b90b9f
JM
48021 [BZ #13851]
48022 [BZ #13854]
48023 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48024 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48025 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48026 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48027 (__tanl): Set errno for infinite argument.
48028 * sysdeps/i386/fpu/mptan.c: Remove.
48029 * sysdeps/i386/fpu/s_tan.S: Likewise.
48030 * sysdeps/i386/fpu/s_tanl.S: Likewise.
48031 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48032 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48033 * math/libm-test.inc (tan_test): Add more tests and enable more
48034 tests for double and long double.
48035 * sysdeps/i386/fpu/libm-test-ulps: Update.
48036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48037
6a1bd2a1
JK
480382012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
48039
48040 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48041 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48042
10a803e0
RM
480432012-03-16 Roland McGrath <roland@hack.frob.com>
48044
48045 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48046 * configure.in: Use it for both main tree and add-ons.
48047 * configure: Regenerated.
48048
f196c7f7
L
480492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48050
48051 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48052
8848d99d
JM
480532012-03-16 Joseph Myers <joseph@codesourcery.com>
48054
96cbe7f4
JM
48055 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48056 in comment.
48057
8848d99d
JM
48058 [BZ #13851]
48059 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48060 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48061 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48062 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48063 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48064 infinite argument.
48065 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48066 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48067 != 0 for prec == 2.
48068 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48069 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48070 * sysdeps/i386/fpu/s_cosl.S: Likewise.
48071 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48072 * sysdeps/i386/fpu/s_sinl.S: Likewise.
48073 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48074 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48075 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48076 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48077 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48078 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48079 * math/libm-test.inc (cos_test): Add more tests and enable more
48080 tests for long double.
48081 (sin_test): Likewise.
48082 (sincos_test): Likewise.
48083 * sysdeps/i386/fpu/libm-test-ulps: Update.
48084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48085
dd7f4703
DM
480862012-03-16 David S. Miller <davem@davemloft.net>
48087
48088 * sysdeps/sparc/fpu/math_private.h: New file.
48089
006f1daa
DM
480902012-03-15 David S. Miller <davem@davemloft.net>
48091
c0c83bc8
DM
48092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48093 file.
e6a62e18 48094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
48095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48096 file.
e6a62e18
DM
48097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48102 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48103 sysdep routines.
48104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48105
88cb87d9
DM
48106 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48107 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48108
006f1daa 48109 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
48110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48111 sparc-ifunc.h
006f1daa 48112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
48113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48114 Likewise.
48115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48116 Likewise.
006f1daa
DM
48117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
48120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48121 Likewise.
006f1daa
DM
48122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
48126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48127 Likewise.
48128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48129 Likewise.
006f1daa
DM
48130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48134 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48135 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48136 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48137 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48138 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48148 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48149 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48150 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48151 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48152 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48153 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48154
11e0098e
AS
481552012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48156
48157 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48158 scaling.
48159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48160
e85b09d0
AJ
481612012-03-15 Andreas Jaeger <aj@suse.de>
48162
48163 [BZ #13852]
48164 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48165 ieee754/flt-32 implementation for sin, cos and sincos.
48166 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48167 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48168 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48169 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48170 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48171 ieee754/flt-32 implementation for tan.
48172
48173 * math/libm-test.inc (cos_test): Enable some large input tests for
48174 float as well
48175 (sin_test): Likewise.
48176 (sincos_test): Likewise.
48177 (tan_test): Add tests for large input.
48178
48179 * sysdeps/i386/fpu/libm-test-ulps: Update.
48180
81c64153
AJ
481812012-03-15 Andreas Jaeger <aj@suse.de>
48182
48183 [BZ #13658]
48184 * math/libm-test.inc (cos_test): Add more test cases.
48185 (sin_test): Likewise.
48186 (sincos_test): Likewise.
48187
7bbfa5c6
AJ
481882012-03-15 Andreas Jaeger <aj@suse.de>
48189
48190 [BZ #13837]
48191 * math/libm-test.inc (cos_test): Add a test case for large input
48192 value.
48193 (sin_test): Likewise.
48194 (sincos_test): Likewise.
48195
57f41c40
AS
481962012-03-15 Andreas Jaeger <aj@suse.de>
48197 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
48198
48199 [BZ #13658]
0671f479 48200 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
48201 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48202 * sysdeps/i386/fpu/branred.c: Likewise.
48203 * sysdeps/i386/fpu/dosincos.c: Likewise.
48204 * sysdeps/i386/fpu/mpa.c: Likewise.
48205 * sysdeps/i386/fpu/s_cos.S: Likewise.
48206 * sysdeps/i386/fpu/s_sin.S: Likewise.
48207 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48208 * sysdeps/i386/fpu/sincos32.c: Likewise.
48209
48210 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48211 Define.
48212 (libc_feupdateenv_53bit): Define.
48213 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48214 Define.
48215 (libc_feupdateenv_53bit): Define.
48216
48217 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48218 53 bit (without extend i386 double precision).
48219
48220 * math/libm-test.inc (sincos_test): Add tests for large input.
48221 (sin): Likewise.
48222 (cos): Likewise.
48223
48224 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48225
9cad04ea
AS
482262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48227
48228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48229
f7062b9a
DM
482302012-03-15 David S. Miller <davem@davemloft.net>
48231
48232 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48233 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48234 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48235 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
48247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48248 file.
f7062b9a 48249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
48250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48251 file.
f7062b9a 48252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
48253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48254 file.
f7062b9a 48255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
48256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48257 file.
f7062b9a
DM
48258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48259 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48260 fmin/fmax sysdep routines.
48261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48262
7bd951ff
DM
482632012-03-14 David S. Miller <davem@davemloft.net>
48264
559398ab
DM
48265 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48267 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48268 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48269 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48270 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48271 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48272 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48273 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48274 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48279 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48280 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48282 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48285 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48286 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48287 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48288 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48289 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48290 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48291 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48292 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48293 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48294 routines.
48295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48296 file.
559398ab 48297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
48298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48299 file.
559398ab 48300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
48301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48302 file.
559398ab 48303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
48304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48305 file.
559398ab 48306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
48307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48308 file.
559398ab 48309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
48310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48311 file.
48312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48313 file.
48314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48315 file.
48316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48317 file.
48318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48319 New file.
48320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48321 file.
48322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48323 file.
559398ab 48324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
48325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48326 file.
559398ab 48327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48329 file.
559398ab 48330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
48331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48332 file.
559398ab 48333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
48334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48335 VIS3 routines.
559398ab
DM
48336
48337 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48338 New file.
48339
5a1c1e32
DM
48340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48341
eae47a36
DM
48342 * sysdeps/sparc/configure.in: New file.
48343 * sysdeps/sparc/configure: Generate.
48344 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48345 * configure: Regenerate.
48346 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48347 * config.make.in (have-as-vis3): New.
48348 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48349 available use -Av9d instead of -Av9a.
48350 * sysdeps/sparc/sparc64/Makefile: Likewise.
48351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
48352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48353 New file.
48354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48355 file.
48356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48357 New file.
48358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48359 file.
eae47a36
DM
48360 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48361 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48362 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48363 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48364 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48365
c0c83bc8
DM
48366 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48367 fzeros/fnegs to load 0x80000000 into a float register instead of
48368 using the stack.
7bd951ff
DM
48369 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48370
bd951ccb
JM
483712012-03-14 Joseph Myers <joseph@codesourcery.com>
48372
48373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48374 bits/syscall.h.
48375 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48376 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48377 ($(inst_includedir)/bits/syscall.h): Remove rule.
48378 ($(objpfx)bits/syscall.d): Include instead of
48379 $(objpfx)syscall-list.d.
48380 (generated): Change syscall-list.h and syscall-list.d to
48381 bits/syscall.h and bits/syscall.d.
48382
bb4e6db2
RM
483832012-03-14 Roland McGrath <roland@hack.frob.com>
48384
48385 [BZ #13846]
48386 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48387
aa4a2ae1
JM
483882012-03-14 Joseph Myers <joseph@codesourcery.com>
48389
e456826d
JM
48390 [BZ #13841]
48391 * math/s_csqrt.c: Include <float.h>.
48392 (__csqrt): Scale large or subnormal inputs.
48393 * math/s_csqrtf.c: Likewise.
48394 * math/s_csqrtl.c: Likewise.
48395 * math/libm-test.inc (csqrt_test): Add more tests.
48396 * sysdeps/i386/fpu/libm-test-ulps: Update.
48397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48398
aa4a2ae1
JM
48399 [BZ #13840]
48400 * math/libm-test.inc (hypot_test): Add more tests.
48401
7c10fd35
DM
484022012-03-13 David S. Miller <davem@davemloft.net>
48403
48404 [BZ #13840]
48405 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48406 double-precision for the calculation instead of scaling.
48407
f453b98b
JM
484082012-03-13 Joseph Myers <joseph@codesourcery.com>
48409
48410 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48411 manipulate bits before adding and subtracting TWO52[sx].
48412 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48413 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48414 Likewise.
48415 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48416
09a3453f
DM
484172012-03-13 David S. Miller <davem@davemloft.net>
48418
8e59da90
DM
48419 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48420 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48421 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48422 rtld-global-offsets.h
48423 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48424
2a8ab7f2
DM
48425 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48426 large parameters.
48427
10f62770
DM
48428 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48429
5f0bdb18
DM
48430 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48431 'err' in the ifdef scope in which it is actually used.
48432
09a3453f
DM
48433 * nss/nss_db/db-init.c: Include string.h
48434
b4b2eb5e
DM
484352012-03-12 David S. Miller <davem@davemloft.net>
48436
98bb2f1c
DM
48437 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48438 masking out of the most significant byte of random value used.
48439 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48440 Fix coding style in previous change.
48441
b4b2eb5e
DM
48442 * sysdeps/unix/sysv/linux/kernel-features.h
48443 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48444 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48445 expression.
48446 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48447 later.
48448
6e226b09
DM
484492012-03-11 David S. Miller <davem@davemloft.net>
48450
a1bcbd40
DM
48451 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48452 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48453 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48454 for 'resultvar' otherwise things get truncated on 64-bit.
48455
cb9d6174
DM
48456 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48457 Fix masking out of the most significant byte of random value used.
48458
6e226b09
DM
48459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48460
058c132d
AS
484612012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48462
48463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48464
2d2cd515
DM
484652012-03-09 David S. Miller <davem@davemloft.net>
48466
48467 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48468 variables with appropriate CPP guards.
57f41c40
AS
48469 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48470 from the frame pointer, not the stack pointer. Correct layout
48471 comments. Fix test on resulting framesize and the management of
48472 the outregs buffer for pltexit. Preserve floating point return
48473 values across _dl_call_pltexit call.
2d2cd515
DM
48474 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48475 framesize and the management of the outregs buffer for pltexit.
48476 Preserve floating point return values across _dl_call_pltexit
48477 call.
57f41c40
AS
48478 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48479 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48480 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
48481 (print_exit): Fix format string for return register value.
48482
9a07f9d0
JM
484832012-03-10 Joseph Myers <joseph@codesourcery.com>
48484
48485 * sunrpc/Makefile (others): Add rpcgen.
48486 ($(objpfx)rpcgen): Remove special build rule and dependency on
48487 libc.
48488 * sunrpc/rpcgen.c: New file.
48489
547b5e30
PE
484902012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48491
c524201a
PE
48492 [BZ #13673]
48493 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48494 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48495 * sysdeps/i386/crti.S: Likewise.
48496 * sysdeps/i386/crtn.S: Likewise.
48497 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48498 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48499 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48500 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48501 * sysdeps/sh/crti.S: Likewise.
48502 * sysdeps/sh/crtn.S: Likewise.
48503 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48504
7b6235f2
PE
48505 [BZ #13673]
48506 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48507 with URL.
48508 * locale/programs/locfile-kw.gperf: Likewise.
48509 * locale/programs/charmap-kw.h: Regenerated.
48510 * locale/programs/locfile-kw.h: Likewise.
48511
547b5e30
PE
48512 [BZ #13673]
48513 * intl/plural.y: Replace FSF snail mail address with URL.
48514 * intl/plural.c: Regenerated.
48515
5f0a5dae
RH
485162012-03-09 Richard Henderson <rth@twiddle.net>
48517
48518 * include/math_private.h: Remove file.
48519 * math/math_private.h: Move file ...
48520 * sysdeps/generic/math_private.h: ... here.
48521
b8c03620
RH
48522 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48523 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48524 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48525
4e234f5d 48526 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
48527 and <math_private.h>.
48528 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48529 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48530 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48531 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48532 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48533 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48534 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48535 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48536 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48537 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48538 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48539 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48540 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48541 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48542 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48543 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48544 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48545 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48546 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48547 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48549 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48550 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48551 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48552 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48553 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48554 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48555 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48557 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48558 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48559 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48560 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48561 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48562 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48563 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48564 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48565 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48566 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48567 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48568 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48569 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48570 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48571 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48572 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48573 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48574 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48575 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48576 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48577 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48578 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48579 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48580 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48581 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48582 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48583 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48584 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48585 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48586 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48587 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48588 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48589 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48590 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48591 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48592 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48593 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48594 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48595 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48596 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48597 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48598 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48599 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48600 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48601 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48602 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48603 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48604 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48605 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48606 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48607 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48608 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48609 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48610 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48611 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48612 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48613 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48614 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48615 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48616 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48617 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48618 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48619 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48620 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48621 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48622 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48623 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48624 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48625 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48626 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48627 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48628 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48629 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48630 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48631 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48632 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48633 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48634 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48635 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48636 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48637 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48638 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48639 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48640 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48641 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48642 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48643 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48644 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48645 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48646 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48647 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48648 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48649 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48650 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48651 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48652 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48653 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48654 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48655 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48656 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48657 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48658 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48659 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48660 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48661 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48662 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48663 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48664 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48665 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48666 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48667 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48668 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48669 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48670 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48671 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48672 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48673 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48674 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48675 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48676 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48677 * sysdeps/ieee754/k_standard.c: Likewise.
48678 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48679 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48680 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48681 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48682 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48683 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48684 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48685 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48686 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48687 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48688 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48689 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48690 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48691 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48692 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48693 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48694 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48695 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48696 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48697 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48698 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48699 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48700 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48701 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48702 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48703 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48704 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48705 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48706 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48707 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48708 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48709 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48710 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48711 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48712 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48713 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48714 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48715 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48716 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48717 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48718 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48719 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48720 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48721 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48722 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48723 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48724 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48725 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48726 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48727 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48728 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48729 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48730 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48731 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48732 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48733 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48734 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48735 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48736 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48737 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48738 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48739 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48740 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48741 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48742 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48743 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48744 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48745 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48746 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48747 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48748 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48749 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48750 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48751 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48752 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48753 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48754 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48755 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48756 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48757 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48758 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48759 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48760 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48761 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48762 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48763 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48764 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48765 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48766 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48767 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48768 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48769 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48770 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48771 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48772 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48773 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48774 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48775 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48776 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48777 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48778 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48779 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48780 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48781 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48782 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48783 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48784 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48785 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48786 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48787 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48788 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48789 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48790 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48791 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48792 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48793 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48794 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48795 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48796 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48797 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48798 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48799 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48800 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48801 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48802 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48803 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48804 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48805 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48806 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48807 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48808 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48809 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48810 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48811 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48812 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48813 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48814 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48815 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48816 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48817 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48818 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48819 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48820 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48821 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48822 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48823 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48824 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48825 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48826 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48827 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48828 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48829 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48830 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48831 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48832 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48833 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48834 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48835 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48836 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48837 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48838 * sysdeps/ieee754/s_lib_version.c: Likewise.
48839 * sysdeps/ieee754/s_matherr.c: Likewise.
48840 * sysdeps/ieee754/s_signgam.c: Likewise.
48841 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48842 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48843 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48844 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48845 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48846 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48847 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48848 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48849 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48850 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48851 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48852 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48853 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48854 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48855 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48856 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48857 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48858 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48859 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48860 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48861 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 48862
1991fa03
JM
488632012-03-09 Joseph Myers <joseph@codesourcery.com>
48864
48865 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48866 * sunrpc/rpc_main.c: Likewise.
48867 * sunrpc/rpc_svcout.c: Likewise.
48868
60d6f5a6
DM
488692012-03-09 David S. Miller <davem@davemloft.net>
48870
48871 * include/math_private.h: New file.
48872
4962050e
JM
488732012-03-09 Joseph Myers <joseph@codesourcery.com>
48874
02a6f887
JM
48875 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48876 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48877 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48878 from <bits/socket_type.h>.
48879 (enum __socket_type): Don't define here.
48880 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48882 bits/socket_type.h.
48883
c6e013c1
JM
48884 [BZ #13566]
48885 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48886 checking __USE_GNU.
48887
4962050e
JM
48888 * Makerules ($(inst_includedir)/%.h): New rule.
48889 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48890 (install-others): Remove variable setting.
48891 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48892
38842f45
RH
488932012-03-08 Richard Henderson <rth@twiddle.net>
48894
67bb6da6
RH
48895 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48896 from macro to inline function; merge with the
48897 !__LIBC_INTERNAL_MATH_INLINES version.
48898 (__ieee754_sqrtf): Likewise.
48899
15194b4b
RH
48900 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48901 to inline function.
48902 (__rintf, __floor, __floorf): Likewise.
48903
64e21ede
RH
48904 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48905 macro to inline function.
48906 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48907
38842f45
RH
48908 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48909 not <math/math_private.h>.
48910
c64bf5fe
DM
489112012-03-08 David S. Miller <davem@davemloft.net>
48912
48913 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48914 copyright year.
48915 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48916
82d86f28
TS
489172012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48918
48919 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48920 normalization.
48921 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48922 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48923
aea5d727
UD
489242012-03-08 Ulrich Drepper <drepper@gmail.com>
48925
48926 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48927 be defined individually, they must be defined as a block. Define
48928 S for printing a string instead of hidint the different by using a
48929 macro for adding the 'l'.
48930 * stdio-common/tst-fphex-wide.c: Adjust.
48931
70bca0a3
MP
489322012-03-07 Marek Polacek <polacek@redhat.com>
48933
48934 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48935
65b81130
MP
489362012-03-08 Marek Polacek <polacek@redhat.com>
48937
48938 [BZ #13806]
48939 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48940 * stdio-common/tst-fphex.c: Define a few macros to make the
48941 test reusable. Use them.
48942 * stdio-common/tst-fphex-wide.c: New file.
48943
07037eeb
JM
489442012-03-08 Joseph Myers <joseph@codesourcery.com>
48945
a7a93d50
JM
48946 [BZ #6911]
48947 * manual/macros.texi (gnusystems): New macro.
48948 (nongnusystems): Likewise.
48949 (gnulinuxhurdsystems): Likewise.
48950 (gnuhurdsystems): Likewise..
48951 (gnulinuxsystems): Likewise.
48952 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48953 variants of the GNU system, not "GNU system".
48954 * manual/conf.texi: Likewise.
48955 * manual/errno.texi: Likewise. Update example of errno macro
48956 expansion.
48957 * manual/filesys.texi: Likewise.
48958 (getumask): Document as specific to GNU/Hurd.
48959 * manual/install.texi: Likewise. Reword some references to
48960 GNU/Linux.
48961 * manual/intro.texi: Likewise.
48962 * manual/io.texi: Likewise.
48963 (File Name Portability): Detail which constraints are inapplicable
48964 to all GNU systems and which are only inapplicable to GNU/Hurd.
48965 * manual/job.texi: Likewise.
48966 * manual/llio.texi: Likewise.
48967 (O_NOCTTY): Document as present on GNU/Linux.
48968 * manual/maint.texi: Likewise.
48969 * manual/memory.texi: Likewise.
48970 * manual/pattern.texi: Likewise.
48971 * manual/pipe.texi: Likewise.
48972 * manual/process.texi: Likewise.
48973 * manual/resource.texi: Likewise.
48974 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48975 child on GNU/Hurd.
48976 * manual/setjmp.texi: Likewise.
48977 * manual/signal.texi: Likewise.
48978 * manual/startup.texi: Likewise.
48979 * manual/stdio.texi: Likewise.
48980 * manual/terminal.texi: Likewise.
48981 (ONLCR): Document as POSIX.
48982 (OXTABS): Document availability on GNU/Linux as XTABS.
48983 (ONOEOT): Document availability separately from other bits.
48984 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48985 * manual/time.texi: Likewise.
48986 * manual/users.texi: Likewise.
48987 * INSTALL: Regenerated.
48988 * sysdeps/gnu/errlist.c: Regenerated.
48989
07037eeb
JM
48990 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48991 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48992 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48993 puts.
48994 * configure: Regenerated.
48995
d1d3431a
JM
489962012-03-07 Joseph Myers <joseph@codesourcery.com>
48997
af6a1e37
JM
48998 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48999 default includes instead of AC_HEADER_CHECK.
49000 * sysdeps/i386/configure: Regenerated.
49001
d1d3431a
JM
49002 [BZ #10716]
49003 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49004 * math/s_cacoshf.c (__cacoshf): Likewise.
49005 * math/s_cacoshl.c (__cacoshl): Likewise.
49006 * math/s_casinh.c (__casinh): Set signs of result from argument.
49007 * math/s_casinhf.c (__casinhf): Likewise.
49008 * math/s_casinhl.c (__casinhl): Likewise.
49009 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49010 (casinh_test): Add more tests.
49011 * sysdeps/i386/fpu/libm-test-ulps: Update.
49012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49013
482ff4da
UD
490142012-03-07 Ulrich Drepper <drepper@gmail.com>
49015
872fda05
UD
49016 * po/zh_TW.po: Update from translation team.
49017
a4300c7a
UD
49018 * login/Makefile (distribute): Remove variable.
49019 * catgets/Makefile: Likewise.
49020 * mach/Makefile: Likewise.
49021 * malloc/Makefile: Likewise.
49022 * misc/Makefile: Likewise.
49023 * iconv/Makefile: Likewise.
49024 * nscd/Makefile: Likewise.
49025 * hurd/Makefile: Likewise.
49026 * manual/Makefile: Likewise.
49027 * locale/Makefile: Likewise.
49028 * intl/Makefile: Likewise.
49029 * conform/Makefile: Likewise.
49030 * nss/Makefile: Likewise.
49031 * time/Makefile: Likewise.
49032 * soft-fp/Makefile: Likewise.
49033 * dirent/Makefile: Likewise.
49034 * gmon/Makefile: Likewise.
49035 * po/Makefile: Likewise.
49036 * rt/Makefile: Likewise.
49037 * socket/Makefile: Likewise.
49038 * math/Makefile: Likewise.
49039 * signal/Makefile: Likewise.
49040 * debug/Makefile: Likewise.
49041 * elf/Makefile: Likewise.
49042 * timezone/Makefile: Likewise.
49043 * stdlib/Makefile: Likewise.
49044 * iconvdata/Makefile: Likewise.
49045 * sunrpc/Makefile: Likewise.
49046 * io/Makefile: Likewise.
49047 * argp/Makefile: Likewise.
49048 * inet/Makefile: Likewise.
49049 * hesiod/Makefile: Likewise.
49050 * grp/Makefile: Likewise.
49051 * csu/Makefile: Likewise.
49052 * wctype/Makefile: Likewise.
49053 * crypt/Makefile: Likewise.
49054 * libio/Makefile: Likewise.
49055 * string/Makefile: Likewise.
49056 * nis/Makefile: Likewise.
49057 * resolv/Makefile: Likewise.
49058 * stdio-common/Makefile: Likewise.
49059 * wcsmbs/Makefile: Likewise.
49060 * dlfcn/Makefile: Likewise.
49061 * posix/Makefile: Likewise.
49062
3b7c4e74 49063 [BZ #6959]
482ff4da
UD
49064 * timezone/Makefile: Don't install timezone files, just the programs
49065 and scripts.
49066
f72ed77d
UD
490672012-03-06 Ulrich Drepper <drepper@gmail.com>
49068
a000466f
UD
49069 * nss/databases.def: Add missing gshadow entry.
49070
f72ed77d
UD
49071 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
49072
a53b7a4e
MP
490732012-03-06 Marek Polacek <polacek@redhat.com>
49074
49075 [BZ #13726]
49076 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49077 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49078 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49079 * stdio-common/tst-long-dbl-fphex.c: New file.
49080
e9258400
DM
490812012-03-06 David S. Miller <davem@davemloft.net>
49082
49083 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49084 (set_obp_int): New function.
49085 (get_obp_int): New function.
49086 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
49087 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49088 Avoid unused variable warnings on 'val' and use builtin_expect.
49089 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49090 __builtin_expect.
e9258400
DM
49091 (INLINE_CLONE_SYSCALL): Likewise.
49092
3bd2c723
DM
490932012-03-05 David S. Miller <davem@davemloft.net>
49094
49095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49096
bbb78d03
AS
490972012-03-05 Andreas Schwab <schwab@linux-m68k.org>
49098
884c5db4
AS
49099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49100
bbb78d03
AS
49101 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49102 only for |x| >= 40.
49103 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49104
1c9f702a 491052012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
49106
49107 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49108 Replace gettimeofday with __vdso_gettimeofday.
49109
7be16f82
RM
49110 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49111 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49112 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
49113
49114 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49115 time with __vdso_time.
49116
ed58a00f
JM
491172012-03-05 Joseph Myers <joseph@codesourcery.com>
49118
49119 * manual/lang.texi (size_t): Note types to which size_t may be
49120 equivalent with the GNU C Library, but do not describe when
49121 differences between them are significant.
49122
30ee4ced
AJ
491232012-03-05 Andreas Jaeger <aj@suse.de>
49124
49125 * sysdeps/i386/fpu/libm-test-ulps: Update.
49126
b7cd39e8
JM
491272012-03-05 Joseph Myers <joseph@codesourcery.com>
49128
49129 [BZ #3976]
49130 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49131 (__ieee754_pow): Save and restore rounding mode and use
49132 round-to-nearest for main computations.
49133 * math/libm-test.inc (pow_test_tonearest): New function.
49134 (pow_test_towardzero): Likewise.
49135 (pow_test_downward): Likewise.
49136 (pow_test_upward): Likewise.
49137 (main): Call the new functions.
49138 * sysdeps/i386/fpu/libm-test-ulps: Update.
49139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
49140
49141 [BZ #3976]
49142 * math/libm-test.inc (cosh_test_tonearest): New function.
49143 (cosh_test_towardzero): Likewise.
49144 (cosh_test_downward): Likewise.
49145 (cosh_test_upward): Likewise.
49146 (sinh_test_tonearest): Likewise.
49147 (sinh_test_towardzero): Likewise.
49148 (sinh_test_downward): Likewise.
49149 (sinh_test_upward): Likewise.
49150 (main): Call the new functions.
49151 * sysdeps/i386/fpu/libm-test-ulps: Update.
49152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49153
6c6a98c9
TV
491542012-03-05 Tom de Vries <tom@codesourcery.com>
49155
49156 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49157 default stack guard is set in last bytes.
49158 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49159
21bb2d2e 491602012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 49161
21bb2d2e 49162 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 49163
21bb2d2e
AJ
49164 [BZ #13656]
49165 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49166 possibly allocate from heap instead of stack.
49167 * stdio-common/bug-vfprintf-nargs.c: New file.
49168 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 49169
c6922934
AS
491702012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49171
49172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49173
bc957d53
MP
491742012-03-03 Marek Polacek <polacek@redhat.com>
49175
49176 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49177 * math/math_private.h: Likewise.
49178 * stdlib/tst-strtod.c: Likewise.
49179 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49180 * sysdeps/x86_64/bits/atomic.h: Likewise.
49181
6358490d
DM
491822012-03-02 David S. Miller <davem@davemloft.net>
49183
49184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49188 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49189 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49190 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49191 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49192
01ae168d
RM
491932012-03-02 Roland McGrath <roland@hack.frob.com>
49194
d9a17c07
RM
49195 [BZ #13792]
49196 * manual/examples/README: New file, says the example source files
49197 can be used under GPL>=2.
49198 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49199 line containing just "*/".
49200 * manual/examples/add.c: Add copyright header (GPL>=2).
49201 * manual/examples/argp-ex1.c: Likewise.
49202 * manual/examples/argp-ex2.c: Likewise.
49203 * manual/examples/argp-ex3.c: Likewise.
49204 * manual/examples/argp-ex4.c: Likewise.
49205 * manual/examples/atexit.c: Likewise.
49206 * manual/examples/db.c: Likewise.
49207 * manual/examples/dir.c: Likewise.
49208 * manual/examples/dir2.c: Likewise.
49209 * manual/examples/execinfo.c: Likewise.
49210 * manual/examples/filecli.c: Likewise.
49211 * manual/examples/filesrv.c: Likewise.
49212 * manual/examples/fmtmsgexpl.c: Likewise.
49213 * manual/examples/genpass.c: Likewise.
49214 * manual/examples/inetcli.c: Likewise.
49215 * manual/examples/inetsrv.c: Likewise.
49216 * manual/examples/isockad.c: Likewise.
49217 * manual/examples/longopt.c: Likewise.
49218 * manual/examples/memopen.c: Likewise.
49219 * manual/examples/memstrm.c: Likewise.
49220 * manual/examples/mkfsock.c: Likewise.
49221 * manual/examples/mkisock.c: Likewise.
49222 * manual/examples/mygetpass.c: Likewise.
49223 * manual/examples/pipe.c: Likewise.
49224 * manual/examples/popen.c: Likewise.
49225 * manual/examples/rprintf.c: Likewise.
49226 * manual/examples/search.c: Likewise.
49227 * manual/examples/select.c: Likewise.
49228 * manual/examples/setjmp.c: Likewise.
49229 * manual/examples/sigh1.c: Likewise.
49230 * manual/examples/sigusr.c: Likewise.
49231 * manual/examples/stpcpy.c: Likewise.
49232 * manual/examples/strdupa.c: Likewise.
49233 * manual/examples/strftim.c: Likewise.
49234 * manual/examples/strncat.c: Likewise.
49235 * manual/examples/subopt.c: Likewise.
49236 * manual/examples/swapcontext.c: Likewise.
49237 * manual/examples/termios.c: Likewise.
49238 * manual/examples/testopt.c: Likewise.
49239 * manual/examples/testpass.c: Likewise.
49240 * manual/examples/timeval_subtract.c: Likewise.
49241
01ae168d
RM
49242 [BZ #13792]
49243 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49244 function to ...
49245 * manual/timeval_subtract.c.texi: ... here, new file.
49246
49efa33d
DM
492472012-03-02 David S. Miller <davem@davemloft.net>
49248
49249 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49250
28afd92d
JM
492512012-03-02 Joseph Myers <joseph@codesourcery.com>
49252
804360ed
JM
49253 [BZ #3976]
49254 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49255 (__sin): Save and restore rounding mode and use round-to-nearest
49256 for all computations.
49257 (__cos): Save and restore rounding mode and use round-to-nearest
49258 for all computations.
49259 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49260 <fenv.h>.
49261 (tan): Save and restore rounding mode and use round-to-nearest for
49262 all computations.
49263 * math/libm-test.inc (cos_test_tonearest): New function.
49264 (cos_test_towardzero): Likewise.
49265 (cos_test_downward): Likewise.
49266 (cos_test_upward): Likewise.
49267 (sin_test_tonearest): Likewise.
49268 (sin_test_towardzero): Likewise.
49269 (sin_test_downward): Likewise.
49270 (sin_test_upward): Likewise.
49271 (tan_test_tonearest): Likewise.
49272 (tan_test_towardzero): Likewise.
49273 (tan_test_downward): Likewise.
49274 (tan_test_upward): Likewise.
49275 (main): Call the new functions.
49276 * sysdeps/i386/fpu/libm-test-ulps: Update.
49277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49278
a6d06d7b
JM
49279 [BZ #10135]
49280 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49281 small n, then large n, before computing and testing k+n.
49282 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49283 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49284 Likewise.
49285 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49286 Likewise.
49287 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49288 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49289 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49290 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49291 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49292 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49293 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49294 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49295 * math/libm-test.inc (scalbn_test): Add more tests.
49296 (scalbln_test): Likewise.
49297
07e12bb3
JM
49298 * manual/filesys.texi (mode_t): Describe constraints on size and
49299 signedness, not exact equivalence to a particular type.
49300 (ino_t): Likewise.
49301 (ino64_t): Likewise.
49302 (dev_t): Likewise.
49303 (nlink_t): Likewise.
49304 (blkcnt_t): Likewise.
49305 (blkcnt64_t): Likewise.
49306 * manual/llio.texi (off_t): Likewise.
49307
28afd92d
JM
49308 [BZ #3976]
49309 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49310 (__ieee754_exp): Save and restore rounding mode and use
49311 round-to-nearest for all computations.
49312 * math/libm-test.inc (exp_test_tonearest): New function.
49313 (exp_test_towardzero): Likewise.
49314 (exp_test_downward): Likewise.
49315 (exp_test_upward): Likewise.
49316 (main): Call the new functions.
49317 * sysdeps/i386/fpu/libm-test-ulps: Update.
49318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49319
b1eeb65d
CD
493202012-03-01 Chris Demetriou <cgd@google.com>
49321
49322 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49323 have predictable order.
49324
53362a4b
DM
493252012-03-01 David S. Miller <davem@davemloft.net>
49326
3c969083
DM
49327 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49328
759707de
DM
49329 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49330 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49331 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49332 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49333
dfdb8ff2
DM
49334 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49335 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49336 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49338 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49339 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49340 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49341 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49342 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49343
ead89f96
DM
49344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49345
7f66bd07
DM
49346 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49347 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49348 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49349
53362a4b
DM
49350 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49351 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49352 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49353 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49354 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49355 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49356 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49357 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49358 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49359 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49360 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49361 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49363 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49364 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49365 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49366 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49367 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49368 * sysdeps/sparc/elf/configure: Regenerated.
49369
7b1902cb
JM
493702012-03-01 Joseph Myers <joseph@codesourcery.com>
49371
bec039bc
JM
49372 * configure.in (AS, LD): Require binutils 2.20 or later.
49373 * configure: Regenerated.
49374 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49375 as required minimum version.
49376 * INSTALL: Regenerated.
49377
7b1902cb
JM
49378 [BZ #2541]
49379 [BZ #4108]
49380 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49381 before squaring exponent.
49382 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49383 bottom long double and 27 bits of top long double before squaring
49384 exponent.
49385 * math/libm-test.inc (erfc_test): Add more tests.
49386 * sysdeps/i386/fpu/libm-test-ulps: Update.
49387 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49389
f775c276
KT
493902012-03-01 Kai Tietz <ktietz@redhat.com>
49391
49392 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49393 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49394 containing bit-fields.
49395 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49396 * soft-fp/single.h (_FP_UNION_S): Likewise.
49397 * soft-fp/double.h (_FP_UNION_D): Likewise.
49398
5b8a4d4a
JM
493992012-02-29 Joseph Myers <joseph@codesourcery.com>
49400
0bab47b6
JM
49401 [BZ #13786]
49402 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49403 not include ../strcmp.S.
49404 [USE_AS_STRNCASECMP_L]: Likewise.
49405 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49406 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49407 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49408 (__strncasecmp_l_ia32): Define as alias to
49409 __strncasecmp_l_nonascii.
49410
0fcad3e2
JM
49411 [BZ #5794]
49412 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49413 * sysdeps/i386/fpu/libm-test-ulps: Update.
49414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49415
5b8a4d4a
JM
49416 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49418
8fdceb2e
JL
494192012-02-29 Jeff Law <law@redhat.com>
49420
49421 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49422 out of bounds read.
49423
1f393a11
MP
494242012-02-29 Marek Polacek <polacek@redhat.com>
49425
49426 [BZ #13706]
49427 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49428 * elf/Makefile: Add rules to run tst-unused-dep.out.
49429
8847f037
DM
494302012-02-28 David S. Miller <davem@davemloft.net>
49431
49432 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49433 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49434 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49435 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49436 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49437 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49438
169d7f11
JM
494392012-02-29 Joseph Myers <joseph@codesourcery.com>
49440
49441 * math/libm-test.inc (llround_test): Move one test from
49442 lround_test. Use TEST_f_L in moved test.
49443 (lround_test): Move misplaced test to llround_test. Add testcase
49444 from bug 2561.
49445
39adf059
UD
494462012-02-28 Ulrich Drepper <drepper@gmail.com>
49447
49448 * sysdeps/x86_64/fpu/e_expf.S: New file.
49449 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49450
71b5d1c5
SB
494512012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49452
49453 [BZ #13637]
49454 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49455 of remain_len that may cause incomplete multi-byte character and
49456 false match.
49457 * posix/bug-regex33.c: New file.
49458 * posix/Makefile (tests): Add bug-regex33.
49459
1f77f049
JM
494602012-02-28 Joseph Myers <joseph@codesourcery.com>
49461
49462 * manual/macros.texi: New file.
49463 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49464 * manual/libc.texinfo: Include macros.texi.
49465 * manual/creatute.texi: Likewise.
49466 * manual/install.texi: Likewise.
49467 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49468 @glibcadj{} in references to the GNU C Library.
49469 * manual/charset.texi: Likewise.
49470 * manual/conf.texi: Likewise.
49471 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49472 when not using those macros.
49473 * manual/creature.texi: Likewise.
49474 * manual/crypt.texi: Likewise.
49475 * manual/errno.texi: Likewise.
49476 * manual/filesys.texi: Likewise.
49477 * manual/header.texi: Likewise.
49478 * manual/install.texi: Likewise.
49479 * manual/intro.texi: Likewise.
49480 * manual/io.texi: Likewise.
49481 * manual/job.texi: Likewise.
49482 * manual/lang.texi: Likewise.
49483 * manual/libc.texiinfo: Likewise.
49484 * manual/llio.texi: Likewise.
49485 * manual/locale.texi: Likewise.
49486 * manual/maint.texi: Likewise.
49487 * manual/math.texi: Likewise.
49488 * manual/memory.texi: Likewise.
49489 * manual/message.texi: Likewise.
49490 * manual/nss.texi: Likewise.
49491 * manual/pattern.texi: Likewise.
49492 * manual/process.texi: Likewise.
49493 * manual/resource.texi: Likewise.
49494 * manual/search.texi: Likewise.
49495 * manual/setjmp.texi: Likewise.
49496 * manual/signal.texi: Likewise.
49497 * manual/socket.texi: Likewise.
49498 * manual/startup.texi: Likewise.
49499 * manual/stdio.texi: Likewise.
49500 * manual/string.texi: Likewise.
49501 * manual/sysinfo.texi: Likewise.
49502 * manual/syslog.texi: Likewise.
49503 * manual/terminal.texi: Likewise.
49504 * manual/time.texi: Likewise.
49505 * manual/users.texi: Likewise.
49506 * INSTALL: Regenerated.
49507 * NOTES: Regenerated.
d40c5d54 49508 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 49509
450bf206
AS
495102012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49511
49512 * include/dirent.h: Include <dirstream.h> before
49513 <dirent/dirent.h>.
49514
741a235b
DM
495152012-02-28 David S. Miller <davem@davemloft.net>
49516
49517 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49518 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49519 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49520 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49521
d6b5aa58
DM
495222012-02-27 David S. Miller <davem@davemloft.net>
49523
1aff59a3
DM
49524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49526 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49527 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49528
d6b5aa58
DM
49529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49530 frame pointer instead of stack pointer relative arg slot.
49531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49532 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49533 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49534
433f48bf
CD
495352012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49536
49537 [BZ #3992]
49538 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49539
d674b76d
DM
495402012-02-27 David S. Miller <davem@davemloft.net>
49541
49542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49546 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49547 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49548 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49549 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49550
0e7727f7
JM
495512012-02-27 Joseph Myers <joseph@codesourcery.com>
49552
49553 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49554 later. Allow versions 5-9.
43be4ca2 49555 * configure: Regenerated.
0e7727f7
JM
49556 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49557 required minimum version and 4.6 as recommended version. Do not
49558 mention bugs in GCC 2.7 and 2.8.
43be4ca2 49559 * INSTALL: Regenerated.
0e7727f7 49560
a78bc654
DM
495612012-02-27 David S. Miller <davem@davemloft.net>
49562
428d5830
DM
49563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49567 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49568 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49569 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49570 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49571
a78bc654
DM
49572 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49573 manipulate bits before adding and subtracting TWO112[sx].
49574 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49575
4579f81c
RM
495762012-02-27 Roland McGrath <roland@hack.frob.com>
49577
36c8acb4
RM
49578 [BZ #13775]
49579 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49580 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49581 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49582 being in POSIX, because they are in 1003.1-2008.
49583
84ad622b
RM
49584 * rt/tst-aio.c: Include <fcntl.h>.
49585 * rt/tst-aio7.c: Likewise.
49586 * rt/tst-aio64.c: Likewise.
49587
4579f81c
RM
49588 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49589
abd923db
JM
495902012-02-27 Joseph Myers <joseph@codesourcery.com>
49591
49592 * manual/install.texi (--with-headers): Describe headers as
49593 interface headers, not private headers.
49594 (Specific advice for GNU/Linux systems): Describe use of headers
49595 from "make headers_install", not private headers from older
49596 kernels.
43be4ca2 49597 * INSTALL: Regenerated.
abd923db
JM
49598 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49599 Change to 2.6.19.
49600 * sysdeps/unix/sysv/linux/configure: Regenerated.
49601
6664049b
JM
49602 * manual/llio.texi (fclean): Remove documentation.
49603
bb8b6697
JM
49604 * manual/Makefile (libc-texi-generated): New variable. Include
49605 version.texi.
49606 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49607 $(libc-texi-generated), not duplicated list of files.
49608 (version.texi, stamp-version): New rules.
49609 (realclean): Remove $(libc-texi-generated), not individual files
49610 from that list. Do not remove dir-add.texinfo.
49611 * manual/libc.texinfo: Comment out uses of edition numbers and
49612 references to printed manual. Remove last-updated dates.
49613 (EDITION): Comment out.
49614 (ISBN): Likewise.
49615 (VERSION, UPDATED): Remove.
49616 (version.texi): Include.
49617
12e5c3b9
AS
496182012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49619
49620 * sysdeps/posix/spawni.c: Include <signal.h>.
49621 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49622 * sysdeps/pthread/aio_fsync.c: Likewise.
49623
4efeffc1 496242012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 49625
ba63ba08
UD
49626 * conform/Makefile (tests): Run only when not cross-compiling and
49627 when fast-check is not defined.
49628
d94a4670
UD
49629 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49630 * conform/data/limits.h-data: Fixes for POSIX2008.
49631 * conform/run-conformtest.sh: Run all tests.
49632 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49633 headers.
49634 * include/bits/dlfcn.h: Likewise.
49635 * include/langinfo.h: Likewise.
49636 * include/monetary.h: Likewise.
49637 * include/sys/poll.h: Likewise.
49638
49639 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49640 for __USE_GNU.
49641 * posix/spawn.h: Define __need_sigset_t.
49642 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49643 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49644 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49645 to get sigevent_t only.
49646 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49647 only for __USE_GNU.
49648 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49649 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49650 process_vm_writev only for __USE_GNU.
49651 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
49652
49653 * conform/Makefile: For now ignore errors from run-conformtest.
49654 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49655 POSIX to avoid namespace pollution. Don't prepend headers.
49656 * conform/data/aio.h-data: Fixes for POSIX testing.
49657 * conform/data/fcntl.h-data: Likewise.
49658 * conform/data/glob.h-data: Likewise.
49659 * conform/data/grp.h-data: Likewise.
49660 * conform/data/pthread.h-data: Likewise.
49661 * conform/data/pwd.h-data: Likewise.
49662 * conform/data/signal.h-data: Likewise.
49663 * conform/data/spawn.h-data: Likewise.
49664 * conform/data/stdio.h-data: Likewise.
49665 * conform/data/stdlib.h-data: Likewise.
49666 * conform/data/stropts.h-data: Likewise.
49667 * conform/data/sys/mman.h-data: Likewise.
49668 * conform/data/sys/stat.h-data: Likewise.
49669 * conform/data/sys/types.h-data: Likewise.
49670 * conform/data/sys/wait.h-data: Likewise.
49671 * conform/data/time.h-data: Likewise.
49672 * conform/data/unistd.h-data: Likewise.
49673 * conform/data/utime.h-data: Likewise.
49674
49675 * io/sys/stat.h: fchmod was always in POSIX.
49676 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49677 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49678 * rt/aio.h: Define __need_timespec before including <time.h>.
49679 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49680 struct. Add forward declaration of pthread_attr_t and use it in
49681 sigevent.
49682 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49683 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49684 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49685 always remove CLK_TCK definition.
49686
c20105c3
AS
496872012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49688
49689 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49690
7a270350
UD
496912012-02-25 Ulrich Drepper <drepper@gmail.com>
49692
31341567
UD
49693 * conform/run-conformtest.sh: New file.
49694 * conform/Makefile: Run run-conformtest for tests.
49695 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49696 support.
49697
49698 * conform/data/uchar.h-data: New file.
49699 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49700 * conform/data/arpa/inet.h-data: Likewise.
49701 * conform/data/assert.h-data: Likewise.
49702 * conform/data/complex.h-data: Likewise.
49703 * conform/data/cpio.h-data: Likewise.
49704 * conform/data/ctype.h-data: Likewise.
49705 * conform/data/dirent.h-data: Likewise.
49706 * conform/data/dlfcn.h-data: Likewise.
49707 * conform/data/errno.h-data: Likewise.
49708 * conform/data/fcntl.h-data: Likewise.
49709 * conform/data/float.h-data: Likewise.
49710 * conform/data/fmtmsg.h-data: Likewise.
49711 * conform/data/fnmatch.h-data: Likewise.
49712 * conform/data/ftw.h-data: Likewise.
49713 * conform/data/glob.h-data: Likewise.
49714 * conform/data/grp.h-data: Likewise.
49715 * conform/data/iconv.h-data: Likewise.
49716 * conform/data/inttypes.h-data: Likewise.
49717 * conform/data/langinfo.h-data: Likewise.
49718 * conform/data/libgen.h-data: Likewise.
49719 * conform/data/limits.h-data: Likewise.
49720 * conform/data/locale.h-data: Likewise.
49721 * conform/data/math.h-data: Likewise.
49722 * conform/data/monetary.h-data: Likewise.
49723 * conform/data/mqueue.h-data: Likewise.
49724 * conform/data/ndbm.h-data: Likewise.
49725 * conform/data/net/if.h-data: Likewise.
49726 * conform/data/netdb.h-data: Likewise.
49727 * conform/data/netinet/in.h-data: Likewise.
49728 * conform/data/nl_types.h-data: Likewise.
49729 * conform/data/poll.h-data: Likewise.
49730 * conform/data/pthread.h-data: Likewise.
49731 * conform/data/pwd.h-data: Likewise.
49732 * conform/data/regex.h-data: Likewise.
49733 * conform/data/sched.h-data: Likewise.
49734 * conform/data/search.h-data: Likewise.
49735 * conform/data/semaphore.h-data: Likewise.
49736 * conform/data/setjmp.h-data: Likewise.
49737 * conform/data/signal.h-data: Likewise.
49738 * conform/data/spawn.h-data: Likewise.
49739 * conform/data/stdarg.h-data: Likewise.
49740 * conform/data/stdio.h-data: Likewise.
49741 * conform/data/stdlib.h-data: Likewise.
49742 * conform/data/string.h-data: Likewise.
49743 * conform/data/strings.h-data: Likewise.
49744 * conform/data/stropts.h-data: Likewise.
49745 * conform/data/sys/ipc.h-data: Likewise.
49746 * conform/data/sys/mman.h-data: Likewise.
49747 * conform/data/sys/msg.h-data: Likewise.
49748 * conform/data/sys/resource.h-data: Likewise.
49749 * conform/data/sys/select.h-data: Likewise.
49750 * conform/data/sys/sem.h-data: Likewise.
49751 * conform/data/sys/shm.h-data: Likewise.
49752 * conform/data/sys/socket.h-data: Likewise.
49753 * conform/data/sys/stat.h-data: Likewise.
49754 * conform/data/sys/statvfs.h-data: Likewise.
49755 * conform/data/sys/time.h-data: Likewise.
49756 * conform/data/sys/timeb.h-data: Likewise.
49757 * conform/data/sys/times.h-data: Likewise.
49758 * conform/data/sys/types.h-data: Likewise.
49759 * conform/data/sys/uio.h-data: Likewise.
49760 * conform/data/sys/un.h-data: Likewise.
49761 * conform/data/sys/utsname.h-data: Likewise.
49762 * conform/data/sys/wait.h-data: Likewise.
49763 * conform/data/syslog.h-data: Likewise.
49764 * conform/data/tar.h-data: Likewise.
49765 * conform/data/termios.h-data: Likewise.
49766 * conform/data/utime.h-data: Likewise.
49767 * conform/data/utmpx.h-data: Likewise.
49768 * conform/data/varargs.h-data: Likewise.
49769 * conform/data/wchar.h-data: Likewise.
49770 * conform/data/wctype.h-data: Likewise.
49771 * conform/data/wordexp.h-data: Likewise.
49772
49773 * include/stropts.h: New file.
49774 * include/uchar.h: New file.
49775 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49776 * include/assert.h: Likewise.
49777 * include/ctype.h: Likewise.
49778 * include/dirent.h: Likewise.
49779 * include/dlfcn.h: Likewise.
49780 * include/fcntl.h: Likewise.
49781 * include/fnmatch.h: Likewise.
49782 * include/glob.h: Likewise.
49783 * include/grp.h: Likewise.
49784 * include/libio.h: Likewise.
49785 * include/locale.h: Likewise.
49786 * include/math.h: Likewise.
49787 * include/net/if.h: Likewise.
49788 * include/netdb.h: Likewise.
49789 * include/netinet/in.h: Likewise.
49790 * include/pthread.h: Likewise.
49791 * include/pwd.h: Likewise.
49792 * include/regex.h: Likewise.
49793 * include/sched.h: Likewise.
49794 * include/search.h: Likewise.
49795 * include/setjmp.h: Likewise.
49796 * include/signal.h: Likewise.
49797 * include/stdio.h: Likewise.
49798 * include/stdlib.h: Likewise.
49799 * include/string.h: Likewise.
49800 * include/sys/cdefs.h: Likewise.
49801 * include/sys/mman.h: Likewise.
49802 * include/sys/msg.h: Likewise.
49803 * include/sys/resource.h: Likewise.
49804 * include/sys/select.h: Likewise.
49805 * include/sys/socket.h: Likewise.
49806 * include/sys/stat.h: Likewise.
49807 * include/sys/statvfs.h: Likewise.
49808 * include/sys/time.h: Likewise.
49809 * include/sys/times.h: Likewise.
49810 * include/sys/uio.h: Likewise.
49811 * include/sys/utsname.h: Likewise.
49812 * include/sys/wait.h: Likewise.
49813 * include/termios.h: Likewise.
49814 * include/time.h: Likewise.
49815 * include/ulimit.h: Likewise.
49816 * include/unistd.h: Likewise.
49817 * include/utime.h: Likewise.
49818 * include/wchar.h: Likewise.
49819 * include/wctype.h: Likewise.
49820 * include/wordexp.h: Likewise.
49821
49822 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49823
7a270350
UD
49824 * time/time.h: TIME_UTC must be a macro.
49825 Make timespec_get available for ISO C11 only as well.
49826
7724defc
UD
498272012-02-24 Ulrich Drepper <drepper@gmail.com>
49828
49829 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49830 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49831
6b1d1d46
JM
498322012-02-24 Joseph Myers <joseph@codesourcery.com>
49833
49834 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 49835
0f8bbd69
JM
498362012-02-24 Joseph Myers <joseph@codesourcery.com>
49837
49838 * manual/texinfo.tex: Update to version 2012-01-19.16.
49839
66ab80bc
JM
498402012-02-24 Joseph Myers <joseph@codesourcery.com>
49841
49842 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49843
74981cc5
RM
498442012-02-24 Roland McGrath <roland@hack.frob.com>
49845
ee968201
RM
49846 [BZ #13738]
49847 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49848 * manual/fdl-1.3.texi: New file.
49849 * manual/fdl-1.1.texi: File removed.
49850
74981cc5
RM
49851 [BZ #13738]
49852 * manual/libc.texinfo (FDL_VERSION): New @set.
49853 Use it for mention of FDL in cover text.
49854 (Documentation License): Use it in @include file name.
49855
7bb764bc
JM
498562012-02-22 Joseph Myers <joseph@codesourcery.com>
49857 Roland McGrath <roland@hack.frob.com>
49858
49859 [BZ #5461]
57f41c40
AS
49860 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49861 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
49862 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49863 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49864 name.
49865 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49866
6cbeae47
JM
498672012-02-22 Joseph Myers <joseph@codesourcery.com>
49868
49869 [BZ #2547]
49870 [BZ #11365]
49871 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49872 manipulate bits before adding and subtracting TWO23[sx].
49873 * math/libm-test.inc (nearbyint_test): Add more tests.
49874
fe45ce09
JM
498752012-02-22 Joseph Myers <joseph@codesourcery.com>
49876
49877 [BZ #2548]
49878 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49879 bits before adding and subtracting TWO23[sx].
49880 * math/libm-test.inc (rint_test): Add more tests.
49881 (rint_test_tonearest): Likewise.
49882 (rint_test_towardzero): Likewise.
49883 (rint_test_downward): Likewise.
49884 (rint_test_upward: Likewise.
49885
ff3b3d82
JM
498862012-02-22 Joseph Myers <joseph@codesourcery.com>
49887
49888 [BZ #10110]
49889 * include/stdc-predef.h: New file. Extracted from features.h.
49890 * include/features.h: Include stdc-predef.h.
49891 * Makefile (headers): Add stdc-predef.h.
49892 * CONFORMANCE (Compiler limitations): Update.
49893
ef0aab35
JM
498942012-02-22 Joseph Myers <joseph@codesourcery.com>
49895
49896 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49897
58639409
DM
498982012-02-21 David S. Miller <davem@davemloft.net>
49899
49900 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49901 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49902
c0e70b25
DM
499032012-02-20 David S. Miller <davem@davemloft.net>
49904
49905 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49906 using a normal save/restore sequence, rather than allocating a
49907 dummy stack frame just to store a frame pointer and restore.
49908 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49909
fb06851d
JM
499102012-02-21 Joseph Myers <joseph@codesourcery.com>
49911
49912 * manual/install.texi: Fix stray word in line-wrapped comment.
49913
7a8b71c3
DM
499142012-02-20 David S. Miller <davem@davemloft.net>
49915
d510c123
DM
49916 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49917 both binutils and gcc support GOTDATA.
49918
0722d7c2
DM
49919 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49920 "rd %pc" in the PIC register setup sequences.
49921
3d2b3019
DM
49922 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49923 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49924 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49925 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49926 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49927 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49928 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49929 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49930 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49931 (SYSCALL_ERROR_HANDLER): Likewise.
49932 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49933 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49934 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49935 (SYSCALL_ERROR_HANDLER): Likewise.
49936
c80098a9
DM
49937 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49938 (HAVE_GCC_GOTDATA): New.
49939 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49940 relocation support in both binutils and gcc.
49941 * sysdeps/sparc/elf/configure: Regenerate.
49942
3a2545a0
DM
49943 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49944 * sysdeps/sparc/sparc32/elf/configure: Delete.
49945 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49946 * sysdeps/sparc/sparc64/elf/configure: Delete.
49947 * sysdeps/sparc/elf/configure.in: New file.
49948 * sysdeps/sparc/elf/configure: Generate.
49949
7a8b71c3
DM
49950 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49951 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49952 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49953 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49954 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49955
f1e86fca
JM
499562012-02-21 Joseph Myers <joseph@codesourcery.com>
49957
49958 * manual/install.texi: Do not mention specific glibc version
49959 numbers.
49960 * manual/libc.texinfo (VERSION, UPDATED): Update.
49961 (@copying): Use @copyright{} and range of years.
49962
0e7dfaef
JM
499632012-02-21 Joseph Myers <joseph@codesourcery.com>
49964
49965 [BZ #13695]
49966 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49967 [crti.S not in sysdirs] (generated): Do not append.
49968 [crti.S not in sysdirs] (omit-deps): Likewise.
49969 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49970 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49971 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49972 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49973 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49974 Likewise.
49975 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49976 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49977 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49978 * csu/defs.awk: Remove file.
49979 * sysdeps/generic/initfini.c: Likewise.
49980 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49981 variable.
49982 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49983 Likewise.
49984
599af3ca
JM
499852012-02-20 Joseph Myers <joseph@codesourcery.com>
49986
49987 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49988 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49989 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49990 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49991 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49992 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49993 <bits/epoll.h>.
49994 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49995 (__EPOLL_PACKED): Define to empty if not defined by
49996 <bits/epoll.h>.
49997 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49999 bits/epoll.h.
50000
0e499750
JM
500012012-02-20 Joseph Myers <joseph@codesourcery.com>
50002
50003 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50004 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50005 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50006 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50007 <bits/timerfd.h>.
50008 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50010 bits/timerfd.h.
50011
5ad91f6e
JM
500122012-02-20 Joseph Myers <joseph@codesourcery.com>
50013
50014 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50015 in C locale.
50016 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50017 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50018 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50020
06b99b02
AJ
500212012-02-20 Aurelien Jarno <aurelien@aurel32.net>
50022
50023 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50024 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50025
7638c0fd
AS
500262012-02-19 Andreas Schwab <schwab@linux-m68k.org>
50027
50028 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50029 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50030 defined.
50031 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50032 Likewise.
50033 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50034 entry for 2.16.
50035
92221550
AJ
500362012-02-19 Aurelien Jarno <aurelien@aurel32.net>
50037
50038 * math/w_acos.c: Use non-signaling floating-point comparisons.
50039 * math/w_acosf.c: Likewise.
50040 * math/w_acosh.c: Likewise.
50041 * math/w_acoshf.c: Likewise.
50042 * math/w_acoshl.c: Likewise.
50043 * math/w_acosl.c: Likewise.
50044 * math/w_asin.c: Likewise.
50045 * math/w_asinf.c: Likewise.
50046 * math/w_asinl.c: Likewise.
50047 * math/w_atanh.c: Likewise.
50048 * math/w_atanhf.c: Likewise.
50049 * math/w_atanhl.c: Likewise.
50050 * math/w_exp2.c: Likewise.
50051 * math/w_exp2f.c: Likewise.
50052 * math/w_exp2l.c: Likewise.
50053 * math/w_j0.c: Likewise.
50054 * math/w_j0f.c: Likewise.
50055 * math/w_j0l.c: Likewise.
50056 * math/w_j1.c: Likewise.
50057 * math/w_j1f.c: Likewise.
50058 * math/w_j1l.c: Likewise.
50059 * math/w_jn.c: Likewise.
50060 * math/w_jnf.c: Likewise.
50061 * math/w_log.c: Likewise.
50062 * math/w_log10.c: Likewise.
50063 * math/w_log10f.c: Likewise.
50064 * math/w_log10l.c: Likewise.
50065 * math/w_log2.c: Likewise.
50066 * math/w_log2f.c: Likewise.
50067 * math/w_log2l.c: Likewise.
50068 * math/w_logf.c: Likewise.
50069 * math/w_logl.c: Likewise.
50070 * math/w_sqrt.c: Likewise.
50071 * math/w_sqrtf.c: Likewise.
50072 * math/w_sqrtl.c: Likewise.
50073 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50074 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50075 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50076 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50077 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50078
ebaf36eb
JM
500792012-02-19 Joseph Myers <joseph@codesourcery.com>
50080
50081 [BZ #9739]
50082 * manual/string.texi (strnlen): Use correct parameter name in
50083 equivalent expression.
50084
71c254a6
JM
500852012-02-19 Joseph Myers <joseph@codesourcery.com>
50086
50087 [BZ #11174]
50088 * manual/users.texi (seteuid): Consistently use neweuid for
50089 argument name.
50090
16d2c631
JM
500912012-02-19 Joseph Myers <joseph@codesourcery.com>
50092
50093 [BZ #13704]
50094 * manual/nss.texi (Services in the NSS configuration): Correct
50095 list of services in example configuration file.
50096
cd837b09
NB
500972012-02-19 Nick Bowler <nbowler@draconx.ca>
50098
50099 [BZ #11322]
50100 * manual/arith.texi: Remove statements about negative zero
50101 behaving identically to zero.
50102
02c4bbad
JM
501032012-02-18 Joseph Myers <joseph@codesourcery.com>
50104
50105 [BZ #5993]
50106 * manual/install.texi: Do not document upgrading from libc5.
50107
366842e7
JM
501082012-02-18 Joseph Myers <joseph@codesourcery.com>
50109
50110 [BZ #4596]
50111 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50112
dd54084d
DM
501132012-02-18 David S. Miller <davem@davemloft.net>
50114
50115 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50116 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50117 %o7 across the call.
50118 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50119 instead.
50120 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50121 SETUP_PIC_REG_LEAF.
50122 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50123 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50124 * sysdeps/sparc/crtn.S: Likewise.
50125
2bcc53a3
UD
501262012-02-17 Ulrich Drepper <drepper@gmail.com>
50127
50128 * aout/Makefile: Remove.
50129
09c093b5
RK
501302012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50131
50132 [BZ #13058]
50133 * manual/examples/argp-ex1.c (main): Format definition in GNU
50134 style.
50135 * manual/examples/argp-ex2.c (main): Likewise.
50136 * manual/examples/argp-ex3.c (main): Likewise.
50137 * manual/examples/argp-ex4.c (main): Likewise.
50138 * manual/examples/longopt.c (main): Use new-style prototype
50139 definition.
50140 * manual/examples/strncat.c (main): Specify return type and use
50141 (void) for arguments.
50142 * manual/examples/subopt.c (main): Use char **argv argument.
50143
2ee633a2
JM
501442012-02-17 Joseph Myers <joseph@codesourcery.com>
50145
50146 [BZ #5077]
50147 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50148 rounding modes.
50149
0520adde
FB
501502012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50151
50152 [BZ #6907]
50153 * manual/string.texi (strchr): Change when strchrnul is
50154 recommended.
50155
3f4081cd
DGM
501562012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50157
50158 [BZ #174]
50159 * manual/locale.texi (setlocale): Document LOCPATH.
50160
d1b10e78
JM
501612012-02-17 Joseph Myers <joseph@codesourcery.com>
50162
50163 [BZ #10210]
50164 * manual/process.texi (execle): Move @dots{} before last argument.
50165
79c6869c
PB
501662012-02-17 Paul Bolle <pebolle@tiscali.nl>
50167
50168 [BZ #12047]
50169 * manual/charset.texi (Generic Charset Conversion): Fix typo
50170 (LC_TYPE -> LC_CTYPE).
50171
cc6e48bc
NB
501722012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50173
50174 [BZ #5805]
50175 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50176 (scalbnf): Likewise.
50177 (scalbnl): Likewise.
50178 (scalbln): Likewise.
50179 (scalblnf): Likewise.
50180 (scalblnl): Likewise.
50181 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50182 (vwarnx): Likewise.
50183 (verr): Likewise.
50184 (verrx): Likewise.
50185 * manual/filesys.texi (telldir): Use braces around return type.
50186 * manual/llio.texi (mmap): Add space after comma.
50187 (mmap64): Likewise.
50188 * manual/math.texi (jn): Use @var{} on parameter names.
50189 (jnf): Likewise.
50190 (jnl): Likewise.
50191 (yn): Likewise.
50192 (ynf): Likewise.
50193 (ynl): Likewise.
50194 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50195 line.
50196 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50197 "...".
50198 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50199 (sched_get_priority_max): Likewise.
50200 * manual/signal.texi (sigvec): Add space after comma.
50201 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50202 names.
50203 (if_indextoname): Likewise.
50204 (if_freenameindex): Likewise.
50205 (sendto): Use ',' instead of '.' in prototype.
50206 * manual/startup.texi (syscall): Use @dots{} instead of literal
50207 "...".
50208 * manual/stdio.texi (__fpending): Separate initial words of
50209 paragraph from @deftypefun line.
50210 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50211 "...".
50212 (vsyslog): Use @var{} on parameter names.
50213 * manual/terminal.texi (stty): Use @var{} on parameter names.
50214 * manual/users.texi (getutmp): Use @var{} on parameter names.
50215 (getutmpx): Likewise.
50216
5b23062f
JM
502172012-02-17 Joseph Myers <joseph@codesourcery.com>
50218
50219 [BZ #6884]
50220 * manual/stdio.texi (fopen): Fix typos in description of
50221 ",ccs=STRING".
50222
8dee4833
AJ
502232012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50224
50225 [BZ #4026]
50226 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50227 get clock_id definition.
50228
9078ce93
TS
502292012-02-17 Thomas Schwinge <thomas@schwinge.name>
50230
50231 [BZ #4822]
50232 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50233 (madvise): Cast every argument to void on its own.
50234
3835c55f
JM
502352012-02-17 Joseph Myers <joseph@codesourcery.com>
50236
50237 [BZ #9902]
50238 * manual/startup.texi (Exit Status): Fix typo.
50239
35c47e37
JM
502402012-02-17 Joseph Myers <joseph@codesourcery.com>
50241
50242 [BZ #10140]
50243 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50244 * manual/examples/argp-ex2.c: Likewise.
50245 * manual/examples/argp-ex3.c: Likewise.
50246
e3b69ca7
RH
502472012-02-16 Richard Henderson <rth@redhat.com>
50248
50249 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50250 * sysdeps/s390/s390-32/initfini.c: Remove.
50251 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50252 * sysdeps/s390/s390-64/initfini.c: Remove.
50253
df83af67
KK
502542012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50255
50256 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50257 compiler output for sysdeps/generic/initfini.c.
50258 * sysdeps/sh/elf/initfini.c: Remove file.
50259
f63f3380
DM
502602012-02-16 David S. Miller <davem@davemloft.net>
50261
fb59b3a4
DM
50262 [BZ #11494]
50263 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50264
f63f3380
DM
50265 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50266 * sysdeps/sparc/crti.S: New file.
50267 * sysdeps/sparc/crtn.S: New file.
50268 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50269 * sysdeps/sparc/sparc64/Makefile: Likewise.
50270
df6a4a4a
MF
502712012-02-15 Mike Frysinger <vapier@gentoo.org>
50272
6dd8f3dc 50273 [BZ #3335]
df6a4a4a
MF
50274 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50275
1cac7236
RM
502762012-02-15 Roland McGrath <roland@hack.frob.com>
50277
d2c736f8
RM
50278 [BZ #4822]
50279 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50280
1cac7236
RM
50281 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50282 (write, read, close): Likewise.
50283 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50284
8e475601
JM
502852012-02-15 Joseph Myers <joseph@codesourcery.com>
50286
50287 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50288 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50289 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50290 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50291 <bits/signalfd.h>.
50292 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50294 bits/signalfd.h.
50295
ed656b40
MP
502962012-02-14 Marek Polacek <polacek@redhat.com>
50297
50298 * sysdeps/x86_64/crti.S: New file.
50299 * sysdeps/x86_64/crtn.S: New file.
50300 * sysdeps/x86_64/elf/initfini.c: Remove file.
50301
2a979d3a
JM
503022012-02-13 Joseph Myers <joseph@codesourcery.com>
50303
50304 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50305 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50306 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50307 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50308 <bits/inotify.h>.
50309 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50310 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50311 bits/inotify.h.
50312
2a418ac3
JM
503132012-02-13 Joseph Myers <joseph@codesourcery.com>
50314
50315 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50316 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50317 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50318 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50319 <bits/eventfd.h>.
50320 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50322 bits/eventfd.h.
50323
fb779be7
TS
503242012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50325
e19e83c5
RM
50326 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50327 __feraiseexcept instead of feraiseexcept.
7c35ffed 50328
fb779be7
TS
50329 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50330 nanosleep invocations.
50331 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50332 strings, and add error checking for a nanosleep invocations.
50333
59ba27a6
PE
503342012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50335
50336 Replace FSF snail mail address with URLs, as per GNU coding standards.
50337 Most of the snail mail addresses were wrong anyway, and omitting
50338 them makes the source code easier to maintain. Almost all of the
50339 changes are to license notices and to locale LC_IDENTIFICATION
50340 addresses, except for this one:
50341 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50342 not its snail mail address.
50343
57b957eb
RH
503442012-02-09 Richard Henderson <rth@twiddle.net>
50345
af850b1c
RH
50346 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50347 of kernel-features.h.
50348
57b957eb
RH
50349 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50350
6b73181a
MP
503512012-02-08 Marek Polacek <polacek@redhat.com>
50352
50353 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50354 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50355 * sysdeps/gnu/_G_config.h: Likewise.
50356 * sysdeps/generic/_G_config.h: Likewise.
50357
26ecc33a
AS
503582012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50359
6c6dbc63
AS
50360 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50361 tests.
50362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50363
e216c012
AS
50364 * sysdeps/powerpc/powerpc32/crti.S: New file.
50365 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50366 * sysdeps/powerpc/powerpc64/crti.S: New file.
50367 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50368
26ecc33a
AS
50369 * Makeconfig (have-initfini): Don't set.
50370 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50371 * configure.in (nopic_initfini): Don't substitute.
50372 * config.h.in (HAVE_INITFINI): Don't #undef.
50373 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50374 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50375
3add8e13
JM
503762012-02-08 Joseph Myers <joseph@codesourcery.com>
50377
50378 Support crti.S and crtn.S provided directly by architectures.
50379 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50380 [crti.S in sysdirs] (omit-deps): Likewise.
50381 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50382 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50383 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50384 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50385 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50386 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50387 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50388 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50389 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50390 compiler output for sysdeps/generic/initfini.c.
50391 * sysdeps/i386/elf/Makefile: Remove file.
50392 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50393
a22f12b4
MP
503942012-02-07 Marek Polacek <polacek@redhat.com>
50395
50396 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50397 * sysdeps/gnu/_G_config.h: Likewise.
50398 * sysdeps/mach/hurd/_G_config.h: Likewise.
50399
148cf100
MP
504002012-02-07 Marek Polacek <polacek@redhat.com>
50401
50402 * math/Makefile (tests): Add tst-CMPLX2.
50403 * math/tst-CMPLX2.c: New file.
50404
cfdc0dd7
AS
504052012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50406
84ba42c4
AS
50407 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50408
cfdc0dd7
AS
50409 * math/libm-test.inc (jn_test): Add missing L suffix.
50410
622c86f4
MP
504112012-02-06 Marek Polacek <polacek@redhat.com>
50412
50413 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50414 * sysdeps/i386/fpu/e_powf.S: Likewise.
50415 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50416 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50417 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50418 * sysdeps/i386/fpu/e_pow.S: Likewise.
50419 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50420 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50421 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50422 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50423 * sysdeps/i386/fpu/e_log2.S: Likewise.
50424 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50425 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50426 * sysdeps/i386/fpu/e_powl.S: Likewise.
50427 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50428 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50429 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50430 * sysdeps/i386/fpu/e_logl.S: Likewise.
50431 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50432 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50433 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50434 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50435 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50436 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50437 * sysdeps/i386/fpu/e_log.S: Likewise.
50438 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50439 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50440 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50441 * sysdeps/i386/fpu/e_logf.S: Likewise.
50442 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50443 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50444 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50445 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50446 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50447 * sysdeps/i386/fpu/e_log10.S: Likewise.
50448 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50449 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50450 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50451 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50452 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50453 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50454 * sysdeps/i386/asm-syntax.h: Likewise.
50455 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50456 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50457 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50458 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50459 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50460 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50461 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50462 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50463 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50464 * sysdeps/powerpc/sysdep.h: Likewise.
50465 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50466 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50467
d4a54ac6
JM
504682012-02-06 Joseph Myers <joseph@codesourcery.com>
50469
50470 [BZ #411]
50471 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50472
314054ea
JM
504732012-02-06 Joseph Myers <joseph@codesourcery.com>
50474
50475 * sysdeps/i386/sysdep.h: Include <features.h>.
50476 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50477 version.
50478
d8e0ca50
JM
504792012-02-05 Joseph Myers <joseph@codesourcery.com>
50480
50481 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50482 Define.
50483 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50484 LOAD_PIC_REG_STR.
50485
b1da7dd9
JM
504862012-02-03 Joseph Myers <joseph@codesourcery.com>
50487
50488 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50489 (SETUP_PIC_REG): Use GET_PC_THUNK.
50490 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50491 macro.
50492
9a1d9254
JM
504932012-02-03 Joseph Myers <joseph@codesourcery.com>
50494
50495 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50496 for non-PIC compilation.
50497 (SETUP_PIC_REG): Add .p2align directive.
50498 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50499 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50500 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50501 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50502 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50503 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50504 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50505 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50506 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50507 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50508 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50509 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50510 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50511 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50512 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50513 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50514 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50515 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50516 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50517 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50518 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50519 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50520 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50521 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50522 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50523 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50524 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50525 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50526 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50527 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50528 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50529 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50530 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50531 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50532 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50533 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50534 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50535 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50536 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50537 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50538 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50539
65dc3b75
JM
505402012-02-03 Joseph Myers <joseph@codesourcery.com>
50541
50542 * math/tst-CMPLX.c: Include <stdio.h>.
50543
d55bf177
JM
505442012-01-31 Joseph Myers <joseph@codesourcery.com>
50545
50546 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50547 float.
50548 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50549 * sysdeps/sparc/bits/mathdef.h: Likewise.
50550
69db4f8f
MP
505512012-01-31 Marek Polacek <polacek@redhat.com>
50552
50553 * libio/libio.h: Don't define _PARAMS.
50554 * locale/programs/config.h: Don't define PARAMS.
50555 * stdlib/strtol_l.c: Likewise.
50556 (__strtol_l): Remove PARAMS from the prototype.
50557
41b81892
UD
505582012-01-31 Ulrich Drepper <drepper@gmail.com>
50559
3b49edc0
UD
50560 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50561 names. Just use the correct names. Remove unnecessary wrapper
50562 functions.
50563 * malloc/arena.c: Likewise.
50564 * malloc/hooks.c: Likewise.
50565
41b81892
UD
50566 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50567 ARENA_TEST says not to. Simplify test for creation of a new arena.
50568 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50569
27a25b6e
UD
505702012-01-30 Ulrich Drepper <drepper@gmail.com>
50571
50572 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50573 into tail calls.
50574 (update_get_addr): New function.
50575 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50576 GET_ADDR_MODULE parameter.
50577
c8a89e7d
JM
505782012-01-30 Joseph Myers <joseph@codesourcery.com>
50579
50580 * crypt/cert.c: Remove __STDC__ conditionals.
50581 * crypt/crypt-entry.c: Likewise.
50582 * crypt/crypt_util.c: Likewise.
50583 * libio/filedoalloc.c: Likewise.
50584 * libio/fileops.c: Likewise.
50585 * libio/genops.c: Likewise.
50586 * libio/iofclose.c: Likewise.
50587 * libio/iofdopen.c: Likewise.
50588 * libio/iofopen.c: Likewise.
50589 * libio/iofopen64.c: Likewise.
50590 * libio/iogetdelim.c: Likewise.
50591 * libio/iopopen.c: Likewise.
50592 * libio/obprintf.c: Likewise.
50593 * libio/oldfileops.c: Likewise.
50594 * libio/oldiofclose.c: Likewise.
50595 * libio/oldiofdopen.c: Likewise.
50596 * libio/oldiofopen.c: Likewise.
50597 * libio/oldiopopen.c: Likewise.
50598 * libio/wfiledoalloc.c: Likewise.
50599 * libio/wgenops.c: Likewise.
50600 * locale/programs/xmalloc.c: Likewise.
50601 * misc/syslog.c: Likewise.
50602 * stdio-common/xbug.c: Likewise.
50603 * string/memchr.c: Likewise.
50604 * string/memcmp.c: Likewise.
50605 * string/memrchr.c: Likewise.
50606 * string/rawmemchr.c: Likewise.
50607 * sysdeps/posix/getcwd.c: Likewise.
50608 * time/strftime_l.c: Likewise.
50609
3b100462
JM
506102012-01-30 Joseph Myers <joseph@codesourcery.com>
50611
50612 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
50613 * config.make.in (config-cflags-sse2avx): Define.
50614 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50615 Fix typo.
50616
607998af
CM
506172012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50618
50619 * scripts/config.guess: Update from upstream config git repository.
50620 * scripts/config.sub: Likewise.
50621
3601428f
CM
506222012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50623
3ac8b282
CM
50624 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50625 (EM_NUM): Update.
50626 (R_TILEPRO_*, R_TILEGX_*): New macros.
50627
e034841e
CM
50628 * scripts/firstversions.awk: Fix bug in version range handling.
50629
540d7568
CM
50630 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50631
3601428f
CM
50632 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50633
463de862
CM
50634 * include/sys/epoll.h: New file.
50635 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50636 libc_hidden_def.
50637
73139a76
UD
506382012-01-28 Ulrich Drepper <drepper@gmail.com>
50639
96bc5b45
UD
50640 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50641 Avoid unnecessary __WORDSIZE == 64 test.
50642 (fmaxf): Use VEX format if possible.
50643 (fmax): Likewise.
50644 (fminf): Likewise.
50645 (fmin): Likewise.
50646
56f6f6a2
UD
50647 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50648 * math/math_private.h: Remove libc_fegetround* and
50649 libc_fesetround*.
50650 * sysdeps/i386/configure.in: Check for -msse2avx.
50651 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50652 also if SSE2AVX is defined.
50653 Remove libc_fegetround* and libc_fesetround*.
50654 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50655 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50656 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50657 of HAS_YMM_USABLE.
50658 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50659 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50660 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50661 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50662 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50663
73139a76
UD
50664 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50665
d73f93a4
AZ
506662012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50667
50668 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50669 size is not set.
50670 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50671
6ee65ed6
UD
506722012-01-27 Ulrich Drepper <drepper@gmail.com>
50673
50674 [BZ #13618]
50675 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50676 relocation.
50677 * Makeconfig (libm): Define.
50678 * elf/Makefile: Add rules to build and run tst-relsort1.
50679 * elf/tst-relsort1.c: New file.
50680 * elf/tst-relsort1mod1.c: New file.
50681 * elf/tst-relsort1mod2.c: New file.
50682
8db21882
JM
506832012-01-27 Joseph Myers <joseph@codesourcery.com>
50684
50685 * math/s_ldexp.c: Remove __STDC__ conditionals.
50686 * math/s_ldexpf.c: Likewise.
50687 * math/s_ldexpl.c: Likewise.
50688 * math/s_nextafter.c: Likewise.
50689 * math/s_nexttowardf.c: Likewise.
50690 * math/s_significand.c: Likewise.
50691 * math/s_significandf.c: Likewise.
50692 * math/s_significandl.c: Likewise.
50693 * math/w_jnl.c: Likewise.
50694 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50695 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50696 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50697 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50698 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50699 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50700 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50701 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50702 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50703 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50704 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50705 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50706 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50707 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50708 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50709 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50710 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50711 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50712 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50713 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50714 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50715 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50716 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50717 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50718 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50719 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50720 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50721 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50722 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50723 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50724 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50725 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50726 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50727 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50728 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50729 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50730 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50731 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50732 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50733 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50734 * sysdeps/ieee754/k_standard.c: Likewise.
50735 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50736 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50737 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50738 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50739 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50740 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50741 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50742 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50743 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50744 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50745 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50746 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50747 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50748 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50749 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50750 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50751 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50752 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50753 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50754 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50755 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50756 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50757 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50758 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50759 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50760 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50761 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50762 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50763 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50764 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50765 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50766 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50767 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50768 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50769 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50770 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50771 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50772 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50773 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50774 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50775 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50776 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50777 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50778 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50779 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50780 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50781 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50782 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50783 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50784 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50785 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50786 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50787 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50788 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50789 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50790 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50791 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50792 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50793 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50794 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50795 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50796 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50797 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50798 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50799 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50800 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50801 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50802 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50803 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50804 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50805 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50806 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50807 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50808 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50809 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50810 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50811 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50812 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50813 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50814 * sysdeps/ieee754/s_matherr.c: Likewise.
50815 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50816 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50817 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50818 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50819
965a54a4
JM
508202012-01-26 Joseph Myers <joseph@codesourcery.com>
50821
50822 * crypt/md5.h: Remove __STDC__ conditionals.
50823 * libio/libioP.h: Likewise.
50824 * locale/programs/config.h: Likewise.
50825 * sysdeps/generic/sysdep.h: Likewise.
50826 * sysdeps/i386/asm-syntax.h: Likewise.
50827 * sysdeps/s390/asm-syntax.h: Likewise.
50828 * sysdeps/unix/sysdep.h: Likewise.
50829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50831
7071ad79
JM
508322012-01-26 Joseph Myers <joseph@codesourcery.com>
50833
50834 * libio/libio.h: Remove __STDC__ conditionals.
50835 * malloc/obstack.h: Likewise.
50836 * math/complex.h: Likewise.
50837 * math/math.h: Likewise.
50838 * sysdeps/generic/_G_config.h: Likewise.
50839 * sysdeps/gnu/_G_config.h: Likewise.
50840 * sysdeps/mach/hurd/_G_config.h: Likewise.
50841 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50842 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50843 * sysdeps/sparc/bits/mathdef.h: Likewise.
50844
afc5ed09
UD
508452012-01-26 Ulrich Drepper <drepper@gmail.com>
50846
50847 [BZ #13583]
50848 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 50849 Clean up HAS_* macros.
afc5ed09 50850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
50851 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50852 possible.
50853 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50854 HAS_AVX.
50855 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50856 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50857 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50858 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50859 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 50860
bdb6de1d
JM
508612012-01-25 Joseph Myers <joseph@codesourcery.com>
50862
50863 * elf/tst-unique3.cc (gets): Remove declaration.
50864 * elf/tst-unique3lib.cc (gets): Likewise.
50865 * elf/tst-unique3lib2.cc (gets): Likewise.
50866 * elf/tst-unique4.cc (gets): Likewise.
50867
b15549e6
UD
508682012-01-24 Ulrich Drepper <drepper@gmail.com>
50869
50870 * include/stdio.h: Add C++ protection. Add gets declarations and
50871 definitions.
50872 * debug/tst-chk1.c: Don't declare gets here.
50873 * stdio-common/tst-gets.c: Likewise.
50874
a037381f
JM
508752012-01-24 Joseph Myers <joseph@codesourcery.com>
50876
50877 * posix/glob: Remove directory.
50878
f1d4aa75
JM
508792012-01-24 Joseph Myers <joseph@codesourcery.com>
50880
50881 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50882
81c0c964
PT
508832012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50884
50885 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50886 of the non-standard EPFNOSUPPORT.
50887
0ea698ae
ST
508882011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50889
50890 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50891 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50892 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50893
d220b117
UD
508942012-01-21 Ulrich Drepper <drepper@gmail.com>
50895
50896 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50897
3e1aa84e
UD
508982012-01-20 Ulrich Drepper <drepper@gmail.com>
50899
50900 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50901 transient errors.
50902 * nscd/grpcache.c (cache_addgr): Likewise.
50903 * nscd/hstcache.c (cache_addhst): Likewise.
50904 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50905 * nscd/pwdcache.c (cache_addpw): Likewise.
50906 * nscd/servicescache.c (cache_addserv): Likewise.
50907
400aa020
UD
509082012-01-16 Ulrich Drepper <drepper@gmail.com>
50909
d77e7869
UD
50910 * malloc/malloc.c: Various cleanups.
50911 * malloc/hooks.c: Likewise.
50912
400aa020
UD
50913 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50914 * stdlib/bug-fmtmsg1.c: New file.
50915
50916 * stdlib/fmtmsg.c (init): Add missing unlock.
50917 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50918
e0a309cf
MP
509192012-01-12 Marek Polacek <polacek@redhat.com>
50920
50921 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50922 and _GNU_SOURCE.
50923
929d11c7
WS
509242012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50925
50926 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50927 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50928 macro to ensure uniqueness of label name.
50929 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50930 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50931
41d0e869
UD
509322012-01-11 Ulrich Drepper <drepper@gmail.com>
50933
0cc5ed3b
UD
50934 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50935
41d0e869
UD
50936 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50937 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50938 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50939 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50940
a47a831a
UD
509412012-01-10 Ulrich Drepper <drepper@gmail.com>
50942
daa891c0
UD
50943 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50944
50945 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50946 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50947 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50948
e58ef0f2
UD
50949 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50950
a47a831a 50951 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
50952 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50953 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 50954 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
50955
50956 * math/bits/math-finite.h: Add ldexp support.
50957
a0bfc9c7
MP
509582012-01-10 Marek Polacek <polacek@redhat.com>
50959
50960 * locale/programs/localedef.h (show_archive_content): Add noreturn
50961 attribute.
50962
d6e97a1d
UD
509632012-01-09 Ulrich Drepper <drepper@gmail.com>
50964
50965 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50966
d5835c26
UD
509672012-01-08 Ulrich Drepper <drepper@gmail.com>
50968
e5f484c6
UD
50969 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50970
d5835c26
UD
50971 * io/Makefile (headers): Add bits/poll2.h.
50972
d1f741e9
WS
509732011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50974
50975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50976 typo #include statement.
50977
ec09c1c4
UD
509782012-01-08 Ulrich Drepper <drepper@gmail.com>
50979
50980 * include/sys/cdefs.h: Define __attribute_alloc_size.
50981 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50982 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50983 * elf/pldd.c: Likewise.
50984 * iconv/iconv_charmap.c: Likewise.
50985 * iconv/iconvconfig.c: Likewise.
50986 * iconv/strtab.c: Likewise.
50987 * locale/programs/locale.c: Likewise.
50988 * locale/programs/localedef.h: Likewise.
50989 * locale/programs/simple-hash.c: Likewise.
50990 * nscd/nscd.h: Likewise.
50991 * nss/makedb.c: Likewise.
50992 * sysdeps/generic/ldconfig.h: Likewise.
50993 * locale/programs/localedef.c: Remove xmalloc prototype.
50994 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50995
20b38e03
PP
509962012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50997
50998 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50999 appropriate.
51000
a0da5fe1
UD
510012012-01-08 Ulrich Drepper <drepper@gmail.com>
51002
1d5a644a 51003 * math/Makefile (tests): Add tst-CMPLX.
669704fd 51004 * math/tst-CMPLX.c: New file.
1d5a644a 51005
8784a6db
UD
51006 * math/complex.h (CMPLXL): Fix typo.
51007
d9a216c0
UD
51008 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51009 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51010 GLIBC_2.16.
51011 * debug/tst-chk1.c: Add poll and ppoll tests.
51012 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51013 * include/sys/poll.h: Add hidden proto for ppoll.
51014 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51015 * sysdeps/mach/hurd/ppoll.c: Likewise.
51016 * io/ppoll.c: Likewise.
51017 * debug/poll_chk.c: New file.
51018 * debug/ppoll_chk.c: New file.
51019 * include/bits/poll2.h: New file.
51020 * io/bits/poll2.h: New file.
51021
ac097f5c
UD
51022 [BZ #1350]
51023 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51024
2119dcfa
UD
51025 * configure.in: static is always set to yes. Remove.
51026 * config.make.in: Don't set build-static.
51027 * Makeconfig: Remove use of build-static.
51028 * dlfcn/Makefile: Likewise.
51029 * elf/Makefile: Likewise.
51030 * math/Makefile: Likewise.
51031 * misc/Makefile: Likewise.
51032 * nptl/Makefile: Likewise.
51033 * sysdeps/mach/hurd/Makefile: Likewise.
51034
121766a9
UD
51035 * configure.in: PWD_P is not used anymore.
51036 * config.make.in: Remove PWD_P entry.
51037
51a1d39c 51038 * configure.in: Remove last remnants of RANLIB.
8720d066 51039 No need to check for signed size_t anymore.
215f4bdc
UD
51040 Don't set libc_commonpagesize and libc_relro_required here for Alpha
51041 and IA-64.
3857022a 51042 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
51043 * aclocal.m4: Likewise.
51044
d3ed7225
UD
51045 * wcsmbs/mbrtoc16.c: Implement using towc function.
51046 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51047 * wcsmbs/wcsmbsload.c: Likewise.
51048 * iconv/gconv_simple.c: Likewise.
51049 * iconv/gconv_int.h: Likewise.
51050 * iconv/gconv_builtin.h: Likewise.
51051 * iconv/iconv_prog.c: Remove CHAR16 handling.
51052
51053 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51054
51055 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51056
a0da5fe1
UD
51057 * configure.in: Remove --with-elf and --enable-bounded options.
51058 Dont set base_machine for ia64. More non-ELF conditions removed.
51059 Remove testing and setting of leading underscore information.
51060 * config.make.in (build-bounded): Set to no.
51061 * config.h.in: Remove NO_UNDERSCORES entry.
51062 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
51063 them.
51064 * csu/start.c: Remove !NO_UNDERSCORE code.
51065 * locale/localeinfo.h: Likewise.
51066 * sysdeps/generic/machine-gmon.h: Likewise.
51067 * sysdeps/generic/sysdep.h: Likewise.
51068 * sysdeps/i386/sysdep.h: Likewise.
51069 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51070 * sysdeps/mach/sysdep.h: Likewise.
51071 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51072 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51073 * sysdeps/sh/sysdep.h: Likewise.
51074 * sysdeps/sparc/sparc32/alloca.S: Likewise.
51075 * sysdeps/unix/i386/sysdep.S: Likewise.
51076 * sysdeps/unix/sparc/start.c: Likewise.
51077 * sysdeps/unix/sparc/sysdep.S: Likewise.
51078 * sysdeps/unix/sparc/sysdep.h: Likewise.
51079 * sysdeps/unix/start.c: Likewise.
51080 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51081 * sysdeps/x86_64/sysdep.h: Likewise.
51082
df78418a
UD
510832012-01-07 Ulrich Drepper <drepper@gmail.com>
51084
a784e502
UD
51085 [BZ #13553]
51086 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51087 for non-gcc.
51088 * argp/argp-fmtstream.h: Use const instead __const.
51089 * argp/argp.h: Likewise.
51090 * assert/assert.h: Likewise.
51091 * bits/fenv.h: Likewise.
51092 * bits/sched.h: Likewise.
51093 * bits/sigset.h: Likewise.
51094 * bits/sigthread.h: Likewise.
51095 * catgets/nl_types.h: Likewise.
51096 * conform/data/pthread.h-data: Likewise.
51097 * crypt/crypt-private.h: Likewise.
51098 * crypt/crypt.h: Likewise.
51099 * crypt/crypt_util.c: Likewise.
51100 * ctype/ctype.h: Likewise.
51101 * debug/execinfo.h: Likewise.
51102 * debug/mbsnrtowcs_chk.c: Likewise.
51103 * debug/mbsrtowcs_chk.c: Likewise.
51104 * debug/wcsnrtombs_chk.c: Likewise.
51105 * debug/wcsrtombs_chk.c: Likewise.
51106 * debug/wcstombs_chk.c: Likewise.
51107 * dirent/dirent.h: Likewise.
51108 * dlfcn/dlfcn.h: Likewise.
51109 * elf/neededtest4.c: Likewise.
51110 * grp/grp.h: Likewise.
51111 * gshadow/gshadow.h: Likewise.
51112 * iconv/gconv.h: Likewise.
51113 * iconv/gconv_int.h: Likewise.
51114 * iconv/gconv_simple.c: Likewise.
51115 * iconv/iconv.h: Likewise.
51116 * iconv/loop.c: Likewise.
51117 * iconv/skeleton.c: Likewise.
51118 * include/aio.h: Likewise.
51119 * include/aliases.h: Likewise.
51120 * include/argz.h: Likewise.
51121 * include/arpa/inet.h: Likewise.
51122 * include/assert.h: Likewise.
51123 * include/dirent.h: Likewise.
51124 * include/dlfcn.h: Likewise.
51125 * include/execinfo.h: Likewise.
51126 * include/fcntl.h: Likewise.
51127 * include/fenv.h: Likewise.
51128 * include/glob.h: Likewise.
51129 * include/grp.h: Likewise.
51130 * include/libintl.h: Likewise.
51131 * include/mntent.h: Likewise.
51132 * include/netdb.h: Likewise.
51133 * include/pwd.h: Likewise.
51134 * include/rpc/netdb.h: Likewise.
51135 * include/sched.h: Likewise.
51136 * include/search.h: Likewise.
51137 * include/shadow.h: Likewise.
51138 * include/signal.h: Likewise.
51139 * include/stdio.h: Likewise.
51140 * include/stdlib.h: Likewise.
51141 * include/string.h: Likewise.
51142 * include/sys/socket.h: Likewise.
51143 * include/sys/stat.h: Likewise.
51144 * include/sys/statfs.h: Likewise.
51145 * include/sys/statvfs.h: Likewise.
51146 * include/sys/syslog.h: Likewise.
51147 * include/sys/time.h: Likewise.
51148 * include/sys/uio.h: Likewise.
51149 * include/time.h: Likewise.
51150 * include/unistd.h: Likewise.
51151 * include/utmp.h: Likewise.
51152 * include/wchar.h: Likewise.
51153 * include/wctype.h: Likewise.
51154 * inet/aliases.h: Likewise.
51155 * inet/arpa/inet.h: Likewise.
51156 * inet/netinet/ether.h: Likewise.
51157 * inet/netinet/in.h: Likewise.
51158 * intl/libintl.h: Likewise.
51159 * io/bits/fcntl2.h: Likewise.
51160 * io/fcntl.h: Likewise.
51161 * io/ftw.h: Likewise.
51162 * io/sys/poll.h: Likewise.
51163 * io/sys/stat.h: Likewise.
51164 * io/sys/statfs.h: Likewise.
51165 * io/sys/statvfs.h: Likewise.
51166 * io/utime.h: Likewise.
51167 * libio/bits/stdio.h: Likewise.
51168 * libio/bits/stdio2.h: Likewise.
51169 * libio/libio.h: Likewise.
51170 * libio/libioP.h: Likewise.
51171 * libio/stdio.h: Likewise.
51172 * locale/lc-ctype.c: Likewise.
51173 * locale/locale.h: Likewise.
51174 * login/utmp.h: Likewise.
51175 * malloc/arena.c: Likewise.
51176 * malloc/malloc.c: Likewise.
51177 * malloc/malloc.h: Likewise.
51178 * malloc/mcheck.c: Likewise.
51179 * malloc/mtrace.c: Likewise.
51180 * math/bits/mathcalls.h: Likewise.
51181 * math/fenv.h: Likewise.
51182 * math/math_private.h: Likewise.
51183 * misc/bits/error.h: Likewise.
51184 * misc/bits/syslog.h: Likewise.
51185 * misc/err.h: Likewise.
51186 * misc/error.h: Likewise.
51187 * misc/fstab.h: Likewise.
51188 * misc/mntent.h: Likewise.
51189 * misc/regexp.h: Likewise.
51190 * misc/search.h: Likewise.
51191 * misc/sgtty.h: Likewise.
51192 * misc/sys/mman.h: Likewise.
51193 * misc/sys/syslog.h: Likewise.
51194 * misc/sys/uio.h: Likewise.
51195 * misc/sys/xattr.h: Likewise.
51196 * misc/ttyent.h: Likewise.
51197 * nis/rpcsvc/ypclnt.h: Likewise.
51198 * nss/nss.h: Likewise.
51199 * posix/bits/unistd.h: Likewise.
51200 * posix/fnmatch.h: Likewise.
51201 * posix/glob.h: Likewise.
51202 * posix/sched.h: Likewise.
51203 * posix/spawn.h: Likewise.
51204 * posix/sys/wait.h: Likewise.
51205 * posix/unistd.h: Likewise.
51206 * posix/wordexp.h: Likewise.
51207 * pwd/pwd.h: Likewise.
51208 * resolv/netdb.h: Likewise.
51209 * resource/sys/resource.h: Likewise.
51210 * rt/aio.h: Likewise.
51211 * rt/bits/mqueue2.h: Likewise.
51212 * rt/mqueue.h: Likewise.
51213 * shadow/shadow.h: Likewise.
51214 * signal/signal.h: Likewise.
51215 * socket/send.c: Likewise.
51216 * socket/sendto.c: Likewise.
51217 * socket/sys/socket.h: Likewise.
51218 * stdio-common/printf.h: Likewise.
51219 * stdlib/bits/stdlib.h: Likewise.
51220 * stdlib/fmtmsg.h: Likewise.
51221 * stdlib/monetary.h: Likewise.
51222 * stdlib/stdlib.h: Likewise.
51223 * stdlib/ucontext.h: Likewise.
51224 * streams/stropts.h: Likewise.
51225 * string/argz.h: Likewise.
51226 * string/bits/string2.h: Likewise.
51227 * string/string.h: Likewise.
51228 * string/strings.h: Likewise.
51229 * sunrpc/rpc/auth.h: Likewise.
51230 * sunrpc/rpc/auth_des.h: Likewise.
51231 * sunrpc/rpc/clnt.h: Likewise.
51232 * sunrpc/rpc/netdb.h: Likewise.
51233 * sunrpc/rpc/pmap_clnt.h: Likewise.
51234 * sunrpc/rpc/xdr.h: Likewise.
51235 * sysdeps/generic/inttypes.h: Likewise.
51236 * sysdeps/generic/net/if.h: Likewise.
51237 * sysdeps/generic/sys/swap.h: Likewise.
51238 * sysdeps/gnu/net/if.h: Likewise.
51239 * sysdeps/gnu/utmpx.h: Likewise.
51240 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51241 * sysdeps/i386/i486/bits/string.h: Likewise.
51242 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51243 * sysdeps/s390/bits/string.h: Likewise.
51244 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51245 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51246 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51247 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51248 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51249 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51250 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51251 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51252 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51253 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51254 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51255 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51256 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51257 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51258 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51259 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51260 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51261 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51262 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51263 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51264 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51265 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51266 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51267 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51268 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51269 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51270 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51271 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51272 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51273 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51274 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51275 * sysvipc/sys/ipc.h: Likewise.
51276 * sysvipc/sys/msg.h: Likewise.
51277 * sysvipc/sys/sem.h: Likewise.
51278 * sysvipc/sys/shm.h: Likewise.
51279 * termios/termios.h: Likewise.
51280 * time/sys/time.h: Likewise.
51281 * time/time.h: Likewise.
51282 * wcsmbs/bits/wchar2.h: Likewise.
51283 * wcsmbs/uchar.h: Likewise.
51284 * wcsmbs/wchar.h: Likewise.
51285 * wctype/wctype.h: Likewise.
51286
0269750c
UD
51287 [BZ #13551]
51288 * Makeconfig: Remove all but ELF support including AIX support.
51289 * Makerules: Likewise.
51290 * config.h.in: Likewise.
51291 * config.make.in: Likewise.
51292 * configure: Likewise.
51293 * configure.in: Likewise.
51294 * csu/Makefile: Likewise.
51295 * csu/version.c: Likewise.
51296 * debug/Makefile: Likewise.
51297 * dlfcn/Makefile: Likewise.
51298 * elf/Makefile: Likewise.
51299 * extra-lib.mk: Likewise.
51300 * iconv/Makefile: Likewise.
51301 * include/libc-symbols.h: Likewise.
51302 * include/shlib-compat.h: Likewise.
51303 * resolv/Makefile: Likewise.
51304 * resolv/res_libc.c: Likewise.
51305 * rt/Makefile: Likewise.
51306 * sysdeps/i386/asm-syntax.h: Likewise.
51307 * sysdeps/i386/sysdep.h: Likewise.
51308 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51309 * sysdeps/mach/sysdep.h: Likewise.
51310 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51311 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51312 * sysdeps/s390/asm-syntax.h: Likewise.
51313 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51314 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51315 * sysdeps/sh/sysdep.h: Likewise.
51316 * sysdeps/unix/sparc/sysdep.h: Likewise.
51317 * sysdeps/wordsize-32/divdi3.c: Likewise.
51318 * sysdeps/x86_64/sysdep.h: Likewise.
51319
00bbd29b
UD
51320 * argp/Versions: Remove _argp_unlock_xxx.
51321
51322 [BZ #13559]
51323 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51324 * abilist/libBrokenLocale.abilist: Likewise.
51325 * abilist/libanl.abilist: Likewise.
51326 * abilist/libc.abilist: Likewise.
51327 * abilist/libcrypt.abilist: Likewise.
51328 * abilist/libdl.abilist: Likewise.
51329 * abilist/libm.abilist: Likewise.
51330 * abilist/libnsl.abilist: Likewise.
51331 * abilist/libpthread.abilist: Likewise.
51332 * abilist/libresolv.abilist: Likewise.
51333 * abilist/librt.abilist: Likewise.
51334 * abilist/libthread_db.abilist: Likewise.
51335 * abilist/libutil.abilist: Likewise.
51336 * abilist/libnss_db.abilist: New file.
51337
51338 * scripts/abilist.awk: Add support for indirect functions.
51339
a2693a0e
UD
51340 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51341
3f05895f
UD
51342 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51343
ecb6fb48
UD
51344 * shlib-versions: Remove entries for ports architectures.
51345
664f8cb9
UD
51346 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51347 files in ports.
51348 * elf/stackguard-macros.h: Remove support for IA-64.
51349 * elf/tst-auditmod1.c: Likewise.
51350 * sysdeps/generic/ldsodefs.h: Likewise.
51351
7ae81d88
UD
51352 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51353 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51354 configure files.
51355
bdeba135
UD
51356 [BZ #13552]
51357 * configure.in: Remove --enable-omitfp support.
51358 * FAQ.in: Adjust.
51359 * config.make.in: Likewise.
51360 * Makeconfig: Likewise.
51361 * manual/install.texi: Likewise.
51362
d75a0a62
UD
51363 In case anyone cares, the IA-64 architecture could move to ports.
51364 * sysdeps/ia64/*: Removed.
51365 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 51366 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 51367
dcc9756b
UD
51368 [BZ #13555]
51369 * configure.in: Remove entries for unsupported architectures.
51370
d3761ebc 51371 [BZ #13533]
9954432e
UD
51372 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51373 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51374 routines.
51375 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51376 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51377 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51378 fall back to using wcrtomb.
51379 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51380 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51381 renaming.
51382 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51383 * wcsmbs/tst-c16c32-1.c: New file.
51384
51385 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51386 local variable.
51387
c3a87236
UD
51388 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51389
28926a1b
UD
51390 * elf/tst-unique3.cc: Add explicit declaration of gets.
51391 * elf/tst-unique3lib.cc: Likewise.
51392 * elf/tst-unique3lib2.cc: Likewise.
51393 * elf/tst-unique4.cc: Likewise.
51394
df78418a
UD
51395 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51396
8ecd6b2a
JM
513972012-01-06 Joseph Myers <joseph@codesourcery.com>
51398
51399 [BZ #13566]
51400 * assert/assert.h (static_assert): Don't define for C++.
51401 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51402 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51403
9f115170
UD
514042012-01-03 Ulrich Drepper <drepper@gmail.com>
51405
5e0d0300
UD
51406 * iconv/loop.c (single loop): Fix assertion in storing of
51407 remaining bytes.
51408
9f115170
UD
51409 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51410
81fb02b0
UD
514112012-01-01 Ulrich Drepper <drepper@gmail.com>
51412
51413 * posix/getconf.c: Update copyright year.
51414 * nss/getent.c: Likewise.
a316c1f6 51415 * nss/makedb.c: Likewise.
81fb02b0
UD
51416 * iconv/iconvconfig.c: Likewise.
51417 * iconv/iconv_prog.c: Likewise.
51418 * elf/ldconfig.c: Likewise.
a316c1f6
UD
51419 * elf/pldd.c: Likewise.
51420 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
51421 * catgets/gencat.c: Likewise.
51422 * csu/version.c: Likewise.
51423 * elf/ldd.bash.in: Likewise.
51424 * elf/sprof.c (print_version): Likewise.
51425 * locale/programs/locale.c: Likewise.
51426 * locale/programs/localedef.c: Likewise.
a316c1f6 51427 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
51428 * nscd/nscd.c (print_version): Likewise.
51429 * debug/xtrace.sh: Likewise.
51430 * malloc/memusage.sh: Likewise.
51431 * malloc/mtrace.pl: Likewise.
51432 * debug/catchsegv.sh: Likewise.
51433
2ba92745
JJ
514342011-12-30 Jakub Jelinek <jakub@redhat.com>
51435
51436 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51437 pure attribute.
51438
dadebdae
UD
514392011-12-24 Ulrich Drepper <drepper@gmail.com>
51440
d3761ebc 51441 [BZ #13533]
db6af3eb
UD
51442 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51443 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51444 transformations.
51445 * iconv/gconv_int.h: Likewise.
51446 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51447 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51448 from libc for GLIBC_2.16.
51449 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51450 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51451 * wcsmbs/uchar.h: Really define mbstate_t.
51452 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51453 * wcsmbs/c16rtomb.c: New file.
51454 * wcsmbs/mbrtoc16.c: New file.
51455 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51456 for C/POSIX locale.
51457 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51458 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51459
dadebdae
UD
51460 * wcsmbs/wchar.h: Add missing __restrict.
51461
67371b56
UD
514622011-12-23 Ulrich Drepper <drepper@gmail.com>
51463
74033a25
UD
51464 [BZ #13532]
51465 * time/Makefile (routines): Add timespec_get.
51466 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51467 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51468 timespec for ISO C11.
51469 * time/timespec_get.c: New file.
51470 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51471 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51472
380d7e87
UD
51473 [BZ #13531]
51474 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51475 * stdlib/stdlib.h: Declare aligned_alloc.
51476 * Versions.def: Add GLIBC_2.16 for libc.
51477 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51478
4e9e7a35
UD
51479 [BZ 13527]
51480 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51481 ISO C11.
51482
380d7e87 51483 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
51484 code.
51485
03a71829
UD
51486 [BZ #13528]
51487 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51488
839e283e
UD
51489 [BZ #13529]
51490 * assert/assert.h (static_assert): Define.
51491
ce5294e2 51492 * version.h: Update for 2.16 development version.
90fa7312 51493
8d44e150 51494 [BZ #13526]
d7809905
UD
51495 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51496 _ISOC11_SOURCE.
51497
c0da14cd
UD
51498 * version.h (RELEASE): Bump for 2.15 release.
51499 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51500
530a3249
MP
51501 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51502 Patch by Marek Polacek <mpolacek@redhat.com>.
51503
67371b56
UD
51504 * bits/byteswap.h: Protect long long constants with __extension__.
51505 * sysdeps/i386/bits/byteswap.h: Likewise.
51506 * sysdeps/ia64/bits/byteswap.h: Likewise.
51507 * sysdeps/s390/bits/byteswap.h: Likewise.
51508 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51509
15db4de1
LD
515102011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51511
51512 [BZ #13540]
bbe315ea
LD
51513 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51514 destination buffer.
15db4de1
LD
51515 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51516
2b2596b1
MP
515172011-12-23 Marek Polacek <polacek@redhat.com>
51518
51519 * elf/dl-addr.c (determine_info): Add inline keyword.
51520 * elf/tst-auditmod4b.c (check_avx): Likewise.
51521 * elf/tst-auditmod6b.c (check_avx): Likewise.
51522 * elf/tst-auditmod6c.c (check_avx): Likewise.
51523 * elf/tst-auditmod7b.c (check_avx): Likewise.
51524
70c6c246
UD
515252011-12-23 Ulrich Drepper <drepper@gmail.com>
51526
51527 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51528 !__SSE_MATH__.
51529
c044cf14
LD
515302011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51531
15db4de1 51532 [BZ #13540]
c044cf14
LD
51533 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51534 processing for last bytes.
51535
6b13d9d9
BH
515362011-08-06 Bruno Haible <bruno@clisp.org>
51537
d455f537
BH
51538 [BZ #13061]
51539 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51540 U+0385, not to U+1FEE.
51541
6b13d9d9
BH
51542 [BZ #13062]
51543 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51544 entry for U+00A5 U+0301.
51545
db910efd
UD
515462011-12-22 Ulrich Drepper <drepper@gmail.com>
51547
27deeafc
UD
51548 [BZ #13166]
51549 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51550 buffer for the output is too small.
51551
aed9d171
UD
51552 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51553 optimization.
51554
db910efd
UD
51555 [BZ #13185]
51556 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51557 SSE flags if possible.
51558
2bd779ae
LD
515592011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51560
e7f9dac3 51561 [BZ #13540]
2bd779ae
LD
51562 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51563 processing for last bytes.
51564
154bfc16
JM
515652011-12-22 Joseph Myers <joseph@codesourcery.com>
51566
51567 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51568 (syscall-list-default-options, syscall-list-default-condition)
51569 (syscall-list-includes): Define.
51570 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51571 list of ABIs and options and #if conditions for each ABI. Do not
51572 handle common syscalls between ABIs specially.
51573 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51574 Remove.
51575 (syscall-list-variants, syscall-list-32bit-options)
51576 (syscall-list-32bit-condition, syscall-list-64bit-options)
51577 (syscall-list-64bit-condition): Define.
51578 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51579 (syscall-list-variants, syscall-list-32bit-options)
51580 (syscall-list-32bit-condition, syscall-list-64bit-options)
51581 (syscall-list-64bit-condition): Define.
51582 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51583 Remove.
51584 (syscall-list-variants, syscall-list-32bit-options)
51585 (syscall-list-32bit-condition, syscall-list-64bit-options)
51586 (syscall-list-64bit-condition): Define.
51587 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51588 Remove.
51589 (syscall-list-variants, syscall-list-32bit-options)
51590 (syscall-list-32bit-condition, syscall-list-64bit-options)
51591 (syscall-list-64bit-condition): Define.
51592
21eaf3a5
UD
515932011-12-22 Ulrich Drepper <drepper@gmail.com>
51594
16c6f992
UD
51595 * locale/iso-639.def: Add brx entry.
51596
41043168
UD
51597 [BZ #13328]
51598 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51599 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51600
21eaf3a5
UD
51601 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51602 __feraiseexcept_renamed.
51603
e3a851a2
UD
516042011-12-21 Ulrich Drepper <drepper@gmail.com>
51605
4920765e
UD
51606 [BZ #13538]
51607 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51608 EPOLLET with unsigned values.
51609 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51610 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51611
e3a851a2
UD
51612 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51613 to large cancellation.
51614 * math/s_cacoshf.c: Likewise.
51615 * math/s_cacoshl.c: Likewise.
51616
b27e24b8
RK
516172011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51618
51619 [BZ #13305]
aebefeee 51620 [BZ #12786]
b27e24b8
RK
51621 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51622 * math/s_cacoshf.c: Likewise.
51623 * math/s_cacoshl.c: Likewise.
51624
ee190f67
UD
516252011-12-21 Ulrich Drepper <drepper@gmail.com>
51626
51627 [BZ #13439]
51628 * iconv/gconv.h: Define __GCONV_SWAP.
51629 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51630 * iconvdata/utf-16.c: Likewise.
51631 * iconvdata/utf-32.c: Likewise.
51632
707f25df
AS
516332011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51634
51635 [BZ #13524]
51636 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51637 numerator after shifting it by one limb.
51638
d2daaa1e
RÁE
516392011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51640
51641 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51642 under [__USE_EXTERN_INLINES].
51643
a4647e72
UD
516442011-12-17 Ulrich Drepper <drepper@gmail.com>
51645
51646 [BZ #13446]
51647 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51648
f0b264f1
AZ
516492011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51650
51651 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51652 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51653 optimized code.
51654 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51655 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51656 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51657 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51658 for strncasecmp/strncasecmp_l compilation.
51659 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51660 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51661
8ef4f244
MP
516622011-12-08 Marek Polacek <mpolacek@redhat.com>
51663
51664 [BZ #13484]
51665 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51666 of __asm__.
51667
97ac2654
UD
516682011-12-17 Ulrich Drepper <drepper@gmail.com>
51669
51670 [BZ #13506]
51671 * time/tzfile.c (__tzfile_read): Check values from file header.
51672
91d2a845
WS
516732011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51674
51675 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51676 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51677 * powerpc/powerpc32/dl-start.S: Likewise.
51678 * powerpc/powerpc32/elf/start.S: Likewise.
51679 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51680 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51681 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51682 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51683 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51684 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51685 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51686 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51687 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51688 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51689 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51690 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51691 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51692 * powerpc/powerpc32/memset.S: Likewise.
51693 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51694 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51695 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51696 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51697 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51698 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51699 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51700 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51701 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51702 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51703 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51704 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51705 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51706
a1267ba1
AZ
517072011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51708
51709 * math/libm-test.inc: Added more nearbyint tests.
51710 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51711 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51712 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51713 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51714
ad8ac1bd
RL
517152011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51716
51717 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51718 FD_CLOEXEC.
51719
1d3e4b61
UD
517202011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51721
51722 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51723 Add wcscpy-ssse3 wcscpy-c.
51724 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51725 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51726 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51727 * sysdeps/x86_64/wcschr.S: New file.
51728 * sysdeps/x86_64/wcsrchr.S: New file.
51729 * string/test-strcmp.c: Remove checking of wcscmp function for
51730 wrong alignments.
51731 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51732 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51733 wcsrchr-sse2 wcsrchr-c.
51734 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51735 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51736 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51737 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51738 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51739 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51740 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51741 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51742 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51743 * wcsmbc/wcschr.c (WCSCHR): New macro.
51744
5b330a2d
UD
517452011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51746
51747 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51748 * wcsmbs/test-wcsrchr.c: New file.
51749 * string/test-strrchr.c: Add wcsrchr support.
51750 (WIDE): New macro.
51751 * wcsmbs/test-wcscpy.c: New file.
51752 * string/test-strcpy.c: Add wcscpy support.
51753 (WIDE): New macro.
26428b7c 51754
f039c043
UD
517552011-12-10 Ulrich Drepper <drepper@gmail.com>
51756
51757 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51758 the inner loop.
51759
850fb039
AS
517602011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51761
51762 [BZ #13472]
51763 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51764
4efbd5cb
UD
517652011-12-04 Ulrich Drepper <drepper@gmail.com>
51766
52ff5dd0 51767 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 51768 Minor optimizations.
52ff5dd0 51769
4efbd5cb
UD
51770 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51771 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51772 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51773
8a426e12
UD
517742011-12-03 Ulrich Drepper <drepper@gmail.com>
51775
aff2453d
UD
51776 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51777 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51778 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51779 for gcc to avoid warnings.
51780 * inet/Makefile (tests): Add tst-checks.
51781 * inet/tst-checks.c: New file.
51782
51783 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51784 warning.
51785
51786 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51787 __wmemcmp_sse2.
51788
51789 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51790 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51791
8a426e12
UD
51792 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51793
9bea3473
UD
517942011-12-02 Ulrich Drepper <drepper@gmail.com>
51795
3a965496
UD
51796 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51797 problem.
51798
9bea3473
UD
51799 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51800
f101631b
UD
518012011-11-29 Joseph Myers <joseph@codesourcery.com>
51802
51803 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51804 conditional on GCC version.
51805 (__arch_compare_and_exchange_val_8_acq)
51806 (__arch_compare_and_exchange_val_16_acq)
51807 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51808 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51809 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51810
a98275aa
UD
518112011-12-02 Joseph Myers <joseph@codesourcery.com>
51812
51813 * sysdeps/sh/backtrace.c: New file.
51814
d4cc29a2
AS
518152011-12-02 Andreas Schwab <schwab@redhat.com>
51816
51817 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51818 parenthesis.
51819
6257af2d
AS
518202011-12-01 Andreas Schwab <schwab@redhat.com>
51821
51822 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51823 falling back to utime.
51824
b5f44c1a
AS
518252011-11-30 Andreas Schwab <schwab@redhat.com>
51826
51827 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51828 expectations for float.
51829
f3a6cc0a
AS
518302011-11-29 Andreas Schwab <schwab@redhat.com>
51831
51832 * locale/weight.h (findidx): Add parameter len.
51833 * locale/weightwc.h (findidx): Likewise.
51834 * posix/fnmatch_loop.c (FCT): Adjust caller.
51835 * posix/regcomp.c (build_equiv_class): Likewise.
51836 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51837 * posix/regexec.c (check_node_accept_bytes): Likewise.
51838 * string/strcoll_l.c (STRCOLL): Likewise.
51839 * string/strxfrm_l.c (STRXFRM): Likewise.
51840
9d65ea3a
UD
518412011-11-17 Ulrich Drepper <drepper@gmail.com>
51842
51843 * Makefile.in: Remove CVSOPT handling.
51844 * configure.in: Remove use of AC_REVISION.
51845 * iconvdata/Makefile (distribute): No need to filter out CVS.
51846 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51847 handling.
51848
5583a086
AS
518492011-11-16 Andreas Schwab <schwab@redhat.com>
51850
51851 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51852 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51853 [USE_AS_STRNCASECMP_L]: Likewise.
51854 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51855 NO_TLS_DIRECT_SEG_REFS.
51856 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51857 Fix argument offsets for non-PIC.
51858 [USE_AS_STRNCASECMP_L]: Likewise.
51859 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51860 NO_TLS_DIRECT_SEG_REFS.
51861
d62a8200
UD
518622011-11-15 Ulrich Drepper <drepper@gmail.com>
51863
9d65ea3a 51864 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
51865 O_CLOEXEC.
51866 * locale/loadlocale.c (_nl_load_locale): Likewise.
51867
09f93bd3
AS
518682011-11-15 Andreas Schwab <schwab@redhat.com>
51869
446514f9
AS
51870 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51871 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51872 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51873 (SYSCALL_GETTIME): Set errno on error.
51874
09f93bd3
AS
51875 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51876 count references to noai6ai_cached.
51877
312be3f9
UD
518782011-11-15 Ulrich Drepper <drepper@gmail.com>
51879
51880 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51881
51882 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51883 FD_CLOEXEC for /proc/self/maps.
51884
51885 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51886 FD_CLOEXEC for /proc/meminfo.
51887
51888 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51889 gai.conf.
51890
51891 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51892 FD_CLOEXEC for given file.
51893
51894 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51895
51896 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51897 FD_CLOEXEC for /etc/hosts.
51898 (_gethtent): Likewise.
51899
51900 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51901
51902 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51903 cancellation and set FD_CLOEXEC for /etc/netgroup.
51904
51905 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51906 reading /etc/publickey.
51907
51908 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51909 allow cancellation when reading /etc/group.
51910
51911 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51912 cancellation.
51913 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51914
51915 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51916 when using data file.
51917
51918 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51919
51920 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51921 (write_nis_obj): Use "c" and "e" in fopen.
51922
51923 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51924
51925 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51926
51927 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51928
51929 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51930
51931 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51932 locale.alias.
51933
51934 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51935
51936 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51937
51938 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51939
51940 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51941 file parsing and set FD_CLOEXEC.
51942
82af0fa8
UD
519432011-11-14 Ulrich Drepper <drepper@gmail.com>
51944
51945 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51946
a5fb313c
AS
519472011-11-14 Andreas Schwab <schwab@redhat.com>
51948
51949 * malloc/arena.c (arena_get2): Don't call reused_arena when
51950 _int_new_arena failed.
51951
6abf3465
UD
519522011-11-14 Ulrich Drepper <drepper@gmail.com>
51953
51954 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51955 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51956 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51957 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51958 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51959 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51960 to compile strcasecmp and strncasecmp.
51961 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51962 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51963
51964 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51965
76e3966e
UD
519662011-11-13 Ulrich Drepper <drepper@gmail.com>
51967
51968 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51969 locale-defines.sym to gen-as-const-headers.
51970 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51971 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51972 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51973 to compile strcasecmp and strncasecmp.
51974 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51975 strcasecmp_l and strncasecmp_l.
51976 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51977 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51978 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51979 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51980 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51981 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51982 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51983 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51984 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51985 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51986 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51987
ab26144e
UD
519882011-11-12 Ulrich Drepper <drepper@gmail.com>
51989
7edb22ef
UD
51990 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51991 result of SYSDEP_GETTIME_CPU to retval.
51992 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51993 parameter list to macro. Remove trailing semicolon. Adjust users.
51994
9694fc44
UD
51995 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51996 variable.
51997
8ad89ef8
UD
51998 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51999 mantissa words.
52000 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52001
0c822ef9
UD
52002 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52003 from unused variable.
52004
874e0564
UD
52005 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52006 DWARF definitions.
52007 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52008 for assembling.
52009
3a2edc79
UD
52010 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52011 over namespaces.
52012
f3c2577f
UD
52013 * sunrpc/rpc_prot.c (rejected): Fix case value.
52014
294ce126
UD
52015 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52016 unsigned long long int to avoid warnings in shift.
52017
5e2b63c6
UD
52018 * posix/regex_internal.c (re_string_reconstruct): Actually use result
52019 of use of trans.
52020 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52021 variable tmp.
52022
e7f4b08e
UD
52023 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52024 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52025 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52026
ab26144e
UD
52027 * nis/nis_table.c (nis_list): Use variable of correct type for
52028 result of __follow_path call.
52029
8a6d5255
AZ
520302011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52031
52032 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52033 of math functions ceil, trunc, floor, round, and sqrt, when
52034 avaliable on the platform.
52035 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52036 name clash.
52037 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52038 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52039 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52040
aaddc98c
MP
520412011-10-30 Marek Polacek <mpolacek@redhat.com>
52042
52043 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52044 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52045
95b7042b
RM
520462011-11-11 Roland McGrath <roland@hack.frob.com>
52047
52048 * include/unistd.h: Fix __readlink return type.
52049 Reported by Chris Metcalf <cmetcalf@tilera.com>.
52050
57769839
UD
520512011-11-11 Ulrich Drepper <drepper@gmail.com>
52052
52053 * stdlib/ucontext.h: Undo last change for makecontext.
52054
edc5984d
AS
520552011-11-11 Andreas Schwab <schwab@redhat.com>
52056
98591e58
AS
52057 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52058
edc5984d
AS
52059 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52060 * setjmp/setjmp.h: Mark functions as non-leaf.
52061 * setjmp/bits/setjmp2.h: Likewise.
52062 * stdlib/ucontext.h: Likewise.
52063
77cdc054
AS
520642011-11-10 Andreas Schwab <schwab@redhat.com>
52065
52066 * malloc/arena.c (_int_new_arena): Don't increment narenas.
52067 (reused_arena): Don't check arena limit.
52068 (arena_get2): Atomically check arena limit.
52069
fe72eebd
UD
520702011-11-08 Ulrich Drepper <drepper@gmail.com>
52071
5f078c32
UD
52072 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52073 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52074
fe72eebd
UD
52075 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52076 instructions.
52077
ae1bc2fa
AS
520782011-11-07 Andreas Schwab <schwab@redhat.com>
52079
7583a88d
AS
52080 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52081 handler when locking.
52082
ae1bc2fa
AS
52083 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52084 Fix size of allocated buffer.
52085
10fb0bfa
AS
520862011-11-04 Andreas Schwab <schwab@redhat.com>
52087
998832a4
AS
52088 [BZ #10103]
52089 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52090 declarations for long double functions.
52091 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52092
10fb0bfa
AS
52093 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52094
3d7ba52b
AS
520952011-11-03 Andreas Schwab <schwab@redhat.com>
52096
a9ae54a1
AS
52097 * nscd/nscd.c (main): Don't start AVC thread until credentials are
52098 installed.
52099
3d7ba52b
AS
52100 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52101 is disabled.
52102
bc8db248
ST
521032011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
52104
52105 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52106
45b96dd6
AS
521072011-11-01 Andreas Schwab <schwab@linux-m68k.org>
52108
647776f6
AS
52109 * include/alloca.h (stackinfo_alloca_round): Define.
52110 (extend_alloca): Use it.
52111 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52112 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52113 here.
52114
d91a8b93
AS
52115 * scripts/check-local-headers.sh: Ignore libaudit.h.
52116
45b96dd6
AS
52117 * nscd/Makefile (extra-objs): Make recursively expanded.
52118
432d41ce
UD
521192011-11-01 Ulrich Drepper <drepper@gmail.com>
52120
34372fc6
UD
52121 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52122 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52123
fadb59f8
UD
52124 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52125 * posix/tst-rfc3484-2.c: Likewise.
52126 * posix/tst-rfc3484-3.c: Likewise.
52127
78239589
UD
52128 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52129 process_vm_writev.
52130 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52131 process_vm_writev.
52132 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52133 process_vm_writev from libc using GLIBC_2.15 version.
52134
432d41ce
UD
52135 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52136
02f9c6cf
PP
521372011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52138
52139 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52140 stack usage.
52141
3a2c0242
UD
521422011-10-31 Ulrich Drepper <drepper@gmail.com>
52143
f4ec4833
UD
52144 [BZ #13367]
52145 * nss/getent.c (initgroups_keys): Show error message in case no group
52146 names are given.
52147
3a2c0242
UD
52148 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52149 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52150 __bump_nl_timestamp.
52151 * nscd/connections (nscd_init): When host database is served open
52152 netlink socket and request notification about configuration changes.
52153 (main_loop_poll): Track netlink file descriptor and bump timestamp
52154 in case data becomes available.
52155 (main_loop_epoll): Likewise.
52156 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52157 (database_pers_head): Add extra_data fileds.
52158 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52159 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52160 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52161 Adjust caller.
52162 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52163 in6ai data, call __free_in6ai.
52164 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52165 Add -DHAVE_NETLINK.
52166 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52167 interface information. Reuse previous data if netlink timestamp
52168 is not changed.
52169 (__bump_nl_timestamp): New function.
52170 (__free_in6ai): New function.
52171
636064eb
UD
521722011-10-30 Ulrich Drepper <drepper@gmail.com>
52173
52174 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52175 close_not_cancel_no_status here.
52176 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52177
9beb2334
UD
521782011-10-29 Ulrich Drepper <drepper@gmail.com>
52179
6ef76f3b
UD
52180 [BZ #13276]
52181 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52182 return value.
52183
0ffc4f3e 52184 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
52185 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52186 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52187
cb95113e
UD
521882011-07-03 Andreas Jaeger <aj@suse.de>
52189
52190 [BZ #10709]
52191 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52192 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52193 * math/libm-test.inc (sin_test): Add test case.
52194
a1b560ff
UD
521952011-10-29 Ulrich Drepper <drepper@gmail.com>
52196
c9aaface
UD
52197 [BZ #13337]
52198 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52199 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52200
d272e7f1
UD
52201 * elf/chroot_canon.c (chroot_canon): Cleanups.
52202
1bc33071
UD
52203 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52204
1760874d
TJ
52205 [BZ #13335]
52206 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52207 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52208
51d91b18
UD
52209 * string/test-strchr.c: Make usable for strchrnul testing.
52210 * string/test-strchrnul.c: New file.
52211 * string/Makefile (strop-tests): Add strchrnul.
52212
a1b560ff 52213 * po/it.po: Update from translation team.
b611fb81 52214 * po/es.po: Likewise.
a1b560ff 52215
a5b81e1f
UD
522162011-10-28 Ulrich Drepper <drepper@gmail.com>
52217
fd52bc6d
UD
52218 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52219 the three constants needed as parameters. Drop the others.
52220 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52221 __m128i_strloadu_tolower.
52e4b9eb
UD
52222 Create and initialize variable zero and use it in all the places
52223 where _mm_setzero_si128 was used.
fd52bc6d 52224
a5b81e1f
UD
52225 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52226 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52227 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52228 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52229 anymore.
52230 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52231 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52232 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52233 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52234 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52235 __mpranred, __mptan.
52236 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52237 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52238 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52239 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52240 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52241 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52242 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52243 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52244 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52245
b4343346
AS
522462011-10-28 Andreas Schwab <schwab@redhat.com>
52247
0c92d8a8
AS
52248 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52249 redefine if SHARED.
52250 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52251
b4343346
AS
52252 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52253 wide char related routines to wcsmbs subdir.
52254
3871f58f
AS
522552011-10-27 Andreas Schwab <schwab@redhat.com>
52256
52257 [BZ #13344]
52258 * misc/sys/cdefs.h (__THROWNL): Define.
52259 * posix/unistd.h: Use __THREADNL instead of __THREAD
52260 for memory synchronization functions.
52261
94d44d9f
RM
522622011-10-26 Roland McGrath <roland@hack.frob.com>
52263
21b64b15 52264 [BZ #13349]
94d44d9f
RM
52265 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52266 doesn't exist.
52267 * manual/stdio.texi (Obstack Streams): Node removed.
52268
f6ce9294
AS
522692011-10-26 Andreas Schwab <schwab@redhat.com>
52270
80479147
AS
52271 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52272 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52273 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52274
f6ce9294
AS
52275 * math/math_private.h (math_force_eval): Allow non-addressable
52276 arguments.
52277 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52278
618280a1
UD
522792011-10-25 Ulrich Drepper <drepper@gmail.com>
52280
e0016b11
UD
52281 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52282 file is not needed.
52283
52284 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52285 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52286 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52287 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52288 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52289 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52290 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52291 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52292 Add AVX variants.
52293 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52294 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52295 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52296 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52297 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52298 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52299 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52300 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52301 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52302 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52303 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52304 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52305 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52306 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52307 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52308 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52309 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52310 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52311 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52312
52313 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52314 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52315
618280a1
UD
52316 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52317 place. Use VEX encoding when compiling for AVX.
52318
37822576
AS
523192011-10-25 Andreas Schwab <schwab@redhat.com>
52320
1f1e1947
AS
52321 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52322 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52323
37822576
AS
52324 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52325
31ea014d
UD
523262011-10-25 Ulrich Drepper <drepper@gmail.com>
52327
d7826aa1 52328 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 52329 useless if() expression.
d7826aa1
UD
52330 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52331 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52332 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52333 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52334 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52335 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52336 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52337 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52338 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52339 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52340 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52341 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52342 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52343 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52344 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52345 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52346 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52347 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52348 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52349
31ea014d
UD
52350 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52351
16437fec
AS
523522011-10-25 Andreas Schwab <schwab@redhat.com>
52353
52354 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52355 condition.
52356 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52357
31d3cc00
UD
523582011-10-25 Ulrich Drepper <drepper@gmail.com>
52359
52360 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52361 .text section. Avoid duplicate constants.
52362 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52363 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52364 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52365 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52366 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52367 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52368 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52369 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52370 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52371 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52372 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52373 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52374 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52375 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52376 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52377 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52378 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52379 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52380 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52381 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52382 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52383 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52384 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52385 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52386 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52387 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52388 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52389 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52390 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52391 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52392 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52393 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52394 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52395 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52396 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52397 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52398 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52399 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52400 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52401 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52402 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52403 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52404 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52405 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52406 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52407
58985aa9
UD
524082011-10-24 Ulrich Drepper <drepper@gmail.com>
52409
202c9deb
UD
52410 * sysdeps/x86_64/dla.h: Move to ...
52411 * sysdeps/x86_64/fpu/dla.h: ...here.
52412 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52413 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 52414
af968f62
UD
52415 * config.make.in: Add have-mfma4 entry.
52416 * configure.in: Substitute libc_cv_cc_fma4.
52417 * math/Makefile (dbl-only-routines): Add sincostab.
52418 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52419 Use __sincostab not sincos.
52420 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52421 name is a macro.
52422 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52423 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52424 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52425 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52426 using __copysign.
52427 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52428 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52429 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52430 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52431 and __inv.
52432 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52433 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52434 __copysign.
52435 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52436 define aliases when function name is a macro.
52437 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52438 sysdeps/ieee754/dbl-64/sincos.tbl.
52439 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52440 fma4-enabled routines.
52441 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52442 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52443 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52444 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52445 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52446 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52447 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52448 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52449 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52450 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52451 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52452 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52453 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52454 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52455 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52456 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52457 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52458 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52459 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52460 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52461 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52462 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52463 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52464 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52465 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52466 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52467 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52468 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52469 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52470 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52471
58985aa9
UD
52472 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52473 rename.
52474 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52475 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52476 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52477 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52478 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52479 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52480 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52481 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52482
a201fbcf
AS
524832011-10-24 Andreas Schwab <schwab@redhat.com>
52484
52485 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52486
fc2ee42a
LD
524872011-10-23 Ulrich Drepper <drepper@gmail.com>
52488
bb3129bd
UD
52489 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52490
0275fff8
UD
52491 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52492 prediction.
52493 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52494
2fa2ae85
UD
52495 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52496 Remove unused variable magic_bits.
52497 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52498
fc2ee42a
LD
52499 * string/strnlen.c: Define and use STRNLEN macro.
52500 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52501 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52502 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52503 * wcsmbs/wcslen.c: Define and use WCSLEN.
52504 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52505 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52506 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52507 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52508 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52509 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52510 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52511
ce7dd29f
LD
525122011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52513
52514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52515 strnlen-sse2-no-bsf.
52516 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52517 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52518 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52519 Add strnlen support.
52520 (USE_AS_STRNLEN): New macro.
52521 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52522 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52523 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52524 * sysdeps/x86_64/wcslen.S: New file.
52525
979c70a3
MZ
525262011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52527
52528 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52529 XMM-moves are used for copying on small sizes.
52530
2d09f82f
LD
525312011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52532
52533 * wcsmbs/Makefile (strop-tests): Add wcschr.
52534 * wcsmbs/test-wcschr.c: New file.
52535 * string/test-strchr.c: Update.
52536 Add wcschr support.
52537 (WIDE): New macro.
52538
619fccca
LD
525392011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52540
2d09f82f 52541 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
52542 * wcsmbs/test-wcslen.c: New file.
52543 * string/test-strlen.c: Update.
52544 Add wcslen support.
52545 (WIDE): New macro.
52546
09f699ea
UD
525472011-10-23 Ulrich Drepper <drepper@gmail.com>
52548
52549 * po/it.po: Update from translation team.
52550
95584d3b
LD
525512011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52552
52553 * sysdeps/x86_64/wcscmp.S: Update.
52554 Fix wrong comparison semantics.
52555 wcscmp shall use signed comparison not unsigned.
52556 Don't use substraction to avoid overflow bug.
52557 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52558 * wcsmbc/wcscmp.c: Likewise.
52559 * string/test-strcmp.c: Likewise.
52560 Add new tests to check cases with negative values.
52561
c8b3296b
UD
525622011-10-23 Ulrich Drepper <drepper@gmail.com>
52563
52564 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52565 * sysdeps/x86_64/dla.h: ...here. New file.
52566 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52567 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52568 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52569 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52570 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52571 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52572 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52573 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52575
246ad57a
AS
525762011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52577
52578 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52579 __ynl_finite aliases.
52580
a1a87169
UD
525812011-10-22 Ulrich Drepper <drepper@gmail.com>
52582
0d355eb7
UD
52583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52584
a1a87169
UD
52585 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52586 define DLA_FMA.
52587 [DLA_FMA] (EMULV): Use DLA_FMA.
52588 [DLA_FMA] (MUL12): Use EMULV.
52589 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52590 that are not needed.
52591 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52593 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52594 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52595 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52596 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52597 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52598
ee2aafe0
AS
525992011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52600
52601 * math/s_nan.c: Undef __nan.
52602 * math/s_nanf.c: Undef __nanf.
52603 * math/s_nanl.c: Undef __nanl.
52604 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52605 "math_private.h".
52606
bc62c2fb
UD
526072011-10-22 Ulrich Drepper <drepper@gmail.com>
52608
77425c63
UD
52609 * math/s_catan.c: Add branch predictions.
52610 * math/s_catanf.c: Likewise.
52611 * math/s_catanh.c: Likewise.
52612 * math/s_catanhf.c: Likewise.
52613 * math/s_catanhl.c: Likewise.
52614 * math/s_catanl.c: Likewise.
52615 * math/s_cexp.c: Likewise.
52616 * math/s_cexpf.c: Likewise.
52617 * math/s_cexpl.c: Likewise.
52618 * math/s_clog.c: Likewise.
52619 * math/s_clog10.c: Likewise.
52620 * math/s_clog10f.c: Likewise.
52621 * math/s_clog10l.c: Likewise.
52622 * math/s_clogf.c: Likewise.
52623 * math/s_clogl.c: Likewise.
52624 * math/s_csqrt.c: Likewise.
52625 * math/s_csqrtf.c: Likewise.
52626 * math/s_csqrtl.c: Likewise.
52627 * math/s_ctanf.c: Likewise.
52628 * math/s_ctanh.c: Likewise.
52629 * math/s_ctanhf.c: Likewise.
52630 * math/s_ctanhl.c: Likewise.
52631 * math/s_ctanl.c: Likewise.
52632
bc62c2fb
UD
52633 * math/math_private.h: Define __nan, __nanf, __nanl.
52634 * math/s_cacosh.c: Include <math_private.h>.
52635 * math/s_cacoshl.c: Likewise.
52636 * math/s_casinh.c: Likewise.
52637 * math/s_casinhf.c: Likewise.
52638 * math/s_casinhl.c: Likewise.
52639 * math/s_ccos.c: Rely entire on ccosh.
52640 * math/s_ccosf.c: Rely entire on ccoshf.
52641 * math/s_ccosl.c: Rely entirely on ccoshl.
52642 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52643 Remove tests for FE_INVALID.
52644 * math/s_ccoshf.c: Likewise.
52645 * math/s_ccoshl.c: Likewise.
52646 * math/s_csin.c: Likewise.
52647 * math/s_csinf.c: Likewise.
52648 * math/s_csinh.c Likewise.
52649 * math/s_csinhf.c: Likewise.
52650 * math/s_csinhl.c: Likewise.
52651 * math/s_csinl.c: Likewise.
52652 * math/s_ctan.c: Likewise.
52653 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52654 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52655 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52656
8ec250a4
UD
526572011-10-21 Ulrich Drepper <drepper@gmail.com>
52658
c196fed8
UD
52659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52660 compilation problems.
52661
8ec250a4
UD
52662 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52663 __builtin_expect.
52664
8d4f46c6
UD
526652011-10-20 Ulrich Drepper <drepper@gmail.com>
52666
ed72b654
UD
52667 * sysdeps/i386/configure.in: Test for -mfma4 option.
52668 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52669 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52670 COMMON_CPUID_INDEX_80000001.
52671 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52672 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52673 use it if FMA3 is not supported.
52674 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52675
8d4f46c6
UD
52676 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52677 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52678
d45c60c2
AS
526792011-10-20 Andreas Schwab <schwab@redhat.com>
52680
52681 [BZ #12892]
52682 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52683 it would create a cycle with a link time dependency.
52684
d9a4d2ab
UD
526852011-10-19 Ulrich Drepper <drepper@gmail.com>
52686
855d1560
UD
52687 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52688 instruction.
52689 * string/Makefile (strop-tests): Add rawmemchr.
52690 * string/test-rawmemchr.c: New file.
52691
d9a4d2ab
UD
52692 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52693 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52694 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52695 when compiling str{,n}casecmp and when AVX is available. Hook up
52696 new optimized code in initializers.
52697
8f3b1ffe
AS
526982011-10-19 Andreas Schwab <schwab@redhat.com>
52699
52700 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52701 __feraiseexcept instead of feraiseexcept.
52702
d38f1dba
UD
527032011-10-18 Ulrich Drepper <drepper@gmail.com>
52704
d9a8d0ab
UD
52705 * math/math_private.h: Define defaults for libc_fetestexcept and
52706 libc_feupdateenv.
52707 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52708 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52709 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52710 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52711 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52712 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52713 libc_fetestexcept and libc_feupdateenv.
52714
4855e3dd
UD
52715 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52716 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52717 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52718 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52719 libc_feholdexcept_setround.
52720
581d30e3
UD
52721 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52722 Add s_nearbyint-c and s_nearbyintf-c.
52723 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52724 nearbyintf inlines.
52725 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52726 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52727 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52728 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52729
d38f1dba
UD
52730 * math/math_private.h: Define defaults for libc_fegetround,
52731 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52732 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52733 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52734 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52735 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52736 standard functions.
52737 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52738 Remove comments and hacks for old compiler versions.
52739 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52740 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52741 libc_feholdexceptl.
52742
caa6c9d8
AS
527432011-10-18 Andreas Schwab <schwab@redhat.com>
52744
52745 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
52746 (__feraiseexcept_renamed): Add __NTH.
52747 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
52748 namespace violations.
52749
97c066e6
UD
527502011-10-17 Ulrich Drepper <drepper@gmail.com>
52751
99ce7b04
UD
52752 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52753
1004d182
UD
52754 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52755
228a984d
UD
52756 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52757 recently added interfaces.
52758 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52759
c8553a6a
UD
52760 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52761 about macro parameter expansion.
52762
ed22dcf6
UD
52763 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52764 __NO_MATH_INLINES is defined. Cleanups.
52765
52766 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52767 and __floorf is target has SSE4.1.
52768 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52769 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52770 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52771 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52772
b171c137
UD
52773 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52774 name.
52775 (floorf): Likewise.
52776
97c066e6
UD
52777 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52778
629f62ef
AS
527792011-10-17 Andreas Schwab <schwab@redhat.com>
52780
49a43d80
AS
52781 * misc/sys/cdefs.h: Fix last change.
52782
629f62ef
AS
52783 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52784 database lookup.
52785
e453f6cd
UD
527862011-10-16 Ulrich Drepper <drepper@gmail.com>
52787
aa78043a
UD
52788 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52789
ad0f5cad
UD
52790 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52791 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52792 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52793 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52794 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52795 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52796 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52797 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52798 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52799 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52800 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52801 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52802 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52803 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52804 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52805 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52806 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52807 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52808 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52809 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52810 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52811 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52812
52813 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52814 ceil, ceilf, floor, floorf.
52815
52816 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52817 Perform IRELATIVE relocations last.
52818
e453f6cd
UD
52819 * elf/do-rel.h: Add another parameter nrelative, replacing the
52820 local variable with the same name. Change name of the function
52821 to end in Rel or Rela (uppercase).
52822 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52823 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52824 elf_dynamic_do_##reloc function.
52825
fd5bdc09
UD
528262011-10-15 Ulrich Drepper <drepper@gmail.com>
52827
79b195b5
UD
52828 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52829 is sufficient, at least on modern CPUs.
52830
d4a28569
UD
52831 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52832
b61099b5
UD
52833 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52834 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52835
bcf01e6d
UD
52836 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52837 __expl_finite.
52838 * math/bits/math-finite.h: Add entries for exp.
52839 * math/e_expl.c: Add __*_finite alias.
52840 * sysdeps/i386/fpu/e_exp.S: Likewise.
52841 * sysdeps/i386/fpu/e_expf.S: Likewise.
52842 * sysdeps/i386/fpu/e_expl.c: Likewise.
52843 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52844 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52845 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52846 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52847 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52848 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52849 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52850
ba1a0d59
UD
52851 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52852 is sufficient, at least on modern CPUs.
52853
fd5bdc09
UD
52854 * ctype/ctype-info.c (__ctype_init): Define.
52855 * include/ctype.h (__ctype_init): Declare.
52856 (__ctype_b_loc): The variable is always initialized.
52857 (__ctype_toupper_loc): Likewise.
52858 (__ctype_tolower_loc): Likewise.
52859 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52860 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52861
7872cfb0
AS
528622011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52863
b468825a
AS
52864 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52865
7872cfb0
AS
52866 * configure.in: Also look in $cxxmachine/include for C++ system
52867 headers.
52868
be13f7bf
LD
528692011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52870
52871 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52872 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52873 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52874 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52875 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52876 (USE_AS_WMEMCMP): New macro.
52877 Fixing indents.
52878 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52879 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52880 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52881 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52882 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52883 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52884 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52885 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52886 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52887 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52888 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52889 (USE_AS_WMEMCMP): New macro.
52890 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52891 * sysdeps/string/test-memcmp.c: Update.
52892 Fix simple_wmemcmp.
52893 Add new tests.
52894 * wcsmbs/wmemcmp.c: Update.
52895 (WMEMCMP): New macro.
52896 Fix overflow bug.
52897
556a2007
AJ
528982011-10-12 Andreas Jaeger <aj@suse.de>
52899
52900 [BZ #13268]
52901 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52902
538faaa7
UD
529032011-10-15 Ulrich Drepper <drepper@gmail.com>
52904
ab6737ff
UD
52905 * libio/iofwide.c (do_length): Avoid warning.
52906
538faaa7
UD
52907 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52908
396a21b1
UD
529092011-10-14 Ulrich Drepper <drepper@gmail.com>
52910
cdf2901f
UD
52911 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52912
38ad40ce
UD
52913 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52914 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52915 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52916 * sysdeps/i386/i686/fpu/e_log.S: New file.
52917 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52918 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52919
396a21b1
UD
52920 * ctype/ctype.h: Add support for inlined isXXX functions when
52921 compiling C++ code.
52922
6b1f68c9
AS
529232011-10-14 Andreas Schwab <schwab@redhat.com>
52924
349290c0
AS
52925 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52926
6b1f68c9
AS
52927 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52928
f2282d42
RM
529292011-10-13 Roland McGrath <roland@hack.frob.com>
52930
52931 [BZ #13291]
52932 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52933
5298ffa8
AS
529342011-10-13 Andreas Schwab <schwab@redhat.com>
52935
714fad23
AS
52936 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52937 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52938 feraiseexcept.
52939
81dcc7fb
AS
52940 * sysdeps/x86_64/memrchr.S: Check for zero size.
52941
5298ffa8
AS
52942 * string/stratcliff.c: Add memrchr tests.
52943
951fbcec
LD
529442011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52945
52946 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52947 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52948 rawmemchr-sse2 rawmemchr-sse2-bsf.
52949 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52950 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52951 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52952 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52953 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52954 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52955 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52956 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52957 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52958 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52959 * string/memrchr.c (MEMRCHR): New macro.
52960
0ac5ae23
UD
529612011-10-12 Ulrich Drepper <drepper@gmail.com>
52962
52963 Add integration with gcc's -ffinite-math-only and optimize wrapper
52964 functions in libm.
52965 * Versions.def: Define GLIBC_2.15 version for libm.
52966 * math/Makefile (headers): Add bits/math-finite.h.
52967 * math/bits/math-finite.h: New file.
52968 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52969 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52970 * math/e_acoshl.c: Add __*_finite alias.
52971 * math/e_acosl.c: Likewise.
52972 * math/e_asinl.c: Likewise.
52973 * math/e_atan2l.c: Likewise.
52974 * math/e_atanhl.c: Likewise.
52975 * math/e_coshl.c: Likewise.
52976 * math/e_exp10.c: Likewise.
52977 * math/e_exp10f.c: Likewise.
52978 * math/e_exp10l.c: Likewise.
52979 * math/e_exp2l.c: Likewise.
52980 * math/e_fmodl.c: Likewise.
52981 * math/e_gammal_r.c: Likewise.
52982 * math/e_hypotl.c: Likewise.
52983 * math/e_j0l.c: Likewise.
52984 * math/e_j1l.c: Likewise.
52985 * math/e_jnl.c: Likewise.
52986 * math/e_lgammal_r.c: Likewise.
52987 * math/e_log10l.c: Likewise.
52988 * math/e_log2l.c: Likewise.
52989 * math/e_logl.c: Likewise.
52990 * math/e_powl.c: Likewise.
52991 * math/e_sinhl.c: Likewise.
52992 * math/e_sqrtl.c: Likewise.
52993 * math/e_scalb.c: Completely rewritten and optimized.
52994 * math/e_scalbf.c: Likewise.
52995 * math/e_scalbl.c: Likewise.
52996 * math/w_acos.c: Likewise.
52997 * math/w_acosf.c: Likewise.
52998 * math/w_acosl.c: Likewise.
52999 * math/w_acosh.c: Likewise.
53000 * math/w_acoshf.c: Likewise.
53001 * math/w_acoshl.c: Likewise.
53002 * math/w_asin.c: Likewise.
53003 * math/w_asinf.c: Likewise.
53004 * math/w_asinl.c: Likewise.
53005 * math/w_atan2.c: Likewise.
53006 * math/w_atan2f.c: Likewise.
53007 * math/w_atan2l.c: Likewise.
53008 * math/w_atanh.c: Likewise.
53009 * math/w_atanhf.c: Likewise.
53010 * math/w_atanhl.c: Likewise.
53011 * math/w_exp10.c: Likewise.
53012 * math/w_exp10f.c: Likewise.
53013 * math/w_exp10l.c: Likewise.
53014 * math/w_fmod.c: Likewise.
53015 * math/w_fmodf.c: Likewise.
53016 * math/w_fmodl.c: Likewise.
53017 * math/w_j0.c: Likewise.
53018 * math/w_j0f.c: Likewise.
53019 * math/w_j0l.c: Likewise.
53020 * math/w_j1.c: Likewise.
53021 * math/w_j1f.c: Likewise.
53022 * math/w_j1l.c: Likewise.
53023 * math/w_jn.c: Likewise.
53024 * math/w_jnf.c: Likewise.
53025 * math/w_log.c: Likewise.
53026 * math/w_logf.c: Likewise.
53027 * math/w_logl.c: Likewise.
53028 * math/w_log10.c: Likewise.
53029 * math/w_log10f.c: Likewise.
53030 * math/w_log10l.c: Likewise.
53031 * math/w_log2.c: Likewise.
53032 * math/w_log2f.c: Likewise.
53033 * math/w_log2l.c: Likewise.
53034 * math/w_pow.c: Likewise.
53035 * math/w_powf.c: Likewise.
53036 * math/w_powl.c: Likewise.
53037 * math/w_remainder.c: Likewise.
53038 * math/w_remainderf.c: Likewise.
53039 * math/w_remainderl.c: Likewise.
53040 * math/w_scalb.c: Likewise.
53041 * math/w_scalbf.c: Likewise.
53042 * math/w_scalbl.c: Likewise.
53043 * math/w_sqrt.c: Likewise.
53044 * math/w_sqrtf.c: Likewise.
53045 * math/w_sqrtl.c: Likewise.
53046 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53047 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
53048 used.
53049 * math/math_private.h: Declare __kernel_standard_f.
53050 * math/w_cosh.c: Remove cruft and optimize a bit.
53051 * math/w_coshf.c: Likewise.
53052 * math/w_coshl.c: Likewise.
53053 * math/w_exp2.c: Likewise.
53054 * math/w_exp2f.c: Likewise.
53055 * math/w_exp2l.c: Likewise.
53056 * math/w_hypot.c: Likewise.
53057 * math/w_hypotf.c: Likewise.
53058 * math/w_hypotl.c: Likewise.
53059 * math/w_lgamma.c: Likewise.
53060 * math/w_lgamma_r.c: Likewise.
53061 * math/w_lgammaf.c: Likewise.
53062 * math/w_lgammaf_r.c: Likewise.
53063 * math/w_lgammal.c: Likewise.
53064 * math/w_lgammal_r.c: Likewise.
53065 * math/w_sinh.c: Likewise.
53066 * math/w_sinhf.c: Likewise.
53067 * math/w_sinhl.c: Likewise.
53068 * math/w_tgamma.c: Likewise.
53069 * math/w_tgammaf.c: Likewise.
53070 * math/w_tgammal.c: Likewise.
53071 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53072 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53073 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53074 Minor optimizations. Pretty printing. Remove cruft.
53075 * sysdeps/i386/fpu/e_acosf.S: Likewise.
53076 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53077 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53078 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53079 * sysdeps/i386/fpu/e_acosl.c: Likewise.
53080 * sysdeps/i386/fpu/e_asin.S: Likewise.
53081 * sysdeps/i386/fpu/e_asinf.S: Likewise.
53082 * sysdeps/i386/fpu/e_atan2.S: Likewise.
53083 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53084 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53085 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53086 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53087 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53088 * sysdeps/i386/fpu/e_exp10.S: Likewise.
53089 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53090 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53091 * sysdeps/i386/fpu/e_exp2.S: Likewise.
53092 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53093 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53094 * sysdeps/i386/fpu/e_fmod.S: Likewise.
53095 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53096 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53097 * sysdeps/i386/fpu/e_hypot.S: Likewise.
53098 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53099 * sysdeps/i386/fpu/e_log.S: Likewise.
53100 * sysdeps/i386/fpu/e_log10.S: Likewise.
53101 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53102 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53103 * sysdeps/i386/fpu/e_log2.S: Likewise.
53104 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53105 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53106 * sysdeps/i386/fpu/e_logf.S: Likewise.
53107 * sysdeps/i386/fpu/e_logl.S: Likewise.
53108 * sysdeps/i386/fpu/e_pow.S: Likewise.
53109 * sysdeps/i386/fpu/e_powf.S: Likewise.
53110 * sysdeps/i386/fpu/e_powl.S: Likewise.
53111 * sysdeps/i386/fpu/e_remainder.S: Likewise.
53112 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53113 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53114 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53115 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53116 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53117 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53118 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53119 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53120 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53121 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53122 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53123 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53124 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53125 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53126 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53127 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53128 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53129 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53130 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53131 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53132 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53133 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53134 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53136 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53137 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53138 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53139 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53140 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53141 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53142 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53143 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53144 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53145 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53146 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53147 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53148 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53149 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53150 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53151 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53152 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53153 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53154 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53155 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53156 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53157 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53158 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53159 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53160 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53161 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53162 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53163 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53164 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53165 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53166 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53167 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53168 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53169 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53170 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53171 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53172 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53173 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53174 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53175 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53176 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53177 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53178 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53179 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53180 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53181 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53182 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53183 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53184 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53185 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53186 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53187 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53188 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53189 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53190 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53191 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53192 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53193 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53194 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53195 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53196 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53197 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53198 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53199 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53200 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53201 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53202 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53203 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53204 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53205 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53206 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53207 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53208 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53209 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53210 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53211 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53212 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53213 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53214 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53215 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53216 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53217 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53218 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53219 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53220 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53221 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53222 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53223 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53224 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53225 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53226 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53227 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53228 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53229 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53230 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53231 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53232 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53233 (__isnanf): Likewise.
53234 (__isinf_ns): Likewise.
53235 (__isinf_nsf): Likewise.
53236 (__finite): Likewise.
53237 (__finitef): Likewise.
53238 (__ieee754_sqrt): Define as macro.
53239 (__ieee754_sqrtf): Define as macro.
53240 (__ieee754_sqrtl): Define as macro.
53241 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53242 inlined copy.
53243 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53244 __FINITE_MATH_ONLY__ consistent.
53245 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53246
12cc2fcd
AS
532472011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53248
a843a204
AS
53249 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53250 of rawmemchr.
53251
12cc2fcd
AS
53252 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53253
c853acd5
UD
532542011-10-09 Ulrich Drepper <drepper@gmail.com>
53255
53256 * po/ja.po: Update from translation team.
53257
c658d255
RM
532582011-10-08 Roland McGrath <roland@hack.frob.com>
53259
110946e4
RM
53260 * locale/programs/locarchive.c (prepare_address_space): New function.
53261 (create_archive, enlarge_archive, open_archive): Use it.
53262
50604220
RM
53263 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53264 inside [SHARED], where it is used.
53265
c658d255
RM
53266 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53267
53268 * nss/getent.c (netgroup_keys): Remove unused variable.
53269 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53270
6a621eb7
UD
532712011-10-08 Ulrich Drepper <drepper@gmail.com>
53272
7edb55ce
UD
53273 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53274 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53275 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53276 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53277 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53278 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53279 * math/Makefile (libm-calls): Add s_isinf_ns.
53280 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53281 * math/multc3.c: Likewise.
53282 * math/s_casin.c: Likewise.
53283 * math/s_casinf.c: Likewise.
53284 * math/s_casinl.c: Likewise.
53285 * math/s_ccos.c: Likewise.
53286 * math/s_ccosf.c: Likewise.
53287 * math/s_ccosl.c: Likewise.
53288 * math/s_ctan.c: Likewise.
53289 * math/s_ctanf.c: Likewise.
53290 * math/s_ctanh.c: Likewise.
53291 * math/s_ctanhf.c: Likewise.
53292 * math/s_ctanhl.c: Likewise.
53293 * math/s_ctanl.c: Likewise.
53294 * math/w_fmod.c: Likewise.
53295 * math/w_fmodf.c: Likewise.
53296 * math/w_fmodl.c: Likewise.
53297 * math/w_remainder.c: Likewise.
53298 * math/w_remainderf.c: Likewise.
53299 * math/w_remainderl.c: Likewise.
53300 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53301 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53302 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53303 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53304 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53305 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53306 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53307 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53308
187da0ae
UD
53309 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53310 of the number.
53311 * stdio-common/printf_fphex.c: Likewise.
53312 * stdio-common/printf_size.c: Likewise.
53313
9277c064
UD
53314 * math/e_exp10.c: Include math_private.h using <...> not "...".
53315 * math/e_exp10f.c: Likewise.
53316 * math/e_exp10l.c: Likewise.
53317 * math/e_exp2l.c: Likewise.
53318 * math/e_j0l.c: Likewise.
53319 * math/e_j1l.c: Likewise.
53320 * math/e_jnl.c: Likewise.
53321 * math/e_lgammal_r.c: Likewise.
53322 * math/e_rem_pio2l.c: Likewise.
53323 * math/e_scalb.c: Likewise.
53324 * math/e_scalbf.c: Likewise.
53325 * math/e_scalbl.c: Likewise.
53326 * math/k_cosl.c: Likewise.
53327 * math/k_sinl.c: Likewise.
53328 * math/k_tanl.c: Likewise.
53329 * math/s_cacoshf.c: Likewise.
53330 * math/s_catan.c: Likewise.
53331 * math/s_catanf.c: Likewise.
53332 * math/s_catanh.c: Likewise.
53333 * math/s_catanhf.c: Likewise.
53334 * math/s_catanhl.c: Likewise.
53335 * math/s_catanl.c: Likewise.
53336 * math/s_ccosh.c: Likewise.
53337 * math/s_ccoshf.c: Likewise.
53338 * math/s_ccoshl.c: Likewise.
53339 * math/s_cexp.c: Likewise.
53340 * math/s_cexpf.c: Likewise.
53341 * math/s_cexpl.c: Likewise.
53342 * math/s_clog.c: Likewise.
53343 * math/s_clog10.c: Likewise.
53344 * math/s_clog10f.c: Likewise.
53345 * math/s_clog10l.c: Likewise.
53346 * math/s_clogf.c: Likewise.
53347 * math/s_clogl.c: Likewise.
53348 * math/s_csin.c: Likewise.
53349 * math/s_csinf.c: Likewise.
53350 * math/s_csinh.c: Likewise.
53351 * math/s_csinhf.c: Likewise.
53352 * math/s_csinhl.c: Likewise.
53353 * math/s_csinl.c: Likewise.
53354 * math/s_csqrt.c: Likewise.
53355 * math/s_csqrtf.c: Likewise.
53356 * math/s_csqrtl.c: Likewise.
53357 * math/s_ctan.c: Likewise.
53358 * math/s_ctanf.c: Likewise.
53359 * math/s_ctanh.c: Likewise.
53360 * math/s_ctanhf.c: Likewise.
53361 * math/s_ctanhl.c: Likewise.
53362 * math/s_ctanl.c: Likewise.
53363 * math/s_ldexp.c: Likewise.
53364 * math/s_ldexpf.c: Likewise.
53365 * math/s_ldexpl.c: Likewise.
53366 * math/s_significand.c: Likewise.
53367 * math/s_significandf.c: Likewise.
53368 * math/s_significandl.c: Likewise.
53369 * math/w_acos.c: Likewise.
53370 * math/w_acosf.c: Likewise.
53371 * math/w_acosh.c: Likewise.
53372 * math/w_acoshf.c: Likewise.
53373 * math/w_acoshl.c: Likewise.
53374 * math/w_acosl.c: Likewise.
53375 * math/w_asin.c: Likewise.
53376 * math/w_asinf.c: Likewise.
53377 * math/w_asinl.c: Likewise.
53378 * math/w_atan2.c: Likewise.
53379 * math/w_atan2f.c: Likewise.
53380 * math/w_atan2l.c: Likewise.
53381 * math/w_atanh.c: Likewise.
53382 * math/w_atanhf.c: Likewise.
53383 * math/w_atanhl.c: Likewise.
53384 * math/w_cosh.c: Likewise.
53385 * math/w_coshf.c: Likewise.
53386 * math/w_coshl.c: Likewise.
53387 * math/w_dremf.c: Likewise.
53388 * math/w_exp10.c: Likewise.
53389 * math/w_exp10f.c: Likewise.
53390 * math/w_exp10l.c: Likewise.
53391 * math/w_exp2.c: Likewise.
53392 * math/w_exp2f.c: Likewise.
53393 * math/w_fmod.c: Likewise.
53394 * math/w_fmodf.c: Likewise.
53395 * math/w_fmodl.c: Likewise.
53396 * math/w_hypot.c: Likewise.
53397 * math/w_hypotf.c: Likewise.
53398 * math/w_hypotl.c: Likewise.
53399 * math/w_j0.c: Likewise.
53400 * math/w_j0f.c: Likewise.
53401 * math/w_j0l.c: Likewise.
53402 * math/w_j1.c: Likewise.
53403 * math/w_j1f.c: Likewise.
53404 * math/w_j1l.c: Likewise.
53405 * math/w_jn.c: Likewise.
53406 * math/w_jnf.c: Likewise.
53407 * math/w_jnl.c: Likewise.
53408 * math/w_lgamma.c: Likewise.
53409 * math/w_lgamma_r.c: Likewise.
53410 * math/w_lgammaf.c: Likewise.
53411 * math/w_lgammaf_r.c: Likewise.
53412 * math/w_lgammal.c: Likewise.
53413 * math/w_lgammal_r.c: Likewise.
53414 * math/w_log.c: Likewise.
53415 * math/w_log10.c: Likewise.
53416 * math/w_log10f.c: Likewise.
53417 * math/w_log10l.c: Likewise.
53418 * math/w_log2.c: Likewise.
53419 * math/w_log2f.c: Likewise.
53420 * math/w_log2l.c: Likewise.
53421 * math/w_logf.c: Likewise.
53422 * math/w_logl.c: Likewise.
53423 * math/w_pow.c: Likewise.
53424 * math/w_powf.c: Likewise.
53425 * math/w_powl.c: Likewise.
53426 * math/w_remainder.c: Likewise.
53427 * math/w_remainderf.c: Likewise.
53428 * math/w_remainderl.c: Likewise.
53429 * math/w_scalb.c: Likewise.
53430 * math/w_scalbf.c: Likewise.
53431 * math/w_scalbl.c: Likewise.
53432 * math/w_sinh.c: Likewise.
53433 * math/w_sinhf.c: Likewise.
53434 * math/w_sinhl.c: Likewise.
53435 * math/w_sqrt.c: Likewise.
53436 * math/w_sqrtf.c: Likewise.
53437 * math/w_sqrtl.c: Likewise.
53438 * math/w_tgamma.c: Likewise.
53439 * math/w_tgammaf.c: Likewise.
53440 * math/w_tgammal.c: Likewise.
53441
6a621eb7
UD
53442 * po/ja.po: Update from translation team.
53443
bf582445
AJ
534442011-09-29 Andreas Jaeger <aj@suse.de>
53445
f9efbf3a
AJ
53446 [BZ #13179]
53447 * sunrpc/netname.c (netname2host): Fix logic.
53448
bf582445
AJ
53449 [BZ #6779]
53450 [BZ #6783]
53451 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53452 correctly.
53453 * math/w_remainder.c (__remainder): Likewise.
53454 * math/w_remainderf.c (__remainderf): Likewise.
53455 * math/libm-test.inc (remainder_test): Add test cases.
53456
48693bea
AK
534572011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53458
53459 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53460 sdiv_qrnnd.
53461
42622229
LD
534622011-10-07 Ulrich Drepper <drepper@gmail.com>
53463
53464 * string/test-memcmp.c: Avoid unncessary #defines.
53465 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53466
093ecf92
LD
534672011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53468
53469 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53470 Use new sse2 version for core i3 - i7 as it's faster
53471 than sse42 version.
53472 (bit_Prefer_PMINUB_for_stringop): New.
53473 * sysdeps/x86_64/rawmemchr.S: Update.
53474 Replace with faster SSE2 version.
53475 * sysdeps/x86_64/memrchr.S: New file.
53476 * sysdeps/x86_64/memchr.S: Update.
53477 Replace with faster SSE2 version.
53478
fde56e5c
MP
534792011-09-12 Marek Polacek <mpolacek@redhat.com>
53480
53481 * elf/dl-load.c (lose): Add cast to avoid warning.
53482
21fd49a9
UD
534832011-10-07 Ulrich Drepper <drepper@gmail.com>
53484
5a06e643
UD
53485 * po/ca.po: Update from translation team.
53486
684ae515
UD
53487 * inet/getnetgrent_r.c: Hook up nscd.
53488 * nscd/Makefile (routines): Add nscd_netgroup.
53489 (nscd-modules): Add netgroupcache.
53490 (CFLAGS-netgroupcache.c): Define.
53491 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53492 (cache_search): Add const to second parameter.
53493 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53494 INNETGR.
53495 (dbs): Add netgrdb entry.
53496 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53497 (verify_persistent_db): Handle netgrdb.
53498 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53499 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53500 GETFDNETGR.
53501 (netgroup_response_header): Define.
53502 (innetgroup_response_header): Define.
53503 (datahead): Add netgroup_response_header and innetgroup_response_header
53504 elements.
53505 * nscd/nscd.conf: Add entries for netgroup cache.
53506 * nscd/nscd.h (dbtype): Add netgrdb.
53507 (_PATH_NSCD_NETGROUP_DB): Define.
53508 (netgroup_iov_disabled): Declare.
53509 (xmalloc, xcalloc, xrealloc): Move declarations here.
53510 (cache_search): Adjust prototype.
53511 Add netgroup-related prototypes.
53512 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53513 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53514 (__nscd_innetgr): Declare.
53515 * nscd/selinux.c (perms): Use access_vector_t as element type and
53516 add netgroup-related initializers.
53517 * nscd/netgroupcache.c: New file.
53518 * nscd/nscd_netgroup.c: New file.
53519 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53520 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53521 For four parameters use innetgr.
53522 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53523 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53524 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53525 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53526
21fd49a9
UD
53527 * nscd/connections.c (register_traced_file): Don't register file
53528 for disabled databases.
53529
054c0457
UD
535302011-10-06 Ulrich Drepper <drepper@gmail.com>
53531
32b63198
UD
53532 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53533
054c0457
UD
53534 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53535 from tree and freeing node.
53536
64031225
JO
535372011-09-25 Jiri Olsa <jolsa@redhat.com>
53538
53539 * nss/nsswitch.c (__nss_database_lookup): Handle
53540 nss_parse_service_list out of memory case.
53541
0490345c
JO
535422011-09-15 Jiri Olsa <jolsa@redhat.com>
53543
53544 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53545 out of memory case.
53546
3a62d00d
AS
535472011-10-04 Andreas Schwab <schwab@redhat.com>
53548
53549 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53550 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53551 pass it down.
53552 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53553 elf_machine_rela, elf_machine_lazy_rel.
53554 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53555 (ELF_DYNAMIC_DO_REL): Likewise.
53556 (ELF_DYNAMIC_DO_RELA): Likewise.
53557 (ELF_DYNAMIC_RELOCATE): Likewise.
53558 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53559 to ELF_DYNAMIC_DO_REL.
53560 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53561 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53562 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53563 elf_machine_rela.
53564 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53565 skip_ifunc, don't call ifunc function if non-zero.
53566 (elf_machine_rela): Likewise.
53567 (elf_machine_lazy_rel): Likewise.
53568 (elf_machine_lazy_rela): Likewise.
53569 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53570 (elf_machine_lazy_rel): Likewise.
53571 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53572 Likewise.
53573 (elf_machine_lazy_rel): Likewise.
53574 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53575 Likewise.
53576 (elf_machine_lazy_rel): Likewise.
53577 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53578 (elf_machine_lazy_rel): Likewise.
53579 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53580 (elf_machine_lazy_rel): Likewise.
53581 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53582 (elf_machine_lazy_rel): Likewise.
53583 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53584 (elf_machine_lazy_rel): Likewise.
53585 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53586 (elf_machine_lazy_rel): Likewise.
53587 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53588 (elf_machine_lazy_rel): Likewise.
53589
68577918
UD
535902011-09-28 Ulrich Drepper <drepper@gmail.com>
53591
53592 * nss/nss_files/files-init.c (_nss_files_init): Use static
53593 initialization for all the *_traced_file variables.
53594
68822d74
AS
535952011-09-28 Andreas Schwab <schwab@redhat.com>
53596
53597 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53598
2056100b
RM
535992011-09-27 Roland McGrath <roland@hack.frob.com>
53600
53601 [BZ #13226]
53602 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53603
32c76b63
AS
536042011-09-27 Andreas Schwab <schwab@redhat.com>
53605
53606 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53607 Reread the line before reparsing it.
53608
bf972c9d
AS
536092011-09-26 Andreas Schwab <schwab@redhat.com>
53610
53611 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53612
e057a1b5
JM
536132011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53614 Maxim Kuvyrkov <maxim@codesourcery.com>
53615 Joseph Myers <joseph@codesourcery.com>
53616
53617 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53618 if needed for __stack_chk_guard.
53619
bc7e1c36
RM
536202011-09-19 Roland McGrath <roland@hack.frob.com>
53621
ecb1482f
RM
53622 * sysdeps/posix/spawni.c (script_execute): Always define it.
53623 It will be optimized away if unused.
53624 (maybe_script_execute): New function.
53625 (__spawni): Call it.
53626
bc7e1c36
RM
53627 * Makerules: Don't include tls.make.
53628 (config-tls): Always set to thread.
53629 * tls.make.c: File removed.
53630
1c3b002b
MF
536312011-09-19 Mike Frysinger <vapier@gentoo.org>
53632
53633 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53634 * config.make.in (CPPFLAGS-config): New substituted variable.
53635
2840865d
UD
536362011-09-15 Ulrich Drepper <drepper@gmail.com>
53637
88738eb6
UD
53638 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53639
cbf645a6 53640 [BZ #13192]
2840865d
UD
53641 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53642 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53643
b402e91a
RM
536442011-09-15 Roland McGrath <roland@hack.frob.com>
53645
53646 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53647 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53648 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53649 (CALL_FAIL): Likewise.
53650 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53651 (CALL_FAIL): Macro removed.
53652 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53653
4c1a1f71
UD
536542011-09-15 Ulrich Drepper <drepper@gmail.com>
53655
53656 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53657 for __FINITE_MATH_ONLY__ == 1.
53658
edc121be
AS
536592011-09-15 Andreas Schwab <schwab@redhat.com>
53660
53661 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53662 __ieee754_sqrt instead of sqrt.
53663 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53664 __ieee754_sqrtf instead of sqrtf.
53665 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53666 __floorf instead of floorf.
53667 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53668 __floorf, __truncf instead of floorf, truncf.
53669
cd205654
UD
536702011-09-14 Ulrich Drepper <drepper@gmail.com>
53671
ee4d0315
UD
53672 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53673
cd205654
UD
53674 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53675 __extern_always_inline.
53676 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53677 32-bit.
53678
48b67d71
AS
536792011-09-14 Andreas Schwab <schwab@redhat.com>
53680
53681 * elf/rtld.c (dl_main): Also relocate in dependency order when
53682 doing symbol dependency testing.
53683
1ae12c75
AS
536842011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53685
53686 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53687 Always define `refsym'.
53688
995a80df
AS
536892011-09-13 Andreas Schwab <schwab@redhat.com>
53690
e529793b
AS
53691 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53692 (__FD_ELT): Renamed from __FDELT.
53693 * misc/bits/select2.h (__FD_ELT): Likewise.
53694 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53695 __FD_MASK instead of __FDELT, __FDMASK.
53696 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53697 Likewise.
53698 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53699 Likewise.
53700
52d4fef8
AS
53701 * elf/Makefile (gen-ldd): Fix pattern.
53702
995a80df
AS
53703 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53704 (init_tls): Likewise.
53705
8682f8b0
UD
537062011-09-12 Ulrich Drepper <drepper@gmail.com>
53707
53708 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53709
de82006d
AS
537102011-09-12 Andreas Schwab <schwab@redhat.com>
53711
a7c8e6a1
AS
53712 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53713 `struct cmsghdr *' instead of `void *'.
53714 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53715 Likewise.
53716
0f31fe77
AS
537172011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53718
53719 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53720 if non-absolute.
53721 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53722 ldd_rewrite_script.
0f31fe77 53723
32b4c839
UD
537242011-09-11 Ulrich Drepper <drepper@gmail.com>
53725
83cd1420
UD
53726 * configure.in: Remove --with-tls option.
53727 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53728 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53729 out in case it is missing.
53730 * sysdeps/ia64/elf/configure.in: Likewise.
53731 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53732 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53733 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53734 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53735 * sysdeps/sh/elf/configure.in: Likewise.
53736 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53737 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53738 * sysdeps/x86_64/elf/configure.in: Likewise.
53739 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53740 * sysdeps/mach/hurd/tls.h: Likewise.
53741
633f745d
UD
53742 [BZ #13067]
53743 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53744
f318beb8
UD
53745 [BZ #13090]
53746 * configure.in: Fix use of AC_INIT.
53747
32b4c839
UD
53748 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53749
3ce1f295
UD
537502011-09-10 Ulrich Drepper <drepper@gmail.com>
53751
bb016596
UD
53752 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53753 __set_errno.
8e58439c
UD
53754 * malloc/hooks.c: Likewise.
53755
aebae053 53756 [BZ #11929]
02d46fc4
UD
53757 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53758 variables statically.
53759 (narenas): Initialize.
53760 (list_lock): Initialize.
bb016596
UD
53761 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53762 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
53763 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53764 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53765 Add initializers to main_arena and mp_.
53766 (malloc_state): Remove pagesize member. Change all users to use
53767 GLRO(dl_pagesize).
53768
53769 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53770 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53771 is always initialized.
53772
22a89187
UD
53773 * malloc/malloc.c: Removed unused configurations and dead code.
53774 * malloc/arena.c: Likewise.
53775 * malloc/hooks.c: Likewise.
02d46fc4 53776 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 53777
d063d164
UD
53778 * include/tls.h: Removed. USE___THREAD must always be defined.
53779 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53780 * elf/dl-libc.c: Likewise.
53781 * elf/dl-tsd.c: Likewise.
53782 * include/errno.h: Likewise.
53783 * include/netdb.h: Likewise.
53784 * include/resolv.h: Likewise.
53785 * inet/herrno-loc.c: Likewise.
53786 * inet/herrno.c: Likewise.
53787 * malloc/arena.c: Likewise.
53788 * malloc/hooks.c: Likewise.
53789 * malloc/malloc.c: Likewise.
53790 * resolv/res-state.c: Likewise.
53791 * resolv/res_libc.c: Likewise.
53792 * sysdeps/i386/dl-machine.h: Likewise.
53793 * sysdeps/ia64/dl-machine.h: Likewise.
53794 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53795 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53796 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53797 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53798 * sysdeps/sh/dl-machine.h: Likewise.
53799 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53800 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53801 * sysdeps/unix/i386/sysdep.S: Likewise.
53802 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53803 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53804 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53805 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53806 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53807 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53808 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53809 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53811 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53812 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53813 * sysdeps/x86_64/dl-machine.h: Likewise.
53814 * tls.make.c: Likewise.
53815
3ce1f295
UD
53816 * configure.in: Remove --with-__thread option. Make tests for
53817 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53818 tls_model attribute fail if no support is available. Remove
53819 USE_IN_LIBIO.
53820 * Makeconfig: Adjust for dropped configure option. All features are
53821 now mandatory.
53822 * Makerules: Likewise.
53823 * Versions.def: Likewise.
53824 * argp/argp-fmtstream.c: Likewise.
53825 * argp/argp-fmtstream.h: Likewise.
53826 * argp/argp-help.c: Likewise.
53827 * assert/assert.c: Likewise.
53828 * config.h.in: Likewise.
53829 * config.make.in: Likewise.
53830 * configure: Likewise.
53831 * configure.in: Likewise.
53832 * csu/Versions: Likewise.
53833 * csu/init.c: Likewise.
53834 * elf/tst-audit2.c: Likewise.
53835 * elf/tst-tls10.c: Likewise.
53836 * elf/tst-tls10.h: Likewise.
53837 * elf/tst-tls11.c: Likewise.
53838 * elf/tst-tls12.c: Likewise.
53839 * elf/tst-tls14.c: Likewise.
53840 * elf/tst-tlsmod11.c: Likewise.
53841 * elf/tst-tlsmod12.c: Likewise.
53842 * elf/tst-tlsmod13.c: Likewise.
53843 * elf/tst-tlsmod13a.c: Likewise.
53844 * elf/tst-tlsmod14a.c: Likewise.
53845 * elf/tst-tlsmod15b.c: Likewise.
53846 * elf/tst-tlsmod16a.c: Likewise.
53847 * elf/tst-tlsmod16b.c: Likewise.
53848 * elf/tst-tlsmod7.c: Likewise.
53849 * elf/tst-tlsmod8.c: Likewise.
53850 * elf/tst-tlsmod9.c: Likewise.
53851 * gmon/gmon.c: Likewise.
53852 * grp/fgetgrent_r.c: Likewise.
53853 * grp/putgrent.c: Likewise.
53854 * hurd/fopenport.c: Likewise.
53855 * include/libc-symbols.h: Likewise.
53856 * include/tls.h: Likewise.
53857 * intl/gettextP.h: Likewise.
53858 * intl/loadinfo.h: Likewise.
53859 * locale/global-locale.c: Likewise.
53860 * locale/localeinfo.h: Likewise.
53861 * mach/devstream.c: Likewise.
53862 * malloc/arena.c: Likewise.
53863 * malloc/set-freeres.c: Likewise.
53864 * misc/err.c: Likewise.
53865 * misc/getttyent.c: Likewise.
53866 * misc/mntent_r.c: Likewise.
53867 * posix/getopt.c: Likewise.
53868 * posix/wordexp.c: Likewise.
53869 * pwd/fgetpwent_r.c: Likewise.
53870 * resolv/Versions: Likewise.
53871 * resolv/res_hconf.c: Likewise.
53872 * shadow/fgetspent_r.c: Likewise.
53873 * shadow/putspent.c: Likewise.
53874 * stdio-common/printf_fphex.c: Likewise.
53875 * stdio-common/tmpfile.c: Likewise.
53876 * stdlib/abort.c: Likewise.
53877 * stdlib/fmtmsg.c: Likewise.
53878 * sunrpc/auth_unix.c: Likewise.
53879 * sunrpc/clnt_perr.c: Likewise.
53880 * sunrpc/clnt_tcp.c: Likewise.
53881 * sunrpc/clnt_udp.c: Likewise.
53882 * sunrpc/clnt_unix.c: Likewise.
53883 * sunrpc/openchild.c: Likewise.
53884 * sunrpc/svc_simple.c: Likewise.
53885 * sunrpc/svc_tcp.c: Likewise.
53886 * sunrpc/svc_udp.c: Likewise.
53887 * sunrpc/svc_unix.c: Likewise.
53888 * sunrpc/xdr.c: Likewise.
53889 * sunrpc/xdr_array.c: Likewise.
53890 * sunrpc/xdr_rec.c: Likewise.
53891 * sunrpc/xdr_ref.c: Likewise.
53892 * sunrpc/xdr_stdio.c: Likewise.
53893
1248c1c4
PB
538942011-09-09 Ulrich Drepper <drepper@gmail.com>
53895
53896 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53897
538982011-07-03 Andreas Jaeger <aj@suse.de>
53899
53900 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53901 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53902 regenerate with gen-libm-tests.pl.
53903
539042010-05-12 Petr Baudis <pasky@suse.cz>
53905
53906 [BZ #11589]
53907 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53908 around j0() zero points by switching to j1().
53909 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53910 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53911 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53912 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53913
f22e1074
UD
539142011-09-09 Ulrich Drepper <drepper@gmail.com>
53915
f19009c1
UD
53916 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53917 instead of 0.
53918 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 53919 instead of 0.
f19009c1
UD
53920 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53921 Patch in part by Pavel Roskin <proski@gnu.org>.
53922
3f8cc204
UD
53923 [BZ #13138]
53924 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53925 realloc.
53926 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53927 Free memory block if necessary.
53928
f22e1074
UD
53929 [BZ #12847]
53930 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53931 be NULL. Don't lock in this case.
53932
0a2349f9
RM
539332011-09-09 Roland McGrath <roland@hack.frob.com>
53934
53935 * elf/elf.h (ELFOSABI_GNU): New macro.
53936 (ELFOSABI_LINUX): Define to that.
53937
f3cdd467
DZ
539382011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53939
53940 * string/strncat.c (strncat): Undef the symbol in case it has been
53941 defined in bits/string.h.
53942
74718d13
UD
539432011-09-09 Ulrich Drepper <drepper@gmail.com>
53944
633e9e0f
UD
53945 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53946
0a2349f9 53947 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
53948 link map.
53949
f9924780
AJ
539502011-08-17 Andreas Jaeger <aj@suse.de>
53951
53952 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53953
7f5517aa
PP
539542011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53955 Ian Lance Taylor <iant@google.com>
53956
53957 * math/libm-test.inc (lround_test): New testcase.
53958 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53959
762011fe
UD
539602011-09-08 Ulrich Drepper <drepper@gmail.com>
53961
92963737
UD
53962 * Makefile: Remove support for automatic cvs check-ins.
53963 * Makerules: Likewise.
53964 * config.make.in: Likewise.
53965 * configure.in: Likewise.
53966 * intl/Makefile: Likewise.
53967 * locale/Makefile: Likewise.
53968 * po/Makefile: Likewise.
53969 * posix/Makefile: Likewise.
53970 * sysdeps/gnu/Makefile: Likewise.
53971 * sysdeps/mach/hurd/Makefile: Likewise.
53972 * sysdeps/sparc/sparc32/Makefile: Likewise.
53973
b0727fd8
JS
53974 [BZ #13118]
53975 * posix/Makefile (bug-regex32-ENV): Define.
53976 Patch by John Stanley <jpsinthemix@verizon.net>.
53977
a0f33f99
UD
53978 * misc/Makefile (headers): Add bits/select2.h.
53979 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53980 * misc/bits/select2.h: New file.
53981 * include/bits/select2.h: New file.
53982 * debug/Makefile (routines): Add fdelt_chk.
53983 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53984 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53985 FD_ISSET.
53986 * debug/fdelt_chk.c: New file.
53987
762011fe
UD
53988 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53989 * wcsmbs/test-wmemcmp.c: Likewise.
53990 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 53991 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
53992
539932011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53994
53995 * string/Makefile (strop-tests): Add memcmp.
53996 * string/test-wmemcmp.c: New file.
53997 * string/test-memcmp.c: Add wmemcmp support.
53998
7f513ec8
RM
539992011-09-08 Roland McGrath <roland@hack.frob.com>
54000
0442afb4
RM
54001 [BZ #13153]
54002 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54003 2011-07-19 change.
54004
7f513ec8
RM
54005 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54006 garbage value in a __mach_port_mod_refs call in the cases of the
54007 task-self and thread-self ports.
54008
a12b2239
ST
540092011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54010
54011 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54012
610f9ab4
AS
540132011-09-08 Andreas Schwab <schwab@redhat.com>
54014
7f513ec8 54015 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 54016
48882a1a
LD
540172011-09-07 Ulrich Drepper <drepper@gmail.com>
54018
b49865be
UD
54019 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54020
fdc86bc9
UD
54021 * elf/dl-libc.c (dlerror_run): Pass back error code from
54022 dl_catch_error.
54023
c966526a
UD
54024 [BZ #13123]
54025 * elf/dl-load.c (lose): Free l_origin if it is valid.
54026
48882a1a
LD
54027 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54028 names.
54029 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54030 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54031 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54032 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54033 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54034 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54035
77a2a8b4
AZ
540362011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54037
54038 * sysdeps/powerpc/fpu/e_hypot.c: New file.
54039 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54040 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54041 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54042 * sysdeps/powerpc/fpu/k_cosf.c: New file.
54043 * sysdeps/powerpc/fpu/k_sinf.c: New file.
54044 * sysdeps/powerpc/fpu/s_cosf.c: New file.
54045 * sysdeps/powerpc/fpu/s_sinf.c: New file.
54046 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54047 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54048
24f579d8
AM
540492011-08-15 Alan Modra <amodra@gmail.com>
54050
54051 [BZ #13092]
54052 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54053 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54054 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
54055 ppc_mcount to static-only-routines.
54056 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54057 __mcount_internal.
54058 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54059 __mcount_internal with usual JUMPTARGET. Remove useless nop.
54060
3d4837df
UD
540612011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
54062
54063 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54064 for finite and infinity parameters.
54065
22700377
WS
540662011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54067
54068 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54069 and add nop instructions for throughput optimization.
54070 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54071
5025581e
WS
540722011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
54073
54074 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54075 aligned copy for power7 with vector-scalar instructions.
54076 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54077
08a300c9
L
540782011-07-24 H.J. Lu <hongjiu.lu@intel.com>
54079
54080 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54081 AVX check.
54082
59178ef9
AS
540832011-09-07 Andreas Schwab <schwab@redhat.com>
54084
54085 [BZ #13144]
54086 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54087 last change.
54088
e38ba7ab
UD
540892011-09-07 Ulrich Drepper <drepper@gmail.com>
54090
54091 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54092 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54093 syscall wrapper around clock_gettime in __vdso_clock_gettime.
54094 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54095 clock_gettime.
54096
d53a73ac
UD
540972011-09-06 Ulrich Drepper <drepper@gmail.com>
54098
fc8bffcc
UD
54099 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54100 Forgot to demangle the pointer.
54101
ceaa0c5d
UD
54102 * sysdeps/i386/sysdep.h: Define atom_text_section.
54103 * sysdeps/x86_64/sysdep.h: Likewise.
54104 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54105 section with atom_text_section.
54106 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54107 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54108 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54109 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54110 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54111
a77d3c17
UD
54112 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54113 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54114 already be defined. Change to take two parameters and don't assign
54115 result to variable. Adjust all users.
54116 Define INTERNAL_GETTIME if not already defined.
54117 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54118 call.
54119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54120 HAVE_CLOCK_GETTIME_VSYSCALL.
54121 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54122
d53a73ac
UD
54123 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54124 gettimeofday vsyscall, just use time.
54125
a8f84144
AS
541262011-09-06 Andreas Schwab <schwab@redhat.com>
54127
54128 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54129 <errno.h>.
54130
ef606249
UD
541312011-09-06 Ulrich Drepper <drepper@gmail.com>
54132
54133 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54134 syscall on x86-64.
54135 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54136 syscall.
54137 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54138 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54139 syscall if possible.
54140
6585cb60
UD
541412011-09-05 Ulrich Drepper <drepper@gmail.com>
54142
54143 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54144 e_ident. Don't pass to find_mapsXX.
54145 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54146
a5f524e4
LD
541472011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54148
54149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54150 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54151 * sysdeps/x86_64/multiarch/strchr.S: Update.
54152 Check bit_slow_BSF bit.
54153 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54154 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54155 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54156
554881ef
UD
541572011-09-05 Ulrich Drepper <drepper@gmail.com>
54158
d96de963
UD
54159 [BZ #13134]
54160 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54161 before glibc 2.15.
54162 (tryshell): Define.
54163 (__spawni): Change last parameter to be flag. Test
54164 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54165 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54166 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54167 * posix/spawni.c: Likewise.
54168 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54169 * posix/spawnp.c: Likewise. Change normal version to use
54170 SPAWN_XFLAGS_USE_PATH.
54171 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54172 SPAWN_XFLAGS_TRY_SHELL.
54173
d48e5868
UD
54174 [BZ #13150]
54175 * posix/glob.h: Remove gcc 1.x support.
54176
554881ef
UD
54177 [BZ #13068]
54178 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54179
693fb948
LD
541802011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54181
54182 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54183 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54184 strrchr-sse2-bsf
54185 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54186 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54187 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54188 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54189 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54190 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54191
1b48c537
UD
541922011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54193
49d42c37
UD
54194 * sysdeps/x86_64/wcscmp.S: New file.
54195
1b48c537
UD
54196 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54197 wcscmp-c wcscmp-sse2
54198 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54199 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54200 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54201 * wcsmbs/wcscmp.c: Allow renaming.
54202
15c95c5d
DM
542032011-09-05 David S. Miller <davem@davemloft.net>
54204
54205 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54206 stack slot, rather than the struct return pointer slot.
54207 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54208 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54210 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54211
2f0ad8f3
UD
542122011-09-05 Ulrich Drepper <drepper@gmail.com>
54213
d88ae418
UD
54214 * po/ja.po: Update from translation team.
54215
2f0ad8f3
UD
54216 [BZ #13144]
54217 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54218 kernel in 64-bit binaries.
54219
5f4318d1
DM
542202011-09-01 David S. Miller <davem@davemloft.net>
54221
54222 * elf/elf.h (HWCAP_SPARC_*): Move to..
54223 * sysdeps/sparc/sysdep.h: this new file and add new values.
54224 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54225 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54226 _DL_HWCAP_COUNT to 24.
54227 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54228 entries.
54229 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54230 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54231 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54232 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54233 instead of magic constants.
54234 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54235
3ba57516
DM
542362011-08-31 David S. Miller <davem@davemloft.net>
54237
54238 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54239 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54240 Reimplement to do errno handling inline.
54241 (SYSCALL_ERROR_HANDLER): New macro.
54242 (__SYSCALL_STRING): Do not do errno handling in asm.
54243 (__CLONE_SYSCALL_STRING): Delete.
54244 (__INTERNAL_SYSCALL_STRING): Delete.
54245 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54246 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54247 (PSEUDO): Reimplement to do errno handling inline.
54248 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54249 (SYSCALL_ERROR_HANDLER): New macro.
54250 (__SYSCALL_STRING): Do not do errno handling in asm.
54251 (__CLONE_SYSCALL_STRING): Delete.
54252 (__INTERNAL_SYSCALL_STRING): Delete.
54253 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54254 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54255 i386.
54256 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54257 (inline_syscall*): Add 'err' argument.
54258 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54259 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54260 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54261 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54262
54263 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54264 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54265
2bc17433
AS
542662011-08-30 Andreas Schwab <schwab@redhat.com>
54267
54268 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54269
fbeb5f4d
JO
542702011-08-29 Jiri Olsa <jolsa@redhat.com>
54271
54272 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54273 directive.
54274
ad69cc26
DM
542752011-08-24 David S. Miller <davem@davemloft.net>
54276
54277 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54278
39dd69df
AS
542792011-08-24 Andreas Schwab <schwab@redhat.com>
54280
54281 * elf/Makefile: Add rules to build and run unload8 test.
54282 * elf/unload8.c: New file.
54283 * elf/unload8mod1.c: New file.
54284 * elf/unload8mod1x.c: New file.
54285 * elf/unload8mod2.c: New file.
54286 * elf/unload8mod3.c: New file.
54287
54288 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54289 it wasn't used.
54290
2c0b250a
DM
542912011-08-23 David S. Miller <davem@davemloft.net>
54292
54293 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54294 subtract stack bias.
54295 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54296 %sp not %fp in calculations.
54297 (_JMPBUF_UNWINDS_ADJ): Likewise.
54298
22044b48
DM
54299 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54300 (aio_suspend): Call it to force an exception region around the
54301 AIO_MISC_WAIT() invocation.
54302
2cae4995
AS
543032011-08-23 Andreas Schwab <schwab@redhat.com>
54304
54305 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54306 backslash.
54307
873a772e
AJ
543082011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54309
54310 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54311 protection macro.
54312 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54313 and <dl-machine.h>.
54314 (Elf64_FuncDesc): Remove.
54315
25ad0df1
DM
543162011-08-22 David S. Miller <davem@davemloft.net>
54317
54318 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54319 sigaltstack check, add missing cfi directives.
54320 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54321 missing cfi directives, and sigaltstack handling.
54322
e888bcbe
AS
543232011-08-16 Andreas Schwab <schwab@redhat.com>
54324
54325 [BZ #11724]
54326 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54327 object is seen twice.
54328 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54329
54330 * elf/Makefile (distribute): Add tst-initorder2.c.
54331 (tests): Add tst-initorder2.
54332 (modules-names): Add tst-initorder2a tst-initorder2b
54333 tst-initorder2c tst-initorder2d. Add rules to build them.
54334 ($(objpfx)tst-initorder2.out): New rule.
54335 * elf/tst-initorder2.c: New file.
54336 * elf/tst-initorder2.exp: New file.
54337
87162f46
AS
543382011-08-22 Andreas Schwab <schwab@redhat.com>
54339
70538b7f
AS
54340 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54341
f55ffe58
AS
54342 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54343 dependencies back to end of function.
54344
87162f46
AS
54345 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54346 $(elfobjdir)/ld.so.
54347
91b392a4
UD
543482011-08-21 Ulrich Drepper <drepper@gmail.com>
54349
54350 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54351 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54352 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54353 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54354 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54355 of __vdso_gettimeofday.
54356 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54357 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54358 attribute_hidden.
54359 (_libc_vdso_platform_setup): Remove initialization of
54360 __vdso_gettimeofday and __vdso_time.
54361
5c43483f
UD
543622011-08-20 Ulrich Drepper <drepper@gmail.com>
54363
775a77e7
UD
54364 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54365 and fgetc_unlocked.
54366 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54367 getc_unlocked.
89f447ed 54368
49c74ba9
UD
54369 * elf/dl-open.c (add_to_global): Report additions to the global scope
54370 for LD_DEBUG=scopes.
54371 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 54372 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 54373
5c43483f
UD
54374 [BZ #13114]
54375 * stdio-common/Makefile (tests): Add bug24.
54376 * stdio-common/bug24.c: New file.
54377
a101b025
AJ
543782011-08-19 Andreas Jaeger <aj@suse.de>
54379
54380 [BZ #13114]
54381 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54382 non-existant file when using close-on-exec mode.
54383
c88f1766
UD
543842011-08-20 Ulrich Drepper <drepper@gmail.com>
54385
0276a718
UD
54386 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54387 the very first instruction.
54388
c88f1766
UD
54389 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54390 the CFI state in the end.
54391 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54392 inclusion of dl-trampoline.h.
54393 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54394
51ccffa0
AS
543952011-08-19 Andreas Schwab <schwab@redhat.com>
54396
94d7165f
AS
54397 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54398 expectations for long double.
54399
51ccffa0
AS
54400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54401 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54402
fd708658 544032011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
54404
54405 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54406 artificual limit depends upon the system page size.
54407
44f0a71e
UD
544082011-08-17 Ulrich Drepper <drepper@gmail.com>
54409
54410 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54411 * resolv/Makefile: Define CFLAGS-libresolv.
54412
8de79a24
AS
544132011-08-17 Andreas Schwab <schwab@redhat.com>
54414
54415 * nss/makedb.c (compute_tables): Make variables used in nested
54416 function static.
54417
27724598
UD
544182011-08-17 Ulrich Drepper <drepper@gmail.com>
54419
c5305d88
UD
54420 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54421 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54422 if buffer was too small.
54423
27724598
UD
54424 * elf/pldd.c (main): Attach to all threads in the process.
54425 Rewrite /proc handling to use *at functions.
54426
076fe015
UD
544272011-08-16 Ulrich Drepper <drepper@gmail.com>
54428
174baab3
UD
54429 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54430 specifies first scope to show.
54431 (dl_open_worker): Update callers. Move printing scope of new
54432 object to before the relocation.
44f0a71e 54433 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
54434 * sysdeps/generic/ldsodefs.h: Update declaration.
54435
076fe015
UD
54436 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54437 string for the scope number.
54438
a60df2c3
UD
544392011-08-14 Ulrich Drepper <drepper@gmail.com>
54440
54441 * nscd/servicescache.c (cache_addserv): Make sure written is always
54442 initialized.
54443
5e4287d1
RM
544442011-08-14 Roland McGrath <roland@hack.frob.com>
54445
85ae0589
RM
54446 * sysdeps/i386/i486/bits/atomic.h
54447 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54448 statement expression, so as to suppress "set but not used" warning.
54449 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54450
69f63097
RM
54451 * string/strncat.c (STRNCAT): Use prototype definition.
54452
675456ef
RM
54453 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54454 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54455 -Iprograms here.
54456 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54457 (localedef-modules): Add localedef.
54458 (locale-modules): Add locale.
54459
5e4287d1
RM
54460 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54461 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54462 to avoid a warning.
54463
9c96ff23
DM
544642011-08-14 David S. Miller <davem@davemloft.net>
54465
54466 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54467 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54468
f9ddf089
UD
544692011-08-13 Ulrich Drepper <drepper@gmail.com>
54470
44f0a71e 54471 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
54472 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54473 * elf/rtld.c (dl_main): Set l_name of vDSO.
54474 Call _dl_show_scope when DL_DEBUG_SCOPES.
54475 (process_dl_debug): Recognize scopes flag and also set it for all.
54476 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54477 Declare _dl_show_scope.
54478
1dc27704
UD
54479 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54480 (do_dlopen): Pass caller_dlopen to dl_open.
54481 (__libc_dlopen_mode): Initialize caller_dlopen.
54482
f9ddf089
UD
54483 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54484 of libc. Make tolower call locale-independent. Optimize a bit by
54485 using isdigit instead of isalnum.
54486 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54487
9ac533d3
UD
544882011-08-12 Ulrich Drepper <drepper@gmail.com>
54489
54490 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54491 was a dependency or dynamically loaded.
54492
89edf2e9
UD
544932011-08-11 Ulrich Drepper <drepper@gmail.com>
54494
8e999d29
UD
54495 * intl/l10nflist.c: Allow architecture-specific pop function.
54496 * sysdeps/x86_64/l10nflist.c: New file.
54497
89edf2e9
UD
54498 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54499 classification.
54500
14d96785
AS
545012011-08-10 Andreas Schwab <schwab@redhat.com>
54502
54503 * include/dirent.h: Add libc_hidden_proto for scandirat and
54504 scandirat64. Don't declare __scandirat64.
54505 * dirent/scandirat.c: Add libc_hidden_def.
54506 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54507 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54508
6761ac04
DM
545092011-08-10 David S. Miller <davem@davemloft.net>
54510
54511 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54512 enum.
54513 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54514 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54515 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54516
c55fbd1e
UD
545172011-08-09 Ulrich Drepper <drepper@gmail.com>
54518
54519 * Versions.def [libc]: Add GLIBC_2.15.
54520 * dirent/Makefile (routines): Add scandirat and scandirat64.
54521 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54522 GLIBC_2.15.
54523 * dirent/dirent.h: Declare scandirat and scandirat64.
54524 * dirent/scandirat.c: New file.
54525 * dirent/scandirat64.c: New file.
54526 * sysdeps/wordsize-64/scandirat.c: New file.
54527 * sysdeps/wordsize-64/scandirat64.c: New file.
54528 * dirent/opendir.c: Define opendirat.
54529 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54530 using scandirat.
54531 * dirent/scandir64.c: Adjust for scandir.c change.
54532 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54533 __scandirat64, and __scandir_cancel_handler.
54534 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54535 additional parameter and use openat instead of open (outside of ld.so).
54536 Add new __opendir as wrapper around __opendirat.
54537 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54538 here without requiring old scandirat implementation.
54539
879165f2
UD
545402011-08-08 Ulrich Drepper <drepper@gmail.com>
54541
54542 * dirent/scandir.c (cancel_handler): Renamed to
54543 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54544 defined. Adjust users.
54545 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54546 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54547
cb7e923b
UD
545482011-08-04 Ulrich Drepper <drepper@gmail.com>
54549
16292edd
UD
54550 * string/test-string.h (IMPL): Use __STRING to expand name and then
54551 stringify it.
54552
cb7e923b
UD
54553 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54554 of cleanups.
54555
cff82933
LD
545562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54557
54558 * string/Makefile: Update.
54559 (strop-tests): Append strncat.
54560 * string/test-wcscmp.c: New file.
54561 New comprehensive test for wcscmp.
54562 * string/test-strcmp.c: Update.
54563 (WIDE): New define.
54564
9be9bfcc
AS
545652011-07-22 Andreas Schwab <schwab@redhat.com>
54566
54567 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54568 line.
54569
2e96f1c7
AS
545702011-07-26 Andreas Schwab <schwab@redhat.com>
54571
54572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54573 encoding to ACE if AI_IDN.
54574
85188888
JJ
545752011-08-01 Jakub Jelinek <jakub@redhat.com>
54576
54577 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54578 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54579
5fa16e9b
LD
545802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54581
54582 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54583 Fix overflow bug in strncat.
54584 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54585
54586 * string/test-strncat.c: Update.
54587 Add new tests for checking overflow bugs.
54588
545892011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54590
54591 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54592 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54593 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54594 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54595 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54596 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54597 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54598 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54599 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54600
54601 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54602 (USE_AS_STRCAT): Define.
54603 Add strcat and strncat support.
54604 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54605
8c1a459f
AS
546062011-07-25 Andreas Schwab <schwab@redhat.com>
54607
54608 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54609 __n bigger than INT_MAX+1.
54610 (__strncmp_g): Likewise.
54611
bba33c28
UD
546122011-07-23 Ulrich Drepper <drepper@gmail.com>
54613
798be72d
UD
54614 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54615 * libio/stido.h: Likewise.
54616
8accd4dc
UD
54617 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54618 (AF_NFC): Define.
54619 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54620 (AF_NFC): Define.
54621
cbff0d96
UD
54622 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54623 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54624 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54625 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54626 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54627
9191c04a
UD
54628 [BZ #13021]
54629 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54630 installed.
54631
bba33c28
UD
54632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54633 typo.
54634 (_dl_x86_64_save_sse): Likewise.
54635
90f139dd
UD
546362011-07-22 Ulrich Drepper <drepper@gmail.com>
54637
1aae088a
UD
54638 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54639 OSXSAVE.
54640 (_dl_x86_64_save_sse): Likewise.
54641
8e2045f5
UD
54642 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54643
90f139dd
UD
54644 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54645
1d002f25
AS
546462011-07-21 Andreas Schwab <schwab@redhat.com>
54647
54648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54649 change.
54650 (_dl_x86_64_save_sse): Use correct AVX check.
54651
21137f89
UD
546522011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54653
54654 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54655 bug in strncpy/strncat.
54656 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54657
a65c0b7a
UD
546582011-07-21 Ulrich Drepper <drepper@gmail.com>
54659
54660 * string/tester.c (test_strcat): Add tests for different alignments
54661 of source and destination.
54662 (test_strncat): Likewise.
54663
6986b98a
UD
546642011-07-20 Ulrich Drepper <drepper@gmail.com>
54665
90bb2039
UD
54666 [BZ #12852]
54667 * posix/glob.c (glob): Check passed in values before using them in
54668 expressions to avoid some overflows.
54669 (glob_in_dir): Likewise.
54670
5644ef54
UD
54671 [BZ #13007]
54672 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54673 check for AVX enablement so that we don't crash with old kernels and
54674 new hardware.
54675 * elf/tst-audit4.c: Add same checks here.
54676 * elf/tst-audit6.c: Likewise.
54677
54678 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 54679
bfc9dc9b
AS
546802011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54681
54682 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54683
702e64bb
UD
546842011-07-20 Ulrich Drepper <drepper@gmail.com>
54685
54686 * po/cs.po: Update from translation team.
54687 * po/bg.po: Likewise.
54688
295e904f
MP
546892011-07-12 Marek Polacek <mpolacek@redhat.com>
54690
54691 * misc/sys/cdefs.h: Add support for const attribute.
54692 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54693 to gnu_dev_{major,minor,makedev} functions.
54694
3ff94596
MP
546952011-07-20 Marek Polacek <mpolacek@redhat.com>
54696
54697 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54698
28b59fca
AS
546992011-07-20 Andreas Schwab <schwab@redhat.com>
54700
54701 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54702 strlen results.
54703
19df733e
AK
547042011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54705
54706 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54707 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54708 register in order to avoid conflicts with the soft frame pointer
54709 being held in r11 when necessary.
54710 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54711 (INTERNAL_VSYSCALL_NCS): Likewise.
54712
c8835729
MP
547132011-07-14 Marek Polacek <mpolacek@redhat.com>
54714
54715 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54716 * elf/dl-fini.c (_dl_fini): Adjust caller.
54717 * elf/dl-close.c (_dl_close_worker): Likewise.
54718 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54719
b902330c
MP
547202011-07-15 Marek Polacek <mpolacek@redhat.com>
54721
8991e135
MP
54722 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54723 "aux_cache->nlibs < 0".
54724
b902330c
MP
54725 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54726 in the reload-count case.
54727
99710781
LD
547282011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54729
54730 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54731 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54732 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54733 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54734 * sysdeps/x86_64/multiarch/strcat.S: New file.
54735 * sysdeps/x86_64/multiarch/strncat.S: New file.
54736 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54737 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54738 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54739 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54740 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54741 (USE_AS_STRCAT): Define.
54742 Add strcat and strncat support.
54743 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54744 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54745 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54746 * string/strncat.c: Update.
54747 (USE_AS_STRNCAT): Define.
54748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54749 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54750 and i7.
54751 * sysdeps/x86_64/multiarch/init-arch.h
54752 (bit_Prefer_PMINUB_for_stringop): New.
54753 (index_Prefer_PMINUB_for_stringop): Likewise.
54754 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54755 bit_Prefer_PMINUB_for_stringop.
54756
7dc6bd90
UD
547572011-07-19 Ulrich Drepper <drepper@gmail.com>
54758
54759 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54760 buffer64.
54761 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54762 of casting of buffer.
54763 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54764 buffer32 and buffer64.
54765 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54766 writes instead of casting of buffer.
54767 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54768 buffer32.
54769 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54770 casting of buffer.
54771
e0e72284
AS
547722011-07-19 Andreas Schwab <schwab@redhat.com>
54773
54774 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54775
feb1eb0b
UD
547762011-07-19 Ulrich Drepper <drepper@gmail.com>
54777
54778 * nscd/nscd.c (termination_handler): Don't do anything for a database
54779 if it has not yet been initialized.
54780
298711ff
UD
547812011-07-18 Ulrich Drepper <drepper@gmail.com>
54782
54783 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54784
547852011-07-15 Marek Polacek <mpolacek@redhat.com>
54786
54787 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54788
f9d68389
UD
547892011-07-18 Ulrich Drepper <drepper@gmail.com>
54790
54791 * po/nl.po: Update from translation team.
54792 * po/sv.po: Likewise.
54793
db290cf5
RM
547942011-07-16 Roland McGrath <roland@hack.frob.com>
54795
54796 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54797 now disallowed by GCC.
5c550700 54798
fd5e21c7
RM
54799 * configure.in (use-default-link): Default to yes if a test -shared
54800 link meets our qualifications.
54801 * configure: Regenerated.
54802
5c550700
RM
54803 * config.make.in (output-format): New variable.
54804 * configure.in: Check for ld --print-output-format support.
54805 * configure: Regenerated.
54806 * Makerules ($(common-objpfx)format.lds)
54807 [$(output-format) != unknown]: Just use $(output-format),
54808 instead of the linker-script munging.
54809
9fa2c032
RM
548102011-07-14 Roland McGrath <roland@hack.frob.com>
54811
a6928d51
RM
54812 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54813 of $(common-objpfx)shlib.lds.
54814 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54815
661607b3
RM
54816 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54817 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54818
9fa2c032
RM
54819 * configure.in (-z relro check): Adjust test code to add a large
54820 writable data section after it.
54821 * configure: Regenerated.
54822
defe9061
RM
548232011-07-11 Roland McGrath <roland@hack.frob.com>
54824
54825 * configure.in (-z relro check): Fix test code to make the variable
54826 truly const.
54827 * configure: Regenerated.
54828
319b9ad4
UD
548292011-07-11 Ulrich Drepper <drepper@gmail.com>
54830
54831 * nscd/nscd.h (struct traced_file): Define.
54832 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54833 elements. Add traced_files.
54834 (inotify_fd): Declare.
54835 (register_traced_file): Declare.
54836 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54837 (inotify_fd): Export.
54838 (resolv_conf_descr): Remove.
54839 (nscd_init): Move inotify descriptor creation to main.
54840 Don't register files for notification here.
54841 (register_traced_file): New function.
54842 (invalidate_cache): Don't use reset_res to determine whether to call
54843 res_init, go through the list of registered files.
54844 (main_loop_poll): The inotify descriptors are now stored in the
54845 structures for the traced files.
54846 (main_loop_epoll): Likewise
54847 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54848 to __nss_disable_nscd.
54849 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54850 for a database anymore. Check the records for all the registered
54851 files instead.
54852 * nss/Makefile (libnss_files-routines): Add files-init.
54853 (libnss_db-routines): Add db-init.
54854 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54855 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54856 * nss/nss_db/db-init.c: New file.
54857 * nss/nss_files/files-init.c: New file.
54858 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54859 __nss_lookup_function.
54860 (__nss_lookup_function): Call nss_load_library.
54861 (nss_load_all_libraries): New function.
54862 (__nss_disable_nscd): Take parameter with callback function for files
54863 to register. Set is_nscd. Load all the DSOs for the NSS modules
54864 used for the cached services.
54865 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54866 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54867 options for features to all the files in nscd.
54868
54869 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54870
23bee3e8
RM
548712011-07-10 Roland McGrath <roland@hack.frob.com>
54872
54873 * csu/elf-init.c (__libc_csu_init): Comment typo.
54874
46a5b7f0
UD
548752011-07-09 Ulrich Drepper <drepper@gmail.com>
54876
54877 * po/pl.po: Update from translation team.
54878 * po/ja.po: Likewise.
54879 * po/ru.po: Likewise.
54880 * po/ko.po: Likewise.
54881 * po/fr.po: Likewise.
54882
d30cf5bb
RM
548832011-07-09 Roland McGrath <roland@hack.frob.com>
54884
113ddea4
RM
54885 * configure.in (.ctors/.dtors header and trailer check):
54886 Use an empirical test on a built program.
54887 * configure: Regenerated.
54888
574920b4
RM
54889 * configure.in (-z relro check): Use an empirical test on a built DSO.
54890 Detect, but do not require, on ia64.
54891 * configure: Regenerated.
54892
d30cf5bb
RM
54893 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54894 Update tests that use readelf to use $READELF instead.
54895 * configure: Regenerated.
54896
8538fdb3
UD
548972011-07-08 Ulrich Drepper <drepper@gmail.com>
54898
54899 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54900 if the result is not used.
54901
04d08991
AJ
549022011-07-05 Andreas Jaeger <aj@suse.de>
54903
54904 [BZ#9696]
54905 * stdlib/tst-strtod.c: Add testcase.
54906
de283087
AD
549072011-07-07 Ulrich Drepper <drepper@gmail.com>
54908
4e5f31c8 54909 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 54910 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
54911 The latter has a higher limit. Take additional parameter to pass to
54912 the new function.
54913 (__pathconf): Pass file to __statfs_link_max.
54914 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54915 __statfs_link_max.
54916 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54917 __statfs_link_max.
54918
de283087
AD
54919 [BZ #12868]
54920 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54921 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54922 Handle Lustre.
54923 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54924 (__statfs_filesize_max): Likewise.
54925 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54926
c75fa153
AJ
549272011-07-05 Andreas Jaeger <aj@suse.de>
54928
54929 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54930
1a544854
UD
549312011-07-06 Marek Polacek <mpolacek@redhat.com>
54932
54933 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54934 `status' variable.
54935 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54936 Likewise.
54937
6f0eec67
UD
549382011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54939
54940 * Makefile (strop-tests): Add strncat.
54941 * string/test-strncat.c: New file.
54942
aae30307
UD
549432011-06-30 Marek Polacek <mpolacek@redhat.com>
54944
54945 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54946
c0cfb5eb
UD
549472011-06-21 Andreas Jaeger <aj@suse.de>
54948
54949 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54950 Copy rule from iconvdata/Makefile.
54951
01636b21
UD
549522011-07-06 Ulrich Drepper <drepper@gmail.com>
54953
54954 [BZ #12922]
54955 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54956 but no long options are defined, just return 'W'.
54957
9895c8bc
UD
549582011-06-22 Marek Polacek <mpolacek@redhat.com>
54959
54960 [BZ #9696]
54961 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54962
5d4cf042
UD
549632011-07-06 Ulrich Drepper <drepper@gmail.com>
54964
54965 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54966 netgroups to read.
960e5535 54967 (innetgr): Likewise.
5d4cf042 54968
751eb97e
RM
549692011-07-05 Roland McGrath <roland@hack.frob.com>
54970
54971 * config.make.in (install_root): Default to $(DESTDIR).
54972
f15f1e45
UD
549732011-07-05 Ulrich Drepper <drepper@gmail.com>
54974
54975 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54976
4e34ac6a
RM
549772011-07-02 Roland McGrath <roland@hack.frob.com>
54978
5e9b6af4
RM
54979 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54980
84f9ea0f
RM
54981 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54982 containing directory rather than embedding absolute directory names.
54983
ea5ee9f7
RM
54984 * scripts/check-local-headers.sh: Rewritten using awk.
54985 Match by word, not by line. Print error messages for matches.
54986 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54987
1b74661a
RM
54988 * Makerules [shlib-lds-flags empty]:
54989 ($(common-objpfx)libc_pic.opts): New target.
54990 ($(common-objpfx)libc_pic.os.clean): New target.
54991 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54992
54993 * config.make.in (OBJCOPY): New variable.
54994 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54995 * configure: Regenerated.
54996
f781ef40
RM
54997 * config.make.in (use-default-link): New variable.
54998 * configure.in (use_default_link): Grok --with-default-link to set it.
54999 * configure: Regenerated.
55000 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55001 (shlib-lds, shlib-lds-flags): Define to empty.
55002
2d4fa81e
RM
55003 * Makerules (shlib-lds): New variable.
55004 (shlib-lds-flags): New variable.
55005 (build-shlib, build-moduile, build-module-asneeded): Use it.
55006 ($(common-objpfx)libc.so): Use $(shlib-lds).
55007 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55008 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55009
31fffa6b
RM
55010 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55011 DT_FLAGS/DT_FLAGS_1 with zero flags.
55012
4e34ac6a
RM
55013 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55014 linker script munging.
55015
fcfc776b
UD
550162011-07-02 Ulrich Drepper <drepper@gmail.com>
55017
55018 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55019 as 128-bit value.
55020 * crypt/sha512.c (sha512_process_block): Perform total addition using
55021 128-bit if possible.
55022 (__sha512_finish_ctx): Likewise.
55023 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55024 as 64-bit value.
55025 * crypt/sha256.c (SWAP64): Define.
55026 (sha256_process_block): Perform total addition using 64-bit if
55027 possible.
55028 (__sha256_finish_ctx): Likewise.
55029
99231d9a
UD
550302011-07-01 Ulrich Drepper <drepper@gmail.com>
55031
55032 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
55033 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55034 * nscd/hstcache.c (cache_addhst): Likewise.
55035 * nscd/grpcache.c (cache_addgr): Likewise.
55036 * nscd/aicache.c (addhstaiX): Likewise
55037 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55038
445b4a53
TK
550392011-07-01 Thorsten Kukuk <kukuk@suse.de>
55040
55041 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55042 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55043 * nscd/hstcache.c (cache_addhst): Likewise.
55044 * nscd/grpcache.c (cache_addgr): Likewise.
55045 * nscd/aicache.c (addhstaiX): Likewise
55046
6d4d8e8e
AS
550472011-07-01 Andreas Schwab <schwab@redhat.com>
55048
55049 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55050 domain only when needed.
55051
89f654c5
AS
550522011-06-30 Andreas Schwab <schwab@redhat.com>
55053
55054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55055 is always restored.
55056
cf3b23ff
UD
550572011-06-29 Ulrich Drepper <drepper@gmail.com>
55058
55059 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55060 are re-adding the entry.
55061 * nscd/servicescache.c (cache_addserv): Likewise.
55062
751626f9
AJ
550632011-06-30 Aurelien Jarno <aurelien@aurel32.net>
55064
55065 * sysdeps/generic/dl-irel.h: fix protection against multiple
55066 inclusions.
55067 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55068
9113ea1f
UD
550692011-06-28 Ulrich Drepper <drepper@gmail.com>
55070
5c0b8d90
UD
55071 [BZ #12935]
55072 * malloc/memusage.sh: Fix quoting in message.
55073 * debug/xtrace.sh: Likewise.
55074
9113ea1f
UD
55075 * configure.in: Remove support for --experimental-malloc option, make
55076 it the default.
55077 * config.make.in: Likewise.
55078 * malloc/Makefile: Likewise.
55079
a4172181
AS
550802011-06-27 Andreas Schwab <schwab@redhat.com>
55081
55082 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55083 two-byte characters.
55084
78a7eee7
RM
550852011-06-27 Roland McGrath <roland@hack.frob.com>
55086
62bede13
RM
55087 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55088 AC_CACHE_CHECK invocation.
55089 * configure: Regenerated.
55090
78a7eee7
RM
55091 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55092
5ce33a62
UD
550932011-06-27 Ulrich Drepper <drepper@gmail.com>
55094
034807a9
UD
55095 [BZ #12350]
55096 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
55097 bit from old_res_options.
55098
4902da17
UD
55099 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55100
5ce33a62
UD
55101 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55102 value type for setfct.
55103
c2344f56
L
551042011-06-23 H.J. Lu <hongjiu.lu@intel.com>
55105
55106 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55107 __gettimeofday instead of gettimeofday.
55108
68468076
UD
551092011-06-26 Ulrich Drepper <drepper@gmail.com>
55110
55111 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55112
acb0d739
L
551132011-06-24 H.J. Lu <hongjiu.lu@intel.com>
55114
55115 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55116
55117 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55118 info.
55119
8912479f
L
551202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55121
55122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55123 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55124 strcpy-sse2-unaligned strncpy-sse2-unaligned
55125 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55126 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55127 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55128 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55129 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55130 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55131 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55132 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55133 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55134 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55135 (STRCPY): Support SSE2 and SSSE3 versions.
55136
d5495a11
UD
551372011-06-24 Ulrich Drepper <drepper@gmail.com>
55138
55139 [BZ #12874]
55140 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55141 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55142 kernels which artificially limit size of requests.
55143
0b1cbaae
L
551442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55145
55146 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55147 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55148 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55149 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55150 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55151 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55152 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55153 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55154 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55155 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55156 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55157 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55158 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55159 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55160 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55162 Enable unaligned load optimization for Intel Core i3, i5 and i7
55163 processors.
55164 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55165 Define.
55166 (index_Fast_Unaligned_Load): Define.
55167 (HAS_FAST_UNALIGNED_LOAD): Define.
55168
07f494a0
MP
551692011-06-23 Marek Polacek <mpolacek@redhat.com>
55170
55171 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55172
fa3fc0fe
UD
551732011-06-22 Ulrich Drepper <drepper@gmail.com>
55174
55175 [BZ #12907]
55176 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55177 until it is clear that the information is realy needed.
55178 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55179
e12df166
AS
551802011-06-22 Andreas Schwab <schwab@redhat.com>
55181
55182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55183
852eb34d
UD
551842011-06-22 Ulrich Drepper <drepper@gmail.com>
55185
84e2a551
UD
55186 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55187 /sys/devices/system/cpu/online if it is usable.
55188
852eb34d
UD
55189 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55190 reading the information from the /proc filesystem to once a second.
55191
6e502e19
UD
551922011-06-21 Andreas Jaeger <aj@suse.de>
55193
55194 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55195 NULL after inclusion of kernel headers.
55196
75d39ff2
UD
551972011-06-21 Ulrich Drepper <drepper@gmail.com>
55198
51f9aa6a
UD
55199 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55200 calls to internal_setent.
55201
c0244a9d
UD
55202 [BZ #12885]
55203 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55204 addresses using gethostbyname4_r ignore IPv4 addresses.
55205
c5e3c2ae
UD
55206 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55207 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55208
75d39ff2
UD
55209 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55210
42675c6f
DM
552112011-06-20 David S. Miller <davem@davemloft.net>
55212
55213 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55214 inclusions.
55215 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55216
55217 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55218 (elf_irel): Use it.
55219 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55220 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55221 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55222 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55223 * sysdeps/x86_64/dl-irel.h: Likewise.
55224
55225 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55226 * elf/dl-sym.c: Likewise.
55227
57912a71
UD
552282011-06-15 Ulrich Drepper <drepper@gmail.com>
55229
55230 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55231 need to dereference resplen2.
55232
ee22793d
AS
552332011-06-14 Andreas Schwab <schwab@redhat.com>
55234
55235 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55236
a9e836b0
UD
552372011-06-15 Ulrich Drepper <drepper@gmail.com>
55238
77fb9117
UD
55239 * Makeconfig: Define vardbdir and inst_vardbdir.
55240 * nss/Makefile: Add rules to install db-Makefile.
55241
40c1b22c
UD
55242 * nss/nss_db/db-XXX.c: Cleanup.
55243
9f2da732
UD
55244 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55245 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55246 GLIBC_PRIVATE.
55247 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55248 * nss/makedb.c: Implement -g option to specify that value strings
55249 are generated and should not be added to table iterated over for
55250 get*ent calls.
55251 * nss/nss_db/db-initgroups.c: New file.
55252
82e9a1f7
UD
55253 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55254 interface.
55255
c41af17e
UD
55256 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55257 (internal_getgrouplist): Adjust to name change.
55258 Update use_initgroups_entry if this is not the first call.
55259 * nss/databases.def: Add initgroups entry.
55260
a9e836b0
UD
55261 * nss/makedb.c (compute_tables): Check result of multiple hash table
55262 sizes to minimize maximum chain length.
55263
2666d441
UD
552642011-06-14 Ulrich Drepper <drepper@gmail.com>
55265
55266 * Versions.def: Add entry for libnss_db.
55267 * shlib-versions: Likewise.
55268 * nss/Makefile: Add rules to build libnss_db.
55269 * nss/Versions: Add libnss_db information. Organize libnss_files
55270 entries better.
55271 * nss/db-Makefile: Add gshadow support. Change rules for the new
55272 makedb progra. Some minor improvements to generate smaller files.
55273 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55274 here from...
55275 * nss/makedb.c: ...here.
55276 Improve database format to be smaller and require less memory at
55277 runtime.
55278 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55279 db anymore.
55280 * nss/nss_db/db-netgrp.c: Likewise.
55281 * nss/nss_db/db-open.c: Likewise.
55282 * nss/nss_files/flies-XXX.x: Adjust comments.
55283 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55284 * nss/nss_files/files-grp.c: Likewise.
55285 * nss/nss_files/files-hosts.c: Likewise.
55286 * nss/nss_files/files-network.c: Likewise.
55287 * nss/nss_files/files-proto.c: Likewise.
55288 * nss/nss_files/files-pwd.c: Likewise.
55289 * nss/nss_files/files-rpc.c: Likewise.
55290 * nss/nss_files/files-service.c: Likewise.
55291 * nss/nss_files/files-sgrp.c: Likewise.
55292 * nss/nss_files/files-spwd.c: Likewise.
55293 * nss/nss_db/db-alias.c: Removed.
55294 * nss/nss_db/dummy-db.h: Removed.
55295
9ee76b5a
UD
552962011-06-02 Ulrich Drepper <drepper@gmail.com>
55297
55298 * nss/makedb.c: Rewritten to not use database library.
55299 * nss/Makefile: Update to build new makedb program.
55300
c71ca1f8
AJ
553012011-06-14 Andreas Jaeger <aj@suse.de>
55302
55303 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55304 memset declaration.
55305
3154bfb8
UD
553062011-06-10 Andreas Schwab <schwab@redhat.com>
55307
55308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55309 tmpbuf.
55310
b350afab
RM
553112011-06-10 Roland McGrath <roland@hack.frob.com>
55312
decd4e50
RM
55313 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55314 * elf/Makefile ($(objpfx)ld.so): Likewise.
55315
5615eaf2
RM
55316 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55317 Don't list ld.so twice in dependencies.
55318
55319 * posix/bug-regex31.c: Include <stdlib.h>.
55320
55321 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55322
55323 * nis/nss_compat/compat-spwd.c
55324 (getspent_next_nss_netgr): Remove unused variable.
55325 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55326
55327 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55328 nonmembers" output to use the right array.
55329
55330 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55331
55332 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55333
55334 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55335 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55336 * catgets/gencat.c (read_input_file): Likewise.
55337 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55338
55339 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55340 variable definition inside #if's controlling its use.
55341
55342 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55343
55344 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55345
55346 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55347
55348 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55349 unreachable code.
55350
55351 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55352
b68e08db
RM
55353 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55354 * configure: Regenerated.
55355
b350afab
RM
55356 * Makerules: Revert last change.
55357 * elf/Makefile: Likewise.
55358
28368601
RM
553592011-06-09 Roland McGrath <roland@hack.frob.com>
55360
55361 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55362 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55363 (reloc-link): Likewise.
55364
11988f8f
UD
553652011-06-09 Ulrich Drepper <drepper@gmail.com>
55366
55367 * elf/Makefile: Add rules to build pldd.
55368 * elf/pldd.c: New file.
55369 * elf/pldd-xx.c: New file.
55370
e80fab37
UD
553712011-06-07 Ulrich Drepper <drepper@gmail.com>
55372
55373 * version.h: Update for 2.15 development version.
55374
9b849836
DM
553752011-06-07 David S. Miller <davem@davemloft.net>
55376
55377 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55378 ifuncs.
55379 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55380 elf_machine_lazy_rel): Likewise.
55381 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55382 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55383 elf_machine_lazy_rel): Likewise.
55384 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55385 dl_hwcap via passed in argument.
55386 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55387 Likewise.
55388
5a31b283
AK
553892011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55390
55391 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55392
069e52f8
RM
553932011-06-06 Roland McGrath <roland@hack.frob.com>
55394
55395 [BZ #12849]
55396 * manual/fdl-1.1.texi: New file, verbatim from:
55397 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55398 * manual/lgpl-2.1.texi: New file, verbatim from:
55399 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55400 * manual/Makefile (licenses): New variable, list those new file names.
55401 (texis): Use it.
55402 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55403
55404 * manual/fdl.texi: File removed.
55405 * manual/lesser.texi: File removed.
55406 * manual/libc.texinfo (Copying, Documentation License):
55407 Use new @include file names, put @appendix directive before @include.
55408
f16846a5
JJ
554092011-06-04 Jakub Jelinek <jakub@redhat.com>
55410
55411 [BZ #12841]
55412 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55413 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55414 (mq_open): Add __NTH.
55415
3d29045b
L
554162011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55417
55418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55419 Assume Intel Core i3/i5/i7 processor if AVX is available.
55420
8c297311
UD
554212011-05-31 Ulrich Drepper <drepper@gmail.com>
55422
55423 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55424 typo.
55425
c8fc0c91
UD
554262011-05-31 Andreas Schwab <schwab@redhat.com>
55427
55428 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55429 memory. Use alloca_account. Fix memory leak when retrying.
55430
5b27a807
UD
554312011-05-31 Ulrich Drepper <drepper@gmail.com>
55432
356f8bc6
UD
55433 * version.h (RELEASE): Bump for 2.14 release.
55434 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55435
5b27a807
UD
55436 * config.make.in (RANLIB): Remove entry.
55437
01f16ab0
UD
554382011-05-30 Ulrich Drepper <drepper@gmail.com>
55439
41fce8bd
UD
55440 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55441 (libc.pot): Work around missing support for .ksh extension in xgettext.
55442
4769ae77
UD
55443 [BZ #12684]
55444 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55445 if both request failed.
55446 (send_dg): In case of server errors clear resplen or *resplen2.
55447
6b1e7d19
UD
55448 [BZ #12454]
55449 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55450 when there are multiple maps.
55451 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55452 (_dl_fini): Remove test here.
55453
01f16ab0
UD
55454 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55455
b1ebd700
UD
554562011-05-29 Ulrich Drepper <drepper@gmail.com>
55457
7ae22829
UD
55458 [BZ #12350]
55459 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55460 bit from old_res_options.
55461 (gaih_inet): Likewise.
55462
553149f6 55463 [BZ #11099]
18a84741 55464 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
55465 as signed.
55466
652ffab1
UD
55467 * resolv/res_init.c (res_setoptions): Make the code more compact.
55468
16985fd0
UD
55469 [BZ #11558]
55470 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55471 set RES_USEVC.
55472
0464f746
UD
55473 [BZ #11634]
55474 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55475
7d17596c
UD
55476 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55477
cf6bbbd7
UD
55478 [BZ #11781]
55479 * malloc/malloc.h: Declare malloc hook variables as volatile.
55480
13f1ab36
UD
55481 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55482 in last patch.
55483
b1ebd700
UD
55484 [BZ #11799]
55485 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 55486 raise in the comment.
80e2212d
UD
55487 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55488 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55489 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 55490
ce67228d
UD
554912011-05-28 Ulrich Drepper <drepper@gmail.com>
55492
8887a920
UD
55493 [BZ #12811]
55494 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55495 grow the buffers more if it already has to be sufficient.
55496 (build_wcs_upper_buffer): Likewise.
55497 * posix/regexec.c (check_matching): Likewise.
55498 (clean_state_log_if_needed): Likewise.
55499 (extend_buffers): Don't enlarge buffers beyond size of the input
55500 buffer.
55501 Patches mostly by Emil Wojak <emil@wojak.eu>.
55502 * posix/bug-regex32.c: New file.
55503 * posix/Makefile (tests): Add bug-regex32.
55504
4f031072
UD
55505 * locale/findlocale.c (_nl_find_locale): Return right away if
55506 _nl_explode_name failed.
55507 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55508
d0478f0c
UD
55509 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55510
de81b246
UD
55511 * debug/xtrace.sh: Unify messages.
55512 * malloc/memusage.sh: Likewise.
55513
c738465a
UD
55514 [BZ #12813]
55515 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55516 time symbol from vDSO. Substitute with vsyscall if not available.
55517 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55518 __vdso_time.
55519
f1f929d7
UD
55520 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55521 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55522 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55523 Add sendmmsg and internal_sendmmsg.
55524 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55525 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55526 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55527
ce67228d
UD
55528 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55529 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55530 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55531
e57420c6
UD
555322011-05-27 Ulrich Drepper <drepper@gmail.com>
55533
a8509ca5
UD
55534 [BZ #12813]
55535 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55536 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55537 available.
55538 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55539 __vdso_getcpu.
55540
e57420c6
UD
55541 [BZ #12814]
55542 * iconvdata/Makefile (tests): Add bug-iconv9.
55543 * iconvdata/bug-iconv9.c: New file.
55544
4d07db15
AS
555452011-05-27 Andreas Schwab <schwab@redhat.com>
55546
55547 [BZ #12814]
55548 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55549
ea486f69
JJ
555502011-05-25 Jakub Jelinek <jakub@redhat.com>
55551
55552 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55553 (struct user_regs_struct): Change intcs field back to cs.
55554
6f038433
UD
555552011-05-25 Ulrich Drepper <drepper@gmail.com>
55556
55557 * po/ja.po: Update from translation team.
55558
67f86a25
UD
555592011-05-23 Ulrich Drepper <drepper@gmail.com>
55560
55561 [BZ #12795]
55562 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55563 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55564
def7fbd6
AS
555652011-05-20 Andreas Schwab <schwab@redhat.com>
55566
55567 * stdlib/longlong.h: Update from GCC.
55568
f50ef8f1
AS
555692011-05-23 Andreas Schwab <schwab@redhat.com>
55570
55571 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55572 parameter name.
55573 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55574 Add parameter name.
55575 (__sysconf): Pass it down.
55576
de7ce8f1
UD
555772011-05-22 Ulrich Drepper <drepper@gmail.com>
55578
f2962a71
UD
55579 [BZ #12671]
55580 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55581 some situations.
55582 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55583 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55584 add in in __libc_use_alloca calls. Adjust callers.
55585 (glob): Use malloc in some situations.
55586
de7ce8f1
UD
55587 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55588 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55589 pltexit.
55590
aec84f53
UD
555912011-05-21 Ulrich Drepper <drepper@gmail.com>
55592
05bb4a68
UD
55593 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55594 and CLOCK_BOOTTIME_ALARM.
55595
7ea72f99
UD
55596 [BZ #12782]
55597 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55598 is returned.
55599
7e4afad5
UD
55600 * string/_strerror.c (__strerror_r): Print negative errors as signed
55601 numbers.
55602
8e211fec
UD
55603 [BZ #12777]
55604 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55605 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55606 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55607
f7d82dc9
UD
55608 * configure.in: Fix typo in redirection and correct removal of test
55609 files in two cases.
55610
cc9e536d
UD
55611 [BZ #12788]
55612 * locale/setlocale.c (new_composite_name): Fix test to check for
55613 identical name of all categories.
55614
aec84f53
UD
55615 [BZ #12792]
55616 * libio/filedoalloc.c (local_isatty): New function.
55617 (_IO_file_doallocate): Use local_isatty.
55618 * stdio-common/perror.c (perror): In case a new stream is used
55619 forward the stream error.
55620 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55621 error flag.
55622
78e64fdc
RT
556232011-05-20 Ulrich Drepper <drepper@gmail.com>
55624
34a9094f
UD
55625 [BZ #11869]
55626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55627 alloca.
55628 * include/alloca.h (extend_alloca_account): Define.
55629
78e64fdc
RT
55630 [BZ #11857]
55631 * posix/regex.h: Fix comments with documentation of user-accessible
55632 fields after compilation and describe correct free'ing of pattern
55633 after re_compile_pattern.
55634 Patch by Reuben Thomas <rrt@sc3d.org>.
55635
457bddfc
RA
556362011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55637
55638 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55639 and -mno-altivec to prevent the compiler from using Altivec and/or
55640 VSX instructions when the corresponding registers are not available.
55641
a4527b51
AS
556422011-05-19 Andreas Schwab <schwab@redhat.com>
55643
55644 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55645
ed690b2f
UD
556462011-05-19 Ulrich Drepper <drepper@gmail.com>
55647
55648 * libio/freopen.c (freopen): Use __dup2, not dup2.
55649 * libio/freopen64.c (freopen64): Likewise.
55650
8db73634
L
556512011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55652
55653 [BZ #12775]
55654 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55655 * math/Makefile (tests): Add test-powl.
55656 (CFLAGS-test-powl.c): Define.
55657 * math/test-powl.c: New file.
55658
0a197a9d
L
556592011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55660
55661 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55662
ee30c380
UD
556632011-05-17 Ulrich Drepper <drepper@gmail.com>
55664
55665 [BZ #11837]
55666 * iconvdata/gb18030.c: Update to GB18020-2005.
55667
6ce75379
UD
556682011-05-16 Ulrich Drepper <drepper@gmail.com>
55669
a4b89fd8
AR
55670 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55671 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55672 Patch by Aharon Robbins <arnold@skeeve.com>.
55673
ea389b12
UD
55674 [BZ #11892]
55675 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55676 on the stack.
55677
68a3f91f
UD
55678 [BZ #11895]
55679 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55680 through underflows.
55681
15cc7dd1
UD
55682 [BZ #12766]
55683 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55684 point to strings before performing equality test for error_one_per_line
55685 mode.
55686
f3799213
UD
55687 [BZ #11697]
55688 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55689
d79a9c94
UD
55690 [BZ #11820]
55691 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55692 (struct user_fpregs_struct): Avoid __uint*_t types.
55693
56e5eb46
UD
55694 [BZ #6420]
55695 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55696 symbol info. Use it instead of calling _dl_addr locally.
55697 (lock_and_info): New function.
55698 (tr_freehook): Call lock_and_info and pass symbol info as additional
55699 parameter to tr_where.
55700 (tr_mallochook): Likewise.
55701 (tr_reallochook): Likewise.
55702 (tr_memalignhook): Likewise.
55703
6ce75379
UD
55704 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55705 used and couldn't be at all thread-safe.
55706
f8a3b5bf
UD
557072011-05-15 Ulrich Drepper <drepper@gmail.com>
55708
94b7cc37
UD
55709 * libio/freopen.c (freopen): Don't close old file descriptor
55710 before the new one is opened. Instead dup the new file descriptor
55711 to the old one after the new stream is created.
55712 * libio/freopen64.c (freopen64): Likewise.
55713 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55714 * libio/fileops.c (_IO_new_file_close_it): Handle new
55715 _IO_FLAGS2_NOCLOSE flag.
55716 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55717 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55718 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55719 _IO_FLAGS2_NOCLOSE flag.
55720 * include/unistd.h: Add hidden_proto for dup3.
55721 Define __have_dup3.
55722 * io/dup3.c: Define hidden symbol.
55723 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55724
bd25564e
UD
55725 [BZ #7101]
55726 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55727 when an incomplete long option is used.
55728 * posix/tst-getopt_long1.c: New file.
55729 * posix/Makefile (tests): Add tst-getopt_long1.
55730
c84cfef4
UD
55731 [BZ #10138]
55732 * scripts/config.guess: Update from autoconf-2.68.
55733 * scripts/config.sub: Likewise.
55734
3b85df27
UD
55735 [BZ #10157]
55736 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55737 tests into ...
55738 (has_cpuclock): ...this. New function.
55739 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55740 macro here based on has_cpuclock code.
55741
15a856b1
UD
55742 [BZ #10149]
55743 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55744 First byte (not low byte) is now always NUL.
55745 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55746
05f399e6
UD
55747 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55748 Use non-cancelable interfaces.
55749
10a52685 55750 [BZ #9809]
94ecc67d
UD
55751 * locale/iso-639.def: Add entry for Sorani.
55752
f8a3b5bf
UD
55753 [BZ #11901]
55754 * include/stdlib.h: Move include protection to the right place.
55755 Define abort_msg_s. Declare __abort_msg with it.
55756 * stdlib/abort.c (__abort_msg): Adjust type.
55757 * assert/assert.c (__assert_fail_base): New function. Majority
55758 of code from __assert_fail. Allocate memory for __abort_msg with
55759 mmap.
55760 (__assert_fail): Now call __assert_fail_base.
55761 * assert/assert-perr.c: Remove bulk of implementation. Use
55762 __assert_fail_base.
55763 * include/assert.hL Declare __assert_fail_base.
55764 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55765 mmap.
55766 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55767
1af4e298
UD
557682011-05-14 Ulrich Drepper <drepper@gmail.com>
55769
f8a3b5bf 55770 [BZ #11952]
d26dfc60
MG
55771 [BZ #12453]
55772 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55773 until all modules are registered in the DTV.
55774 * elf/Makefile: Add rules to build and run tst-tls19.
55775 * elf/tst-tls19.c: New file.
55776 * elf/tst-tls19mod1.c: New file.
55777 * elf/tst-tls19mod2.c: New file.
55778 * elf/tst-tls19mod3.c: New file.
55779 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55780
2fc54d6f
UD
55781 [BZ #12083]
55782 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55783 correctly.
55784
98d76b46
UD
55785 [BZ #12601]
55786 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55787 two-byte sequence errors.
55788 * iconvdata/Makefile (tests): Add bug-iconv8.
55789 * iconvdata/bug-iconv8.c: New file.
55790
da3c19ef
UD
55791 [BZ #12626]
55792 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55793 buf2 definition.
55794
ca408c15
UD
55795 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55796
d6f67f7d
UD
55797 [BZ #12432]
55798 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55799 (dummy_getcfa): New function.
55800 (init): Get _Unwind_GetCFA address, use dummy if not found.
55801 (backtrace_helper): In recursion check, also check whether CFA changes.
55802 (__backtrace): Completely initialize arg.
55803
1af4e298 55804 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
55805 storing incomplete byte sequence in state object. Avoid testing for
55806 guaranteed too small input if we know there is enough data available.
1af4e298 55807
da62f81b
AS
558082011-05-11 Andreas Schwab <schwab@redhat.com>
55809
55810 * Makeconfig (+link-pie): Indent.
55811 * Rules (binaries-pie): Define if $(have-fpie) and
55812 $(build-shared).
55813 (binaries-shared): Also filter out $(binaries-pie).
55814 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55815 * nscd/Makefile (others-pie): Add nscd.
55816 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55817 ($(objpfx)nscd): Remove command override.
55818 * login/Makefile (others-pie): Add pt_chown.
55819 ($(objpfx)pt_chown): Remove command override.
55820 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55821 remove command overrides.
55822
fcabc0f8
UD
558232011-05-13 Ulrich Drepper <drepper@gmail.com>
55824
20030ae6
UD
55825 * libio/tst_putwc.c: Fix error messages.
55826
fcabc0f8
UD
55827 [BZ #12724]
55828 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55829 currently writing and seek to current position when not.
55830 * libio/Makefile (tests): Add bug-fclose1.
55831 * libio/bug-fclose1.c: New file.
55832
320a5dc0
PB
558332011-05-12 Ulrich Drepper <drepper@gmail.com>
55834
55835 [BZ #12511]
55836 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55837 don't set DF_1_NODELETE here.
55838 (do_lookup_x): When entering new entry test for copy relocation
55839 and if necessary set DF_1_NODELETE flag.
55840 * elf/tst-unique4.cc: New file.
55841 * elf/tst-unique4.h: New file.
55842 * elf/tst-unique4lib.cc: New file.
55843 * elf/Makefile: Add rules to build and run tst-unique4.
55844 Patch by Piotr Bury <pbury@goahead.com>.
55845
22836f52
UD
558462011-05-11 Ulrich Drepper <drepper@gmail.com>
55847
f574184a
UD
55848 [BZ #12052]
55849 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55850
e1fb097f
UD
55851 [BZ #12625]
55852 * misc/mntent_r.c (addmntent): Flush the stream after the output
55853
22836f52
UD
55854 [BZ #12393]
55855 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55856 (is_trusted_path_normalize): Skip initial colon. Append slash
55857 to empty buffer. Duplicate is_trusted_path code but allow
55858 constructed patch to be prefix.
55859 (is_dst): Allow $ORIGIN followed by /.
55860 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55861 Correct testing of result of is_trusted_path_normalize
55862 (decompose_rpath): Fix warning.
55863
7b3b0b2a
UD
558642011-05-10 Ulrich Drepper <drepper@gmail.com>
55865
55866 [BZ #11257]
55867 * grp/initgroups.c (internal_getgrouplist): When we found the service
55868 list through the initgroups entry in nsswitch.conf do not always
55869 continue on a successful lookup. Don't always use the
eac80ce2 55870 __nss_group_database value if it is set.
7b3b0b2a
UD
55871 * nss/nsswitch.conf (initgroups): Change action for successful db
55872 lookup to continue for compatibility.
55873
2a81eaa5
UD
558742011-05-09 Ulrich Drepper <drepper@gmail.com>
55875
be97a69e
UD
55876 [BZ #11532]
55877 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55878 and CP774 modules.
55879 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55880 and CP774 modules.
55881 * iconvdata/tst-tables.sh: Likewise.
55882 * iconvdata/cp770.c: New file.
55883 * iconvdata/cp771.c: New file.
55884 * iconvdata/cp772.c: New file.
55885 * iconvdata/cp773.c: New file.
55886 * iconvdata/cp774.c: New file.
55887 * iconvdata/testdata/CP770: New file.
55888 * iconvdata/testdata/CP770..UTF8: New file.
55889 * iconvdata/testdata/CP771: New file.
55890 * iconvdata/testdata/CP771..UTF8: New file.
55891 * iconvdata/testdata/CP772: New file.
55892 * iconvdata/testdata/CP772..UTF8: New file.
55893 * iconvdata/testdata/CP773: New file.
55894 * iconvdata/testdata/CP773..UTF8: New file.
55895 * iconvdata/testdata/CP774: New file.
55896 * iconvdata/testdata/CP774..UTF8: New file.
55897
55898 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55899 END CHARMAP line.
55900 * iconvdata/gen-8bit-gap.sh: Likewise.
55901 * iconvdata/gen-8bit.sh: Likewise.
55902
c1e9e399
UD
55903 * locale/iso-639.def: Add ary entry.
55904
24c55fb3 55905 [BZ #11258]
96b4b1b0
UD
55906 * locale/C-translit.h.in: Add U20A1 transliteration.
55907
bdc2f971
KB
55908 [BZ #12178]
55909 * locale/iso-639.def: Add wae entry.
55910 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55911
2952b117
UD
55912 [BZ #12545]
55913 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55914 for n.
55915
2a81eaa5
UD
55916 [BZ #12711]
55917 * locale/C-translit.h.in: Add entry for U20B9.
55918 Patch by pravin.d.s@gmail.com.
55919
28377d1b
UD
559202011-05-08 Ulrich Drepper <drepper@gmail.com>
55921
7fb90fb8
UD
55922 [BZ #12713]
55923 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55924 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
55925 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55926 in rtld. Use *stat64.
7fb90fb8 55927 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 55928 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 55929 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
55930 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55931 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55932 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55933 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55934 __fstatat64 macros.
7fb90fb8
UD
55935 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55936 * dirent/rewinddir.c: Add libc_hidden_def.
55937 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 55938 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 55939
28377d1b
UD
55940 * include/dirent.h (__alloc_dir): Add flags parameter.
55941 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55942 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55943 __alloc_dir.
55944 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55945 from fdopendir if O_CLOEXEC is already set.
55946
66bdbaa4
AM
559472011-03-15 Alan Modra <amodra@gmail.com>
55948
55949 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55950 l_tls_firstbyte_offset non-zero. Save padding offset in
55951 l_tls_firstbyte_offset for later use.
55952 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55953 freeing static tls block.
55954
95721191
JN
559552011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55956
55957 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55958 where #ifdef was intended. The intent is to prevent ARG_MAX from
55959 being defined by the kernel headers.
55960
f87dfb1f
UD
559612011-05-07 Ulrich Drepper <drepper@gmail.com>
55962
55963 [BZ #12734]
55964 * resolv/resolv.h: Define RES_NOTLDQUERY.
55965 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55966 no-tld-query and set RES_NOTLDQUERY.
55967 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55968 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55969 modern BIND to search name as TLD unless forbidden.
55970
47c3cd7a
UD
559712011-05-07 Petr Baudis <pasky@suse.cz>
55972 Ulrich Drepper <drepper@gmail.com>
55973
55974 [BZ #12393]
55975 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55976 (is_trusted_path): ...to here.
c1e9ea35 55977 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 55978 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 55979 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 55980
8a35c912
PP
559812011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55982
55983 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55984 __BEGIN/__END_DECLS.
55985
acd41f47
UD
559862011-05-06 Ulrich Drepper <drepper@gmail.com>
55987
55988 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55989 NSS_STATUS_NOTFOUND if no record was found.
55990
597df647
AS
559912011-05-05 Andreas Schwab <schwab@redhat.com>
55992
55993 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55994 (headers-not-in-tirpc): Remove rpc/netdb.h
55995 * resolv/netdb.h: Revert last change.
55996
b9af1301
PP
559972011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55998
55999 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56000 circular dependency between libgcc.a and libc.a.
56001
4e34d5f5
AS
560022011-05-05 Andreas Schwab <schwab@redhat.com>
56003
56004 * resolv/netdb.h: Don't include <rpc/netdb.h>.
56005 * nis/Makefile: Don't install rpcsvc/*.
56006 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56007 instead of <rpc/types.h>.
56008 (MAXHOSTNAMELEN): Define.
56009
00ee369c
AS
560102011-05-03 Andreas Schwab <schwab@redhat.com>
56011
56012 * elf/ldconfig.c (add_dir): Don't crash on empty path.
56013
0b592a30
MB
560142011-04-28 Maciej Babinski <mbabinski@google.com>
56015
56016 [BZ #12714]
56017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56018 gethostbyname4_r when IPv6 results are possible.
56019
6e04cbbe
UD
560202011-05-02 Ulrich Drepper <drepper@gmail.com>
56021
56022 [BZ #12723]
56023 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56024 _PC_PIPE_BUF handling.
56025
e4ecafe0
BH
560262011-04-30 Bruno Haible <bruno@clisp.org>
56027
56028 [BZ #12717]
56029 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56030 * resolv/netdb.h (getnameinfo): Change type of flags parameter
56031 to 'int'.
56032 * inet/getnameinfo.c (getnameinfo): Likewise.
56033
125ee683
UD
560342011-04-29 Ulrich Drepper <drepper@gmail.com>
56035
56036 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56037 to groups setting in database lookup.
56038 * nss/nsswitch.conf: Add initgroups entry.
56039
b722481a
EB
560402011-04-22 Ulrich Drepper <drepper@gmail.com>
56041
56042 [BZ #12685]
56043 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56044 mode string.
56045 Patch by Eric Blake <eblake@redhat.com>.
56046
4df46dbd
L
560472011-04-20 H.J. Lu <hongjiu.lu@intel.com>
56048
56049 * sunrpc/Makefile (need-export-routines): Add svc_run.
56050 (routines): Remove svc_run.
56051 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56052 * sunrpc/clnt_perr.c (clnt_perrno): Export.
56053 * sunrpc/svc_run.c (svc_run): Likewise.
56054 * sunrpc/svc_udp.c (svcudp_create): Likewise.
56055
e84142d2
UD
560562011-04-21 Ulrich Drepper <drepper@gmail.com>
56057
56058 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56059 problem in reallocation in last patch.
56060
877175d8
UD
560612011-04-20 Ulrich Drepper <drepper@gmail.com>
56062
56063 * sunrpc/Makefile: Move inclusion of Rules.
56064
ab8eed78
UD
560652011-04-19 Ulrich Drepper <drepper@gmail.com>
56066
56067 * nss/nss_files/files-initgroups.c: New file.
56068 * nss/Makefile (libnss_files-routines): Add files-initgroups.
56069 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56070 _nss_files_initgroups_dyn.
56071
e3d8f584
RS
560722011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
56073
56074 * elf/elf.h (R_ARM_IRELATIVE): Define.
56075
af190f45
UD
560762011-04-19 Ulrich Drepper <drepper@gmail.com>
56077
56078 * po/ru.po: Update from translation team.
56079
53cf59ef
UD
560802011-04-17 Ulrich Drepper <drepper@gmail.com>
56081
56082 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56083 dependencies.
56084
4c559bcd
MF
560852011-02-06 Mike Frysinger <vapier@gentoo.org>
56086
56087 [BZ #12653]
56088 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56089 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56090 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56091 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56092 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56093
4420675c
AS
560942011-03-28 Andreas Schwab <schwab@linux-m68k.org>
56095
56096 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56097 differing bytes.
56098 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56099 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56100 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56101
75ea32ab
UD
561022011-04-17 Ulrich Drepper <drepper@gmail.com>
56103
56104 [BZ #12420]
56105 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56106 storing it.
56107 * stdlib/bug-getcontext.c: New file.
56108 * stdlib/Makefile: Add rules to build and run bug-getcontext.
56109
27390476
AK
561102011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56111
56112 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56113 instructions into .machine "z9-109".
56114 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56115 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56116
10442705
AK
561172011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56118
56119 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56120 between environment variables and auxiliary vector.
56121
7b57bfe5
UD
561222011-04-16 Ulrich Drepper <drepper@gmail.com>
56123
56124 * Makefile: Add rules to build linkobj/libc.so.
56125 * include/libc-symbols.h: Define libc_hidden_nolink.
56126 * include/rpc/auth.h: Mark functions which are to be hidden.
56127 * include/rpc/auth_des.h: Likewise.
56128 * include/rpc/auth_unix.h: Likewise.
56129 * include/rpc/clnt.h: Likewise.
56130 * include/rpc/des_crypt.h: Likewise.
56131 * include/rpc/key_prot.h: Likewise.
56132 * include/rpc/pmap_clnt.h: Likewise.
56133 * include/rpc/pmap_prot.h: Likewise.
56134 * include/rpc/pmap_rmt.h: Likewise.
56135 * include/rpc/rpc_msg.h: Likewise.
56136 * include/rpc/svc.h: Likewise.
56137 * include/rpc/svc_auth.h: Likewise.
56138 * include/rpc/xdr.h: Likewise.
56139 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56140 * nss/Makefile: Likewise.
56141 * sunrpc/Makefile: Don't install headers. Build library with normal
56142 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56143 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56144 for the compat linking library. Remove use of INTDEF/INTUSE.
56145 * sunrpc/auth_none.c: Likewise.
56146 * sunrpc/auth_unix.c: Likewise.
56147 * sunrpc/authdes_prot.c: Likewise.
56148 * sunrpc/authuxprot.c: Likewise.
56149 * sunrpc/clnt_gen.c: Likewise.
56150 * sunrpc/clnt_perr.c: Likewise.
56151 * sunrpc/clnt_raw.c: Likewise.
56152 * sunrpc/clnt_simp.c: Likewise.
56153 * sunrpc/clnt_tcp.c: Likewise.
56154 * sunrpc/clnt_udp.c: Likewise.
56155 * sunrpc/clnt_unix.c: Likewise.
56156 * sunrpc/des_crypt.c: Likewise.
56157 * sunrpc/des_soft.c: Likewise.
56158 * sunrpc/get_myaddr.c: Likewise.
56159 * sunrpc/key_call.c: Likewise.
56160 * sunrpc/key_prot.c: Likewise.
56161 * sunrpc/netname.c: Likewise.
56162 * sunrpc/pm_getmaps.c: Likewise.
56163 * sunrpc/pm_getport.c: Likewise.
56164 * sunrpc/pmap_clnt.c: Likewise.
56165 * sunrpc/pmap_prot.c: Likewise.
56166 * sunrpc/pmap_prot2.c: Likewise.
56167 * sunrpc/pmap_rmt.c: Likewise.
56168 * sunrpc/publickey.c: Likewise.
56169 * sunrpc/rpc_cmsg.c: Likewise.
56170 * sunrpc/rpc_common.c: Likewise.
56171 * sunrpc/rpc_dtable.c: Likewise.
56172 * sunrpc/rpc_prot.c: Likewise.
56173 * sunrpc/rpc_thread.c: Likewise.
56174 * sunrpc/rtime.c: Likewise.
56175 * sunrpc/svc.c: Likewise.
56176 * sunrpc/svc_auth.c: Likewise.
56177 * sunrpc/svc_authux.c: Likewise.
56178 * sunrpc/svc_raw.c: Likewise.
56179 * sunrpc/svc_run.c: Likewise.
56180 * sunrpc/svc_simple.c: Likewise.
56181 * sunrpc/svc_tcp.c: Likewise.
56182 * sunrpc/svc_udp.c: Likewise.
56183 * sunrpc/svc_unix.c: Likewise.
56184 * sunrpc/svcauth_des.c: Likewise.
56185 * sunrpc/xcrypt.c: Likewise.
56186 * sunrpc/xdr.c: Likewise.
56187 * sunrpc/xdr_array.c: Likewise.
56188 * sunrpc/xdr_float.c: Likewise.
56189 * sunrpc/xdr_intXX_t.c: Likewise.
56190 * sunrpc/xdr_mem.c: Likewise.
56191 * sunrpc/xdr_rec.c: Likewise.
56192 * sunrpc/xdr_ref.c: Likewise.
56193 * sunrpc/xdr_sizeof.c: Likewise.
56194 * sunrpc/xdr_stdio.c: Likewise.
56195
e6c61494
UD
561962011-04-10 Ulrich Drepper <drepper@gmail.com>
56197
56198 [BZ #12650]
56199 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56200 * sysdeps/ia64/dl-tls.h: Likewise.
56201 * sysdeps/powerpc/dl-tls.h: Likewise.
56202 * sysdeps/s390/dl-tls.h: Likewise.
56203 * sysdeps/sh/dl-tls.h: Likewise.
56204 * sysdeps/sparc/dl-tls.h: Likewise.
56205 * sysdeps/x86_64/dl-tls.h: Likewise.
56206 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56207
34fe483e
AS
562082011-03-14 Andreas Schwab <schwab@redhat.com>
56209
56210 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56211 rpath element also skip the following colon.
56212 (expand_dynamic_string_token): Add is_path parameter and pass
56213 down to DL_DST_REQUIRED and _dl_dst_substitute.
56214 (decompose_rpath): Call expand_dynamic_string_token with
56215 non-zero is_path. Ignore empty rpaths.
56216 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56217 with zero is_path.
56218
f12a32e6
AS
562192011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56220
56221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56222 Make cancelable.
56223
38a7d692
UD
562242011-04-09 Ulrich Drepper <drepper@gmail.com>
56225
56226 [BZ #12655]
56227 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56228 Patch by Filipe David Manana <fdmanana@apache.org>.
56229
e451d22b
AS
562302011-04-07 Andreas Schwab <schwab@redhat.com>
56231
56232 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56233 Maintain aligned stack.
56234 (CHECK_RSP): Remove unused macro.
56235
dedc7c7b
UD
562362011-04-03 Ulrich Drepper <drepper@gmail.com>
56237
56238 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56239 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56240
94521213
UD
562412011-04-02 Ulrich Drepper <drepper@gmail.com>
56242
56243 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56244
8cb700c0 56245 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 56246
0354e355
L
562472011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56248
56249 [BZ #12518]
56250 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56251 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56252 * sysdeps/x86_64/memmove.c: New file.
56253 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56254 (memcpy): Renamed to ...
56255 (__new_memcpy): This.
56256 (memcpy): Provide GLIBC_2_14 memcpy.
56257 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56258 (memcpy): Provide GLIBC_2_2_5 memcpy.
56259
8593482f
UD
562602011-04-01 Ulrich Drepper <drepper@gmail.com>
56261
56262 [BZ #12631]
56263 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56264
81a5726b
AS
562652011-03-30 Andreas Schwab <schwab@redhat.com>
56266
56267 * misc/syncfs.c: New file.
56268 * misc/Makefile (routines): Add syncfs.
56269 * posix/unistd.h: Declare syncfs.
56270 * sysdeps/unix/syscalls.list: Add syncfs.
56271
00e5419f
AS
562722011-04-01 Andreas Schwab <schwab@redhat.com>
56273
56274 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56275 open_by_handle_at.
56276 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56277 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56278 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56279 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56280 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56281 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56282 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56283
748876bf
UD
562842011-04-01 Ulrich Drepper <drepper@gmail.com>
56285
658e451d
UD
56286 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56287 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56288 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56290 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56291 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56292 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56293
748876bf
UD
56294 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56295 sync_file_range.c with -fexceptions.
56296 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56297 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56298 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56299 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56300 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56301 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56302 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
56303 sync_file_range as cancellation point
56304 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56305 now a wrapper around __call_sync_file_range with cancellation handling.
56306 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56307 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56308 function name to __call_sync_file_range.
56309 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56310 Add call_sync_file_range.
748876bf 56311
6e63d5e1
AS
563122011-04-01 Andreas Schwab <schwab@redhat.com>
56313
56314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 56315 bits/timex.h.
6e63d5e1 56316
46998f74
UD
563172011-04-01 Ulrich Drepper <drepper@gmail.com>
56318
4c1423ed
UD
56319 * iconv/iconv.h: Fix typo in comment.
56320 * io/fcntl.h: Likewise.
56321 * libio/stdio.h: Likewise.
56322 * posix/spawn.h: Likewise.
56323 * posix/unistd.h: Likewise.
56324 * stdlib/stdlib.h: Likewise.
56325 * time/time.h: Likewise.
56326 * wcsmbs/wchar.h: Likewise.
56327
158648c0
UD
56328 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56329 open_by_handle): Add.
56330 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56331 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56332 Augment a few comments.
56333 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56334 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56335 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56336 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56337 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56338 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56339 open_by_handle.
56340
46998f74
UD
56341 * io/fcntl.h (AT_EMPTY_PATH): Define.
56342
83fe108b
UD
563432011-03-30 Ulrich Drepper <drepper@gmail.com>
56344
56345 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56346 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56347 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56348 to...
56349 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
56350 * Versions.def: Add GLIBC_2.14.
56351 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56352 Export.
83fe108b 56353
bb242059
UD
563542011-03-22 Ulrich Drepper <drepper@gmail.com>
56355
56356 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56357 round counter.
56358 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56359
c97a1282
L
563602011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56361
56362 [BZ #12597]
56363 * string/test-strncmp.c (do_page_test): New function.
56364 (check2): Likewise.
56365 (test_main): Call check2.
56366 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56367
2a115601
UD
563682011-03-20 Ulrich Drepper <drepper@gmail.com>
56369
56370 [BZ #12587]
56371 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56372 Handle cache information in CPU leaf 4.
56373 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56374
8126d904
UD
563752011-03-18 Ulrich Drepper <drepper@gmail.com>
56376
042c49c6 56377 [BZ #12583]
8126d904
UD
56378 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56379 character representation.
56380 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56381
ccfe366e
RA
563822011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56383
56384 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56385 END(__isnan) to END(__isnanf) to match function entry point/label
56386 EALIGN(__isnanf,...).
56387
c6e13027
JJ
563882011-03-10 Jakub Jelinek <jakub@redhat.com>
56389
56390 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56391
33f85a3f
UD
563922011-03-10 Ulrich Drepper <drepper@gmail.com>
56393
028478fa
UD
56394 [BZ #12510]
56395 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56396 copy from the symbol referenced in the relocation to initialize the
56397 used variable.
56398 Patch by Piotr Bury <pbury@goahead.com>.
56399 * elf/Makefile: Add rules to build and tst-unique3.
56400 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56401 * elf/tst-unique3.cc: New file.
56402 * elf/tst-unique3.h: New file.
56403 * elf/tst-unique3lib.cc: New file.
56404 * elf/tst-unique3lib2.cc: New file.
56405
33f85a3f
UD
56406 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56407
03592fc7
MF
564082011-03-10 Mike Frysinger <vapier@gentoo.org>
56409
56410 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56411 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56412 to _start.
03592fc7 56413
6a5ee102
UD
564142011-03-06 Ulrich Drepper <drepper@gmail.com>
56415
56416 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56417 to-be-loaded object along a path to loader is ld.so.
56418
7e4ba49c
HJ
564192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56420 Ulrich Drepper <drepper@gmail.com>
56421
56422 * sysdeps/x86_64/memset.S: After aligning destination, code
56423 branches to different locations depending on the value of
56424 misalignment, when multiarch is enabled. Fix this.
56425
564262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56427
56428 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56429 Set _x86_64_preferred_memory_instruction for AMD processsors.
56430 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56431 Set bit_Prefer_SSE_for_memop for AMD processors.
56432
13a804de
UD
564332011-03-04 Ulrich Drepper <drepper@gmail.com>
56434
56435 * libio/fmemopen.c (fmemopen): Optimize a bit.
56436
9d25c392
AS
564372011-03-03 Andreas Schwab <schwab@redhat.com>
56438
56439 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56440
a5543c6a
RM
564412011-03-03 Roland McGrath <roland@redhat.com>
56442
56443 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56444
012d35f7
DM
564452011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56446
7e4ba49c 56447 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
56448 __bzero_ultra1 instead of __memset_ultra1.
56449
4bff6e01
AS
564502011-02-23 Andreas Schwab <schwab@redhat.com>
56451 Ulrich Drepper <drepper@gmail.com>
56452
56453 [BZ #12509]
56454 * include/link.h (struct link_map): Add l_orig_initfini.
56455 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56456 returning unsuccessfully.
56457 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56458 close of a file loaded at startup, restore the original l_initfini
56459 list.
56460 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56461 list, store the pointer.
56462 * elf/Makefile ($(objpfx)noload-mem): New rule.
56463 (noload-ENV): Define.
56464 (tests): Add $(objpfx)noload-mem.
56465 * elf/noload.c: Include <memcheck.h>.
56466 (main): Call mtrace. Close all opened handles.
56467
f2092faf
AS
564682011-02-17 Andreas Schwab <schwab@redhat.com>
56469
56470 [BZ #12454]
56471 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56472 dependencies are missing.
56473
6c8a2e88
ST
564742011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56475
f2092faf 56476 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
56477 Hurd needs munmap.
56478 * sysdeps/mach/hurd/ifreq.h: New file.
56479
84a42118
PB
564802011-01-27 Petr Baudis <pasky@suse.cz>
56481 Ulrich Drepper <drepper@gmail.com>
56482
071f805e 56483 [BZ 12445]#
84a42118
PB
56484 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56485 to extend_alloca().
56486 * stdio-common/bug23.c: New file.
56487 * stdio-common/Makefile (tests): Add bug23.
56488
e23fe25b
AS
564892010-09-28 Andreas Schwab <schwab@redhat.com>
56490 Ulrich Drepper <drepper@gmail.com>
56491
56492 [BZ #12489]
56493 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56494 before performing relro protection. At old place add assertion
56495 to make sure nothing changed.
56496
d3f02e10
NS
564972011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56498 Glauber de Oliveira Costa <glommer@gmail.com>
56499
56500 * elf/elf.h: Add new ARM TLS relocs.
56501
d55fd7a5
RA
565022011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56503
56504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56505 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56506 cast from r3.
56507 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56508 'tests' variable.
56509 * sysdeps/wordsize-64/tst-writev.c: New file.
56510
2206397e
RA
565112011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56512
56513 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56514 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56515 insns in _dl_start to prevent a TOC reference before relocs are
56516 resolved.
56517
e9433893
UD
565182011-02-15 Ulrich Drepper <drepper@gmail.com>
56519
56520 [BZ #12469]
56521 * Makeconfig: Remove RANLIB definition.
56522 * Makerules: Don't use RANLIB.
56523 * aclocal.m4: Remove ranlib test.
56524 * configure.in: No need to check for ranlib.
56525 * elf/rtld-Rules: Don't use RANLIB.
56526
f75286c6
ST
565272011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56528
8e31c82d
ST
56529 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56530 protection macro.
56531 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56532 inclusion protection macro.
56533
f75286c6
ST
56534 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56535 SIGRTMIN and SIGRTMAX and print information in that case only when
56536 SIGRTMIN is defined.
56537
c1d0e639
JJ
565382011-02-11 Jakub Jelinek <jakub@redhat.com>
56539
56540 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56541 arginfo fn returning -1.
56542
56543 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56544 and thousands string is zero terminated.
56545
edf9294e
AS
565462011-02-03 Andreas Schwab <schwab@redhat.com>
56547
56548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56549 sysdeps/unix/sysv/linux/bits/socket.h.
56550
2b7e92df
ST
565512011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56552
edf9294e
AS
56553 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56554 (__CPU_COUNT): Remove old macros.
56555 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56556 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56557 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
56558 (__sched_cpualloc, __sched_cpufree): Add declarations.
56559
a4c7ea7b
UD
565602011-02-05 Ulrich Drepper <drepper@gmail.com>
56561
56562 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56563 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56564 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56565 (readdhstai): Return value of addhstaiX call.
56566 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56567 (addgrbyX): Return value returned by cache_addgr.
56568 (readdgrbyname): Return value returned by addgrbyX.
56569 (readdgrbygid): Likewise.
56570 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56571 (addpwbyX): Return value returned by cache_addpw.
56572 (readdpwbyname): Return value returned by addhstbyX.
56573 (readdpwbyuid): Likewise.
56574 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56575 (addservbyX): Return value returned by cache_addserv.
56576 (readdservbyname): Return value returned by addservbyX:
56577 (readdservbyport): Likewise.
56578 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56579 (addhstbyX): Return value returned by cache_addhst.
56580 (readdhstbyname): Return value returned by addhstbyX.
56581 (readdhstbyaddr): Likewise.
56582 (readdhstbynamev6): Likewise.
56583 (readdhstbyaddrv6): Likewise.
56584 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56585 (readdinitgroups): Return value returned by addinitgroupsX.
56586 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56587 (prune_cache): Keep track of timeout value of re-added entries.
56588 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56589 * nscd/nscd.h: Adjust prototypes of readd* functions.
56590
a0bf67cc
RM
565912011-02-04 Roland McGrath <roland@redhat.com>
56592
56593 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56594 (nis_stats): Likewise.
56595 * nis/nis_modify.c (nis_modify): Likewise.
56596 * nis/nis_remove.c (nis_remove): Likewise.
56597 * nis/nis_add.c (nis_add): Likewise.
56598
56599 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56600
56601 * posix/fnmatch_loop.c: Add some consts.
56602
56603 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56604
435b95eb
L
566052011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56606
56607 [BZ #12460]
56608 * config.make.in (config-cflags-novzeroupper): Define.
56609 * configure.in: Substitute libc_cv_cc_novzeroupper.
56610 * elf/Makefile (AVX-CFLAGS): Define.
56611 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56612 (CFLAGS-tst-auditmod4a.c): Likewise.
56613 (CFLAGS-tst-auditmod4b.c): Likewise.
56614 (CFLAGS-tst-auditmod6b.c): Likewise.
56615 (CFLAGS-tst-auditmod6c.c): Likewise.
56616 (CFLAGS-tst-auditmod7b.c): Likewise.
56617 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56618
8517b15e
UD
566192011-02-02 Ulrich Drepper <drepper@gmail.com>
56620
56621 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56622 function to the callback.
56623 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56624
10a656fe
AS
566252011-02-02 Andreas Schwab <schwab@redhat.com>
56626
56627 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56628 of errno.
56629
968dad0a
UD
566302011-01-19 Ulrich Drepper <drepper@gmail.com>
56631
9f94d2ea 56632 [BZ #11724]
968dad0a
UD
56633 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56634 of constructors.
56635 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56636 of destructors.
56637 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56638
56639 [BZ #11724]
56640 * elf/Makefile: Add rules to build and run new test.
56641 * elf/tst-initorder.c: New file.
56642 * elf/tst-initorder.exp: New file.
56643 * elf/tst-initordera1.c: New file.
56644 * elf/tst-initordera2.c: New file.
56645 * elf/tst-initordera3.c: New file.
56646 * elf/tst-initordera4.c: New file.
56647 * elf/tst-initorderb1.c: New file.
56648 * elf/tst-initorderb2.c: New file.
56649 * elf/tst-order-a1.c: New file.
56650 * elf/tst-order-a2.c: New file.
56651 * elf/tst-order-a3.c: New file.
56652 * elf/tst-order-a4.c: New file.
56653 * elf/tst-order-b1.c: New file.
56654 * elf/tst-order-b2.c: New file.
56655 * elf/tst-order-main.c: New file.
56656 New test case by George Gensure <werkt0@gmail.com>.
56657
86e92359
UD
566582010-10-01 Andreas Schwab <schwab@redhat.com>
56659
56660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56661 decoding ACE if AI_CANONIDN.
56662
5d5732b0
UD
566632011-01-18 Ulrich Drepper <drepper@gmail.com>
56664
56665 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56666
a77e8cbc
UD
566672011-01-17 Ulrich Drepper <drepper@gmail.com>
56668
6392473f
UD
56669 * version.h (RELEASE): Bump for 2.13 release.
56670 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56671
620a0529
UD
56672 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56673
18ba70a5
UD
56674 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56675 MADV_NOHUGEPAGE.
32465c3e
UD
56676 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56677 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56678 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56679 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56680 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56681 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56682
c0dafcf1
UD
56683 * posix/getconf.c: Update copyright year.
56684 * catgets/gencat.c: Likewise.
56685 * csu/version.c: Likewise.
56686 * debug/catchsegv.sh: Likewise.
56687 * debug/xtrace.sh: Likewise.
56688 * elf/ldconfig.c: Likewise.
56689 * elf/ldd.bash.in: Likewise.
56690 * elf/sprof.c (print_version): Likewise.
56691 * iconv/iconv_prog.c: Likewise.
56692 * iconv/iconvconfig.c: Likewise.
56693 * locale/programs/locale.c: Likewise.
56694 * locale/programs/localedef.c: Likewise.
56695 * malloc/memusage.sh: Likewise.
56696 * malloc/mtrace.pl: Likewise.
56697 * nscd/nscd.c (print_version): Likewise.
56698 * nss/getent.c: Likewise.
56699
a77e8cbc
UD
56700 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56701 PF_CAIF, and PF_ALG.
56702 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56703
77e8bddf
AS
567042011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56705
1f20b93a
AS
56706 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56707 (modules-names): Use them.
56708 (ifunc-test-modules, ifunc-pie-tests): Define.
56709 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56710 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56711 (test-extras): Likewise.
56712 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56713 $(compile-command.c).
56714 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56715 (all-built-dso): Define.
56716 (check-textrel.out, check-execstack.out): Depend on it.
56717
77e8bddf
AS
56718 * configure.in: Don't override --enable-multi-arch.
56719
bc425b33
UD
567202011-01-15 Ulrich Drepper <drepper@gmail.com>
56721
56722 [BZ #6812]
56723 * nscd/hstcache.c (tryagain): Define.
56724 (cache_addhst): Return tryagain not notfound for temporary errors.
56725 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56726 failed.
56727
794c3ad3
UD
567282011-01-14 Ulrich Drepper <drepper@gmail.com>
56729
70181fdd
UD
56730 [BZ #10563]
56731 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56732 to make the syscall.
56733 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56734
794c3ad3
UD
56735 [BZ #12378]
56736 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56737 and fall back to matching as normal character if the string ends before
56738 the matching ']' is found. This is what POSIX requires.
56739 * posix/testfnm.c: Adjust test result.
56740 * posix/globtest.sh: Adjust test result. Add new test.
56741 * posix/tst-fnmatch.input: Likewise.
56742 * posix/tst-fnmatch2.c: Add new test.
56743
68dc9497
AS
567442010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56745
56746 * elf/Makefile (check-execstack): Revert last change. Depend on
56747 check-execstack.h.
56748 (check-execstack.h): New target.
56749 (generated): Add check-execstack.h.
56750 * elf/check-execstack.c: Include "check-execstack.h".
56751 (main): Revert last change.
56752 (handle_file): Return zero if GNU_STACK is absent and
56753 DEFAULT_STACK_PERMS doesn't include PF_X.
56754
451f001b
UD
567552011-01-13 Ulrich Drepper <drepper@gmail.com>
56756
cfa28e56
UD
56757 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56758 in child fails because the descriptor is already closed.
8cf8ce17
UD
56759 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56760 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56761 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 56762
1086d70d
UD
56763 [BZ #12397]
56764 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56765 syscall.
56766
451f001b
UD
56767 [BZ #10484]
56768 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56769 temporary buffer used to handle multi lookups locally.
a85b5cb4 56770 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 56771
08769175
UD
567722011-01-12 Ulrich Drepper <drepper@gmail.com>
56773
56774 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56775 loader is ld.so.
56776
5e49c52e
UD
567772011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56778
56779 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56780 alignment for SSE2.
56781
60522a5f
UD
567822011-01-12 Ulrich Drepper <drepper@gmail.com>
56783
56784 [BZ #12394]
56785 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56786 characters. When rounding increased number of integer digits recompute
56787 number of groups.
56788 * stdio-common/tst-grouping.c: New file.
56789 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56790
f257bbd7
UD
567912011-01-09 Ulrich Drepper <drepper@gmail.com>
56792
56793 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56794 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56795
56796 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56797 void.
56798 * bits/select.h: Likewise.
56799
fa9c15cb
UD
568002011-01-08 Ulrich Drepper <drepper@gmail.com>
56801
56802 * po/ja.po: Update from translation team.
56803
16c2895f
DM
568042011-01-04 David S. Miller <davem@sunset.davemloft.net>
56805
56806 [BZ #11155]
56807 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56808 implementation just like for lxstat, fxstatat, et al.
56809
2543fef2
JM
568102010-12-27 Jim Meyering <meyering@redhat.com>
56811
56812 [BZ #12348]
56813 * posix/regexec.c (build_trtable): Return failure indication upon
56814 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56815
98727dbe
UD
568162010-12-25 Ulrich Drepper <drepper@gmail.com>
56817
5bd6dc5c
UD
56818 [BZ #12201]
56819 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56820 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56821 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56822 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56823
97983464
UD
56824 [BZ #12207]
56825 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56826
98727dbe
UD
56827 [BZ #12204]
56828 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56829 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56830
4a531bb0
L
568312010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56832
56833 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56834 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56835 script has SORT_BY_INIT_PRIORITY.
56836 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56837 NO_CTORS_DTORS_SECTIONS is defined.
56838 * elf/soinit.c: Likewise.
56839 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56840 NO_CTORS_DTORS_SECTIONS is defined.
56841 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56842 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56843 * sysdeps/sh/init-first.c: Likewise.
56844 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56845
07eb4b71
UD
568462010-12-24 Ulrich Drepper <drepper@gmail.com>
56847
56848 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56849 always use the slow path.
56850
30950a5f
RA
568512010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56852
56853 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56854 similar rule which adds the sysdep directories to the header search in
56855 order to pick up the correct platform stackinfo.h.
56856 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56857 perform test if it is, otherwise return successfully without testing.
56858 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56859 DEFAULT_STACK_PERMS define in stackinfo.h.
56860 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56861 defined in stackinfo.h.
56862 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56863 DEFAULT_STACK_PERMS defined in stackinfo.h.
56864 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56865 * sysdeps/ia64/stackinfo.h: Likewise.
56866 * sysdeps/s390/stackinfo.h: Likewise.
56867 * sysdeps/sh/stackinfo.h: Likewise.
56868 * sysdeps/sparc/stackinfo.h: Likewise.
56869 * sysdeps/x86_64/stackinfo.h: Likewise.
56870 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56871 PF_X for powerpc64. Retain PF_X for powerpc32.
56872
db753e2c
UD
568732010-12-19 Ulrich Drepper <drepper@gmail.com>
56874
14b697f7
UD
56875 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56876 accurately.
db753e2c
UD
56877 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56878 GETDENTS_64BIT_ALIGNED.
56879
28300719
UD
568802010-12-14 Ulrich Drepper <dreper@gmail.com>
56881
14b697f7 56882 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 56883
4f197237
AS
568842010-12-10 Andreas Schwab <schwab@redhat.com>
56885
dbb0472f
AS
56886 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56887 _GNU_SOURCE.
56888
4f197237
AS
56889 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56890 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56891 Remove __restrict.
56892 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56893 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56894
fb88ac72
UD
568952010-12-09 Ulrich Drepper <drepper@gmail.com>
56896
56897 [BZ #11655]
56898 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56899 are initialized.
56900
42acbb92
JJ
569012010-12-09 Jakub Jelinek <jakub@redhat.com>
56902
56903 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56904
c038d98d
UD
569052010-12-03 Ulrich Drepper <drepper@gmail.com>
56906
56907 * po/it.po: Update from translation team.
56908
3a4a2499
L
569092010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56910
56911 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56912 unused codes.
56913
1e24cf6e
UD
569142010-11-30 Ulrich Drepper <drepper@gmail.com>
56915
56916 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56917
a7690819
AS
569182010-11-24 Andreas Schwab <schwab@redhat.com>
56919
56920 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56921 specially.
56922 (gaih_getanswer_slice): Likewise.
56923
3bf8d1b1
JJ
569242010-10-20 Jakub Jelinek <jakub@redhat.com>
56925
56926 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56927
6db52fbb
PB
569282010-05-31 Petr Baudis <pasky@suse.cz>
56929
56930 [BZ #11149]
56931 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56932 silently even in the chroot mode.
56933
eaca7569
UD
569342010-11-22 Ulrich Drepper <drepper@gmail.com>
56935
56936 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56937 last patch a bit. Pretty printing
56938
3056dcdb
UD
569392010-05-31 Petr Baudis <pasky@suse.cz>
56940
56941 [BZ #10085]
56942 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56943 initialization of skip_initgroups_dyn.
56944
cf7c9078
UD
569452010-11-19 Ulrich Drepper <drepper@gmail.com>
56946
56947 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56948 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56949
a1fb5e3e
UD
569502010-11-16 Ulrich Drepper <drepper@gmail.com>
56951
56952 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56953
3540d66b
AS
569542010-11-11 Andreas Schwab <schwab@redhat.com>
56955
56956 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56957 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56958 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56959 ($(objpfx)tst-fnmatch-mem): New rule.
56960 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56961 * posix/tst-fnmatch.c (main): Call mtrace.
56962
13b69574
L
569632010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56964
56965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56966 Support Intel processor model 6 and model 0x2c.
56967
da93d214
LM
569682010-11-10 Luis Machado <luisgpm@br.ibm.com>
56969
56970 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56971 signed comparison.
56972
8ca52c6e
L
569732010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56974
56975 [BZ #12205]
56976 * string/test-strncasecmp.c (check_result): New function.
56977 (do_one_test): Use it.
56978 (check1): New function.
56979 (test_main): Use it.
56980 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56981 Support strcasecmp and strncasecmp.
56982
69da074d
UD
569832010-11-08 Ulrich Drepper <drepper@gmail.com>
56984
56985 [BZ #12194]
56986 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56987 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56988
ff02d528
L
569892010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56990
56991 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56992 IFUNC support.
56993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56994 memset-x86-64.
56995 * sysdeps/x86_64/multiarch/bzero.S: New file.
56996 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56997 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56998 * sysdeps/x86_64/multiarch/memset.S: New file.
56999 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57001 Set bit_Prefer_SSE_for_memop for Intel processors.
57002 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57003 Define.
57004 (index_Prefer_SSE_for_memop): Define.
57005 (HAS_PREFER_SSE_FOR_MEMOP): Define.
57006
344d0b54
LM
570072010-11-04 Luis Machado <luisgpm@br.ibm.com>
57008
57009 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57010 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57011
c0dde15b
UD
570122010-11-03 H.J. Lu <hongjiu.lu@intel.com>
57013
57014 [BZ #12191]
57015 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57016 (__x86_64_raw_data_cache_size_half): Likewise.
57017 (__x86_64_raw_shared_cache_size): Likewise.
57018 (__x86_64_raw_shared_cache_size_half): Likewise.
57019
57020 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57021 (__x86_64_raw_data_cache_size_half): Likewise.
57022 (__x86_64_raw_shared_cache_size): Likewise.
57023 (__x86_64_raw_shared_cache_size_half): Likewise.
57024 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57025 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57026 and __x86_64_raw_shared_cache_size_half. Round
57027 __x86_64_data_cache_size_half, __x86_64_data_cache_size
57028 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57029 to multiple of 256 bytes.
57030
0e516e0e
MS
570312010-11-03 Ulrich Drepper <drepper@gmail.com>
57032
57033 [BZ #12167]
57034 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57035 of inacessible symlinks. Verify result of symlink before returning it.
57036 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57037 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57038
0e012e87
ER
570392010-10-28 Erich Ritz <erichritz@gmail.com>
57040
57041 * math/math.h (isinf): Fix typo in comment.
57042
de0ff7bc
UD
570432010-11-01 Ulrich Drepper <drepper@gmail.com>
57044
57045 * po/da.po: Update from translation team.
57046
fa41c84d
UD
570472010-10-26 Ulrich Drepper <drepper@gmail.com>
57048
57049 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57050 is added to the list.
57051
f0967738
AK
570522010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57053 Ulrich Drepper <drepper@gmail.com>
57054
57055 * elf/dl-object.c (_dl_new_object): Don't append the new object to
57056 the global list here. Move code to...
57057 (_dl_add_to_namespace_list): ...here. New function.
57058 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57059 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57060 * elf/dl-load.c (lose): Don't remove the element from the list.
57061 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57062 (_dl_map_object): Likewise.
57063
570642010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
57065
57066 [BZ #12159]
57067 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57068 into all bytes of SSE register.
57069 Patch by Richard Li <richardpku@gmail.com>.
57070
f0967738 570712010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
57072
57073 [BZ #12140]
57074 * malloc/malloc.c (_int_free): Fill correct number of bytes when
57075 perturbing.
57076
d0b9e94f
MB
570772010-10-20 Michael B. Brutman <brutman@us.ibm.com>
57078
57079 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57080 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57081 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57082 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57084 submachine.
57085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57086
8e9f92e9
AS
570872010-10-22 Andreas Schwab <schwab@redhat.com>
57088
57089 * include/dlfcn.h (__RTLD_SECURE): Define.
57090 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
57091 mode & __RTLD_SECURE instead.
57092 (open_path): Rename preloaded parameter to secure.
57093 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57094 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57095 * elf/dl-deps.c (openaux): Likewise.
57096 * elf/rtld.c (struct map_args): Remove is_preloaded.
57097 (map_doit): Don't use it.
57098 (dl_main): Likewise.
57099 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57100 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57101
bc96fbda
AS
571022010-09-09 Andreas Schwab <schwab@redhat.com>
57103
57104 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57105 (sysd-rules-targets): Remove duplicates.
57106 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57107 rtld-%.$o dependency.
57108
22cd1c9b
AS
571092010-10-18 Andreas Schwab <schwab@redhat.com>
57110
57111 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57112 _dl_map_object do it.
57113
18edac48
UD
571142010-10-19 Ulrich Drepper <drepper@gmail.com>
57115
57116 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57117 fast fma builtins, define the macros in the C99 standard.
57118 (FP_FAST_FMAF): Likewise.
57119 (FP_FAST_FMAL): Likewise.
57120 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57121
57122 * bits/mathdef.h: Update copyright year.
57123 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57124
d2050124
MM
571252010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57126
57127 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57128 builtins, define the macros in the C99 standard.
57129 (FP_FAST_FMAF): Likewise.
57130 (FP_FAST_FMAL): Likewise.
57131 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57132 multiply/add.
57133 (FP_FAST_FMAF): Likewise.
57134
475facd1
JJ
571352010-10-15 Jakub Jelinek <jakub@redhat.com>
57136
57137 [BZ #3268]
57138 * math/libm-test.inc (fma_test): Some new testcases.
57139 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57140 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57141 y and infinite z. Do multiplication by C already in long double.
57142 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57143 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57144 y and infinite z. Do bitwise or of inexact bit into u.d.
57145 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57146 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57147 * sysdeps/i386/fpu/s_fma.S: Removed.
57148 * sysdeps/i386/fpu/s_fmal.S: Removed.
57149
7c08a05c
JJ
571502010-10-16 Jakub Jelinek <jakub@redhat.com>
57151
57152 [BZ #3268]
57153 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57154 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57155 computation is not scheduled after fetestexcept. Fix value
57156 of minimum denormal long double.
57157
f3f7372d
JJ
571582010-10-14 Jakub Jelinek <jakub@redhat.com>
57159
57160 [BZ #3268]
57161 * math/libm-test.inc (fma_test): Add some more tests.
57162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57163 correctly.
57164
14d43591
AS
571652010-10-15 Andreas Schwab <schwab@redhat.com>
57166
57167 * scripts/data/localplt-s390-linux-gnu.data: New file.
57168 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57169
5e908464
JJ
571702010-10-13 Jakub Jelinek <jakub@redhat.com>
57171
57172 [BZ #3268]
57173 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57174 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57175 instead of dbl-64.
57176 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57177 inlines.
57178 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57180 if one of x and y is very large and the other is subnormal.
57181 * sysdeps/s390/fpu/s_fmaf.c: New file.
57182 * sysdeps/s390/fpu/s_fma.c: New file.
57183 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57184 * sysdeps/powerpc/fpu/s_fma.S: New file.
57185 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57186 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57187 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57188
571892010-10-12 Jakub Jelinek <jakub@redhat.com>
57190
57191 [BZ #3268]
57192 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57193 fma tests.
57194 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57195 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57196 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57197 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57198 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57199 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57200 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57201
b833d51f
UD
572022010-10-12 Ulrich Drepper <drepper@redhat.com>
57203
57204 [BZ #12078]
57205 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57206 * posix/bug-regex31.input: Add test case.
57207
1751705d
UD
572082010-10-11 Ulrich Drepper <drepper@gmail.com>
57209
e9b9cbf5
UD
57210 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57211 * posix/bug-regex31.input: New file.
57212
57213 [BZ #12078]
57214 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57215 (parse_sub_exp): Fix last change, use postorder.
57216
ef06edbe
UD
57217 * posix/bug-regex31.c: New file.
57218 * posix/Makefile: Add rules to build and run bug-regex31.
57219
a129c80d
UD
57220 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57221
57222 [BZ #12078]
57223 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57224
b76b818e
UD
57225 [BZ #12108]
57226 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57227 to have entries in sys_siglist.
57228
1751705d
UD
57229 [BZ #12093]
57230 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57231 be NULL.
57232
9ff8d36f
JJ
572332010-10-07 Jakub Jelinek <jakub@redhat.com>
57234
57235 [BZ #3268]
57236 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57237 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57238 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57239 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57240 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57241 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57242 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57243 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57244 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57245 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57246 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57247 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57248 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57249 * math/ftestexcept.c (fetestexcept): Likewise.
57250 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57251 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57252 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57253 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57254 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57255 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57256 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57257
af325969
UD
572582010-10-11 Ulrich Drepper <drepper@gmail.com>
57259
c579b202 57260 [BZ #12107]
af325969
UD
57261 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57262 newline.
57263
67a67b95
UD
572642010-10-06 Ulrich Drepper <drepper@gmail.com>
57265
57266 * string/bug-strstr1.c: New file.
57267 * string/Makefile: Add rules to build and run bug-strstr1.
57268
5fb308bc
EB
572692010-10-05 Eric Blake <eblake@redhat.com>
57270
57271 [BZ #12092]
57272 * string/str-two-way.h (two_way_long_needle): Always clear memory
57273 when skipping input due to the shift table.
57274
45db99c7
UD
572752010-10-03 Ulrich Drepper <drepper@gmail.com>
57276
3b111893
UD
57277 [BZ #12005]
57278 * malloc/mcheck.c: Handle large requests.
57279
45db99c7
UD
57280 [BZ #12077]
57281 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57282 for strncmp and strncasecmp.
57283 * string/stratcliff.c: Add tests for strcmp and strncmp.
57284 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57285
cf7a1eb8
NI
572862010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57287
57288 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57289 __set_fpscr.
57290
6484ba5e
AJ
572912010-09-30 Andreas Jaeger <aj@suse.de>
57292
57293 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57294 (CGROUP_SUPER_MAGIC): Define.
57295 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57296 Handle btrfs and cgroup file systems.
57297 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57298 Likewise.
57299
91c42559
LM
573002010-09-27 Luis Machado <luisgpm@br.ibm.com>
57301
57302 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57303 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57304
87a97932
AK
573052010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57306
57307 [BZ #12067]
57308 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57309 trying to locate the ELF header.
57310
c21cc9bc
AS
573112010-09-27 Andreas Schwab <schwab@redhat.com>
57312
57313 [BZ #11611]
57314 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57315 Mask out sign-bit copies when constructing f_fsid.
57316
315970f6
PB
573172010-09-24 Petr Baudis <pasky@suse.cz>
57318
57319 * debug/stack_chk_fail_local.c: Add missing licence exception.
57320 * debug/warning-nop.c: Likewise.
57321
1ac7a2c7
JM
573222010-09-15 Joseph Myers <joseph@codesourcery.com>
57323
57324 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57325 implementing getdents64 using getdents syscall, set d_type if
57326 __ASSUME_GETDENTS32_D_TYPE.
57327
56801c50
AS
573282010-09-16 Andreas Schwab <schwab@redhat.com>
57329
57330 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57331 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57332
dda51327
UD
573332010-09-21 Ulrich Drepper <drepper@redhat.com>
57334
57335 [BZ #12037]
57336 * posix/unistd.h: Undo change of feature selection for ftruncate from
57337 2010-01-11.
57338
8ffcee4a
UD
573392010-09-20 Ulrich Drepper <drepper@redhat.com>
57340
a545ecd9 57341 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
57342 detection.
57343
e24f0a8b
AS
573442010-09-20 Andreas Schwab <schwab@redhat.com>
57345
57346 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57347 fanotify_mark.
57348 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57349
7291c56f
AS
573502010-09-14 Andreas Schwab <schwab@redhat.com>
57351
57352 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57353 variables after CHECK_SP call.
57354 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57355
bc5fb037
AS
573562010-09-13 Andreas Schwab <schwab@redhat.com>
57357 Ulrich Drepper <drepper@redhat.com>
57358
57359 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57360 re-relocationg ld.so.
57361 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57362 _dl_init_paths call.
57363 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57364 here anymore.
57365
e66e7419
UD
573662010-09-14 Ulrich Drepper <drepper@redhat.com>
57367
57368 * resolv/res_init.c (__res_vinit): Count the default server we added.
57369
c044aa75
CLT
573702010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57371 Ulrich Drepper <drepper@redhat.com>
57372
57373 [BZ #11968]
57374 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57375 (____longjmp_chk): Use %ebx for saving value across system call.
57376 Add unwind info.
57377
32cf4069
AS
573782010-09-06 Andreas Schwab <schwab@redhat.com>
57379
57380 * manual/Makefile: Don't mix pattern rules with normal rules.
57381
817328ee
AS
573822010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57383
57384 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57385 operation.
57386 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57387 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57388 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57389 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57390 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57391 Likewise.
57392
29fddf61
UD
573932010-09-04 Ulrich Drepper <drepper@redhat.com>
57394
57395 [BZ #11979]
57396 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57397 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57398
0959ffc9
UD
573992010-09-02 Ulrich Drepper <drepper@redhat.com>
57400
57401 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57402 * sysdeps/x86_64/addmul_1.S: Likewise.
57403 * sysdeps/x86_64/lshift.S: Likewise.
57404 * sysdeps/x86_64/mul_1.S: Likewise.
57405 * sysdeps/x86_64/rshift.S: Likewise.
57406 * sysdeps/x86_64/sub_n.S: Likewise.
57407 * sysdeps/x86_64/submul_1.S: Likewise.
57408
ece29840
ST
574092010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57410
0959ffc9
UD
57411 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57412 Define __sched_param instead of SCHED_* and sched_param when
ece29840 57413 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 57414 * bits/sched.h [__need_schedparam]
ece29840 57415 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
57416 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57417 (__defined_schedparam): Define to 1.
ece29840
ST
57418 (__sched_param): New structure, identical to sched_param.
57419 (__need_schedparam): Undefine.
57420
e53a31fe
MF
574212010-08-31 Mike Frysinger <vapier@gentoo.org>
57422
fdc0c10d
MF
57423 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57424 (epoll_create1): Declare.
57425
e53a31fe
MF
57426 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57427
a726d796
AS
574282010-08-31 Andreas Schwab <schwab@redhat.com>
57429
57430 [BZ #7066]
57431 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57432 shifting retval into place.
57433
2f3e3dc7
UD
574342010-09-01 Ulrich Drepper <drepper@redhat.com>
57435
f2933da9
UD
57436 * nis/rpcsvc/nis.h: Update copyright notice.
57437 * nis/rpcsvc/nis.x: Likewise.
57438 * nis/rpcsvc/nis_callback.h: Likewise.
57439 * nis/rpcsvc/nis_callback.x: Likewise.
57440 * nis/rpcsvc/nis_object.x: Likewise.
57441 * nis/rpcsvc/nis_tags.h: Likewise.
57442 * nis/rpcsvc/yp.h: Likewise.
57443 * nis/rpcsvc/yp.x: Likewise.
57444 * nis/rpcsvc/ypupd.h: Likewise.
57445 * nis/yp_xdr.c: Likewise.
57446 * nis/ypupdate_xdr.c: Likewise.
57447
2f3e3dc7
UD
57448 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57449 mainly the body of pmap_getport. Add parameters to specify timeouts.
57450 (pmap_getport): Use __libc_rpc_getport.
57451 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57452 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57453 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57454
f3dcc2f9
AS
574552010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57456
57457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57458 fanotify_mark.
57459
6d34eb5b
RM
574602010-08-27 Roland McGrath <roland@redhat.com>
57461
57462 * sysdeps/i386/i686/multiarch/Makefile
57463 (CFLAGS-varshift.c): New variable.
57464
9ea3de11
UD
574652010-08-27 Ulrich Drepper <drepper@redhat.com>
57466
c96d23fc
UD
57467 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57468 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57469
9ea3de11
UD
57470 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57471
57472 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57473
623aac7f
L
574742010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57475
57476 * sysdeps/x86_64/strlen.S: Unroll the loop.
57477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57478 strlen-sse2 strlen-sse2-bsf.
57479 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57480 __strlen_no_bsf if bit_Slow_BSF is set.
57481 (__strlen_sse42): Removed.
57482 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57483 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57484
8b2b7715
RM
574852010-08-25 Roland McGrath <roland@redhat.com>
57486
57487 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57488 * sysdeps/x86_64/multiarch/varshift.c: New file.
57489 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57490 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57491 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57492 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57493
e73015f2
L
574942010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57495
57496 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57497 strlen-sse2 strlen-sse2-bsf.
57498 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57499 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57500 (__strlen_sse2): Removed.
57501 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57502 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57504 bit_Slow_BSF for Atom.
57505 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57506 (index_Slow_BSF): Define.
57507 (HAS_SLOW_BSF): Define.
57508
df24a73e
UD
575092010-08-25 Ulrich Drepper <drepper@redhat.com>
57510
57511 [BZ #10851]
57512 * resolv/res_init.c (__res_vinit): When no server address at all
57513 is given default to loopback.
57514
f2ac4868
RM
575152010-08-24 Roland McGrath <roland@redhat.com>
57516
09055553
RM
57517 * configure.in: Remove config-name.h generation.
57518 * configure: Regenerated.
57519 * config-name.in: File removed.
57520 * scripts/config-uname.sh: New file.
57521 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57522 ($(objdir)config-name.h): New target.
57523
f2ac4868
RM
57524 * sunrpc/rpc_parse.h: Avoid nested comment.
57525
73f27d5e
RH
575262010-08-24 Richard Henderson <rth@redhat.com>
57527 Ulrich Drepper <drepper@redhat.com>
57528 H.J. Lu <hongjiu.lu@intel.com>
57529
57530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57532 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57533 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57534 _mm_alignr_epi8 with _mm_loadu_si128.
57535 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57536 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57537 (__m128i_shift_right): Removed.
57538 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57539 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57540 * sysdeps/x86_64/multiarch/varshift.h: New file.
57541 * sysdeps/x86_64/multiarch/varshift.S: New file.
57542
84b9230c
MF
575432010-08-21 Mike Frysinger <vapier@gentoo.org>
57544
57545 * configure.in: Move assembler checks to before sysdep dir checking.
57546
9bbd0ddc
PB
575472010-08-20 Petr Baudis <pasky@suse.cz>
57548
57549 * LICENSES: Sync the sunrpc license.
57550
9da4bb31
UD
575512010-08-19 Ulrich Drepper <drepper@redhat.com>
57552
a7ab6ec8
UD
57553 * sunrpc/auth_des.c: Update copyright notice once again.
57554 * sunrpc/auth_none.c: Likewise.
57555 * sunrpc/auth_unix.c: Likewise.
57556 * sunrpc/authdes_prot.c: Likewise.
57557 * sunrpc/authuxprot.c: Likewise.
57558 * sunrpc/bindrsvprt.c: Likewise.
57559 * sunrpc/clnt_gen.c: Likewise.
57560 * sunrpc/clnt_perr.c: Likewise.
57561 * sunrpc/clnt_raw.c: Likewise.
57562 * sunrpc/clnt_simp.c: Likewise.
57563 * sunrpc/clnt_tcp.c: Likewise.
57564 * sunrpc/clnt_udp.c: Likewise.
57565 * sunrpc/clnt_unix.c: Likewise.
57566 * sunrpc/des_crypt.c: Likewise.
57567 * sunrpc/des_soft.c: Likewise.
57568 * sunrpc/get_myaddr.c: Likewise.
57569 * sunrpc/getrpcport.c: Likewise.
57570 * sunrpc/key_call.c: Likewise.
57571 * sunrpc/key_prot.c: Likewise.
57572 * sunrpc/openchild.c: Likewise.
57573 * sunrpc/pm_getmaps.c: Likewise.
57574 * sunrpc/pm_getport.c: Likewise.
57575 * sunrpc/pmap_clnt.c: Likewise.
57576 * sunrpc/pmap_prot.c: Likewise.
57577 * sunrpc/pmap_prot2.c: Likewise.
57578 * sunrpc/pmap_rmt.c: Likewise.
57579 * sunrpc/rpc/auth.h: Likewise.
57580 * sunrpc/rpc/auth_unix.h: Likewise.
57581 * sunrpc/rpc/clnt.h: Likewise.
57582 * sunrpc/rpc/des_crypt.h: Likewise.
57583 * sunrpc/rpc/key_prot.h: Likewise.
57584 * sunrpc/rpc/netdb.h: Likewise.
57585 * sunrpc/rpc/pmap_clnt.h: Likewise.
57586 * sunrpc/rpc/pmap_prot.h: Likewise.
57587 * sunrpc/rpc/pmap_rmt.h: Likewise.
57588 * sunrpc/rpc/rpc.h: Likewise.
57589 * sunrpc/rpc/rpc_des.h: Likewise.
57590 * sunrpc/rpc/rpc_msg.h: Likewise.
57591 * sunrpc/rpc/svc.h: Likewise.
57592 * sunrpc/rpc/svc_auth.h: Likewise.
57593 * sunrpc/rpc/types.h: Likewise.
57594 * sunrpc/rpc/xdr.h: Likewise.
57595 * sunrpc/rpc_clntout.c: Likewise.
57596 * sunrpc/rpc_cmsg.c: Likewise.
57597 * sunrpc/rpc_common.c: Likewise.
57598 * sunrpc/rpc_cout.c: Likewise.
57599 * sunrpc/rpc_dtable.c: Likewise.
57600 * sunrpc/rpc_hout.c: Likewise.
57601 * sunrpc/rpc_main.c: Likewise.
57602 * sunrpc/rpc_parse.c: Likewise.
57603 * sunrpc/rpc_parse.h: Likewise.
57604 * sunrpc/rpc_prot.c: Likewise.
57605 * sunrpc/rpc_sample.c: Likewise.
57606 * sunrpc/rpc_scan.c: Likewise.
57607 * sunrpc/rpc_scan.h: Likewise.
57608 * sunrpc/rpc_svcout.c: Likewise.
57609 * sunrpc/rpc_tblout.c: Likewise.
57610 * sunrpc/rpc_util.c: Likewise.
57611 * sunrpc/rpc_util.h: Likewise.
57612 * sunrpc/rpcinfo.c: Likewise.
57613 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57614 * sunrpc/rpcsvc/key_prot.x: Likewise.
57615 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57616 * sunrpc/rpcsvc/mount.x: Likewise.
57617 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57618 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57619 * sunrpc/rpcsvc/rex.x: Likewise.
57620 * sunrpc/rpcsvc/rstat.x: Likewise.
57621 * sunrpc/rpcsvc/rusers.x: Likewise.
57622 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57623 * sunrpc/rpcsvc/spray.x: Likewise.
57624 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57625 * sunrpc/rtime.c: Likewise.
57626 * sunrpc/svc.c: Likewise.
57627 * sunrpc/svc_auth.c: Likewise.
57628 * sunrpc/svc_authux.c: Likewise.
57629 * sunrpc/svc_raw.c: Likewise.
57630 * sunrpc/svc_run.c: Likewise.
57631 * sunrpc/svc_simple.c: Likewise.
57632 * sunrpc/svc_tcp.c: Likewise.
57633 * sunrpc/svc_udp.c: Likewise.
57634 * sunrpc/svc_unix.c: Likewise.
57635 * sunrpc/svcauth_des.c: Likewise.
57636 * sunrpc/xcrypt.c: Likewise.
57637 * sunrpc/xdr.c: Likewise.
57638 * sunrpc/xdr_array.c: Likewise.
57639 * sunrpc/xdr_float.c: Likewise.
57640 * sunrpc/xdr_mem.c: Likewise.
57641 * sunrpc/xdr_rec.c: Likewise.
57642 * sunrpc/xdr_ref.c: Likewise.
57643 * sunrpc/xdr_sizeof.c: Likewise.
57644 * sunrpc/xdr_stdio.c: Likewise.
57645
9da4bb31
UD
57646 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57647 handling.
57648
bdaa77bc
AS
576492010-08-19 Andreas Schwab <schwab@redhat.com>
57650
57651 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57652
fe2f79db
LM
576532010-08-19 Luis Machado <luisgpm@br.ibm.com>
57654
57655 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57656 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57657 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57658 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57659 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57660 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57661 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57662 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57663 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57664 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57665 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57666 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57667 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57668 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57669
b9b42ee0
AB
576702010-07-26 Anton Blanchard <anton@samba.org>
57671
57672 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57673 * malloc/arena.c (heap_trim): Likewise.
57674
1c06ba31
UD
576752010-08-16 Ulrich Drepper <drepper@redhat.com>
57676
57677 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57678 here. Not...
57679 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57680 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57681
f8392f40
L
576822010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57683
57684 * sysdeps/i386/elf/Makefile: New file.
57685
3162f12e
AS
576862010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57687
57688 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57689 from fanotify_init.
57690 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57691 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57692
28c90b2c
UD
576932010-08-15 Ulrich Drepper <drepper@redhat.com>
57694
57695 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57696 of strncasecmp_l.
1feccb6c 57697 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 57698
ca6bb004
UD
576992010-08-14 Ulrich Drepper <drepper@redhat.com>
57700
e9f82e0d
UD
57701 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57702 strncase_l-nonascii.
57703 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57704 Add strncase_l-ssse3.
57705 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57706 * sysdeps/x86_64/strcmp.S: Likewise.
57707 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57708 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57709 * sysdeps/x86_64/strncase.S: New file.
57710 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57711 * sysdeps/x86_64/strncase_l.S: New file.
57712 * string/Makefile (strop-tests): Add strncasecmp.
57713 * string/test-strncasecmp.c: New file.
57714
57715 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57716 warning.
57717
ca6bb004
UD
57718 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57719 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57720
052fa7b3
AS
577212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57722
57723 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57724
962dba78
UD
577252010-08-12 Ulrich Drepper <drepper@redhat.com>
57726
57727 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57728 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57729 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57730
bebff237
AM
577312010-05-01 Alan Modra <amodra@gmail.com>
57732
57733 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57734 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57735 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57736 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57737 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57738 tidying. Don't tail-call __sigjmp_save for static lib.
57739 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57740 save location.
57741 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57742 (CALL_MCOUNT): Add eh info, and nop after bl.
57743 (TAIL_CALL_SYSCALL_ERROR): New macro.
57744 (PSEUDO_RET): Use it.
57745 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57746 Correct save location of integer regs and cr.
57747 (_dl_profile_resolve): Correct cr save location. Delete nops
57748 after bl when SHARED. Reduce cfi size a little by better
57749 placement of cfi directives.
57750 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57751 make a stack frame. Instead use parm save area as a temp.
57752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57753 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57755 Don't make a stack frame for parent, use parm save area.
57756 Increase child stack frame to 112 bytes. Don't save unused reg,
57757 and adjust reg usage. Set up cfi on error recovery and
57758 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57760 (__makecontext): Add dummy nop after jump to exit.
57761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57762 Use correct parm save area and cr save, reduce stack frame.
57763 Correct cfi for possible PSEUDO_RET frame setup.
57764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57765 Branch to local label emitted by PSEUDO_RET rather than
57766 __syscall_error.
57767
02637374
AS
577682010-08-12 Andreas Schwab <schwab@redhat.com>
57769
57770 [BZ #11904]
57771 * locale/programs/locale.c (print_assignment): New function.
57772 (show_locale_vars): Use it.
57773
c3e2f19b
UD
577742010-08-11 Ulrich Drepper <drepper@redhat.com>
57775
3cdaa6ad
UD
57776 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57777 field.
57778 (struct statfs64): Likewise.
57779 (_STATFS_F_FLAGS): Define.
57780 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57781 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57782 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57783 (ST_VALID): Define locally.
57784 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57785 __statvfs_getflags, use the provided value.
57786 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57787 __ASSUME_STATFS_F_FLAGS.
57788
754f7da3
UD
57789 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57790
10b3bedc
UD
57791 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57792 Add sys/fanotify.h.
57793 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57794 fanotify_mask for GLIBC_2.13.
57795 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57796 fanotify_init and fanotify_mark.
57797 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57798 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57799
c08fb0d7
UD
57800 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57801 Add prlimit.
57802 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57803 prlimit64 for GLIBC_2.13.
57804 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57805 prlimit64.
57806 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57807 syscall.
57808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57809 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57810 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57811 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57812 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57813 add prlimit alias.
57814 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57815
15bac72b
UD
57816 [BZ #11903]
57817 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57818 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57819
c3e2f19b
UD
57820 * nss/Makefile: Add rules to build and run tst-nss-test1.
57821 * shlib-versions: Add entry for libnss_test1.
57822 * nss/nss_test1.c: New file.
57823 * nss/tst-nss-test1.c: New file.
57824
57825 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57826 (__nss_configure_lookup): Set appropriate entry in
57827 __nss_configure_lookup to true.
57828 * nss/nsswitch.h: Define enum with indeces of databases in
57829 databases and __nss_database_custom arrays. Declare
57830 __nss_database_custom.
57831 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57832 to avoid using nscd when custom rules are installed.
57833 * nss/getXXbyYY_r.c: Likewise.
57834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57835
57836 * nss/nss_files/files-parse.c: Whitespace fixes.
57837
f15ce4d8
UD
578382010-08-09 Ulrich Drepper <drepper@redhat.com>
57839
57840 [BZ #11883]
57841 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57842 * posix/fnmatch_loop.c: Likewise.
57843
d22e4cc9
AK
578442010-07-17 Andi Kleen <ak@linux.intel.com>
57845
57846 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57847 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57848 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57849 * Versions.def [GLIBC_2.13]: Add.
57850
805bc17d
UD
578512010-08-06 Ulrich Drepper <drepper@redhat.com>
57852
57853 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57854 Also fail if tpwd after pwuid call is NULL.
57855
5a42321d
ST
578562010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57857
57858 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57859 when converting to ms.
57860
fd3ebeda
ST
578612010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57862
57863 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57864 EOPNOTSUPP errors with ENOTTY.
57865 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57866 EOPNOTSUPP errors with ENOTTY.
57867
73507d3a
UD
578682010-07-31 Ulrich Drepper <drepper@redhat.com>
57869
57870 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57871 Add strcasecmp_l-ssse3.
57872 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57873 strcasecmp.
57874 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57875 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57876 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57877
fe36dd02
UD
578782010-07-30 Ulrich Drepper <drepper@redhat.com>
57879
66f6765a
UD
57880 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57881
42e08a54
UD
57882 * string/Makefile (strop-tests): Add strcasecmp.
57883 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57884 strcasecmp_l-nonascii.
57885 (gen-as-const-headers): Add locale-defines.sym.
57886 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57887 * sysdeps/x86_64/strcasecmp.S: New file.
57888 * sysdeps/x86_64/strcasecmp_l.S: New file.
57889 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57890 * sysdeps/x86_64/locale-defines.sym: New file.
57891 * string/test-strcasecmp.c: New file.
57892
fe36dd02
UD
57893 * string/test-strcasestr.c: Test both ends of the range of characters.
57894 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57895
48cbc0d6
RM
578962010-07-29 Roland McGrath <roland@redhat.com>
57897
76e6d6bc 57898 [BZ #11856]
48cbc0d6
RM
57899 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57900
880113d9
UD
579012010-07-27 Ulrich Drepper <drepper@redhat.com>
57902
57903 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57904 for ld.so.
57905
deb9cabb
AS
579062010-07-27 Andreas Schwab <schwab@redhat.com>
57907
57908 * manual/memory.texi (Malloc Tunable Parameters): Document
57909 M_PERTURB.
57910
1c7570ff
RM
579112010-07-26 Roland McGrath <roland@redhat.com>
57912
57913 [BZ #11840]
57914 * configure.in (-fgnu89-inline check): Set and substitute
57915 gnu89_inline, not libc_cv_gnu89_inline.
57916 * configure: Regenerated.
57917 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57918
24fb0f88
UD
579192010-07-26 Ulrich Drepper <drepper@redhat.com>
57920
57921 * string/test-strnlen.c: New file.
57922 * string/Makefile (strop-tests): Add strnlen.
57923 * string/tester.c (test_strnlen): Add a few more test cases.
57924 * string/tst-strlen.c: Better error reporting.
57925
57926 * sysdeps/x86_64/strnlen.S: New file.
57927
8e96b93a
UD
579282010-07-24 Ulrich Drepper <drepper@redhat.com>
57929
57930 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57931 lower-latency instructions.
57932
dbc676d4
UD
579332010-07-23 Ulrich Drepper <drepper@redhat.com>
57934
57935 * string/test-strcasestr.c: New file.
57936 * string/test-strstr.c: New file.
57937 * string/Makefile (strop-tests): Add strstr and strcasestr.
57938 * string/str-two-way.h: Don't undefine MAX.
57939 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57940
f6a31e0e
AS
579412010-07-21 Andreas Schwab <schwab@redhat.com>
57942
57943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57944 strcasestr-nonascii.
57945 (CFLAGS-strcasestr-nonascii.c): Define.
57946 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57947 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57948 Remove unused attribute.
57949
5dbc3b6c
RM
579502010-07-20 Roland McGrath <roland@redhat.com>
57951
57952 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57953 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57954 ld.so.cache was broken. With it, there is no way to disable dsocaps
57955 like LD_HWCAP_MASK can disable hwcaps.
57956
23d101d8
EPM
579572010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57958
57959 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57960
cc9f2e47
UD
579612010-07-16 Ulrich Drepper <drepper@redhat.com>
57962
57963 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57964 call in strcasestr.
57965 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57966 __strcasestr_sse42_nonascii.
57967 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57968 strcasestr-nonascii.c.
57969 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57970
77c1b069
LM
579712010-06-15 Luis Machado <luisgpm@br.ibm.com>
57972
57973 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57974 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57975 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57976 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57977
440566c3
UD
579782010-07-09 Ulrich Drepper <drepper@redhat.com>
57979
57980 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57981 fcntl.
57982
5be9d05d
AS
579832010-07-06 Andreas Schwab <schwab@redhat.com>
57984
c30b7ee2 57985 [BZ #11577]
5be9d05d
AS
57986 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57987 dl_signal_cerror.
57988
8a492a67
UD
579892010-07-06 Ulrich Drepper <drepper@redhat.com>
57990
57991 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57992 _PC_PIPE_BUF using F_GETPIPE_SZ.
57993
713df3d5
RM
579942010-07-05 Roland McGrath <roland@redhat.com>
57995
57996 * manual/arith.texi (Rounding Functions): Fix rint description
57997 implicit in round description.
57998
702e8f14
UD
579992010-07-02 Ulrich Drepper <drepper@redhat.com>
58000
58001 * elf/Makefile: Fix linking for a few tests to make recent linker
58002 happy.
58003
52ed8be9
AS
580042010-06-30 Andreas Schwab <schwab@redhat.com>
58005
58006 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58007 $(common-objpfx)libc_nonshared.a.
58008
f47c9a11
LM
580092010-06-21 Luis Machado <luisgpm@br.ibm.com>
58010
58011 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58012 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58013 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58014 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58015 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58016 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58017 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58018 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58033 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58034 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58035 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58036 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58037 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58038 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58039 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58040 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58041 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58042 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58043 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58044 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58059
6fb8cbcb
L
580602010-06-25 H.J. Lu <hongjiu.lu@intel.com>
58061
58062 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58063 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
58064 * string/memmove.c (memmove): Renamed to ...
58065 (MEMMOVE): ...this. Default to memmove.
58066 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58067 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58068 (END_CHK): Define.
58069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58070 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58071 mempcpy-ssse3-back memmove-ssse3-back.
58072 * sysdeps/x86_64/multiarch/bcopy.S: New file .
58073 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58074 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58075 * sysdeps/x86_64/multiarch/memcpy.S: New file.
58076 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58077 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58078 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58079 * sysdeps/x86_64/multiarch/memmove.c: New file.
58080 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58081 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58082 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58083 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58084 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58085 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58086 Define.
58087 (index_Fast_Copy_Backward): Define.
58088 (HAS_ARCH_FEATURE): Define.
58089 (HAS_FAST_REP_STRING): Define.
58090 (HAS_FAST_COPY_BACKWARD): Define.
58091
4e733bac 580922010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
58093
58094 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58095 Restore proper fallback handling.
58096
63c4ed22
UD
580972010-06-19 Ulrich Drepper <drepper@redhat.com>
58098
ac2b484c
UD
58099 [BZ #11701]
58100 * posix/group_member.c (__group_member): Correct checking loop.
58101
63c4ed22
UD
58102 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58103 OOM in getpwuid_r correctly. Return error number when the caller
58104 should return, otherwise -1.
58105 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58106 call returning > 0 value.
58107 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58108
765ade4b
AS
581092010-06-07 Andreas Schwab <schwab@redhat.com>
58110
58111 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58112 libc_nonshared.a from targets in modules-names.
58113
80da2e09
KS
581142010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
58115
58116 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58117 requires it.
58118
158db122
LM
581192010-06-10 Luis Machado <luisgpm@br.ibm.com>
58120
58121 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58122 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58123 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58124 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58125
caa78cf8
AS
581262010-06-02 Andreas Schwab <schwab@redhat.com>
58127
58128 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58129
b2ef2c01
UD
581302010-06-14 Ulrich Drepper <drepper@redhat.com>
58131
58132 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58133 and F_GETPIPE_SZ.
58134 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58135 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58136 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58137 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58138 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58139 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58140
fbd643b6
RM
581412010-06-14 Roland McGrath <roland@redhat.com>
58142
58143 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58144
f32f2869
JJ
581452010-06-07 Jakub Jelinek <jakub@redhat.com>
58146
58147 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58148 __REDIRECT followed by __THROW.
58149 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58150 * posix/getopt.h (getopt): Likewise.
58151
2a50c078
EPM
581522010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58153
58154 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58155 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58156 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58157 in AT_FLAGS.
58158 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58159 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58160
eb5ad2eb
LM
581612010-05-28 Luis Machado <luisgpm@br.ibm.com>
58162
58163 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58164
3c88fe1e
L
581652010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58166
58167 [BZ #11640]
58168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58169 Properly check family and model.
58170
d2f73151
TY
581712010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58172
58173 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58174
ebd2e13d
LM
581752010-05-24 Luis Machado <luisgpm@br.ibm.com>
58176
58177 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58178
b32b8b45
UD
581792010-05-21 Ulrich Drepper <drepper@redhat.com>
58180
58181 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58182 symbol reference.
58183
9acbe24d
AS
581842010-05-19 Andreas Schwab <schwab@redhat.com>
58185
58186 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58187 symbol reference.
58188
f0ccf6ea
AS
581892010-05-21 Andreas Schwab <schwab@redhat.com>
58190
3d04ff3a
AS
58191 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58192 and internal_recvmmsg.
58193 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58194 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58195 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58196 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58197
f0ccf6ea
AS
58198 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58199 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58200 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58201
5b08ac57
AS
582022010-05-20 Andreas Schwab <schwab@redhat.com>
58203
58204 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58205
4828935d
LM
582062010-05-17 Luis Machado <luisgpm@br.ibm.com>
58207
58208 POWER7 optimizations.
58209 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58210 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58211
373d545e
UD
582122010-05-19 Ulrich Drepper <drepper@redhat.com>
58213
58214 * version.h: Update for 2.13 development version.
58215
21a2b1ae
AS
582162010-05-12 Andrew Stubbs <ams@codesourcery.com>
58217
58218 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58219 exceptions. Return 0.
58220
3f7dcb2b
RM
582212010-05-07 Roland McGrath <roland@redhat.com>
58222
58223 * elf/ldconfig.c (main): Add a const.
58224
5f24d53a 582252010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 58226
a160f8d8
UD
58227 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58228 (args_options): Add no-idn option.
58229 (ahosts_keys_int): Add idn_flags to ai_flags.
58230 (parse_option): Handle 'i' option to clear idn_flags.
58231
5f24d53a
UD
58232 * malloc/malloc.c (_int_free): Possible race in the most recently
58233 added check. Only act on the data if no current modification
58234 happened.
265bb1ce
UD
58235
58236See ChangeLog.17 for earlier changes.